]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S/390: Merge 32 and 64 bit ucontext.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0f0c35e4
AK
12014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2
3 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4 s390/sys/ucontext.h.
5 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7
4959e284
L
82014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9
10 [BZ #15605]
11 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12
d98720e0
AZ
132014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14
15 [BZ#16431]
16 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17 Adjust the vDSO correctly for internal calls.
18 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19
91cbd0bc
AM
202014-01-20 Allan McRae <allan@archlinux.org>
21
22 * po/ca.po: Update Catalan translation from translation project.
23
7a02cfad
MF
242014-01-16 Mike Frysinger <vapier@gentoo.org>
25
26 * sysdeps/s390/sotruss-lib.c: New file.
27
736c304a
AZ
282014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29
30 [BZ#16430]
6e077ee5 31 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
32 (__GI___gettimeofday): Alias for a different internal symbol to avoid
33 local calls issues by not having a PLT stub required for IFUNC calls.
34 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35
94d0cea0
JM
362014-01-16 Joseph Myers <joseph@codesourcery.com>
37
38 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39 * math/test-fpucw-static.c: Likewise.
40
980cb518
SP
412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42
43 [BZ #16453]
44 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45
2393fc01
AZ
462014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47
48 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49 implementation for powerpc.
50
d359bcc2
OB
512014-01-15 Ondřej Bílka <neleai@seznam.cz>
52
53 [BZ #14782]
54 * sysdeps/posix/system.c (__libc_system): Do not enable
55 asynchronous cancellation.
56
7beb48cb
AK
572014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58
59 [BZ #16427]
60 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
61 handling only for numbers special also in the IEEE case.
62
c20d5bf5
AK
632014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64
65 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
66
e83bd4ee
AM
672014-01-11 Allan McRae <allan@archlinux.org>
68
76d0ea69
AM
69 * po/bg.po: Update Bulgarian translation from translation project.
70
e83bd4ee
AM
71 * po/de.po: Update German translation from translation project.
72
bc2ba20a
RM
732014-01-10 Roland McGrath <roland@hack.frob.com>
74
75 * sysdeps/generic/gcc-compat.h: New file.
76
649ecea2
SP
772014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
78
79 * benchtests/asin-inputs: Correct slow inputs.
80 * benchtests/acos-inputs: Likewise.
81
1b19c006
AM
822014-01-10 Allan McRae <allan@archlinux.org>
83
a46dab08
AM
84 * po:sv.po: Update Swedish translation from translation project.
85
421df74a
AM
86 * po/vi.po: Update Vietnamese translation from translation project.
87
d61c51a7
AM
88 * po/eo.po: Update Esperanto translation from translation project.
89
0339a319
AM
90 * po/cs.po: Update Czech translation from translation project.
91
94ad3e99
AM
92 * po/nl.po: Update Dutch translation from translation project.
93
e349ca71
AM
94 * po/pl.po: Update Polish translation from translation project.
95
ddf930c1
AM
96 * po/ru.po: Update Russian translation from translation project.
97
1b19c006
AM
98 * po/uk.po: Update Ukrainian translation from translation project.
99
9f236c49
BM
1002014-01-08 Brooks Moses <bmoses@google.com>
101
102 * elf/dl-load.c: Fix comment typo.
103
cd6701cf
CD
1042014-01-08 Carlos O'Donell <carlos@redhat.com>
105
106 * po/header.pot: Rename to...
107 * po/pot.header: ... this.
108 * po/Makefile: Use pot.header.
109
66671c84
YK
1102014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
111 Maxim Kuvyrkov <maxim@kugelworks.com>
112
113 [BZ #16394]
cd6701cf
CD
114 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
115 SRC and DEST against LEN.
66671c84 116
38f34581
AZ
1172014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
118
119 [BZ #16414]
120 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
121 implementation.
122 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
123
1242014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
125
126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
127
4c327f2a
JM
1282014-01-08 Joseph Myers <joseph@codesourcery.com>
129
130 [BZ #16408]
131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
132 for large positive arguments.
133
b821f414
JM
1342014-01-07 Joseph Myers <joseph@codesourcery.com>
135
1f0f2067
JM
136 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
137
a5a326f6
JM
138 * math/auto-libm-test-in: Mark various tests with
139 xfail-rounding:ldbl-128ibm.
140 * math/auto-libm-test-out: Regenerated.
141
b821f414
JM
142 [BZ #16407]
143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
144 Increase overflow threshold.
145
94c8a4bc
OB
1462014-01-07 Ondřej Bílka <neleai@seznam.cz>
147
148 [BZ #14286]
149 * stdio-common/vfprintf.c: Check for integer overflow.
150
87ded0c3
AK
1512014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
152
153 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
154 the first argument and return value of __tls_get_addr_internal.
155
c5eebdd0
AK
1562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
157
158 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
159 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
160
05d138ef
AK
1612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
162
163 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
164 * sysdeps/s390/rtld-global-offsets.sym: New file.
165 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
166 GLIBC_2.19 symbol.
167 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
168 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
169 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
170 ... this.
171 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
172 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
173 ... this.
174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
175 Regenerate.
176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
177 Regenerate.
178 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
179 halfs of GPRs for high_gprs contexts.
180 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
181 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
182 field.
183 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
184 uc_flags field.
185 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
186 64 bit versions:
187 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
188 for high GPRs (uc_high_gprs) and for future extensions
189 (__reserved).
190 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
191 for future extensions (__reserved).
192 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
193 64 bit versions:
194 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
195 SC_HIGHGPRS offset definition.
196 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
197 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
198
93a45ff1
AK
1992014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
200
201 * Versions.def: Add GLIBC_2.19 for libpthread.
202 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
203 siglongjmp for libpthread with GLIBC_2.19 symver.
204 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
205 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
206 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
207 * sysdeps/s390/__longjmp.c: New file.
208 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
209 * sysdeps/s390/longjmp.c: New file.
210 * sysdeps/s390/setjmp.S: New file.
211 * sysdeps/s390/sigjmp.S: New file.
212 * sysdeps/s390/v1-longjmp.c: New file.
213 * sysdeps/s390/v1-setjmp.h: New file.
214 * sysdeps/s390/v1-sigjmp.c: New file.
215 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
216 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
217 GLIBC_2.19 version.
218 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
219 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
220 versioned symbols for ____longjmp_chk.
221 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
222 Likewise.
223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
224 Regenerate.
225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
226 Regenerate.
227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
228 Regenerate.
229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
230 Regenerate.
231 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
232 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
233 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
234 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
235 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
236 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
237 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
238 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
239 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
240 * sysdeps/s390/rtld-__longjmp.c: New file.
241 * sysdeps/s390/rtld-setjmp.S: New file.
242
eb3fc44b
JM
2432014-01-06 Joseph Myers <joseph@codesourcery.com>
244
245 [BZ #16400]
246 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
247 Return -__logl (x) for small positive arguments without evaluating
248 a polynomial.
249
9341dde4
MF
2502014-01-06 Mike Frysinger <vapier@gentoo.org>
251
252 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
253 Rename to ...
254 (__ptrace_peeksiginfo_args): ... this.
255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
256 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
258
4cff0293
AM
2592014-01-06 Allan McRae <allan@archlinux.org>
260
261 * inet/netinet/in.h: Fix typo in comment.
262
75595dcf
AJ
2632014-01-05 Andreas Jaeger <aj@suse.de>
264
265 * sysdeps/i386/fpu/libm-test-ulps: Update.
266
79c1e109
AM
2672014-01-05 Allan McRae <allan@archlinux.org>
268
dd804818
AM
269 * po/libc.pot: Regenerated.
270
79c1e109
AM
271 * malloc/memusagestat.c: Fix gettext call formatting.
272
0c813d1f
SK
2732014-01-04 Sami Kerola <kerolasa@iki.fi>
274
275 * nscd/nscd.c: Improve usage() output.
276
20f4a8d9
MF
2772014-01-04 Mike Frysinger <vapier@gentoo.org>
278
279 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
280 * sysdeps/unix/sysv/linux/configure: Regenerated.
281 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
282 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
283
22562bb2
JM
2842014-01-03 Joseph Myers <joseph@codesourcery.com>
285
286 [BZ #16390]
287 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
288 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
289
d7ad2d9b
AZ
2902014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291
292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
293 extra tokens at end of #undef directive.
294 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
295 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
296 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
297
7f507ee1
AH
2982014-01-03 Andrew Hunter <ahh@google.com>
299
0da43124 300 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
301 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
302 atomic_compare_and_exchange_bool_acq
303 (_dl_allocate_static_tls): Block signals.
304 * elf/dl-tls.c (allocate_and_init): Return void.
305 (_dl_update_slotinfo): Block signals, use atomic update.
306
7dd009d8
JM
3072014-01-03 Joseph Myers <joseph@codesourcery.com>
308
24db925a
JM
309 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
310
7dd009d8
JM
311 * math/auto-libm-test-in: Mark various tests with
312 xfail-rounding:ldbl-128ibm.
313 * math/auto-libm-test-out: Regenerated.
314
396e3ecf
JM
3152014-01-02 Joseph Myers <joseph@codesourcery.com>
316
819e5d50
JM
317 [BZ #16386]
318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
319 numbers with subnormal high part when calculating exponent.
320
90b6a1e5
JM
321 [BZ #16385]
322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
323 fabs.
324
396e3ecf
JM
325 [BZ #16384]
326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
327 M_LN2l.
328 (__ieee754_acoshl): Use __log1pl not __log1p.
329
6c8dbf00
OB
3302013-01-02 Ondřej Bílka <neleai@seznam.cz>
331
332 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
333 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
334 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
335 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
336 Convert to GNU style.
337 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
338 mem2mem_check, mem2chunk_check, top_check, realloc_check,
339 memalign_check, __malloc_set_state): Likewise.
340 * malloc/mallocbug.c (main): Likewise.
341 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
342 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
343 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
344 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
345 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
346 * malloc/malloc.h: Likewise.
347 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
348 memalignhook, reallochook, mabort): Likewise.
349 * malloc/mcheck.h: Likewise.
350 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
351 mmap64, mremap, munmap, dest): Likewise.
352 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
353 * malloc/morecore.c (__default_morecore): Likewise.
354 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
355 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
356 _obstack_allocated_p, obstack_free, _obstack_memory_used,
357 print_and_abort): Likewise.
358 * malloc/obstack.h: Likewise.
359 * malloc/set-freeres.c (__libc_freeres): Likewise.
360 * malloc/tst-mallocstate.c (main): Likewise.
361 * malloc/tst-mtrace.c (main): Likewise.
362 * malloc/tst-realloc.c (do_test): Likewise.
363
d4124212
SP
3642013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
365
9a3c6a6f
SP
366 [BZ #16366]
367 * nscd/netgroupcache.c (do_notfound): New function.
368 (addgetnetgrentX): Use it.
369
d4124212
SP
370 [BZ # 16365]
371 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
372 NSS_STATUS_NOTFOUND.
373
97b9a009
JM
3742014-01-01 Joseph Myers <joseph@codesourcery.com>
375
376 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
378
d4697bc9
AM
3792014-01-01 Allan McRae <allan@archlinux.org>
380
ddb3687f
AM
381 * scripts/update-copyrights: Update configure input file suffix.
382
88726d48
AM
383 * NEWS: Update copyright year.
384 * catgets/gencat.c: Likewise.
385 * csu/version.c: Likewise.
386 * debug/catchsegv.sh: Likewise.
387 * debug/pcprofiledump.c: Likewise.
388 * debug/xtrace.sh: Likewise.
389 * elf/ldconfig.c: Likewise.
390 * elf/ldd.bash.in: Likewise.
391 * elf/pldd.c: Likewise.
392 * elf/sotruss.ksh: Likewise.
393 * elf/sprof.c: Likewise.
394 * iconv/iconv_prog.c: Likewise.
395 * iconv/iconvconfig.c: Likewise.
396 * locale/programs/locale.c: Likewise.
397 * locale/programs/localedef.c: Likewise.
398 * login/programs/pt_chown.c: Likewise.
399 * malloc/memusage.sh: Likewise.
400 * malloc/memusagestat.c: Likewise.
401 * malloc/mtrace.pl: Likewise.
402 * manual/libc.texinfo: Likewise.
403 * nscd/nscd.c: Likewise.
404 * nss/getent.c: Likewise.
405 * nss/makedb.c: Likewise.
406 * posix/getconf.c: Likewise.
407 * scripts/test-installation.pl: Likewise.
408
d4697bc9
AM
409 * All files with FSF copyright notices: Update copyright dates
410 using scripts/update-copyrights.
411 * intl/plural.c: Regenerated.
412 * locale/programs/charmap-kw.h: Likewise.
413 * locale/programs/locfile-kw.h: Likewise.
414
c8590f9d
MF
4152013-12-31 Mike Frysinger <vapier@gentoo.org>
416
417 * sysdeps/unix/sysv/linux/configure: Regenerated.
418 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
419 the linux/fanotify.h header.
420 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
421 HAVE_LINUX_FANOTIFY_H is defined.
422
b19221b9
SP
4232013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
424
dd1d85e5
SP
425 * benchtests/cos-inputs: New inputs.
426 * benchtests/sin-inputs: Likewise.
427
1acbb90f
SP
428 * benchtests/atan-inputs: New inputs. Fix name of multiple
429 precision fallback inputs.
430
4c012ed3
SP
431 * benchtests/atanh-inputs: New inputs.
432 * benchtests/tanh-inputs: Likewise.
433
eff98324
SP
434 * benchtests/acosh-inputs: New inputs.
435 * benchtests/asinh-inputs: Likewise.
436
ce641152
SP
437 * benchtests/cosh-inputs: New inputs.
438 * benchtests/sinh-inputs: Likewise.
439
b19221b9
SP
440 * benchtests/acos-inputs: Add more inputs.
441 * benchtests/asin-inputs: Likewise.
442
030a4976 4432013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 444
030a4976 445 [BZ #16375]
9dcc8f11
VS
446 * manual/arith.texi: Fix spelling.
447 * manual/charset.texi: Likewise.
448 * manual/errno.texi: Likewise.
449 * manual/filesys.texi: Likewise.
450 * manual/lang.texi: Likewise.
451 * manual/llio.texi: Likewise.
452 * manual/locale.texi: Likewise.
453 * manual/message.texi: Likewise.
454 * manual/resource.texi: Likewise.
455 * manual/search.texi: Likewise.
456 * manual/setjmp.texi: Likewise.
457 * manual/stdio.texi: Likewise.
458 * manual/string.texi: Likewise.
459 * manual/sysinfo.texi: Likewise.
460 * manual/time.texi: Likewise.
461
11520a57
CD
4622013-12-27 Carlos O'Donell <carlos@redhat.com>
463
464 * po/sl.po: New file.
465
471103ae
MF
4662013-12-27 Mike Frysinger <vapier@gentoo.org>
467
468 * .gitignore: Add core/.gdbinit/.gdb_history.
469
6c9642ed
AM
4702013-12-27 Allan McRae <allan@archlinux.org>
471
472 [BZ #16369]
473 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
474 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
475
3f637079
BM
4762013-12-24 Brooks Moses <bmoses@google.com>
477
478 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
479 all compilers that claim C++98 compliance, not just GCC.
480 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
481 Likewise.
482
abc26e99
MK
4832013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
484
485 * NEWS: Restore accidentally deleted bug-fix entries.
486
362b47fe
MK
4872013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
488 Ondřej Bílka <neleai@seznam.cz>
489
490 [BZ #15073]
491 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 492 have_lock.
362b47fe 493
b9bcbbcb
OB
4942013-12-23 Ondřej Bílka <neleai@seznam.cz>
495
496 [BZ #12986]
497 * manual/stdio.texi (String Input Conversions): Clarify that character
498 classes are not supported.
499
fb55fcd2
AZ
5002013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
501
502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
503
ef7344f0
JM
5042013-12-22 Joseph Myers <joseph@codesourcery.com>
505
4f40e4b3
JM
506 [BZ #16337]
507 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
508 Calculate results for small negative arguments directly rather
509 than using reflection formula with special underflow handling.
510
ef7344f0
JM
511 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
512 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
513 sysdeps/unix/bsd/bsd4.4/syscalls.list.
514 (fchflags): Likewise.
515 (revoke): Likewise.
516 (setlogin): Likewise.
517 (sigaltstack): Likewise.
518 (wait4): Likewise.
519 (sigblock): Remove.
520 (sigsetmask): Likewise.
521 (wait3): Likewise.
522 (waitpid): Likewise.
523 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
524 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
525 file.
526 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
527 * sysdeps/unix/bsd/Makefile: ... here.
528 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
529 * sysdeps/unix/bsd/Versions: ... here.
530 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
531 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
532 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
533 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
534 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
535 * sysdeps/unix/bsd/sigblock.c: ... here.
536 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
537 * sysdeps/unix/bsd/sigsetmask.c: ... here.
538 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
539 * sysdeps/unix/bsd/sigvec.c: ... here.
540 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
541 * sysdeps/unix/bsd/tcdrain.c: ... here.
542 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
543 * sysdeps/unix/bsd/tcgetattr.c: ... here.
544 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
545 * sysdeps/unix/bsd/tcsetattr.c: ... here.
546 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
547 * sysdeps/unix/bsd/wait.c: ... here.
548 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
549 * sysdeps/unix/bsd/wait3.c: ... here.
550 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
551 * sysdeps/unix/bsd/waitpid.c: ... here.
552
5b0626b9
JM
5532013-12-21 Joseph Myers <joseph@codesourcery.com>
554
555 [BZ #16356]
556 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
557 round-to-nearest for [!USE_AS_EXPM1L].
558 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
559 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
560 more tests of exp and exp10. Expect some exp10 tests to miss
561 exceptions or fail in directed rounding modes.
562 * math/auto-libm-test-out: Regenerated.
563 * math/libm-test.inc (exp10_tonearest_test_data): New array.
564 (exp10_test_tonearest): New function.
565 (exp10_towardzero_test_data): New array.
566 (exp10_test_towardzero): New function.
567 (exp10_downward_test_data): New array.
568 (exp10_test_downward): New function.
569 (exp10_upward_test_data): New array.
570 (exp10_test_upward): New function.
571 (main): Call the new functions.
572 * sysdeps/i386/fpu/libm-test-ulps: Update.
573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574
7fda5682
JM
5752013-12-20 Joseph Myers <joseph@codesourcery.com>
576
31e3a405
JM
577 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
578 asinh, atan, atan2, atanh, cbrt, cos and cosh.
579 * math/auto-libm-test-out: Regenerated.
580 * math/libm-test.inc (acosh_test_data): Add more tests.
581 (atanh_test_data): Likewise.
582 (ceil_test_data): Likewise.
583 (copysign_test_data): Likewise.
584 * sysdeps/i386/fpu/libm-test-ulps: Update.
585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
586
85bff96a
JM
587 * timezone/checktab.awk: Update from tzcode 2013i.
588 * timezone/private.h: Likewise.
589 * timezone/scheck.c: Likewise.
590 * timezone/tzfile.h: Likewise.
591 * timezone/tzselect.ksh: Likewise.
592 * timezone/zdump.c: Likewise.
593 * timezone/zic.c: Likewise.
594
b7867a3b
JM
595 * math/auto-libm-test-in: Add tests of cpow.
596 * math/auto-libm-test-out: Regenerated.
597 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
598 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
599 mpc_cc_c.
600 (func_calc_desc): Add mpc_cc_c union field.
601 (test_functions): Add cpow.
602 (special_fill_2pi): New function.
603 (special_real_inputs): Add 2pi.
604 (calc_generic_results): Handle mpc_cc_c.
605 * sysdeps/i386/fpu/libm-test-ulps: Update.
606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
607
7fda5682
JM
608 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
609 csqrt, ctan and ctanh.
610 * math/auto-libm-test-out: Regenerated.
611 * math/libm-test.inc (TEST_COND_x86_64): New macro.
612 (TEST_COND_x86): Likewise.
613 (ccos_test_data): Use AUTO_TESTS_c_c.
614 (ccosh_test_data): Likewise.
615 (cexp_test_data): Likewise.
616 (clog_test_data): Likewise.
617 (csqrt_test_data): Likewise.
618 (ctan_test_data): Likewise.
619 (ctan_tonearest_test_data): Likewise.
620 (ctan_towardzero_test_data): Likewise.
621 (ctan_downward_test_data): Likewise.
622 (ctan_upward_test_data): Likewise.
623 (ctanh_test_data): Likewise.
624 (ctanh_tonearest_test_data): Likewise.
625 (ctanh_towardzero_test_data): Likewise.
626 (ctanh_downward_test_data): Likewise.
627 (ctanh_upward_test_data): Likewise.
628 * math/gen-auto-libm-tests.c (func_calc_method): Add value
629 mpc_c_c.
630 (func_calc_desc): Add mpc_c_c union field.
631 (FUNC_mpc_c_c): New macro.
632 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
633 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
634 ctanh.
635 (special_fill_min_subnorm_p120): New function.
636 (special_real_inputs): Add min_subnorm_p120.
637 (calc_generic_results): Handle mpc_c_c.
638 * sysdeps/i386/fpu/libm-test-ulps: Update.
639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
640
5ff8d60e
SP
6412013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
642
392dd2de
SP
643 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
644 do_sin_slow): New functions.
645 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
646 cslow2, csloww1, csloww2): Use the new functions.
647
84ba214c
SP
648 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
649 Use M to change sign of result instead of X. Assume X is
650 positive.
651 (csloww1): Likewise.
652 (__sin): Adjust.
653 (__cos): Adjust.
654
975195e4
SP
655 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
656 arguments A and DA.
657 (__sin): Adjust.
658 (__cos): Likewise.
659
5ff8d60e
SP
660 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
661 (__cos): Likewise.
662 (sloww1): Don't adjust sign of DX.
663 (csloww1): Likewise.
664 (sloww2): Use X directly and don't adjust sign of DX.
665 (csloww2): Likewise.
666
eb983568
JM
6672013-12-19 Joseph Myers <joseph@codesourcery.com>
668
64a17f1a
JM
669 * math/auto-libm-test-in: Add tests of cabs and carg.
670 * math/auto-libm-test-out: Regenerated.
671 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
672 (carg_test_data): Likewise.
673 * math/gen-auto-libm-tests.c (func_calc_method): Add value
674 mpc_c_f.
675 (func_calc_desc): Add mpc_c_f union field.
676 (test_functions): Add cabs and carg.
677 (calc_generic_results): Handle mpc_c_f.
678
eb983568
JM
679 * sysdeps/powerpc/powerpc32/libgcc-compat.S
680 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
681 as a macro and a compat symbol.
682 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
683 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
684 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
685 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
686 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
687 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
688 not use .hidden.
689 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
690 Likewise.
691 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
692 Likewise.
693 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
694 Likewise.
695 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
696 Likewise.
697 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
698 Likewise.
699 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
700 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
701 from GLIBC_2.3.2.
702
6eeb678a
AZ
7032013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
704
705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
706
063b2acb
PP
7072013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
708
709 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
710 (__signal_safe_memalign, __signal_safe_free): Use it.
711 (__signal_safe_realloc): Likewise.
712
6f6fc482
JM
7132013-12-19 Joseph Myers <joseph@codesourcery.com>
714
21fea2e2
JM
715 * manual/texinfo.tex: Update to version 2013-11-26.10 with
716 trailing whitespace removed.
717 * scripts/config.guess: Update to version 2013-11-29.
718 * scripts/config.sub: Update to version 2013-10-01.
719
6f6fc482
JM
720 * math/auto-libm-test-in: Add tests of sincos.
721 * math/auto-libm-test-out: Regenerated.
722 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
723 * math/gen-auto-libm-tests.c (func_calc_method): Add value
724 mpfr_f_11.
725 (func_calc_desc): Add mpfr_f_11 union field.
726 (test_functions): Add sincos.
727 (calc_generic_results): Handle mpfr_f_11.
728 * sysdeps/i386/fpu/libm-test-ulps: Update.
729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
730
83f5c32d
AS
7312013-12-19 Andreas Schwab <schwab@suse.de>
732
733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
734 CALL_MCOUNT.
735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
736 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
737 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
738
c688b419
JM
7392013-12-19 Joseph Myers <joseph@codesourcery.com>
740
335ee092
JM
741 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
742 * sysdeps/i386/fpu/libm-test-ulps: Update.
743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
744
f88acd39
JM
745 [BZ #16293]
746 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
747 round-to-nearest mode when using frndint.
748 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
749 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
750 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
751 Likewise.
752 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
753 sinh test to fail.
754 * math/auto-libm-test-out: Regenerated.
755 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
756 (TEST_COND_x86): Likewise.
757 (expm1_tonearest_test_data): New array.
758 (expm1_test_tonearest): New function.
759 (expm1_towardzero_test_data): New array.
760 (expm1_test_towardzero): New function.
761 (expm1_downward_test_data): New array.
762 (expm1_test_downward): New function.
763 (expm1_upward_test_data): New array.
764 (expm1_test_upward): New function.
765 (main): Run the new test functions.
766 * sysdeps/i386/fpu/libm-test-ulps: Update.
767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
768
c688b419
JM
769 * include/features.h: Update comment documenting feature test
770 macros. Mention _DEFAULT_SOURCE in comment.
771 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
772 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
773 _BSD_SOURCE and _SVID_SOURCE.
774 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
775 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
776 !_SVID_SOURCE]: Likewise.
777 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
778 (__USE_POSIX_IMPLICITLY): Define.
779 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
780 (_POSIX_SOURCE): Undefine and redefine.
781 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
782 (_POSIX_C_SOURCE): Likewise.
783 * manual/creature.texi (_DEFAULT_SOURCE): Document.
784 (Feature Test Macros): Update documentation of default features.
785
9f6e964c
RS
7862013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
787
788 * benchtests/Makefile: Add bench-strtok.
789 * benchtests/bench-strtok.c: New file: strtok benchtest.
790
ee0a148a
AM
7912013-12-19 Allan McRae <allan@archlinux.org>
792
793 * manual/install.texi: Suppress menu for plain text output.
794 * INSTALL: Regenerated.
795
1f33d36a
PP
7962013-12-18 Andrew Hunter <ahh@google.com>
797
798 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
799 (__signal_safe_malloc, __signal_safe_free): Likewise.
800 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
801 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
802 (__signal_safe_memalign, __signal_safe_malloc): New function.
803 (__signal_safe_free, __signal_safe_realloc): Likewise.
804 (__signal_safe_calloc): Likewise.
805 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
806 functions.
807 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
808
35e8f7ab
PP
8092013-12-18 Andrew Hunter <ahh@google.com>
810
811 * elf/Versions (ld): Add _dl_clear_dtv.
812 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
813 * elf/dl-tls.c (_dl_clear_dtv): New function.
814 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
815
69a17d9d
PP
8162013-12-18 Andrew Hunter <ahh@google.com>
817
818 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
819 (_dl_unmask_signals): Likewise.
820 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
821 (_dl_unmask_all_signals): Likewise.
822 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
823 (_dl_unmask_all_signals): Likewise.
824 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
825 (_dl_unmask_signals): Likewise.
826
b9ab448f
BM
8272013-12-18 Brooks Moses <bmoses@google.com>
828
829 [BZ #15846]
830 * misc/getauxval.c: Include errno.h.
831 (__getauxval): Set errno to ENOENT if the requested type is not
832 found.
833 * misc/sys/auxv.h (getauxval): Document that it may set errno;
834 don't declare with __attribute_const__.
835 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
836 * manual/startup.texi: Document that getauxval sets errno.
837
23776487
JM
8382013-12-18 Joseph Myers <joseph@codesourcery.com>
839
f889953b
JM
840 * math/auto-libm-test-in: Add tests of jn and yn.
841 * math/auto-libm-test-out: Regenerated.
842 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
843 (yn_test_data): Likewise.
844 * math/gen-auto-libm-tests.c (func_calc_method): Add value
845 mpfr_if_f.
846 (func_calc_desc): Add mpfr_if_f union field.
847 (FUNC_mpfr_if_f): New macro.
848 (test_functions): Add jn and yn.
849 (calc_generic_results): Assert type of second input for
850 mpfr_ff_f. Handle mpfr_if_f.
851 (output_for_one_input_case): Disable all checking for arguments
852 fitting floating-point types in case of an integer argument.
853 * sysdeps/i386/fpu/libm-test-ulps: Update.
854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
855
23776487
JM
856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
857 Don't expect fegetround reference in libm.so.
858
cb756c6d
MS
8592013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
860
861 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
862 $(config-cflags-nofma).
863
2dec468f
JM
8642013-12-18 Joseph Myers <joseph@codesourcery.com>
865
5953eb3a
JM
866 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
867 * math/auto-libm-test-out: Regenerated.
868
2dec468f
JM
869 [BZ #16338]
870 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
871 to determine exponent and adjust argument to have exponent of -1.
872 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
873 log2.
874 * math/auto-libm-test-out: Regenerated.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
4d84e6ad
OB
8782013-12-18 Ondřej Bílka <neleai@seznam.cz>
879
880 * manual/probes.texi: Remove cases when per-thread arenas are
881 disabled.
882
1818483b
AS
8832013-12-18 Andreas Schwab <schwab@suse.de>
884
885 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
886 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
887 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
888 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
889 * sysdeps/i386/i686/multiarch/Makefile: Update.
890 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
891
25de95bf
JM
8922013-12-17 Joseph Myers <joseph@codesourcery.com>
893
894 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
895 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
896
674762d9
PE
8972013-12-17 Paul Eggert <eggert@cs.ucla.edu>
898
0748546f
PE
899 Support TZ transition times < 00:00:00.
900 This is needed for version-3 tz-format files; it supports time
901 stamps past 2037 for America/Godthab (the only entry in the tz
902 database for which this change is relevant).
903 * manual/time.texi (TZ Variable): Document transition times
904 from -167:59:59 through -00:00:01.
905 * time/tzset.c (tz_rule): Time of day is now signed.
906 (__tzset_parse_tz): Parse negative time of day.
907
4480e934
PE
908 Document TZ transition times >= 25:00:00.
909 * manual/time.texi (TZ Variable): Document transition times from
910 25:00:00 through 167:59:59. These are already supported, and this
911 support will help with version-3 tz-format files.
912
69947401
PE
913 * manual/time.texi (TZ Variable): Modernize North America example
914 to reflect current (i.e., 2007-and-later) daylight saving rules.
915
674762d9
PE
916 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
917
7011c262
JM
9182013-12-17 Joseph Myers <joseph@codesourcery.com>
919
2fc6557e
JM
920 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
921 * sysdeps/unix/bsd/bits/stat.h: Likewise.
922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
924 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
925 * sysdeps/unix/bsd/bsdstat.h: Likewise.
926 * sysdeps/unix/bsd/clock.c: Likewise.
927 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
928 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
929 * sysdeps/unix/bsd/init-posix.c: Likewise.
930 * sysdeps/unix/bsd/poll.c: Likewise.
931 * sysdeps/unix/bsd/ptsname.c: Likewise.
932 * sysdeps/unix/bsd/seekdir.c: Likewise.
933 * sysdeps/unix/bsd/setegid.c: Likewise.
934 * sysdeps/unix/bsd/seteuid.c: Likewise.
935 * sysdeps/unix/bsd/setgid.c: Likewise.
936 * sysdeps/unix/bsd/setrgid.c: Likewise.
937 * sysdeps/unix/bsd/setruid.c: Likewise.
938 * sysdeps/unix/bsd/setsid.c: Likewise.
939 * sysdeps/unix/bsd/setuid.c: Likewise.
940 * sysdeps/unix/bsd/sigaction.c: Likewise.
941 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
942 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
943 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
944 * sysdeps/unix/bsd/telldir.c: Likewise.
945 * sysdeps/unix/bsd/times.c: Likewise.
946 * sysdeps/unix/bsd/usleep.c: Likewise.
947
029c7b25
JM
948 * misc/Makefile (install-lib): Remove libbsd-compat.a.
949 ($(objpfx)libbsd-compat.a): Remove rule.
950
7011c262
JM
951 * include/features.h (__FAVOR_BSD): Do not define.
952 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
953 features conflicting with POSIX.
954 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
955 (_BSD_SOURCE): Remove description of not being a subset of other
956 feature test macros.
957 * manual/job.texi (getpgrp): Do not document BSD version.
958 (getpgid): Do not document by reference to BSD getpgrp.
959 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
960 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
961 * signal/signal.h [__FAVOR_BSD]: Likewise.
962 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
963 instead of making contents conditional on [__FAVOR_BSD].
964 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
965
affb6f78
AZ
9662013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
967
968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
969
c88769dd
JM
9702013-12-17 Joseph Myers <joseph@codesourcery.com>
971
6432a540
JM
972 [BZ #16314]
973 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
974 values below 2**-450, not 2**-500.
975 * math/auto-libm-test-in: Don't allow spurious underflow from
976 hypot.
977 * math/auto-libm-test-out: Regenerated.
978
c88769dd
JM
979 [BZ #16316]
980 [BZ #16330]
981 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
982 values of ha and hb and sort them after adjusting subnormal
983 arguments.
984 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
985 Likewise.
986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
987 values of ea and eb and sort them after adjusting subnormal
988 arguments.
989 * math/auto-libm-test-in: Do not expect some hypot tests of
990 subnormals to fail. Add more hypot tests.
991 * math/auto-libm-test-out: Regenerated.
992
29618f6b
KK
9932013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
994
995 [BZ #13304]
996 * sysdeps/sh/s_fma.c: New file.
997 * sysdeps/sh/s_fmaf.c: New file.
998 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
999 version.
1000 * sysdeps/sh/Implies: Add sh/soft-fp.
1001
eacfdfbf
RM
10022013-12-16 Roland McGrath <roland@hack.frob.com>
1003
1004 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1005 level of indirection to members `objname', `errstring', `malloced'.
1006 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1007 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1008 it as the __longjmp argument (just pass 1 instead).
1009 (_dl_catch_error): Initialize C with argument pointers and address of
1010 volatile local ERRCODE rather than copying values out of C at return.
1011
ff362e5b
JM
10122013-12-16 Joseph Myers <joseph@codesourcery.com>
1013
1014 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1015 * math/auto-libm-test-out: Regenerated.
1016 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1017 (hypot_test_data): Likewise.
1018 (pow_test_data): Likewise.
1019 (pow_tonearest_test_data): Likewise.
1020 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1021 mpfr_ff_f.
1022 (func_calc_desc): Add mpfr_ff_f union field.
1023 (FUNC_mpfr_ff_f): New macro.
1024 (test_functions): Add atan2, hypot and pow.
1025 (special_fill_min): New function.
1026 (special_fill_minus_min): Likewise.
1027 (special_fill_min_subnorm): Likewise.
1028 (special_fill_minus_min_subnorm): Likewise.
1029 (special_real_inputs): Add min, -min, min_subnorm and
1030 -min_subnorm.
1031 (calc_generic_results): Handle mpfr_ff_f.
1032 * sysdeps/i386/fpu/libm-test-ulps: Update.
1033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1034
5764c27f
WN
10352013-12-16 Will Newton <will.newton@linaro.org>
1036
1037 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1038 (Aligned Memory Blocks): Add documentation for aligned_alloc
1039 and suggest it as an alternative to posix_memalign.
1040 (Hooks for Malloc): Document __memalign_hook is also called
1041 for aligned_alloc. (Summary of Malloc): Add summary for
1042 aligned alloc. Document __memalign_hook is also called
1043 for aligned_alloc.
1044
0a096e44
WN
10452013-12-16 Will Newton <will.newton@linaro.org>
1046
1047 * manual/memory.texi (Malloc Examples): Clarify default
1048 alignment documentation. Suggest posix_memalign rather
1049 than memalign or valloc.
1050 (Aligned Memory Blocks): Remove suggestion to use memalign
1051 or valloc. Remove obsolete comment about BSD.
1052 Document memalign errno values and mark the function obsolete.
1053 Document posix_memalign returned error codes. Mark valloc
1054 as obsolete. (Hooks for Malloc): __memalign_hook is also
1055 called for posix_memalign and valloc.
1056 (Summary of Malloc): Add posix_memalign to function summary.
1057 __memalign_hook is also called for posix_memalign and valloc.
1058
8d561986
SP
10592013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1060
1061 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1062 TAYLOR_SIN.
1063 (__sin): Adjust.
1064 (__cos): Likewise.
1065 (sloww): Use mynumber union. Expand ternary operator into
1066 if-else statements.
1067 (cslow): use mynumber union.
1068
73616a74
AM
10692013-12-16 Allan McRae <allan@archlinux.org>
1070
9e8ac24b
AM
1071 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1072 * configure: Regenerated.
1073
6f8e37eb
AM
1074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1075
8894bad3
AM
1076 [BZ #14120]
1077 * configure.ac: Added --enable-maintainer-mode. Check for
1078 autoconf when enabled.
1079 * configure: Regenerated.
1080
73616a74
AM
1081 * nscd/nscd.service: New file.
1082 * nscd/nscd.tmpfiles: New file.
1083
584b18eb
OB
10842013-12-14 Ondřej Bílka <neleai@seznam.cz>
1085
1086 [BZ #12100]
1087 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1088 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1089 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1090 (strstr): Add __strstr_sse2_unaligned ifunc.
1091 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1092 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1093 (strcasestr): Remove __strcasestr_sse42 ifunc.
1094 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1097
8a5c7897
KK
10982013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1099
1100 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1101 * sysdeps/sh/bits/fenv.h: ... here.
1102 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1103
fd712ef3
AZ
11042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1105
1106 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1107
42fcb46c
AZ
11082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1109
1110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1111 hypotf multiarch implementations.
1112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1113 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1114 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1115 multiarch hypot for PPC64.
1116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1118 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1119 multiarch hypotf for PPC64.
1120
83efded4
AZ
11212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122
1123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1124 modff multiarch implementations.
1125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1128 multiarch modf for PPC64.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1132 multiarch modff for PPC64.
1133
43e246d2
AZ
11342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1137 and logl multiarch implementations.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1141 multiarch logb for PPC64.
1142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1145 multiarch logb for PPC64.
1146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1149 multiarch logb for PPC64.
1150
8fdad123
AZ
11512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1152
1153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1154 isinff multiarch implementation.
1155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1156 file.
1157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1159 multiarch isinf for PPC64.
1160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1161 file.
1162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1163 multiarch isinff for PPC64.
1164
1481d706
AZ
11652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1166
1167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1168 finitef multiarch implementation.
1169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1170 file.
1171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1173 multiarch finite for PPC64.
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1175 file.
1176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1177 multiarch finitef for PPC64.
1178
5ccd5fc8
AZ
11792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1180
1181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1182 lrint multiarch implementation.
1183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1184 file.
1185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1187 multiarch llrint for PPC64.
1188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1189 multiarch lrint for PPC64.
1190
2568f3fa
AZ
11912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1192
1193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1194 copysignf multiarch implementation.
1195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1196 file.
1197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1198 file.
1199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1200 multiarch copysign for PPC64.
1201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1202 multiarch copysignf for PPC64.
1203
1cb341fd
AZ
12042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1205
1206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1207 multiarch implementation.
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1209 file.
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1211 file.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1213 file.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1215 file.
1216 multiarch llround for PPC64.
1217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1218 multiarch trunc for PPC64.
1219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1220 multiarch truncf for PPC64.
1221
59a3e194
AZ
12222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223
1224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1225 multiarch implementation.
1226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1227 file.
1228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1229 file.
1230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1231 file.
1232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1233 file.
1234 multiarch llround for PPC64.
1235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1236 multiarch round for PPC64.
1237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1238 multiarch roundf for PPC64.
1239
357fd3b4
AZ
12402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241
1242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1243 multiarch implementation.
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1245 file.
1246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1247 file.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1249 file.
1250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1251 file.
1252 multiarch llround for PPC64.
1253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1254 multiarch floor for PPC64.
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1256 multiarch floorf for PPC64.
1257
96770f12
AZ
12582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1259
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1261 multiarch implementation.
1262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1263 file.
1264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1265 file.
1266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1267 file.
1268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1269 file.
1270 multiarch llround for PPC64.
1271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1272 multiarch ceil for PPC64.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1274 multiarch ceilf for PPC64.
1275
c3627f6e
AZ
12762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1277
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1279 multiarch implementation.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1281 file.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1283 file.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1285 file.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1287 multiarch llround for PPC64.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1289 multiarch lround for PPC64.
1290
b2284ad7
AZ
12912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1292
1293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1294 multiarch implementation.
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1298 file.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1302 multiarch isnan for PPC64.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1304 multiarch isnanf for PPC64.
1305
69bbc63d
AZ
13062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1307
1308 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1309 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1310 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1311 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1312 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1314
c24517c9
AZ
13152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
1317 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1318 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1319 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1321
a52374e8
AZ
13222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1325 multiarch implementations.
1326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1327 (__libc_ifunc_impl_list): Likewise.
1328 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1329 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1330 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1331 multiarch stpcpy for PPC64.
1332
7f5ec113
AZ
13332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1334
1335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1336 multiarch implementations.
1337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1338 (__libc_ifunc_impl_list): Likewise.
1339 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1340 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1341 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1342 multiarch strcpy for PPC64.
1343
e28bcd42
AZ
13442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1345
1346 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1347 redefine function name.
1348 (_wordcopy_fwd_dest_aligned): Likewise.
1349 (_wordcopy_bwd_aligned): Likewise.
1350 (_wordcopy_bwd_dest_aligned): Likewise.
1351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1352 multiarch implementations.
1353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1354 (__libc_ifunc_impl_list): Likewise.
1355 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1356 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1357 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1358 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1359 multiarch wcscpy for PPC64.
1360
92cacfce
AZ
13612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1362
1363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1364 multiarch implementations.
1365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1366 (__libc_ifunc_impl_list): Likewise.
1367 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1368 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1369 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1370 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1371 multiarch wcscpy for PPC64.
1372
7b714620
AZ
13732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374
1375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1376 multiarch implementations.
1377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1378 (__libc_ifunc_impl_list): Likewise.
1379 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1380 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1381 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1382 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1383 multiarch wcsrchr for PPC64.
1384
16fd2ae3
AZ
13852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1386
1387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1388 multiarch implementations.
1389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1390 (__libc_ifunc_impl_list): Likewise.
1391 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1392 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1393 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1394 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1395 multiarch wcschr for PPC64.
1396
9ee2969b
AZ
13972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1398
1399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1400 multiarch implementations.
1401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1402 (__libc_ifunc_impl_list): Likewise.
1403 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1404 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1405 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1406 multiarch strchrnul for PPC64.
1407
372dc060
AZ
14082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409
1410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1411 implementations.
1412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1413 (__libc_ifunc_impl_list): Likewise.
1414 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1415 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1416 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1417 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1418 strchr for PPC64.
1419
24c2c3b9
AZ
14202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421
1422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1423 implementations.
1424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1425 (__libc_ifunc_impl_list): Likewise.
1426 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1428 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1429 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1430 strncmp for PPC64.
1431
1c92d9a0
AZ
14322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433
1434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1435 multiarch implementations.
1436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1437 (__libc_ifunc_impl_list): Likewise.
1438 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1439 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1440 strncasecmp for PPC64.
1441 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1442 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1443 multiarch strncasecmp_l for PPC64.
1444
17de3ee3
AZ
14452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446
1447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1448 multiarch implementations.
1449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1450 (__libc_ifunc_impl_list): Likewise.
1451 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1452 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1453 multiarch strcasecmp for PPC64.
1454 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1455 file.
1456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1457 multiarch strcasecmp_l for PPC64.
1458
62982bf9
AZ
14592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460
1461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1462 implementations.
1463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1464 (__libc_ifunc_impl_list): Likewise.
1465 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1466 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1467 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1468 strnlen for PPC64.
1469
a65f4904
AZ
14702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471
1472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1473 implementations.
1474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1475 (__libc_ifunc_impl_list): Likewise.
1476 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1477 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1478 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1479 strlen for PPC64.
1480
1fd005ad
AZ
14812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482
1483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1484 implementations.
1485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1486 (__libc_ifunc_impl_list): Likewise.
1487 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1488 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1489 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1490 rawmemrchr for PPC64.
1491
cd05ba91
AZ
14922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1493
1494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1495 implementation.
1496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1497 (__libc_ifunc_impl_list): Likewise.
1498 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1499 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1500 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1501 memrchr for PPC64.
1502
870f8676
AZ
15032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1504
1505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1506 implementation.
1507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1508 (__libc_ifunc_impl_list): Likewise.
1509 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1510 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1511 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1512 memchr for PPC64.
1513
f00be62b
AZ
15142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1515
1516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1517 implementation.
1518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1519 (__libc_ifunc_impl_list): Likewise.
1520 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1521 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1522 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1523 mempcpy for PPC64.
1524
8a29a3d0
AZ
15252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526
1527 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1528 avoid cretion of __bzero symbol.
1529 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1530 Likewise.
1531 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1532 Likewise.
1533 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1534 Likewise.
1535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1536 multiarch implementations.
1537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1538 (__libc_ifunc_impl_list): Likewise.
1539 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1540 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1541 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1542 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1543 bzero for PPC32.
1544 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1545 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1546 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1547 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1548 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1549 memset for PPC64.
1550 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1551
07253fcf
AZ
15522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1556 implementations.
1557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1558 (__libc_ifunc_impl_list): Likewise.
1559 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1560 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1561 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1562 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1563 memcmp for PPC64.
1564
b5beafbc
AZ
15652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
1567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1568 multiarch for POWER/PPC64.
1569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1570 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1571 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1572 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1573 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1574 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1575 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1576 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1577 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1578 memcpy for PPC64.
1579
5e6a4d4b
AZ
15802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1583 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1584 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1586 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1587 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1588 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1589 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1590 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1591 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1592 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1593 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1594 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1595 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1596 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1604
ddfab6dc
KK
16052013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1606
1607 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1608
19b5525e
SP
16092013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1610
1611 * benchtests/Makefile (bench): Add exp2 and log2.
1612 (LDLIBS-bench-exp2): Add -lm.
1613 (LDLIBS-bench-log2): Likewise.
1614 * benchtests/exp2-inputs: New inputs file.
1615 * benchtests/log2-inputs: New inputs file.
1616 * benchtests/log-inputs: Add new inputs.
1617 * benchtests/tan-inputs: Likewise.
1618
196f7f5d
SP
16192013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1620
7a74607f
SP
1621 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1622 definition...
1623 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1624 csloww1, csloww2): ... from here.
1625
196f7f5d
SP
1626 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1627 instead of structures.
1628 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1629 (POLYNOMIAL): Likewise.
1630 (TAYLOR_SLOW): Likewise.
1631 (__sin): Likewise.
1632 (__cos): Likewise.
1633 (slow1): Likewise.
1634 (slow2): Likewise.
1635 (sloww): Likewise.
1636 (sloww1); Likewise.
1637 (sloww2): Likewise.
1638 (bsloww1): Likewise.
1639 (bsloww2): Likewise.
1640 (cslow2): Likewise.
1641 (csloww): Likewise.
1642 (csloww1): Likewise.
1643 (csloww2): Likewise.
1644
0dfa665c
OB
16452013-12-10 Ondřej Bílka <neleai@seznam.cz>
1646
1647 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1648 (__malloc_assert, __libc_realloc, __libc_calloc,
1649 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1650 memcpy and memset.
1651 * malloc/hooks.c (realloc_check): Likewise.
1652
5782a80f
OB
16532013-12-10 Ondřej Bílka <neleai@seznam.cz>
1654
1655 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1656 * malloc/arena.c: Remove PER_THREAD conditional.
1657 [!PER_THREAD]: Remove code.
1658 (ptmalloc_unlock_all2): Likewise.
1659 (ptmalloc_init): Likewise.
1660 (_int_new_arena): Likewise.
1661 (arena_get2): Likewise.
1662 * malloc/hooks.c (__malloc_get_state): Likewise.
1663 (__malloc_set_state): Likewise.
1664 * malloc/malloc.c: Likewise.
1665 (struct malloc_state): Likewise.
1666 (struct malloc_par): Likewise.
1667 (__libc_realloc): Likewise.
1668 (__libc_mallopt): Likewise.
1669
aeb95445
AZ
16702013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1671
1672 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1673
e8349efd
OB
16742013-12-09 Ondřej Bílka <neleai@seznam.cz>
1675
1676 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1677 macro to a function. Check for zero perturb_byte.
1678 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1679
f3eeb3fc
OB
16802013-12-09 Ondřej Bílka <neleai@seznam.cz>
1681
1682 * malloc/malloc.c: (force_reg): Remove.
1683 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1684 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1685 force_reg by atomic_forced_read.
1686 * malloc/arena.c (ptmalloc_init): Likewise.
1687 * malloc/hooks.c (top_check): Likewise.
1688
be2f9009
AZ
16892013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690
1691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1692
e7b914bd
MT
16932013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1694
1695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1696
9f0be4f8
JM
16972013-12-08 Joseph Myers <joseph@codesourcery.com>
1698
1699 * math/auto-libm-test-in: Add tests of lgamma.
1700 * math/auto-libm-test-out: Regenerated.
1701 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1702 (M_LOG_2_SQRT_PIl): Likewise.
1703 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1704 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1705 mpfr_f_f1.
1706 (func_calc_desc): Add mpfr_f_f1 union field.
1707 (ARGS1): New macro.
1708 (ARGS2): Likewise.
1709 (ARGS3): Likewise.
1710 (ARGS4): Likewise.
1711 (RET1): Likewise.
1712 (RET2): Likewise.
1713 (CALC): Likewise.
1714 (FUNC): Likewise.
1715 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1716 (test_functions): Add lgamma.
1717 (calc_generic_results): Handle mpfr_f_f1.
1718 * sysdeps/i386/fpu/libm-test-ulps: Update.
1719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1720
24eeafdb
AZ
17212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1724 __mpn_add_n for PowerPC64/POWER7.
1725 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1726 __mpn_sub_n for PowerPC64/POWER7.
1727
4a2c0fd4
AZ
17282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729
1730 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1731 __mpn_addmul_1 for PowerPC64.
1732 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1733 __mpn_submul_1 for PowerPC64.
1734 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1735 for PowerPC64.
1736 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1737 for PowerPC64.
1738
4b5b548c
FS
17392013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1740
1741 [BZ #15089]
1742 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1743
0a3ac0aa
AZ
17442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1745
1746 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1747
ccdc8438
AZ
17482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749
1750 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1751 add multiarch folders.
1752 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1753 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1754 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1755 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1756 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1757 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1758 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1759 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1760 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1761 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1762 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1769
2e973d99
AZ
17702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771
1772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1773 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1775 New file.
1776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1777 New file.
1778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1779 multiarch __ieee754_hypot for PowerPC32.
1780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1781 New file.
1782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1783 New file.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1785 multiarch __ieee754_hypotf for PowerPC32.
1786
2d9470b2
AZ
17872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788
1789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1790 long_double_symbol only if __logbl is defined.
1791 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1792 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1794 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1795 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1796 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1797 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1798 path for implementation.
1799 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1800 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1802 logb, and logbl multiarch implementations for PowerPC32.
1803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1804 file.
1805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1806 file.
1807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1808 multiarch logb for PowerPC32.
1809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1810 file.
1811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1812 file.
1813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1814 multiarch logbf for PowerPC32.
1815 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1817 file.
1818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1819 multiarch logbl implementation for PowerPC32.
1820
5212ffce
AZ
18212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1822
1823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1824 and modff multiarch implementations.
1825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1826 New file.
1827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1828 New file.
1829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1830 multiarch modf for PowerPC32.
1831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1832 New file.
1833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1834 New file.
1835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1836 multiarch modff for PowerPC32.
1837
79dccf31
AZ
18382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839
1840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1841 and lrintf multiarch implementations.
1842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1843 New file.
1844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1845 New file.
1846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1847 multiarch lrint for PowerPC32.
1848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1849 file: multiarch lrintf for PowerPC32.
1850
deb66480
AZ
18512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1852
1853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1854 and lroundf multiarch implementations.
1855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1856 New file.
1857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1858 New file.
1859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1860 New file.
1861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1862 multiarch lround for PowerPC32.
1863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1864 file: multiarch lroundf for PowerPC32.
1865
264b036b
AZ
18662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867
1868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1869 copysign and copysignf multiarch implementations.
1870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1871 New file.
1872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1873 New file.
1874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1875 file: multiarch copysign for PowerPC32.
1876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1877 file: multiarch copysignf for PowerPC32.
1878
d47db6c9
AZ
18792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880
1881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1882 and truncf multiarch implementations.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1884 New file.
1885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1886 file.
1887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1888 multiarch trunc for PowerPC32.
1889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1890 New file.
1891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1892 New file.
1893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1894 multiarch truncf for PowerPC32.
1895
ddb60b5a
AZ
18962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1897
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1899 and roundf multiarch implementations.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1901 New file.
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1903 file.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1905 multiarch round for PowerPC32.
1906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1907 New file.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1909 New file.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1911 multiarch roundf for PowerPC32.
1912
bedcf49b
AZ
19132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1914
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1916 and floorf multiarch implementations.
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1918 New file.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1920 file.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1922 multiarch floor for PowerPC32.
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1924 New file.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1926 New file.
1927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1928 multiarch floorf for PowerPC32.
1929
35ae5b40
AZ
19302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1931
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1933 and ceilf multiarch implementations.
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1935 New file.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1937 file.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1939 multiarch ceil for PowerPC32.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1941 New file.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1943 file.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1945 multiarch ceilf for PowerPC32.
1946
ae1a4cd9
AZ
19472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1948
1949 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1950 is defined.
1951 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1952 FINITEF is defined.
1953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1954 and finitef multiarch implementations.
1955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1956 New file.
1957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1958 file.
1959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1960 multiarch finite for PowerPC32.
1961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1962 New file.
1963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1964 file: multiarch finitef for PowerPC32.
1965
64fffd65
AZ
19662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1967
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1969 and isinff multiarch implementations.
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1971 file.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1973 file.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1975 multiarch isinf for PowerPC32.
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1977 New file.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1979 multiarch isinff for PowerPC32.
1980
8e4e7ba2
AZ
19812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1982
1983 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1984 alias when __isnan is defined.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1986 and isnanf multiarch implementations.
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1988 file.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1990 file.
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1992 file.
1993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1994 file.
1995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1996 multiarch isnan for PowerPC32.
1997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1998 New file.
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2000 New file.
2001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2002 multiarch isnanf for PowerPC32.
2003
ddba588e
AZ
20042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2005
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2007 and sqrtf multiarch implementations.
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2009 file.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2011 file.
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2013 multiarch sqrt for PowerPC32.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2015 file.
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2017 file.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2019 multiarch sqrtf for PowerPC32.
2020
0f96a2f0
AZ
20212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2022
2023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2024 and llroundf multiarch implementations.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2026 New file.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2028 New file.
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2030 New file.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2032 file: multiarch llround for PowerPC32.
2033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2034 file: multiarch llroundf for PowerPC32.
2035
c9b5d79e
AZ
20362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2037
2038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2039 multiarch PowerPC32 fpu implementations.
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2041 New file.
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2043 New file.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2045 multiarch llrint for PowerPC32.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2047 New file.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2049 New file.
2050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2051 file.
2052
9cbb3aab
AZ
20532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2056
ea5a72f8
AZ
20572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058
2059 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2060 file.
2061 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2062 file.
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2064 file.
2065 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2066 multiarch wordcopy for PPC32.
2067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2068 wordcopy objects.
2069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2070 (__libc_ifunc_impl_list): Likewise.
2071 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2072 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2073 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2074 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2075 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2076 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2077
93be09e7
AZ
20782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2079
2080 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2082 file.
2083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2084 file.
2085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2086 file.
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2088 multiarch wcscpy for PPC32.
2089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2090 multiarch objects.
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2092 (__libc_ifunc_impl_list): Likewise.
2093 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2094 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2095 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2096 sysdeps/powerpc/power6/wcscpy.c.
2097
bb04e529
AZ
20982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2099
2100 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2102 file.
2103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2104 file.
2105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2106 file.
2107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2108 multiarch wcsrchr for PPC32.
2109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2110 multiarch objects.
2111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2112 (__libc_ifunc_impl_list): Likewise.
2113 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2114 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2115 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2116 sysdeps/powerpc/power6/wcsrchr.c.
2117
05b5cd1c
AZ
21182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119
2120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2121 file.
2122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2123 file.
2124 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2126 multiarch wcschr for PPc32.
2127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2128 multiarch objects.
2129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2130 (__libc_ifunc_impl_list): Likewise.
2131 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2132 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2133 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2134 sysdeps/powerpc/power6/wcschr.c.
2135
ba964147
AZ
21362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2137
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2139 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2140 file.
2141 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2142 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2143 file: multiarch strchr for PPC32.
2144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2145 multiarch objects.
2146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2147 (__libc_ifunc_impl_list): Likewise.
2148
31c81aaa
AZ
21492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2150
2151 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2152 name.
2153 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2154 file.
2155 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2156 file.
2157 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2158 multiarch strchrnul for PPC32.
2159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2160 multiarch objects.
2161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2162 (__libc_ifunc_impl_list): Likewise.
2163
0d0607d9
AZ
21642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2165
2166 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2167 file.
2168 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2169 multiarch strncasecmp for PPC32.
2170 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2171 file.
2172 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2173 multiarch strncasecmp_l for PPC32.
2174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2175 strncasecmp multiarch objects.
2176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2177 (__libc_ifunc_impl_list): Likewise.
2178
4dfd5c86
AZ
21792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2180
2181 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2182 file.
2183 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2184 multiarch strncasecmp for PPC32.
2185 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2186 New file.
2187 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2188 multiarch strcasecmp_l for PPC32.
2189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2190 multiarch objects.
2191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2192 (__libc_ifunc_impl_list): Likewise.
2193
a19e01a3
AZ
21942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195
2196 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2197 file.
2198 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2199 file.
2200 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2201 multiarch strncmp for PPC32.
2202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2203 multiarch objects.
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2205 (__libc_ifunc_impl_list): Likewise.
2206
ae9cf7a2
AZ
22072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2208
2209 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2210 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2211 file.
2212 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2213 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2215 multiarch objects.
2216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2217 (__libc_ifunc_impl_list): Likewise.
2218
3148bb7d
AZ
22192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2220
2221 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2222 file.
2223 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2224 file.
2225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2227 multiarch objects.
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2229 (__libc_ifunc_impl_list): Likewise.
2230
7af8b946
AZ
22312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2232
2233 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2234 file.
2235 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2236 file.
2237 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2238 multiarch rawmemchr for PPC32.
2239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2240 multiarch objects.
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2242 (__libc_ifunc_impl_list): Likewise.
2243
03a6aa6a
AZ
22442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2245
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2247 file.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2249 file.
2250 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2251 file: memrchr multiarch for PPC32.
2252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2253 multiarch objects.
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2255 (__libc_ifunc_impl_list): Likewise.
2256
1c62e6d9
AZ
22572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2258
2259 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2260 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2261 file.
2262 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2264 multiarch memchr for PPC32.
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2266 multiarch objects.
2267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2268 (__libc_ifunc_impl_list): Likewise.
2269
87da8bdb
AZ
22702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2271
2272 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2273 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2274 file.
2275 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2276 file.
2277 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2278 file: multiarch mempcpy for PPC32.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2280 multiarch objects.
2281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2282 (__libc_ifunc_impl_list): Likewise.
2283
20ed4714
AZ
22842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2285
2286 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2287 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2288 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2289 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2290 multiarch bzero for PPC32.
2291 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2292 file.
2293 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2294 file.
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2296 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2297 file: multiarch memset for PPC32.
2298 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2300 memset multiarch objects.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2302 (__libc_ifunc_impl_list): Likewise.
2303
ab3e3a46
AZ
23042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2305
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2307 file.
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2310 memcmp for PPC32.
2311 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2313 multiarch objects.
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2315 (__libc_ifunc_impl_list): Likewise.
2316
930de6f0
AZ
23172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318
2319 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2322 file.
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2324 file.
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2326 file.
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2328 multiarch memcpy for PPC32.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2330 multiarch objects.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2332 (__libc_ifunc_impl_list): Likewise.
2333
4c628e00
AZ
23342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335
2336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2337 support multiarch for POWER/PPC32.
2338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2339 Likewise.
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2342 Implies file to make multiarch folder appers before the fpu and
2343 default folder for power4 configuration.
2344
f4479220
SP
23452013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2346
2347 * scripts/bench.pl: Append volatile keyword to type.
2348
8517800f
KK
23492013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2350
2351 * sysdeps/sh/sotruss-lib.c: New file.
2352 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2353
180138f1
AZ
23542013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2355
2356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2357
bbf37bdc
JM
23582013-12-05 Joseph Myers <joseph@codesourcery.com>
2359
e47cc4e0
JM
2360 [BZ #6810]
2361 * math/w_tgamma.c: Include <errno.h>.
2362 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2363 * math/w_tgammaf.c: Include <errno.h>.
2364 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2365 * math/w_tgammal.c: Include <errno.h>.
2366 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2367 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2368 underflow. Add more tgamma tests.
2369 * math/auto-libm-test-out: Regenerated.
2370 * sysdeps/i386/fpu/libm-test-ulps: Update.
2371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2372
bbf37bdc
JM
2373 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2374 sin, sinh, tan, tanh, tgamma, y0 and y1.
2375 * math/auto-libm-test-out: Regenerated.
2376 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2377 (TEST_COND_x86): Likewise.
2378 (M_E2l): Remove macro.
2379 (M_E3l): Likewise.
2380 (M_2_SQRT_PIl): Likewise.
2381 (M_SQRT_PIl): Likewise.
2382 (M_1_DIV_El): Likewise.
2383 (log_test_data): Use AUTO_TESTS_f_f.
2384 (log10_test_data): Likewise.
2385 (log1p_test_data): Likewise.
2386 (log2_test_data): Likewise.
2387 (sin_test_data): Likewise.
2388 (sin_tonearest_test_data): Likewise.
2389 (sin_towardzero_test_data): Likewise.
2390 (sin_downward_test_data): Likewise.
2391 (sin_upward_test_data): Likewise.
2392 (sinh_test_data): Likewise.
2393 (sinh_tonearest_test_data): Likewise.
2394 (sinh_towardzero_test_data): Likewise.
2395 (sinh_downward_test_data): Likewise.
2396 (sinh_upward_test_data): Likewise.
2397 (tan_test_data): Likewise.
2398 (tan_tonearest_test_data): Likewise.
2399 (tan_towardzero_test_data): Likewise.
2400 (tan_downward_test_data): Likewise.
2401 (tan_upward_test_data): Likewise.
2402 (tanh_test_data): Likewise.
2403 (tgamma_test_data): Likewise.
2404 (y0_test_data): Likewise.
2405 (y1_test_data): Likewise.
2406 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2407 (special_real_inputs): Add pi/4.
2408 * sysdeps/i386/fpu/libm-test-ulps: Update.
2409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2410
eb5ad6b9
AZ
24112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2412
2413 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2414 "longjmp_target" static probes.
2415 (__longjmp): Rename to __longjmp_symbol.
2416 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2417 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2418 on which longjmp to generate.
2419 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2421 probe.
2422 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2423 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2424 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2425 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2426 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2427 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2429 __longjmp_symbol based on which __longjmp to generate.
2430 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2431 probe.
2432 (setjmp): Rename to setjmp_symbol.
2433 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2434 (_setjmp): Rename to _setjmp_symbol.
2435 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2436 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2437 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2438 which setjmp to generate.
2439 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2440 "longjmp_target" static probes.
2441
d136c6dc
SP
24422013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2443
9298ecba
SP
2444 * benchtests/README: Add note about output arguments.
2445 * benchtests/bench-sincos.c: Remove file.
2446 * benchtests/sincos-inputs: New file.
2447 * scripts/bench.pl: Identify output arguments and define
2448 static variables for them.
2449
232983e9
SP
2450 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2451
d136c6dc
SP
2452 [BZ #15941]
2453 * Makefile (INSTALL): Add install-plain.texi as the primary
2454 dependency.
2455 * manual/install-plain.texi: New file.
2456 * manual/install.texi: Include node directive only for
2457 non-plaintext output.
2458
699ff837
JM
24592013-12-04 Joseph Myers <joseph@codesourcery.com>
2460
ab07cea8
JM
2461 * stdlib/longlong.h: Update from GCC.
2462
699ff837
JM
2463 [BZ #6807]
2464 [BZ #15901]
2465 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2466 * math/w_j0f.c (y0f): Likewise.
2467 * math/w_j0l.c (__y0l): Likewise.
2468 * math/w_j1.c (y1): Likewise.
2469 * math/w_j1f.c (y1f): Likewise.
2470 * math/w_j1l.c (__y1l): Likewise
2471 * math/w_jn.c (yn): Likewise.
2472 * math/w_jnf.c (ynf): Likewise.
2473 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2474 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2475 value for Bessel function domain errors outside _SVID_ mode.
2476 Adjust sign of return value for yn (negative integer, 0).
2477 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2478 by zero in return for negative x and set sign appropriately for
2479 negative n.
2480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2481 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2482 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2483 expectations in error cases.
2484 (y1_test_data): Likewise.
2485 (yn_test_data): Likewise.
2486 * sysdeps/i386/fpu/libm-test-ulps: Update.
2487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2488
5b118558
UW
24892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2490
2491 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2492 "64" to "64-v1". Add "64-v2".
2493 (abi-64-options): Rename to ...
2494 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2495 (abi-64-condition): Rename to ...
2496 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2497 (abi-64-ld-soname): Rename to ...
2498 (abi-64-v1-ld-soname): ... this.
2499 (abi-64-v2-options): Define.
2500 (abi-64-v2-condition): Likewise.
2501 (abi-64-v2-ld-soname): Likewise.
2502 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2503 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2507
61cd8fe4
UW
25082013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2509 Alan Modra <amodra@gmail.com>
2510
2511 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2512 New versions for use with the ELFv2 ABI.
2513 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2514 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2515 declaration.
2516 (struct La_ppc64v2_retval): Likewise.
2517 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2518 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2519 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2520 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2521 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2522 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2523 Do not save or restore CR.
2524 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2525 (_dl_profile_resolve): Do no save or restore CR. Support extended
2526 return values for ELFv2 ABI. Fix location of FPR return registers.
2527 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2528 updated values for _CALL_ELF == 2.
2529 (La_regs, La_retval, int_retval): Likewise.
2530
8b8a692c
UW
25312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2532
2533 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2534 (FRAME_MIN_SIZE_PARM): Likewise.
2535 (FRAME_BACKCHAIN): Likewise.
2536 (FRAME_CR_SAVE): Likewise.
2537 (FRAME_LR_SAVE): Likewise.
2538 (FRAME_TOC_SAVE): Likewise.
2539 (FRAME_PARM_SAVE): Likewise.
2540 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2541 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2542 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2543 (call_mcount_parm_offset): New macro.
2544 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2545 (PROF): Use symbolic stack frame offsets.
2546 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2547 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2548 Redefine in terms of FRAME_MIN_SIZE.
2549 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2550 (_dl_profile_resolve): Likewise. Update comment.
2551 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2552 symbols stack frame offsets.
2553 (__sigsetjmp): Likewise.
2554 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2555 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2556 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2557 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2558
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2560 (FRAME_BACKCHAIN): Remove.
2561 (FRAME_CR_SAVE): Likewise.
2562 (FRAME_LR_SAVE): Likewise.
2563 (FRAME_COMPILER_DW): Likewise.
2564 (FRAME_LINKER_DW): Likewise.
2565 (FRAME_TOC_SAVE): Likewise.
2566 (FRAME_PARM_SAVE): Likewise.
2567 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2568 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2569 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2571 (CHECK_SP): Use symbolic stack frame offsets.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2573 zone" instead of caller's parameter save area for temp storage.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2575 Likewise. Also, use symbolic stack frame offsets.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2577 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2578 our own stack frame instead of the caller's.
2579 (__socket): Use symbolic stack frame offsets.
2580
122b66de
UW
25812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2582 Alan Modra <amodra@gmail.com>
2583
2584 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2585 Define.
2586 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2587 PPC64_LOCAL_ENTRY_OFFSET): Define.
2588 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2589 New function.
2590 (elf_machine_fixup_plt): Call it.
2591 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2592 reloc arguments.
2593 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2594 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2595 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2596 r2 before calling target.
2597
696caf1d
UW
25982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2599 Alan Modra <amodra@gmail.com>
2600
2601 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2602 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2603 versions of macros to support ELFv2 ABI.
2604 (LOCALENTRY): New macro.
2605 (ENTRY, EALIGN): Use it.
2606 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2607 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2608 fall through into ENTRY entry point.
2609 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2610 Only define if _CALL_ELF != 2.
2611
2612 (elf_machine_matches_host): Verify ABI version matches.
2613 (RTLD_START): Use LOCALENTRY.
2614 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2615 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2616 (PLT_ENTRY_WORDS): New macro.
2617 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2618 (elf_machine_runtime_setup): Support ELFv2 ABI.
2619 (elf_machine_fixup_plt): Likewise.
2620 (elf_machine_plt_conflict): Likewise.
2621 (resolve_ifunc): Likewise.
2622 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2624 Likewise.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2626 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2628 (makecontext): Support ELFv2 ABI.
2629 * elf/elf.h (EF_PPC64_ABI): Define.
2630
d31beafa
UW
26312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2632
2633 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2634 New assembler macro.
2635 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2636 [ASSEMBLER] (ENTRY): ... but instead here ...
2637 [ASSEMBLER] (EALIGN): ... and here.
2638 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2639 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2640 [!ASSEMBLER] (ENTRY_2): Use it.
2641 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2642 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2643 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2644 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2645 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2647 Use PPC64_LOAD_FUNCPTR.
2648
b525166b
UW
26492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2650
2651 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2652
7ec07d9a
AM
26532013-12-04 Alan Modra <amodra@gmail.com>
2654
2655 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2656 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2657 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2658 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2659
2660 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2661 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2662 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2663 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2664 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2665 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2666
5162e7dd
UW
26672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2668
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2670 (__makecontext): Fix incorrect CFI when backtracing out of
2671 context created via makecontext.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2673 (__setcontext): Fix incorrect CFI during switch to new context.
2674 (__novec_setcontext): Likewise.
2675
19e3372b
OB
26762013-12-04 Ondřej Bílka <neleai@seznam.cz>
2677
2678 [BZ #4772]
2679 * time/strptime_l.c (__strptime_internal): Allow modifiers
2680 in strptime.
2681 * time/tst-strptime.c (day_tests): Add testcase.
2682
2683
ecaf142d
SP
26842013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2685
2686 * scripts/bench.pl: Skip over blank lines.
2687
fbf964ae
PE
26882013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2689
2690 [BZ #926]
2691 * manual/time.texi (Calendar Time): Clarify what timezone functions
2692 use.
2693
fa60a674
AZ
26942013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695
2696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2697
d674f0ef
OB
26982013-12-04 Ondřej Bílka <neleai@seznam.cz>
2699
2700 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2701 implementation.
2702 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2703 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2704 * debug/memset_chk.c (__memset_chk): Likewise.
2705 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2706 * debug/strncpy_chk.c: Likewise.
2707
17dea188
JM
27082013-12-03 Joseph Myers <joseph@codesourcery.com>
2709
749008ff
JM
2710 [BZ #15268]
2711 [BZ #15425]
2712 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2713 (__ieee754_exp): For possibly underflowing results, check size of
2714 result and force underflow exception if required.
2715 * math/auto-libm-test-in: Add more tests of exp.
2716 * math/auto-libm-test-out: Regenerated.
2717 * sysdeps/i386/fpu/libm-test-ulps: Update.
2718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2719
17dea188
JM
2720 [BZ #16283]
2721 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2722 * math/w_exp2f.c (__exp2f): Likewise.
2723 * math/w_exp2l.c (__exp2l): Likewise.
2724 * math/auto-libm-test-in: Do not allow missing errno on exp2
2725 underflow.
2726 * math/auto-libm-test-out: Regenerated.
2727
b20de2c3
OB
27282013-12-03 Ondřej Bílka <neleai@seznam.cz>
2729
2730 [BZ #16274]
2731 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2732 handle filename validation.
2733 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2734 (do_open): Delete.
2735
d8e2dbe3
JM
27362013-12-03 Joseph Myers <joseph@codesourcery.com>
2737
34e16df5
JM
2738 [BZ #6786]
2739 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2740 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2741 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2742 <float.h>.
2743 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2745 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2747 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2748 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2749 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2750 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2751 Add more erfc tests.
2752 * math/auto-libm-test-out: Regenerated.
2753 * sysdeps/i386/fpu/libm-test-ulps: Update.
2754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2755
d8e2dbe3
JM
2756 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2757 exp2, expm1, j0 and j1.
2758 * math/auto-libm-test-out: Regenerated.
2759 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2760 (erfc_test_data): Likewise.
2761 (exp_test_data): Likewise.
2762 (exp_tonearest_test_data): Likewise.
2763 (exp_towardzero_test_data): Likewise.
2764 (exp_downward_test_data): Likewise.
2765 (exp_upward_test_data): Likewise.
2766 (exp10_test_data): Likewise.
2767 (exp2_test_data): Likewise.
2768 (expm1_test_data): Likewise.
2769 (j0_test_data): Likewise.
2770 (j1_test_data): Likewise.
2771 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2772 (input_flag_type): Add flag_xfail_rounding.
2773 (input_flags): Add xfail-rounding.
2774 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2775 (output_for_one_input_case): Handle flag_xfail_rounding.
2776 * sysdeps/i386/fpu/libm-test-ulps: Update.
2777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2778
18d14251
AJ
27792013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2780
3d2e6075 2781 [BZ #16289]
18d14251
AJ
2782 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2783 division by 0.
2784
520d437b
SP
27852013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2786
2787 [BZ #16195]
2788 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2789 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2790 (STAP_PROBE0): New macro.
2791 (STAP_PROBE1): Likewise.
2792 (STAP_PROBE2): Likewise.
2793 (STAP_PROBE3): Likewise.
2794 (STAP_PROBE4): Likewise.
2795
416e0145
OB
27962013-12-02 Ondřej Bílka <neleai@seznam.cz>
2797
2798 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2799
9d17796a
SE
28002013-12-02 Steve Ellcey <sellcey@mips.com>
2801
2802 * benchtests/Makefile (bench): Add sqrt.
2803 (LDLIBS-bench-sqrt): New.
2804 * benchtests/sqrt-input: New.
2805
f524d6a8
PS
28062013-12-02 Pavel Simerda <psimerda@redhat.com>
2807
639a0ef8
PS
2808 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2809 (GAIH_EAI): Likewise.
2810 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2811 (gaih_inet): Likewise.
2812 (getaddrinfo): Don't use GAIH_EAI.
2813
f524d6a8
PS
2814 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2815 (struct gaih): Remove definition.
2816
df3aedaf
SP
28172013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2818
2819 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2820 Use HERRNOP directly.
2821
1ab19dec
AZ
28222013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2823
b42ad38d 2824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2825
176b0c79
JM
28262013-11-30 Joseph Myers <joseph@codesourcery.com>
2827
2828 * math/gen-auto-libm-tests.c (test_functions): Add more
2829 single-argument functions.
2830 (special_fill_pi_2): New function.
2831 (special_fill_minus_pi_2): Likewise.
2832 (special_fill_pi_6): Likewise.
2833 (special_fill_minus_pi_6): Likewise.
2834 (special_fill_pi_3): Likewise.
2835 (special_fill_2pi_3): Likewise.
2836 (special_fill_e): Likewise.
2837 (special_fill_1_e): Likewise.
2838 (special_fill_e_minus_1): Likewise.
2839 (special_real_inputs): Add more special inputs.
2840 (output_for_one_input_case): Do not require ERANGE on underflow to
2841 zero if round-to-nearest result does not underflow to zero, unless
2842 exact results required.
2843 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2844 atan, atanh, cbrt, cos and cosh.
2845 * math/auto-libm-test-out: Regenerated.
2846 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2847 (acos_tonearest_test_data): Likewise.
2848 (acos_towardzero_test_data): Likewise.
2849 (acos_downward_test_data): Likewise.
2850 (acos_upward_test_data): Likewise.
2851 (acosh_test_data): Likewise.
2852 (asin_test_data): Likewise.
2853 (asin_tonearest_test_data): Likewise.
2854 (asin_towardzero_test_data): Likewise.
2855 (asin_upward_test_data): Likewise.
2856 (asinh_test_data): Likewise.
2857 (atan_test_data): Likewise.
2858 (atanh_test_data): Likewise.
2859 (cbrt_test_data): Likewise.
2860 (cos_test_data): Likewise.
2861 (cos_tonearest_test_data): Likewise.
2862 (cos_towardzero_test_data): Likewise.
2863 (cos_downward_test_data): Likewise.
2864 (cos_upward_test_data): Likewise.
2865 (cosh_test_data): Likewise.
2866 (cosh_tonearest_test_data): Likewise.
2867 (cosh_towardzero_test_data): Likewise.
2868 (cosh_downward_test_data): Likewise.
2869 (cosh_upward_test_data): Likewise.
2870 * sysdeps/i386/fpu/libm-test-ulps: Update.
2871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2872
ffb536d0
JM
28732013-11-29 Joseph Myers <joseph@codesourcery.com>
2874
2a77a467
JM
2875 [BZ #6787]
2876 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2877 * math/w_exp10f.c (__exp10f): Likewise.
2878 * math/w_exp10l.c (__exp10l): Likewise.
2879 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2880 errno settings in existing tests.
2881
ea3bc4e8
JM
2882 [BZ #14032]
2883 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2884 precision control set to double precision.
2885 * sysdeps/i386/fpu/w_sqrt.c: New file.
2886 * math/auto-libm-test-in: Add more tests.
2887 * math/auto-libm-test-out: Update.
2888
0712c9d8
JM
2889 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2890 (sqrt_test_tonearest): New function.
2891 (sqrt_towardzero_test_data): New variable.
2892 (sqrt_test_towardzero): New function.
2893 (sqrt_downward_test_data): New variable.
2894 (sqrt_test_downward): New function.
2895 (sqrt_upward_test_data): New variable.
2896 (sqrt_test_upward): New function.
2897 (main): Call the new functions.
2898
ffb536d0
JM
2899 * math/gen-auto-libm-tests.c: New file.
2900 * math/auto-libm-test-in: Likewise.
2901 * math/auto-libm-test-out: New generated file.
2902 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2903 variables.
2904 (%beautify): Add generated representations of zero.
2905 (top level): Set $auto_input and call parse_auto_input.
2906 (beautify): Remove trailing "f" from hex float constants.
2907 (parse_args): Handle XFAIL_TEST.
2908 (convert_condition): New function.
2909 (or_value): Likewise.
2910 (or_cond_value): Likewise.
2911 (generate_testfile): Handle AUTO_TESTS_* lines.
2912 (parse_auto_input): New function.
2913 * math/libm-test.inc (XFAIL_TEST): New macro.
2914 (ERRNO_UNCHANGED): Update value.
2915 (ERRNO_EDOM): Likewise.
2916 (ERRNO_ERANGE): Likewise.
2917 (IGNORE_RESULT): Likewise.
2918 (TEST_COND_flt_32): New macro.
2919 (TEST_COND_dbl_64): Likewise.
2920 (TEST_COND_ldbl_96_intel): Likewise.
2921 (TEST_COND_ldbl_96_m68k): Likewise.
2922 (TEST_COND_ldbl_128): Likewise.
2923 (TEST_COND_ldbl_128ibm): Likewise.
2924 (TEST_COND_long32): Likewise.
2925 (TEST_COND_long64): Likewise.
2926 (TEST_COND_before_rounding): Likewise.
2927 (TEST_COND_after_rounding): Likewise.
2928 (enable_test): Handle XFAIL_TEST flag.
2929 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2930 with finite results.
2931 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2932 auto-libm-test-out.
2933
acd98a8e
AK
29342013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2935 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2936
2937 [BZ #16214]
2938 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2939 __tls_get_addr_internal instead of __tls_get_offset in order to
2940 avoid GOT pointer dependency. Make rtld export
2941 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2942 __tls_get_addr since we are a __tls_get_offset platform.
2943 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2944 GOT pointer being set up before.
2945 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2946
3c1c46a6
JM
29472013-11-28 Joseph Myers <joseph@codesourcery.com>
2948
7475aef5
JM
2949 * manual/math.texi (Errors in Math Functions): Document accuracy
2950 goals.
2951
8bca7cd8
JM
2952 [BZ #15004]
2953 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2954 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2955 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2956 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2957 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2958 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2959 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2960 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2961 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2962 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2963 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2964 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2965 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2966 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2967 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2968 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2969
91a1f3fe
JM
2970 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2971 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2972 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2973 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2974 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2975 Likewise.
2976 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2977 Likewise.
2978 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2979 Likewise.
2980 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2981 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2982 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2983 atomic-feupdateenv and flt-rounds.
2984 * sysdeps/powerpc/nofpu/Versions (libc): Add
2985 __atomic_feholdexcept, __atomic_feclearexcept,
2986 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2987 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2988 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2989 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2990 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2991 here.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2993 Update.
2994
c5df7609
JM
2995 * manual/arith.texi (FP Exceptions): Document that exceptions may
2996 not be raised when matherr is used.
2997 (Math Error Reporting): Document overflow in directed rounding
2998 modes. Document that errno may not be set when finite values are
2999 returned on overflow. Document intent to set errno on underflow
3000 only for underflow to zero.
3001
3c1c46a6
JM
3002 [BZ #16271]
3003 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3004 round-to-nearest then adjust result for other rounding modes.
3005 * include/fenv.h (fegetround): Use libm_hidden_proto.
3006 * math/fegetround.c (fegetround): Use libm_hidden_def.
3007 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3008 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3009 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3010 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3011 Likewise.
3012 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3013 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3014 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3015 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3016
5a4c6d53
SP
30172013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3018
3019 [BZ #16077]
3020 * nss/Versions (libnss_files): Add
3021 _nss_files_gethostbyname3_r.
3022 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3023 New function.
3024 (HOST_DB_LOOKUP): Remove macro.
3025 (_nss_files_gethostbyname_r): Implement function without the
3026 HOST_DB_LOOKUP macro.
3027 (_nss_files_gethostbyname2_r): Likewise.
3028
897b98ba
OB
30292013-11-28 Ondřej Bílka <neleai@seznam.cz>
3030
3031 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3032
6f476861
UB
30332013-11-26 Uros Bizjak <ubizjak@gmail.com>
3034
3035 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3036 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3037 warning.
3038
bd12ab55
AZ
30392013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3040
3041 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3042 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3043 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3044 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3045 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3046 __fe_nomask_env_priv and attribute_hidden.
3047 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3048 (libc_feupdateenv_test_ppc): Likewise.
3049 (libc_feresetround_ppc): Likewise.
3050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3051 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3052 compat_symbol macro.
3053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3054 (__fe_nomask_env): Likewise.
3055 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3056
52bb6543
OB
30572013-11-26 Ondřej Bílka <neleai@seznam.cz>
3058
3059 * string/Makefile: Remove ifunc tests.
3060 * string/test-string.h: Define TEST_IFUNC.
3061 * string/test-bcopy-ifunc.c: Remove.
3062 * string/test-bzero-ifunc.c: Likewise.
3063 * string/test-memccpy-ifunc.c: Likewise.
3064 * string/test-memchr-ifunc.c: Likewise.
3065 * string/test-memcmp-ifunc.c: Likewise.
3066 * string/test-memcpy-ifunc.c: Likewise.
3067 * string/test-memmem-ifunc.c: Likewise.
3068 * string/test-memmove-ifunc.c: Likewise.
3069 * string/test-mempcpy-ifunc.c: Likewise.
3070 * string/test-memrchr-ifunc.c: Likewise.
3071 * string/test-memset-ifunc.c: Likewise.
3072 * string/test-rawmemchr-ifunc.c: Likewise.
3073 * string/test-stpcpy-ifunc.c: Likewise.
3074 * string/test-stpncpy-ifunc.c: Likewise.
3075 * string/test-strcasecmp-ifunc.c: Likewise.
3076 * string/test-strcasestr-ifunc.c: Likewise.
3077 * string/test-strcat-ifunc.c: Likewise.
3078 * string/test-strchr-ifunc.c: Likewise.
3079 * string/test-strchrnul-ifunc.c: Likewise.
3080 * string/test-strcmp-ifunc.c: Likewise.
3081 * string/test-strcpy-ifunc.c: Likewise.
3082 * string/test-strcspn-ifunc.c: Likewise.
3083 * string/test-strlen-ifunc.c: Likewise.
3084 * string/test-strncasecmp-ifunc.c: Likewise.
3085 * string/test-strncat-ifunc.c: Likewise.
3086 * string/test-strncmp-ifunc.c: Likewise.
3087 * string/test-strncpy-ifunc.c: Likewise.
3088 * string/test-strnlen-ifunc.c: Likewise.
3089 * string/test-strpbrk-ifunc.c: Likewise.
3090 * string/test-strrchr-ifunc.c: Likewise.
3091 * string/test-strspn-ifunc.c: Likewise.
3092 * string/test-strstr-ifunc.c: Likewise.
3093
ab260039 30942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3095
3096 * benchtests/Makefile: Remove ifunc tests.
3097 * benchtests/bench-string.h: Define TEST_IFUNC.
3098 * benchtests/bench-bcopy-ifunc.c: Remove.
3099 * benchtests/bench-bzero-ifunc.c: Likewise.
3100 * benchtests/bench-memccpy-ifunc.c: Likewise.
3101 * benchtests/bench-memchr-ifunc.c: Likewise.
3102 * benchtests/bench-memcmp-ifunc.c: Likewise.
3103 * benchtests/bench-memcpy-ifunc.c: Likewise.
3104 * benchtests/bench-memmem-ifunc.c: Likewise.
3105 * benchtests/bench-memmove-ifunc.c: Likewise.
3106 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3107 * benchtests/bench-memrchr-ifunc.c: Likewise.
3108 * benchtests/bench-memset-ifunc.c: Likewise.
3109 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3110 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3111 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3112 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3113 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3114 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3115 * benchtests/bench-strcat-ifunc.c: Likewise.
3116 * benchtests/bench-strchr-ifunc.c: Likewise.
3117 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3118 * benchtests/bench-strcmp-ifunc.c: Likewise.
3119 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3120 * benchtests/bench-strcpy-ifunc.c: Likewise.
3121 * benchtests/bench-strcspn-ifunc.c: Likewise.
3122 * benchtests/bench-strlen-ifunc.c: Likewise.
3123 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3124 * benchtests/bench-strncat-ifunc.c: Likewise.
3125 * benchtests/bench-strncmp-ifunc.c: Likewise.
3126 * benchtests/bench-strncpy-ifunc.c: Likewise.
3127 * benchtests/bench-strnlen-ifunc.c: Likewise.
3128 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3129 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3130 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3131 * benchtests/bench-strspn-ifunc.c: Likewise.
3132 * benchtests/bench-strstr-ifunc.c: Likewise.
3133
31342013-11-26 Ondřej Bílka <neleai@seznam.cz>
3135
ab260039
OB
3136 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3137
d1d9eaf4 31382013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3139
d1d9eaf4
OB
3140 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3141 * rt/aio.h: Likewise.
3142 * sysdeps/gnu/bits/utmp.h: Likewise.
3143 * sysdeps/gnu/bits/utmpx.h: Likewise.
3144 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3145 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3146 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3147 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3148 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3149 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3150 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3151 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3152 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3154 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3155 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3156 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3158 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3159 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3160 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3161 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3162 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3163 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3164 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3165 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3166 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3167 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3168 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3170 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3171 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3172 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3173 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3174 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3175 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3176 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3177 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3178 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3179 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3180 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3181 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3182 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3183 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3184 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3185 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3186
a7624ed9
CD
31872013-11-25 Carlos O'Donell <carlos@redhat.com>
3188
3189 [BZ #16245]
3190 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3191 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3192
63cfe52b
JM
31932013-11-25 Joseph Myers <joseph@codesourcery.com>
3194
3195 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3196 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3197 Likewise.
3198
41e8926a
AZ
31992013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3200
3201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3202 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3203 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3204 (__fesetround): Remove define.
3205 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3206 rounding and exceptions handling.
3207 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3208 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3209 (__fe_nomask_env): Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3211 __fegetround instead of fegetround.
3212 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3214
6851bd4d
RM
32152013-11-21 Roland McGrath <roland@hack.frob.com>
3216
070906ff
RM
3217 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3218 it's there.
3219
6851bd4d
RM
3220 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3221
84ae135d
MI
32222013-11-21 Meador Inge <meadori@codesourcery.com>
3223
3224 [BZ #11157]
3225 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3226 (encrypt_r): Likewise.
3227 * malloc/obstack.h (obstack_free): Likewise.
3228 * posix/unistd.h (encrypt): Likewise.
3229
daf75146
GM
32302013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3231
3232 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3233 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3234 DL_CALL_DT_FINI() that call the functions directly.
3235 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3236 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3237 * elf/dl-fini.c: Likewise.
3238
10ad46bc
OB
32392013-11-20 Ondřej Bílka <neleai@seznam.cz>
3240
3241 * malloc/hooks.c (memalign_check): Add alignment rounding.
3242 * malloc/malloc.c (_mid_memalign): New function.
3243 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3244 Implement by calling _mid_memalign.
3245 * manual/probes.texi (Memory Allocation Probes): Remove
3246 memory_valloc_retry and memory_pvalloc_retry.
3247
f3fd2628
SP
32482013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3249
4712799f
SP
3250 * locale/programs/locarchive.c (open_archive): Add const
3251 qualifier to ARCHIVEFNAME and copy default fname to
3252 DEFAULT_FNAME.
3253
0417b20f
SP
3254 [BZ #15601]
3255 * libio/tst-widetext.input: Rename Oriya to Odia.
3256 * locale/iso-639.def: Likewise.
3257
f3fd2628
SP
3258 * manual/probes.texi (Mathematical Function Probes): Add
3259 documentation for sin, cos, asin and acos probes.
3260 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3261 (__sin32): Add slowasin probe.
3262 (__cos32): Add slowacos probe.
3263 (__mpsin): Add slowsin probe.
3264 (__mpcos): Add slowcos probe.
3265
73c1ce4f
JM
32662013-11-19 Joseph Myers <joseph@codesourcery.com>
3267
3268 [BZ #15483]
3269 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3270 thread-local __sim_exceptions_thread and global
3271 __sim_exceptions_global.
3272 (__sim_disabled_exceptions): Change to thread-local
3273 __sim_disabled_exceptions_thread and global
3274 __sim_disabled_exceptions_global.
3275 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3276 and global __sim_round_mode_global.
3277 (__simulate_exceptions): Use thread-local floating-point state and
3278 set global state from it as needed.
3279 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3280 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3281 __sim_round_mode_thread.
3282 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3283 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3284 and global __sim_exceptions_global.
3285 (__sim_disabled_exceptions): Change to thread-local
3286 __sim_disabled_exceptions_thread and global
3287 __sim_disabled_exceptions_global.
3288 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3289 and global __sim_round_mode_global.
3290 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3291 (SIM_SET_GLOBAL): Likewise.
3292 * sysdeps/powerpc/soft-fp/sfp-machine.h
3293 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3294 __sim_round_mode_thread.
3295 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3296 __sim_disabled_exceptions_thread.
3297 (__sim_exceptions): Change to __sim_exceptions_thread.
3298 (__sim_disabled_exceptions): Change to
3299 __sim_disabled_exceptions_thread.
3300 (__sim_round_mode): Change to __sim_round_mode_thread.
3301 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3302 thread-local floating-point state and set global state from it as
3303 needed.
3304 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3305 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3306 (__sim_disabled_exceptions): Remove extern declaration.
3307 (feenableexcept): Use thread-local floating-point state and set
3308 global state from it as needed.
3309 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3310 extern declaration.
3311 (__sim_disabled_exceptions): Likewise.
3312 (__sim_round_mode): Likewise.
3313 (__fegetenv): Use thread-local floating-point state.
3314 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3315 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3316 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3317 floating-point state and set global state from it as needed.
3318 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3319 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3320 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3321 Likewise.
3322 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3323 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3324 Likewise.
3325 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3326 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3327 Use __sim_round_mode_thread.
3328 * math/test-fenv-tls.c: New file.
3329 * math/Makefile (tests): Add test-fenv-tls.
3330 ($(objpfx)test-fenv-tls): Depend on
3331 $(common-objpfx)nptl/libpthread.so.
3332
b5449b12
AS
33332013-11-19 Andreas Schwab <schwab@suse.de>
3334
3335 * locale/programs/locale.c (show_info): Decode wordarray elements.
3336 * locale/categories.def (LC_MONETARY): Add element for
3337 _NL_MONETARY_CRNCYSTR.
3338 * locale/C-monetary.c (conversion_rate): New variable.
3339 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3340 element.
3341
e186536b
CM
33422013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3343
3344 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3345 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3346
5c349950
PP
33472013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3348
3349 * elf/Makefile (tst-auxv): New test.
3350 * elf/tst-auxv.c: New
3351 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3352
699df45b
JM
33532013-11-18 Joseph Myers <joseph@codesourcery.com>
3354
3355 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3356 (hidden_proto): Caller changed.
3357 (hidden_tls_proto): New macro.
3358 (libc_hidden_tls_proto): Likewise.
3359 (rtld_hidden_tls_proto): Likewise.
3360 (libm_hidden_tls_proto): Likewise.
3361 (libresolv_hidden_tls_proto): Likewise.
3362 (librt_hidden_tls_proto): Likewise.
3363 (libdl_hidden_tls_proto): Likewise.
3364 (libnss_files_hidden_tls_proto): Likewise.
3365 (libnsl_hidden_tls_proto): Likewise.
3366 (libnss_nisplus_hidden_tls_proto): Likewise.
3367 (libutil_hidden_tls_proto): Likewise.
3368
b7589107
OB
33692013-11-18 Ondřej Bílka <neleai@seznam.cz>
3370
3371 [BZ #10253]
3372 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3373 (decompose_rpath): Defer expansion to fillin_rpath.
3374 (_dl_init_paths): Pass linkmap to fillin_rpath.
3375
250c23bd
RS
33762013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3377
3378 * benchtests/Makefile: Add strsep.
3379 * benchtests/bench-strsep.c: New file: strsep benchtest.
3380 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3381
a7931fcf
AS
33822013-11-18 Andreas Schwab <schwab@suse.de>
3383
3384 * locale/programs/locale.c (show_info) [case byte]: Check for
3385 '\377' instead of '\177'.
3386 * locale/C-monetary.c (not_available): Always use "\377".
3387 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3388 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3389 detect unavailable sign_posn locale elements.
3390 * locale/localeconv.c (__localeconv): For grouping and
3391 mon_grouping handle "\177" and "\377" like no grouping.
3392 (INT_ELEM): New macro. Use it to set all numeric members.
3393 * locale/programs/ld-monetary.c (monetary_read)
3394 <tok_mon_grouping>: Normalize single -1 to the empty string.
3395 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3396 Likewise.
3397
728dab0e
OB
33982013-11-07 Ondřej Bílka <neleai@seznam.cz>
3399
3400 [BZ #16055]
3401 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3402 when we match (nil).
3403 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3404
66294491
JM
34052013-11-16 Joseph Myers <joseph@codesourcery.com>
3406
ce665817
JM
3407 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3408 (NO_TEST_INLINE): Update value.
3409 (ERRNO_UNCHANGED): Likewise.
3410 (ERRNO_EDOM): Likewise.
3411 (ERRNO_ERANGE): Likewise.
3412 (IGNORE_RESULT): Likewise.
3413 (check_float_internal): Check signs of NaN results if
3414 TEST_NAN_SIGN used.
3415 (check_complex): Pass TEST_NAN_SIGN flag through to second
3416 check_float_internal call.
3417 (copysign_test_data): Add tests with quiet NaNs as second
3418 argument. Use TEST_NAN_SIGN.
3419 (fabs_test_data): Add test of negative quiet NaN argument. Use
3420 TEST_NAN_SIGN.
3421 (signbit_test_data): Add tests of quiet NaN argument.
3422 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3423
ee1466a9
JM
3424 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3425 $ignore_result.
3426 (parse_args): Handle function results specified as IGNORE.
3427 * math/libm-test.inc (IGNORE_RESULT): New macro.
3428 (check_float_internal): Do not check numerical result if flag
3429 IGNORE_RESULT set.
3430 (check_complex): Pass through IGNORE_RESULT to second
3431 check_float_internal call.
3432 (check_int): Do not check numerical result if flag IGNORE_RESULT
3433 set.
3434 (check_long): Likewise.
3435 (check_bool): Likewise.
3436 (check_longlong): Likewise.
3437 (lrint_test_data): Add tests of infinite and NaN arguments.
3438 (lrint_tonearest_test_data): Likewise.
3439 (lrint_towardzero_test_data): Likewise.
3440 (lrint_downward_test_data): Likewise.
3441 (lrint_upward_test_data): Likewise.
3442 (llrint_test_data): Likewise.
3443 (llrint_tonearest_test_data): Likewise.
3444 (llrint_towardzero_test_data): Likewise.
3445 (llrint_downward_test_data): Likewise.
3446 (llrint_upward_test_data): Likewise.
3447 (lround_test_data): Likewise.
3448 (llround_test_data): Likewise.
3449
14407b7e
JM
3450 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3451 (ERRNO_UNCHANGED): Update value.
3452 (ERRNO_EDOM): Likewise.
3453 (ERRNO_ERANGE): Likewise.
3454 (NO_TEST_INLINE_FLOAT): New macro.
3455 (NO_TEST_INLINE_DOUBLE): Likewise.
3456 (enable_test): New function.
3457 (RUN_TEST_f_f): Check enable_test before running test.
3458 (RUN_TEST_2_f): Likewise.
3459 (RUN_TEST_fff_f): Likewise.
3460 (RUN_TEST_c_f): Likewise.
3461 (RUN_TEST_f_f1): Likewise.
3462 (RUN_TEST_fF_f1): Likewise.
3463 (RUN_TEST_fI_f1): Likewise.
3464 (RUN_TEST_ffI_f1): Likewise.
3465 (RUN_TEST_c_c): Likewise.
3466 (RUN_TEST_cc_c): Likewise.
3467 (RUN_TEST_f_i): Likewise.
3468 (RUN_TEST_f_i_tg): Likewise.
3469 (RUN_TEST_ff_i_tg): Likewise.
3470 (RUN_TEST_f_b): Likewise.
3471 (RUN_TEST_f_b_tg): Likewise.
3472 (RUN_TEST_f_l): Likewise.
3473 (RUN_TEST_f_L): Likewise.
3474 (RUN_TEST_fFF_11): Likewise.
3475 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3476 conditionals.
3477 (cosh_test_data): Likewise.
3478 (exp_test_data): Likewise.
3479 (expm1_test_data): Likewise.
3480 (hypot_test_data): Likewise.
3481 (pow_test_data): Likewise.
3482 (sinh_test_data): Likewise.
3483 (tanh_test_data): Likewise.
3484 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3485 flags argument.
3486
ca07f197
JM
3487 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3488 tests with quiet NaN input and output.
3489 (acosh_test_data): Likewise.
3490 (asin_test_data): Likewise.
3491 (asinh_test_data): Likewise.
3492 (atan_test_data): Likewise.
3493 (atanh_test_data): Likewise.
3494 (atan2_test_data): Likewise.
3495 (cbrt_test_data): Likewise.
3496 (cos_test_data): Likewise.
3497 (cosh_test_data): Likewise.
3498 (erf_test_data): Likewise.
3499 (erfc_test_data): Likewise.
3500 (exp_test_data): Likewise.
3501 (exp10_test_data): Likewise.
3502 (exp2_test_data): Likewise.
3503 (expm1_test_data): Likewise.
3504 (hypot_test_data): Likewise.
3505 (j0_test_data): Likewise.
3506 (j1_test_data): Likewise.
3507 (jn_test_data): Likewise.
3508 (lgamma_test_data): Likewise.
3509 (log_test_data): Likewise.
3510 (log10_test_data): Likewise.
3511 (log1p_test_data): Likewise.
3512 (log2_test_data): Likewise.
3513 (pow_test_data): Likewise.
3514 (scalb_test_data): Likewise.
3515 (sin_test_data): Likewise.
3516 (sincos_test_data): Likewise.
3517 (sinh_test_data): Likewise.
3518 (tan_test_data): Likewise.
3519 (tanh_test_data): Likewise.
3520 (tgamma_test_data): Likewise.
3521 (y0_test_data): Likewise.
3522 (y1_test_data): Likewise.
3523 (yn_test_data): Likewise.
3524
66294491
JM
3525 [BZ #16167]
3526 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3527 argument being NaN and avoid computations with second argument in
3528 that case.
3529 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3530 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3531 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3532
1820b143
CL
35332013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3534
3535 * locale/iso-639.def: Add Chitwani Tharu (the).
3536
714bd261
AS
35372013-11-14 Andreas Schwab <schwab@suse.de>
3538
3539 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3540 word instead of empty string.
3541
7ab44563
AZ
35422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3545 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3547 (__fe_nomask_env): Likewise.
3548
e8470ea2
SE
35492013-11-13 Steve Ellcey <sellcey@mips.com>
3550
3551 * benchtests/bench-timing.h: Include time.h.
3552
17c1d9f0
L
35532013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 [BZ #15997]
3556 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3557 to 3.4.0 for x32.
3558 * sysdeps/unix/sysv/linux/configure: Regenerated.
3559
9310c284
JM
35602013-11-13 Joseph Myers <joseph@codesourcery.com>
3561
3562 [BZ #16151]
3563 * stdlib/strtod_l.c (round_and_return): Do not consider
3564 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3565 exponent one less than half the least subnormal exponent.
3566 * stdlib/test-strtod-round-data: Add more tests.
3567 * stdlib/tst-strtod-round.c (tests): Regenerated.
3568
7a2ad8cf
AZ
35692013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3570
3571 [BZ #14143]
3572 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3573 (__fe_mask_env): Likewise.
3574 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3575 libm_hidden_proto and add function prototype.
3576 (__fe_mask_env): Add function prototype.
3577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3578 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3580 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3582 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3583
50727aa7
MS
35842013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3585
b2f386c1 3586 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3587 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3588
a615be46
MS
35892013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3590
3591 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3592 of htab_find_slot().
3593
7ddace62
DM
35942013-11-11 David S. Miller <davem@davemloft.net>
3595
3596 [BZ #16150]
3597 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3598 symbol in the non-vis3 case in static builds.
3599 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3600 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3601 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3602 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3603
9182aa67
JK
36042013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3605
3606 [BZ #387]
3607 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3608 it is empty.
3609
450a2e2d
AZ
36102013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3611
b2f386c1
SP
3612 * benchtests/Makefile: Add bench-strtod.
3613 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3614
8ec3f656
AS
36152013-11-11 Andreas Schwab <schwab@suse.de>
3616
3617 [BZ #16153]
3618 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3619 terminating NUL in key length.
3620
76a9b998
AZ
36212013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3622
3623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3624 Add artificial ODP entry for vDSO symbol for PPC64.
3625 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3626 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3627
e4368156
OB
36282013-11-07 Ondřej Bílka <neleai@seznam.cz>
3629
3630 [BZ #15374]
3631 * nss/getent.c (services_keys): Recognize services starting with digit.
3632
8d6bb57c
DM
36332013-11-06 David S. Miller <davem@davemloft.net>
3634
3635 [BZ #15985]
3636 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3637 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3638
e256c421
WN
36392013-11-06 Will Newton <will.newton@linaro.org>
3640
3641 * manual/memory.texi (Malloc Examples): Remove register
3642 keyword from examples.
3643
f6e12daa 36442013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3645
f6e12daa 3646 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3647
9d880655
AS
36482013-11-04 Joseph Myers <joseph@codesourcery.com>
3649
3650 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3651 depending on [__GCC_IEC_559 > 0].
3652 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3653 depending on [__GCC_IEC_559_COMPLEX > 0].
3654
ae129d3c
CL
36552013-11-03 Chris Leonard <cjl@sugarlabs.org>
3656
3657 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3658 to iso-639.def.
3659
4a15c2a4 36602013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3661
3662 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3663
8b35e35d
OB
36642013-11-01 Ondřej Bílka <neleai@seznam.cz>
3665
3666 [BZ #16112]
3667 * malloc/malloc (malloc_info): Do not handle first bin as
3668 special case.
3669
1d70fd6c
CL
36702013-11-01 Chris Leonard <cjl@sugarlabs.org>
3671
3672 * locale/iso-639.def: Add Central Nahuatl (nhn).
3673
8c5c2600
BH
36742013-11-01 Bruno Haible <bruno@clisp.org>
3675
3676 [BZ #7003]
3677 * manual/math.texi (BSD Random): Specify range upper bound as
3678 in POSIX.
3679
da5579c2
CL
36802013-10-31 Chris Leonard <cjl@sugarlabs.org>
3681
3682 * locale/iso-639.def: Add Meadow Mari (mhr).
3683
5d30d853
OB
36842013-10-31 Ondřej Bílka <neleai@seznam.cz>
3685
3686 [BZ #14752], [BZ #15763]
3687 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3688 Validate name.
3689 * rt/tst_shm.c: Add test for escaping directory.
3690
a4966c61
AS
36912013-10-31 Andreas Schwab <schwab@suse.de>
3692
8a43e768 3693 [BZ #15917]
a4966c61
AS
3694 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3695 followed by 'x' as part of digit sequence.
3696 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3697
28d708c4
MAP
36982013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3699
3700 [BZ #16037]
3701 * configure.ac: allow GNU Make 4.0 and greater.
3702 * configure: Regenerated.
3703
a56ee40b
WN
37042013-10-30 Will Newton <will.newton@linaro.org>
3705
3706 [BZ #16038]
3707 * malloc/hooks.c (memalign_check): Limit alignment to the
3708 maximum representable power of two.
3709 * malloc/malloc.c (__libc_memalign): Likewise.
3710 * malloc/tst-memalign.c (do_test): Add test for very
3711 large alignment values.
3712 * malloc/tst-posix_memalign.c (do_test): Likewise.
3713
c6e4925d
OB
37142013-10-30 Ondřej Bílka <neleai@seznam.cz>
3715
3716 [BZ #11087]
3717 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3718 (munmap_chunk): Likewise.
3719 (mremap_chunk): Likewise.
3720
37212013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3722
8a43e768 3723 [BZ #15799]
bbea82f7
OB
3724 * stdlib/div.c (div): Remove obsolete code.
3725 * stdlib/ldiv.c (ldiv): Likewise.
3726 * stdlib/lldiv.c (lldiv): Likewise.
3727
977f4b31
SP
37282013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3729
3730 [BZ #16071]
3731 * nss/nss_files/files-XXX.c (get_contents_ret): New
3732 enumerator.
3733 (get_contents): New function.
3734 (internal_getent): Use it. Expand size of LINEBUFLEN.
3735
cb8a6dbd
MF
37362013-10-30 Mike Frysinger <vapier@gentoo.org>
3737
3738 * configure.in: Moved to ...
3739 * configure.ac: ... here. Change reference to configure.in
3740 to configure.ac.
3741 * sysdeps/arm/preconfigure.ac: ... here.
3742 configure.in to configure.ac.
3743 * sysdeps/gnu/configure.in: Moved to ...
3744 * sysdeps/gnu/configure.ac: ... here.
3745 * sysdeps/i386/configure.in: Moved to ...
3746 * sysdeps/i386/configure.ac: ... here.
3747 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3748 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3749 * sysdeps/mach/configure.in: Moved to ...
3750 * sysdeps/mach/configure.ac: ... here.
3751 * sysdeps/mach/hurd/configure.in: Moved to ...
3752 * sysdeps/mach/hurd/configure.ac: ... here.
3753 * sysdeps/powerpc/configure.in: Moved to ...
3754 * sysdeps/powerpc/configure.ac: ... here.
3755 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3756 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3757 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3758 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3759 * sysdeps/s390/s390-32/configure.in: Moved to ...
3760 * sysdeps/s390/s390-32/configure.ac: ... here.
3761 * sysdeps/s390/s390-64/configure.in: Moved to ...
3762 * sysdeps/s390/s390-64/configure.ac: ... here.
3763 * sysdeps/sh/configure.in: Moved to ...
3764 * sysdeps/sh/configure.ac: ... here.
3765 * sysdeps/sparc/configure.in: Moved to ...
3766 * sysdeps/sparc/configure.ac: ... here.
3767 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3768 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3769 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3770 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3771 * sysdeps/x86_64/configure.in: Moved to ...
3772 * sysdeps/x86_64/configure.ac: ... here.
3773 * sysdeps/x86_64/preconfigure.in: Moved to ...
3774 * sysdeps/x86_64/preconfigure.ac: ... here.
3775 * aclocal.m4: Change reference to configure.in to configure.ac.
3776 * config.h.in: Likewise.
3777 * manual/install.texi: Likewise.
3778 * manual/maint.texi: Likewise.
3779 * Makefile: Likewise.
3780 * malloc/Makefile: Likewise.
3781 * nscd/Makefile: Likewise.
3782 * Makeconfig: Change reference to configure.in and
3783 preconfigure.in to configure.ac and preconfigure.ac
3784 respectively.
3785 * INSTALL: Regenerated.
3786 * configure: Likewise.
3787 * sysdeps/gnu/configure: Likewise.
3788 * sysdeps/i386/configure: Likewise.
3789 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3790 * sysdeps/mach/configure: Likewise.
3791 * sysdeps/mach/hurd/configure: Likewise.
3792 * sysdeps/powerpc/configure: Likewise.
3793 * sysdeps/powerpc/powerpc32/configure: Likewise.
3794 * sysdeps/powerpc/powerpc64/configure: Likewise.
3795 * sysdeps/s390/s390-32/configure: Likewise.
3796 * sysdeps/s390/s390-64/configure: Likewise.
3797 * sysdeps/sh/configure: Likewise.
3798 * sysdeps/sparc/configure: Likewise.
3799 * sysdeps/unix/sysv/linux/configure: Likewise.
3800 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3801 * sysdeps/x86_64/configure: Likewise.
3802 * sysdeps/x86_64/preconfigure: Likewise.
3803
36a4953a
AS
38042013-10-29 Andreas Schwab <schwab@suse.de>
3805
3806 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3807
c79a1204
SP
38082013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3809
dfa1b402
SP
3810 * benchtests/pow-inputs: Add new inputs.
3811
54f73d9c
SP
3812 * benchtests/exp-inputs: Add new inputs.
3813
c79a1204
SP
3814 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3815 conditional check for return value.
3816 (__cos32): Likewise.
3817
67beb545 38182013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3819
3820 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3821 to provide a boost for large inputs with word alignment.
3822 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3823 implementation based on optimized PPC64 strcpy.
3824 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3825 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3826 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3827 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3828
151659f6
OB
38292013-10-25 Ondřej Bílka <neleai@seznam.cz>
3830
482a077e 3831 [BZ #2801]
151659f6
OB
3832 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3833
10b0f26b
OB
38342013-10-25 Ondřej Bílka <neleai@seznam.cz>
3835
3836 [BZ #14876]
3837 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3838 * time/tst-strptime.c (day_tests): Add testcase.
3839
ca42d35e
OB
38402013-10-25 Ondřej Bílka <neleai@seznam.cz>
3841
482a077e 3842 [BZ #14029]
ca42d35e
OB
3843 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3844
52e6d801
FB
38452013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3846
3847 [BZ #16074]
3848 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3849 MAP_FAILED on error.
3850
7cbcdb36
SP
38512013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3852
3853 [BZ #16072]
3854 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3855 heap for large requests.
3856
894f3f10
AM
38572013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3858
3859 [BZ #9954]
3860 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3861 result if the result has no associated interface.
3862 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3863 interface for all 127.X.Y.Z addresses.
3864
b85545a6
CL
38652013-10-24 Chris Leonard <cjl@sugarlabs.org>
3866
3867 * locale/iso-639.def: Add Ligurian (lij)
3868
d1f23d46
OB
38692013-10-21 Ondřej Bílka <neleai@seznam.cz>
3870
3871 [BZ #15825]
3872 * sunrpc/rpc_main.c: Document rpcgen -5.
3873
4db5b08f
MS
38742013-10-19 Michael Stahl <mstahl@redhat.com>
3875
3876 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3877
a471e96a
OB
38782013-10-19 Ondřej Bílka <neleai@seznam.cz>
3879
d1f23d46 3880 [BZ #10278]
a471e96a
OB
3881 * posix/glob.c: Match only directories when trailing slash is present.
3882 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3883 (main): Add testcase.
3884
45c30c61
OB
38852013-10-19 Ondřej Bílka <neleai@seznam.cz>
3886
3887 [BZ #15670]
3888 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3889
484c12fb
CD
38902013-10-18 Carlos O'Donell <carlos@redhat.com>
3891
3d7dc513
CD
3892 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3893 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3894 AUTH_DES and cindex for FIPS 140-2.
3895 (DES Encryption): Add cindex FIPS 46-3.
3896
484c12fb
CD
3897 * locale/locarchive.h (struct locarhandle): Add fname.
3898 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3899 if an optional argument was specified to --list-archive,
3900 otherwise NULL.
3901 * locale/programs/locarchive.c (show_archive_content): Take new
3902 argument fname and pass it via ah.fname to open_archive.
3903 * locale/programs/localedef.h: Update decl.
3904 (open_archive): If AH->fname is non-null, open that file
3905 rather than the default file name, and don't ignore ENOENT.
3906 (create_archive): Set AH.fname to NULL.
3907 (delete_locales_from_archive): Likewise.
3908 (add_locales_to_archive): Likewise.
3909 * locale/programs/locfile.c (write_all_categories): Likewise.
3910
3c8325fb
JM
39112013-10-18 Joseph Myers <joseph@codesourcery.com>
3912 Aldy Hernandez <aldyh@redhat.com>
3913
3914 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3915 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3916 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3917 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3918 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3919 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3920 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3921 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3922 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3923 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3924 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3925 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3926 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3927 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3928 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3929 Likewise.
3930 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3931 Likewise.
3932 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3933 Likewise.
3934 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3935 Likewise.
3936 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3937 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3938 Likewise.
3939 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3940 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3941 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3942 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3943 Likewise.
3944 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3945 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3946 * sysdeps/powerpc/preconfigure: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3948 Likewise.
3949 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3950 Replace contents of file by #include of <fenv_libc.h>.
3951 * sysdeps/powerpc/soft-fp/sfp-machine.h
3952 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3953 and <sys/prctl.h>.
3954 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3957 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3958 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3964 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3965 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3967 Allow copysignl PLT reference to be missing.
3968
5abe0682
RS
39692013-10-18 Richard Sandiford <richard@codesourcery.com>
3970 Joseph Myers <joseph@codesourcery.com
3971
3972 [BZ #15948]
3973 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3974 single character.
3975 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3976
c7738d08
SP
39772013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3978
3979 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3980 * elf/tst-tls1.c: Likewise.
3981 * elf/tst-tls10.h: Likewise.
3982 * elf/tst-tls14.c: Likewise.
3983 * elf/tst-tls2.c: Likewise.
3984 * elf/tst-tls3.c: Likewise.
3985 * elf/tst-tls4.c: Likewise.
3986 * elf/tst-tls5.c: Likewise.
3987 * elf/tst-tls6.c: Likewise.
3988 * elf/tst-tls7.c: Likewise.
3989 * elf/tst-tls8.c: Likewise.
3990 * elf/tst-tls9.c: Likewise.
3991 * elf/tst-tlsmod1.c: Likewise.
3992 * elf/tst-tlsmod13.c: Likewise.
3993 * elf/tst-tlsmod13a.c: Likewise.
3994 * elf/tst-tlsmod14a.c: Likewise.
3995 * elf/tst-tlsmod16a.c: Likewise.
3996 * elf/tst-tlsmod16b.c: Likewise.
3997 * elf/tst-tlsmod2.c: Likewise.
3998 * elf/tst-tlsmod3.c: Likewise.
3999 * elf/tst-tlsmod4.c: Likewise.
4000 * elf/tst-tlsmod5.c: Likewise.
4001 * elf/tst-tlsmod6.c: Likewise.
4002
0bfcf2c7
OB
40032013-10-18 Ondřej Bílka <neleai@seznam.cz>
4004
4005 [BZ #12486]
4006 * malloc/malloc.c: remove checks for statistics.
4007
264aad1e
OB
40082013-10-17 Ondřej Bílka <neleai@seznam.cz>
4009
4010 [BZ #15277]
4011 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4012 * inet/tst-network.c: Add testcase.
4013
b957ced8
AS
40142013-10-17 Andreas Schwab <schwab@suse.de>
4015
4016 [BZ #15218]
4017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4018 to determine canonical name.
4019
c5d5d574
OB
40202013-10-17 Ondřej Bílka <neleai@seznam.cz>
4021
4022 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4023 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4037 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4039 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4040 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4041 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4045 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4046 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4047 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4052 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4063 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4064 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4080
e5c2c2d0
JM
40812013-10-17 Joseph Myers <joseph@codesourcery.com>
4082
4083 [BZ #16041]
4084 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4085 make result into a quiet NaN.
4086
51ca9e29
JM
40872013-10-16 Joseph Myers <joseph@codesourcery.com>
4088
4089 * soft-fp/adddf3.c: Fix horizontal whitespace.
4090 * soft-fp/addsf3.c: Likewise.
4091 * soft-fp/addtf3.c: Likewise.
4092 * soft-fp/divdf3.c: Likewise.
4093 * soft-fp/divsf3.c: Likewise.
4094 * soft-fp/divtf3.c: Likewise.
4095 * soft-fp/double.h: Likewise.
4096 * soft-fp/eqdf2.c: Likewise.
4097 * soft-fp/eqsf2.c: Likewise.
4098 * soft-fp/eqtf2.c: Likewise.
4099 * soft-fp/extenddftf2.c: Likewise.
4100 * soft-fp/extended.h: Likewise.
4101 * soft-fp/extendsfdf2.c: Likewise.
4102 * soft-fp/extendsftf2.c: Likewise.
4103 * soft-fp/extendxftf2.c: Likewise.
4104 * soft-fp/fixdfdi.c: Likewise.
4105 * soft-fp/fixdfsi.c: Likewise.
4106 * soft-fp/fixdfti.c: Likewise.
4107 * soft-fp/fixsfdi.c: Likewise.
4108 * soft-fp/fixsfsi.c: Likewise.
4109 * soft-fp/fixsfti.c: Likewise.
4110 * soft-fp/fixtfdi.c: Likewise.
4111 * soft-fp/fixtfsi.c: Likewise.
4112 * soft-fp/fixtfti.c: Likewise.
4113 * soft-fp/fixunsdfdi.c: Likewise.
4114 * soft-fp/fixunsdfsi.c: Likewise.
4115 * soft-fp/fixunsdfti.c: Likewise.
4116 * soft-fp/fixunssfdi.c: Likewise.
4117 * soft-fp/fixunssfsi.c: Likewise.
4118 * soft-fp/fixunssfti.c: Likewise.
4119 * soft-fp/fixunstfdi.c: Likewise.
4120 * soft-fp/fixunstfsi.c: Likewise.
4121 * soft-fp/fixunstfti.c: Likewise.
4122 * soft-fp/floatdidf.c: Likewise.
4123 * soft-fp/floatdisf.c: Likewise.
4124 * soft-fp/floatditf.c: Likewise.
4125 * soft-fp/floatsidf.c: Likewise.
4126 * soft-fp/floatsisf.c: Likewise.
4127 * soft-fp/floatsitf.c: Likewise.
4128 * soft-fp/floattidf.c: Likewise.
4129 * soft-fp/floattisf.c: Likewise.
4130 * soft-fp/floattitf.c: Likewise.
4131 * soft-fp/floatundidf.c: Likewise.
4132 * soft-fp/floatundisf.c: Likewise.
4133 * soft-fp/floatunditf.c: Likewise.
4134 * soft-fp/floatunsidf.c: Likewise.
4135 * soft-fp/floatunsisf.c: Likewise.
4136 * soft-fp/floatunsitf.c: Likewise.
4137 * soft-fp/floatuntidf.c: Likewise.
4138 * soft-fp/floatuntisf.c: Likewise.
4139 * soft-fp/floatuntitf.c: Likewise.
4140 * soft-fp/fmadf4.c: Likewise.
4141 * soft-fp/fmasf4.c: Likewise.
4142 * soft-fp/fmatf4.c: Likewise.
4143 * soft-fp/gedf2.c: Likewise.
4144 * soft-fp/gesf2.c: Likewise.
4145 * soft-fp/getf2.c: Likewise.
4146 * soft-fp/ledf2.c: Likewise.
4147 * soft-fp/lesf2.c: Likewise.
4148 * soft-fp/letf2.c: Likewise.
4149 * soft-fp/muldf3.c: Likewise.
4150 * soft-fp/mulsf3.c: Likewise.
4151 * soft-fp/multf3.c: Likewise.
4152 * soft-fp/negdf2.c: Likewise.
4153 * soft-fp/negsf2.c: Likewise.
4154 * soft-fp/negtf2.c: Likewise.
4155 * soft-fp/op-1.h: Likewise.
4156 * soft-fp/op-2.h: Likewise.
4157 * soft-fp/op-4.h: Likewise.
4158 * soft-fp/op-8.h: Likewise.
4159 * soft-fp/op-common.h: Likewise.
4160 * soft-fp/quad.h: Likewise.
4161 * soft-fp/single.h: Likewise.
4162 * soft-fp/soft-fp.h: Likewise.
4163 * soft-fp/sqrtdf2.c: Likewise.
4164 * soft-fp/sqrtsf2.c: Likewise.
4165 * soft-fp/sqrttf2.c: Likewise.
4166 * soft-fp/subdf3.c: Likewise.
4167 * soft-fp/subsf3.c: Likewise.
4168 * soft-fp/subtf3.c: Likewise.
4169 * soft-fp/truncdfsf2.c: Likewise.
4170 * soft-fp/trunctfdf2.c: Likewise.
4171 * soft-fp/trunctfsf2.c: Likewise.
4172 * soft-fp/trunctfxf2.c: Likewise.
4173 * soft-fp/unorddf2.c: Likewise.
4174 * soft-fp/unordsf2.c: Likewise.
4175 * soft-fp/unordtf2.c: Likewise.
4176
9ebb0332
JM
41772013-10-15 Joseph Myers <joseph@codesourcery.com>
4178
4179 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4180 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4181
4b1a6d8b
OB
41822013-10-15 Ondřej Bílka <neleai@seznam.cz>
4183
4184 * elf/dl-libc.c: Clear initfini list after freeing.
4185
1e145589
JM
41862013-10-14 Joseph Myers <joseph@codesourcery.com>
4187
4188 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4189 * soft-fp/addsf3.c: Likewise.
4190 * soft-fp/addtf3.c: Likewise.
4191 * soft-fp/divdf3.c: Likewise.
4192 * soft-fp/divsf3.c: Likewise.
4193 * soft-fp/divtf3.c: Likewise.
4194 * soft-fp/double.h: Likewise.
4195 * soft-fp/eqdf2.c: Likewise.
4196 * soft-fp/eqsf2.c: Likewise.
4197 * soft-fp/eqtf2.c: Likewise.
4198 * soft-fp/extenddftf2.c: Likewise.
4199 * soft-fp/extended.h: Likewise.
4200 * soft-fp/extendsfdf2.c: Likewise.
4201 * soft-fp/extendsftf2.c: Likewise.
4202 * soft-fp/extendxftf2.c: Likewise.
4203 * soft-fp/fixdfdi.c: Likewise.
4204 * soft-fp/fixdfsi.c: Likewise.
4205 * soft-fp/fixdfti.c: Likewise.
4206 * soft-fp/fixsfdi.c: Likewise.
4207 * soft-fp/fixsfsi.c: Likewise.
4208 * soft-fp/fixsfti.c: Likewise.
4209 * soft-fp/fixtfdi.c: Likewise.
4210 * soft-fp/fixtfsi.c: Likewise.
4211 * soft-fp/fixtfti.c: Likewise.
4212 * soft-fp/fixunsdfdi.c: Likewise.
4213 * soft-fp/fixunsdfsi.c: Likewise.
4214 * soft-fp/fixunsdfti.c: Likewise.
4215 * soft-fp/fixunssfdi.c: Likewise.
4216 * soft-fp/fixunssfsi.c: Likewise.
4217 * soft-fp/fixunssfti.c: Likewise.
4218 * soft-fp/fixunstfdi.c: Likewise.
4219 * soft-fp/fixunstfsi.c: Likewise.
4220 * soft-fp/fixunstfti.c: Likewise.
4221 * soft-fp/floatdidf.c: Likewise.
4222 * soft-fp/floatdisf.c: Likewise.
4223 * soft-fp/floatditf.c: Likewise.
4224 * soft-fp/floatsidf.c: Likewise.
4225 * soft-fp/floatsisf.c: Likewise.
4226 * soft-fp/floatsitf.c: Likewise.
4227 * soft-fp/floattidf.c: Likewise.
4228 * soft-fp/floattisf.c: Likewise.
4229 * soft-fp/floattitf.c: Likewise.
4230 * soft-fp/floatundidf.c: Likewise.
4231 * soft-fp/floatundisf.c: Likewise.
4232 * soft-fp/floatunsidf.c: Likewise.
4233 * soft-fp/floatunsisf.c: Likewise.
4234 * soft-fp/floatuntidf.c: Likewise.
4235 * soft-fp/floatuntisf.c: Likewise.
4236 * soft-fp/floatuntitf.c: Likewise.
4237 * soft-fp/fmadf4.c: Likewise.
4238 * soft-fp/fmasf4.c: Likewise.
4239 * soft-fp/fmatf4.c: Likewise.
4240 * soft-fp/gedf2.c: Likewise.
4241 * soft-fp/gesf2.c: Likewise.
4242 * soft-fp/getf2.c: Likewise.
4243 * soft-fp/ledf2.c: Likewise.
4244 * soft-fp/lesf2.c: Likewise.
4245 * soft-fp/letf2.c: Likewise.
4246 * soft-fp/muldf3.c: Likewise.
4247 * soft-fp/mulsf3.c: Likewise.
4248 * soft-fp/multf3.c: Likewise.
4249 * soft-fp/negdf2.c: Likewise.
4250 * soft-fp/negsf2.c: Likewise.
4251 * soft-fp/negtf2.c: Likewise.
4252 * soft-fp/op-1.h: Likewise.
4253 * soft-fp/op-2.h: Likewise.
4254 * soft-fp/op-4.h: Likewise.
4255 * soft-fp/op-8.h: Likewise.
4256 * soft-fp/op-common.h: Likewise.
4257 * soft-fp/quad.h: Likewise.
4258 * soft-fp/single.h: Likewise.
4259 * soft-fp/soft-fp.h: Likewise.
4260 * soft-fp/sqrtdf2.c: Likewise.
4261 * soft-fp/sqrtsf2.c: Likewise.
4262 * soft-fp/sqrttf2.c: Likewise.
4263 * soft-fp/subdf3.c: Likewise.
4264 * soft-fp/subsf3.c: Likewise.
4265 * soft-fp/subtf3.c: Likewise.
4266 * soft-fp/truncdfsf2.c: Likewise.
4267 * soft-fp/trunctfdf2.c: Likewise.
4268 * soft-fp/trunctfsf2.c: Likewise.
4269 * soft-fp/trunctfxf2.c: Likewise.
4270 * soft-fp/unorddf2.c: Likewise.
4271 * soft-fp/unordsf2.c: Likewise.
4272 * soft-fp/unordtf2.c: Likewise.
4273
17c48a60
OB
42742013-10-14 Ondřej Bílka <neleai@seznam.cz>
4275
4276 [BZ #15672]
4277 * misc/error.c (error_tail): Fix possible buffer overflow.
4278
cabba934
OB
42792013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4280
4281 [BZ #13028]
4282 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4283 address.
4284
94bf958a
PM
42852013-10-14 P. J. McDermott <pj@pehjota.net>
4286
4287 [BZ #832]
4288 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4289 testing pipefail option.
4290
71b4dea7
JM
42912013-10-12 Joseph Myers <joseph@codesourcery.com>
4292
4293 * soft-fp/double.h: Indent preprocessor directives inside #if.
4294 * soft-fp/extended.h: Likewise.
4295 * soft-fp/op-2.h: Likewise.
4296 * soft-fp/op-4.h: Likewise.
4297 * soft-fp/op-common.h: Likewise.
4298 * soft-fp/quad.h: Likewise.
4299 * soft-fp/single.h: Likewise.
4300 * soft-fp/soft-fp.h: Likewise.
4301
55602758
YC
43022013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4303
4304 * iconv/iconv_prog.c: Fix typos.
4305 * stdio-common/psiginfo-data.h: Likewise.
4306
9cd83302
RT
43072013-10-12 Reuben Thomas <rrt@sc3d.org>
4308
4309 [BZ #15764]
4310 * locale/setlocale.c: Fix typo.
4311
99fd9f47
JM
43122013-10-12 Joseph Myers <joseph@codesourcery.com>
4313
b7ea74f0
JM
4314 [BZ #16036]
4315 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4316 signaling NaN arguments.
4317 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4318 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4319
8a509447
JM
4320 [BZ #14910]
4321 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4322 unordered operands.
4323 * soft-fp/gesf2.c (__gesf2): Likewise.
4324 * soft-fp/getf2.c (__getf2): Likewise.
4325 * soft-fp/ledf2.c (__ledf2): Likewise.
4326 * soft-fp/lesf2.c (__lesf2): Likewise.
4327 * soft-fp/letf2.c (__letf2): Likewise.
4328
98998e9f
JM
4329 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4330 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4331 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4332 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4333 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4334 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4335 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4336 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4337 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4338 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4339 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4340 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4341 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4342 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4343 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4344 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4345 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4346 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4347 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4348 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4349 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4350 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4351 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4352 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4353 * soft-fp/floattidf.c (__floattidf): Likewise.
4354 * soft-fp/floattisf.c (__floattisf): Likewise.
4355 * soft-fp/floattitf.c (__floattitf): Likewise.
4356 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4357 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4358 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4359 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4360 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4361 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4362 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4363 * soft-fp/gesf2.c (__gesf2): Likewise.
4364 * soft-fp/getf2.c (__getf2): Likewise.
4365 * soft-fp/ledf2.c (__ledf2): Likewise.
4366 * soft-fp/lesf2.c (__lesf2): Likewise.
4367 * soft-fp/letf2.c (__letf2): Likewise.
4368
8edc4a11
JM
4369 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4370 Undefine and redefine.
4371 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4372 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4373 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4374 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4375 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4376 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4377 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4378 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4379 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4380 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4381 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4382 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4383 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4384 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4385 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4386
8399acaf
JM
4387 [BZ #16032]
4388 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4389 without decrementing exponent if mantissa >= that for the
4390 denominator, not >.
4391 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4392 denominator, not >. Decrement exponent in < case instead of
4393 incrementing in >= case.
4394 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4395 without decrementing exponent if mantissa >= that for the
4396 denominator, not >.
4397
99fd9f47
JM
4398 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4399 computing saturated result for unsigned overflow.
4400
10e1cf6b
SP
44012013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4402 Jeff Law <law@redhat.com>
4403
4404 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4405 (atan2Mp): Add systemtap probe marker.
4406 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4407 (__ieee754_log): Add systemtap probe marker.
4408 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4409 (atanMp): Add systemtap probe marker.
4410 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4411 (tanMp): Add systemtap probe marker.
4412 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4413 (__slowexp): Add systemtap probe marker.
4414 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4415 (__slowpow): Add systemtap probe marker.
4416 * manual/probes.texi: Document probes.
4417
3d110c7c
EB
44182013-10-11 Eric Biggers <ebiggers3@gmail.com>
4419
4420 [BZ #15362]
4421 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4422 written.
4423 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4424 written.
4425 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4426 written to buffer but not flushed.
4427 * libio/iofwrite_u.c: Likewise.
4428 * libio/iopadn.c: Return bytes returned even if EOF was
4429 encountered.
4430 * libio/iowpadn.c: Likewise.
4431 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4432 if _IO_padn does not write the whole buffer.
4433 [!COMPILE_WPRINTF] (PAD): Likewise.
4434
75b4202a
DM
44352013-10-10 David S. Miller <davem@davemloft.net>
4436
4437 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4438 directory block.
4439
6c6352e6
JM
44402013-10-10 Joseph Myers <joseph@codesourcery.com>
4441
33b853c3
JM
4442 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4443 instead of FSF address.
4444 * soft-fp/fixdfti.c: Likewise.
4445 * soft-fp/fixsfti.c: Likewise.
4446 * soft-fp/fixtfti.c: Likewise.
4447 * soft-fp/fixunsdfti.c: Likewise.
4448 * soft-fp/fixunssfti.c: Likewise.
4449 * soft-fp/fixunstfti.c: Likewise.
4450 * soft-fp/floattidf.c: Likewise.
4451 * soft-fp/floattisf.c: Likewise.
4452 * soft-fp/floattitf.c: Likewise.
4453 * soft-fp/floatuntidf.c: Likewise.
4454 * soft-fp/floatuntisf.c: Likewise.
4455 * soft-fp/floatuntitf.c: Likewise.
4456 * soft-fp/trunctfxf2.c: Likewise.
4457
6c6352e6
JM
4458 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4459 * soft-fp/fixdfti.c: Likewise.
4460 * soft-fp/fixsfti.c: Likewise.
4461 * soft-fp/fixtfti.c: Likewise.
4462 * soft-fp/fixunsdfti.c: Likewise.
4463 * soft-fp/fixunssfti.c: Likewise.
4464 * soft-fp/fixunstfti.c: Likewise.
4465 * soft-fp/floattidf.c: Likewise.
4466 * soft-fp/floattisf.c: Likewise.
4467 * soft-fp/floattitf.c: Likewise.
4468 * soft-fp/floatuntidf.c: Likewise.
4469 * soft-fp/floatuntisf.c: Likewise.
4470 * soft-fp/floatuntitf.c: Likewise.
4471 * soft-fp/trunctfxf2.c: Likewise.
4472
3bf78b71
DM
44732013-10-10 David S. Miller <davem@davemloft.net>
4474
4475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4476
6f10289e
JM
44772013-10-10 Joseph Myers <joseph@codsourcery.com>
4478
bd878fc0
JM
4479 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4480 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4481 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4482 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4483 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4484 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4485 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4486
6f10289e
JM
4487 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4488 for NaNs before doing comparisons on argument.
4489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4490 Likewise.
4491
321e2684
WN
44922013-10-10 Will Newton <will.newton@linaro.org>
4493
4494 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4495 passed to _int_memalign does not overflow.
4496
40fefba1
TR
44972013-10-10 Torvald Riegel <triegel@redhat.com>
4498
4499 * scripts/bench.pl: Add include-sources directive.
4500 * benchtests/README: Update documentation.
4501
2ae21ed2
JM
45022013-10-10 Joseph Myers <joseph@codesourcery.com>
4503
dcc2dd3f
JM
4504 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4505 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4506 instead of FP_INIT_ROUNDMODE.
4507 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4508 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4509
2ae21ed2
JM
4510 [BZ #16034]
4511 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4512 copy class of input value.
4513 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4514 not handle exceptions.
4515 * soft-fp/negsf2.c (__negsf2): Likewise.
4516 * soft-fp/negtf2.c (__negtf2): Likewise.
4517 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4518
cb8f9562
JM
45192013-10-09 Joseph Myers <joseph@codesourcery.com>
4520
4521 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4522 semicolon. From Linux kernel.
4523
5b60c59d
AB
45242013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4525
4526 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4527
b86835ca
YC
45282013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4529
4530 [BZ #156]
4531 * manual/socket.texi: Added statement about buffer
4532 for gethostbyname2_r.
4533
e7044ea7
OB
45342013-10-08 Ondřej Bílka <neleai@seznam.cz>
4535
4536 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4537 Use .p2align directive instead, throughout.
4538 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4539 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4540 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4541 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4542 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4543 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4544 * sysdeps/x86_64/strchr.S: Likewise.
4545 * sysdeps/x86_64/strrchr.S: Likewise.
4546
09544cbc
SP
45472013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4548
88576635
SP
4549 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4550
e7b2d1dd
SP
4551 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4552
09544cbc
SP
4553 * sysdeps/generic/math_private.h (__mpsin1): Remove
4554 declaration.
4555 (__mpcos1): Likewise.
4556 (__mpsin): New argument __range_reduce.
4557 (__mpcos): Likewise.
4558 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4559 (slow): Use __mpsin and __mpcos.
4560 (slow1): Likewise.
4561 (slow2): Likewise.
4562 (sloww): Likewise.
4563 (sloww1): Likewise.
4564 (sloww2): Likewise.
4565 (bsloww): Likewise.
4566 (bsloww1): Likewise.
4567 (bsloww2): Likewise.
4568 (cslow2): Likewise.
4569 (csloww): Likewise.
4570 (csloww1): Likewise.
4571 (csloww2): Likewise.
4572 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4573 range_reduce. Merge in __mpsin1.
4574 (__mpcos): Likewise.
4575 (__mpsin1): Remove.
4576 (__mpcos1): Likewise.
4577
7602d070
JM
45782013-10-07 Joseph Myers <joseph@codesourcery.com>
4579
4580 * locale/loadlocale.c (_nl_intern_locale_data): Use
4581 LOCFILE_ALIGNED_P.
4582 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4583 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4584 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4585 obstack data is appropriately aligned.
4586 (obstack_int32_grow_fast): Likewise.
4587 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4588 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4589 (add_locale_uint32_array): Likewise.
4590
a357259b
SP
45912013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4592
4593 * benchtests/Makefile: Remove ARGLIST and RET variables.
4594 ($(objpfx)bench-%.c): Pass only function name to the script.
4595 * benchtests/README: Update documentation.
4596 * benchtests/acos-inputs: Add new directives.
4597 * benchtests/acosh-inputs: Likewise.
4598 * benchtests/asin-inputs: Likewise.
4599 * benchtests/asinh-inputs: Likewise.
4600 * benchtests/atan-inputs: Likewise.
4601 * benchtests/atanh-inputs: Likewise.
4602 * benchtests/cos-inputs: Likewise.
4603 * benchtests/cosh-inputs: Likewise.
4604 * benchtests/exp-inputs: Likewise.
4605 * benchtests/log-inputs: Likewise.
4606 * benchtests/pow-inputs: Likewise.
4607 * benchtests/rint-inputs: Likewise.
4608 * benchtests/sin-inputs: Likewise.
4609 * benchtests/sinh-inputs: Likewise.
4610 * benchtests/tan-inputs: Likewise.
4611 * benchtests/tanh-inputs: Likewise.
4612 * scripts/bench.pl: Add support for new directives.
4613
9ec1b13d
AM
46142013-10-07 Alan Modra <amodra@gmail.com>
4615
4616 * README: Fix careless merge.
4617
8b7d57cd
AM
46182013-10-05 Alan Modra <amodra@gmail.com>
4619
4620 * NEWS: Mention powerpc64le support and bugs fixed.
4621 * README: Both big-endian and little-endian powerpc64 supported.
4622
7b7bab13
ST
46232013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4624
4625 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4626 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4627 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4628 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4629
d39baad1
RA
46302013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4631
4632 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4633 match prototype.
4634
cd78f7e7
JM
46352013-10-04 Joseph Myers <joseph@codesourcery.com>
4636
29d73d86
JM
4637 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4638 Move -mhard-float appending from
4639 ports/sysdeps/powerpc/powerpc32/Makefile.
4640 [$(with-fp) = yes] (ASFLAGS): Likewise.
4641 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4642 * sysdeps/powerpc/nofpu: Move directory from
4643 ports/sysdeps/powerpc/nofpu.
4644 * sysdeps/powerpc/soft-fp: Move directory from
4645 ports/sysdeps/powerpc/soft-fp.
4646 * sysdeps/powerpc/powerpc32/405: Move directory from
4647 ports/sysdeps/powerpc/powerpc32/405.
4648 * sysdeps/powerpc/powerpc32/440: Move directory from
4649 ports/sysdeps/powerpc/powerpc32/440.
4650 * sysdeps/powerpc/powerpc32/464: Move directory from
4651 ports/sysdeps/powerpc/powerpc32/464.
4652 * sysdeps/powerpc/powerpc32/476: Move directory from
4653 ports/sysdeps/powerpc/powerpc32/476.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4655 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4657 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4659 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4661 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4663 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4664 * README: Update for powerpc-*-linux-gnu software floating point
4665 support in libc.
4666
e246b347
JM
4667 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4668 case to powerpc/powerpc32*.
4669 * sysdeps/unix/sysv/linux/configure: Regenerated.
4670
89c2003e
JM
4671 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4672 (_FPU_MASK_OM): Define as 0x04.
4673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4675 0x00c10080.
4676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4677 0x0000003c.
4678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4679
cd78f7e7
JM
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4681 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4682 getcontext_e500.
4683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4684 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4685 setcontext_e500.
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4687 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4688 and setcontext_e500.
4689
c755294d
CL
46902013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4691
4692 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4693
e16d221c
SP
46942013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4695
4696 * manual/threads.texi (Default Thread Attributes): Fix typo.
4697
215c7d43
WN
46982013-10-04 Will Newton <will.newton@linaro.org>
4699
4700 * malloc/Makefile: Add tst-memalign.
4701 * malloc/tst-memalign.c: New file.
4702
27d0461b
WN
4703 * malloc/tst-posix_memalign.c: Add comments.
4704 (do_test): Add comments and call free on all potentially
4705 allocated pointers. Add space after cast.
4706
1bc92709
WN
4707 * malloc/tst-pvalloc.c: Add comments.
4708 (do_test): Add comments and call free on all potentially
4709 allocated pointers. Remove duplicate check for NULL pointer.
4710 Add space after cast.
4711
66a9be9d
WN
4712 * malloc/tst-valloc.c: Add comments.
4713 (do_test): Add comments and call free on all potentially
4714 allocated pointers. Remove duplicate check for NULL pointer.
4715 Add space after cast.
4716
4cb81307
AM
47172013-10-04 Alan Modra <amodra@gmail.com>
4718
4719 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4720 Use stdint types in rather than __attribute__((mode())).
4721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4722
f8e3e9f3
AM
47232013-10-04 Alan Modra <amodra@gmail.com>
4724
4725 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4726 Correct handling of unaligned relocs for little-endian.
4727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4728
8f9ebb08
AM
47292013-10-04 Alan Modra <amodra@gmail.com>
4730
4731 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4732 * configure: Regenerate.
4733 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4734 * shlib-versions: Likewise.
4735
0edf96c2
AM
47362013-10-04 Alan Modra <amodra@gmail.com>
4737
4738 * string/tester.c (test_memrchr): Increment reported test cycle.
4739
e0f7a380
AM
47402013-10-04 Alan Modra <amodra@gmail.com>
4741
4742 * string/test-memcpy.c (do_one_test): When reporting errors, print
4743 string address and don't overrun end of string.
4744
466b0393
AM
47452013-10-04 Alan Modra <amodra@gmail.com>
4746
4747 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4748 insrdi. Make better use of reg selection to speed exit slightly.
4749 Schedule entry path a little better. Remove useless "are we done"
4750 checks on entry to main loop. Handle wrapping around zero address.
4751 Correct main loop count. Handle single left-over word from main
4752 loop inline rather than by using loop_small. Remove extra word
4753 case in loop_small caused by wrong loop count. Add little-endian
4754 support.
4755 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4757 cache hint.
4758 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4759 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4760 support. Avoid rlwimi.
4761 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4762
3be87c77
AM
47632013-10-04 Alan Modra <amodra@gmail.com>
4764
4765 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4766 insrdi. Formatting.
3be87c77
AM
4767 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4768 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4769 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4770 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4771 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4772 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4773
759cfef3
AM
47742013-10-04 Alan Modra <amodra@gmail.com>
4775
4776 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4777 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4778 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4779 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4780 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4781 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4782 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4783 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4784 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4785 use of regs. Use power7 mtocrf. Tidy function tails.
4786
fe6e95d7
AM
47872013-10-04 Alan Modra <amodra@gmail.com>
4788
4789 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4790 Formatting. Consistently use rXXX register defines or rN defines.
4791 Use early exit labels that avoid restoring unused non-volatile regs.
4792 Make cr field use more consistent with rWORDn compares. Rename
4793 regs used as shift registers for unaligned loop, using rN defines
4794 for short lifetime/multiple use regs.
4795 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4796 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4797 addi 1,1,64 to pop stack frame. Simplify return value code.
4798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4799
664318c3
AM
48002013-10-04 Alan Modra <amodra@gmail.com>
4801
4802 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4803 support. Correct typos, formatting. Optimize tail. Use insrdi
4804 rather than rlwimi.
4805 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4806 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4807 little-endian support. Correct typos.
4808 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4809 rather than rlwimi.
4810 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4811 in loop and entry code to keep "and." results.
4812 (strchr): Add little-endian support. Comment. Move cntlzd
4813 earlier in tail.
4814 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4815
43b84013
AM
48162013-10-04 Alan Modra <amodra@gmail.com>
4817
4818 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4819 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4820 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4821 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4822
8a7413f9
AM
48232013-10-04 Alan Modra <amodra@gmail.com>
4824
4825 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4826 (rTMP): Define as r11.
4827 (strcmp): Add little-endian support. Optimise tail.
4828 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4829 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4830 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4831 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4832 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4833 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4834 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4835
33ee81de
AM
48362013-10-04 Alan Modra <amodra@gmail.com>
4837
4838 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4839 little-endian support. Remove unnecessary "are we done" tests.
4840 Handle "s" wrapping around zero and extremely large "size".
4841 Correct main loop count. Handle single left-over word from main
4842 loop inline rather than by using small_loop. Correct comments.
4843 Delete "zero" tail, use "end_max" instead.
4844 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4845
db9b4570
AM
48462013-10-04 Alan Modra <amodra@gmail.com>
4847
4848 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4849 support. Don't branch over align.
4850 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4851 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4852 support. Rearrange tmp reg use to suit. Comment.
4853 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4854
f7c399cf
AM
48552013-10-04 Alan Modra <amodra@gmail.com>
4856
4857 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4858
0b2c2ace
AM
48592013-10-04 Alan Modra <amodra@gmail.com>
4860
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4862 conditional form of branch and link when obtaining pc.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4864
02f04a6c
AM
48652013-10-04 Alan Modra <amodra@gmail.com>
4866
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4868 HIWORD/LOWORD.
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4871
9b874b2f
AM
48722013-10-04 Alan Modra <amodra@gmail.com>
4873
4874 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4875 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4876 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4877 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4878 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4879 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4880 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4881 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4882 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4883 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4884
be1e5d31
AB
48852013-10-04 Anton Blanchard <anton@au1.ibm.com>
4886 Alistair Popple <alistair@ozlabs.au.ibm.com>
4887 Alan Modra <amodra@gmail.com>
4888
4889 [BZ #15723]
4890 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4891 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4892 _dl_hwcap access for little-endian.
4893 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4894 destroy vmx regs when saving unaligned.
4895 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4896 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4897 destroy vmx regs when saving unaligned.
4898
fef13a78
AM
48992013-10-04 Alan Modra <amodra@gmail.com>
4900
4901 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4902 Don't use a union to pack hi/low value.
4903
76a66d51
AB
49042013-10-04 Anton Blanchard <anton@au1.ibm.com>
4905
4906 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4907 for little-endian.
4908 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4910 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4911 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4912 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4913
6a31fe7f
AM
49142013-10-04 Alan Modra <amodra@gmail.com>
4915
4916 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4917 constants to usual value for .cst8 section, and remove redundant
4918 high address load.
4919 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4920 constant for 0x1p52. Load little-endian words of double from
4921 correct stack offsets.
4922
7b88401f
AM
49232013-10-04 Alan Modra <amodra@gmail.com>
4924
4925 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4926 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4927 words of double from correct stack offsets.
4928 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4929 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4930 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4931 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4933 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4934 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4935 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4936 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4937 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4938 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4939 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4940 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4941 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4942 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4944 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4945
9c008155
AM
49462013-10-04 Alan Modra <amodra@gmail.com>
4947
4948 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4949 64-bit int/double union.
4950 (_FPU_SETCW): Likewise.
4951 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4952 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4953
da13146d
AM
49542013-10-04 Alan Modra <amodra@gmail.com>
4955
4956 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4957 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4958
603e8410
AM
49592013-10-04 Alan Modra <amodra@gmail.com>
4960
4961 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4962 use vector int constants.
4963 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4964
4a28b3ca
AB
49652013-10-04 Anton Blanchard <anton@au1.ibm.com>
4966
4967 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4968 array with long long.
4969 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4970 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4971 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4972 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4973 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4974 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4975 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4976 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4977 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4978 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4979 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4980 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4981 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4982
2ca85d2b
AB
49832013-10-04 Anton Blanchard <anton@au1.ibm.com>
4984
4985 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4986 (__signbit): Likewise. Correct for little-endian.
4987 (__signbitl): Call __signbit.
4988 (lrint): Correct for little-endian.
4989 (lrintf): Call lrint.
4990
62a728ae
AM
49912013-10-04 Alan Modra <amodra@gmail.com>
4992
4993 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4994 union 32-bit int array member with 64-bit int array.
4995 (t515, tm256): Double rather than long double.
4996 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4997
32c301df
AM
49982013-10-04 Alan Modra <amodra@gmail.com>
4999
5000 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5001 Delete.
5002 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5003 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5004 version of math_ldbl.h.
5005
650ef4bd
AM
50062013-10-04 Alan Modra <amodra@gmail.com>
5007
5008 [BZ #15734], [BZ #15735]
5009 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5010 all uses of ieee875 long double macros and unions. Simplify test
5011 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5012 ldbl_extract_mantissa value for ix,iy exponents. Properly
5013 normalize after ldbl_extract_mantissa, and don't add hidden bit
5014 already handled. Don't treat low word of ieee854 mantissa like
5015 low word of IBM long double and mask off bit when testing for
5016 zero.
5017 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5018 all uses of ieee875 long double macros and unions. Simplify tests
5019 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5020 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5021 two1022, instead use their values. Recognise that tests for large
5022 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5023 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5024 Rewrite all uses of ieee875 long double macros and unions. Simplify
5025 test for 0.0L and nan. Correct negation.
5026 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5027 ieee875 long double macros and unions. Correct output for large
5028 magnitude x. Correct absolute value calculation.
5029 (__erfcl): Likewise.
5030 * math/libm-test.inc: Add tests for errors discovered in IBM long
5031 double versions of fmodl, remainderl, erfl and erfcl.
5032
765714ca
AM
50332013-10-04 Alan Modra <amodra@gmail.com>
5034
5035 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5036 all uses of ieee854 long double macros and unions. Simplify tests
5037 for long doubles that are fully specified by the high double.
5038 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5039 Likewise.
5040 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5041 Remove dead code too.
5042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5043 (__ieee754_ynl): Likewise.
5044 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5045 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5046 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5047 Remove dead code too.
5048 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5049 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5051 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5052 Simplify.
5053 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5054 Simplify.
5055 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5056 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5057 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5058 Comment on variable precision.
5059 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5060 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5061 Likewise.
5062 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5063 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5064 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5065 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5066 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5067
4ebd120c
AM
50682013-10-04 Alan Modra <amodra@gmail.com>
5069
5070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5072 all uses of ieee854 long double macros and unions.
5073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5075 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5077 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5078 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5079 Likewise.
5080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5081 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5082 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5083 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5084 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5086 Simplify sign and nan test too.
5087 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5088 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5089 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5090 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5091 Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5094 Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5101
1b6adf88
AM
51022013-10-04 Alan Modra <amodra@gmail.com>
5103
5104 * stdio-common/printf_size.c (__printf_size): Don't use
5105 union ieee854_long_double in fpnum union.
5106 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5107 signbit macro to retrieve sign from long double.
5108 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5109 retrieve sign from long double.
5110 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5111 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5112 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5113 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5114 * math/test-misc.c (main): Don't use union ieee854_long_double.
5115
4cf69995
AM
51162013-10-04 Alan Modra <amodra@gmail.com>
5117
5118 [BZ #15680]
5119 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5120 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5121 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5122 calculation. Remove unnecessary test for denormal exponent.
5123 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5124 Correct handling of denormals. Avoid undefined shift behaviour.
5125 Correct normalisation of low mantissa when low double is denormal.
5126 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5127 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5128 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5129 Correct normalisation of low mantissa. Test for overflow of high
5130 mantissa and normalise.
5131 (ldbl_nearbyint): Use more readable constant for two52.
5132 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5133 (__mpn_construct_long_double): Fix test for overflow of high
5134 mantissa and correct normalisation. Avoid undefined shift.
5135
9605ca6c
AM
51362013-10-04 Alan Modra <amodra@gmail.com>
5137
5138 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5139 (union ibm_extended_long_double): Define as an array of ieee754_double.
5140 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5141 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5142 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5143 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5144 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5145 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5147 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5148 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5150 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5151
975569d0
JM
51522013-10-03 Joseph Myers <joseph@codesourcery.com>
5153
d3d23756
JM
5154 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5155 page size instead of calling getpagesize.
5156
975569d0
JM
5157 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5158 (LOCFILE_ALIGN_MASK): Likewise.
5159 (LOCFILE_ALIGN_UP): Likewise.
5160 (LOCFILE_ALIGNED_P): Likewise.
5161 * locale/programs/ld-collate.c (collate_output): Use the new
5162 macros instead of __alignof__ (int32_t).
5163 * locale/weight.h (findidx): Likewise.
5164
b1fe1f2b
OB
51652013-10-03 Ondřej Bílka <neleai@seznam.cz>
5166
5167 [BZ #431]
5168 * manual/string.texi: Fix strncat and wcsncat.
5169
5f855e35
BM
51702013-10-03 Brooks Moses <bmoses@google.com>
5171
5172 [BZ #15915]
5173 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5174 * Makerules: ...here, and adjust associated comments.
5175
3cef6009
WN
51762013-10-02 Will Newton <will.newton@linaro.org>
5177
5178 * malloc/Makefile: Add tst-pvalloc.
5179 * malloc/tst-pvalloc.c: New file.
5180
7815420b
WN
51812013-10-02 Will Newton <will.newton@linaro.org>
5182
5183 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5184 improve test coverage.
5185
4868b204
WN
51862013-10-02 Will Newton <will.newton@linaro.org>
5187
5188 * malloc/Makefile: Add tst-posix_memalign.
5189 * malloc/tst-posix_memalign.c: New file.
5190
29c793b3
EB
51912013-10-01 Eric Blake <eblake@redhat.com>
5192
5193 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5194 Use __THROWNL rather than __THROW on static functions.
5195
fd967522
PM
51962013-09-30 Petr Machata <pmachata@redhat.com>
5197
5198 * elf/elf.h (R_AARCH64_ABS16): New macro.
5199 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5200 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5201 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5202 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5203 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5204 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5205 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5206 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5207 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5208 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5209 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5210 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5211 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5212 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5213 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5214 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5215 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5216 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5217 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5218 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5219 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5220 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5221 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5222 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5223 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5224 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5225 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5226 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5227 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5228 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5229 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5230 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5231 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5232 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5233 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5234 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5235 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5236 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5237 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5238 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5239 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5240 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5241 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5242 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5243 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5244 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5245 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5246 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5247 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5248 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5249 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5250 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5251 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5252 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5253 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5254 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5255 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5256 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5257 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5258 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5259 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5260 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5261 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5262 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5263 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5264 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5265 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5266 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5267 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5268 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5269 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5270 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5271 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5272 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5273 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5274 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5275 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5276 (R_AARCH64_TLSDESC_LDR): Likewise.
5277 (R_AARCH64_TLSDESC_ADD): Likewise.
5278 (R_AARCH64_TLSDESC_CALL): Likewise.
5279
b2179107
AS
52802013-09-30 Andreas Schwab <schwab@suse.de>
5281
5282 [BZ #15048]
5283 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5284 the nss database lookup.
5285 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5287
47f28d0a
MF
52882013-09-28 Mike Frysinger <vapier@gentoo.org>
5289
5290 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5291
52922013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5293
5294 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5295 ${Bash-specific parameter/pattern/string} parameter expansion.
5296 * sysdeps/unix/make-syscalls.sh: Likewise.
5297
f4518a17
KK
52982013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5299
5300 * sysdeps/sh/stackguard-macros.h: New file.
5301
dc1a95c7
OB
53022013-09-26 Ondřej Bílka <neleai@seznam.cz>
5303
5304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5306 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5307 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5308 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5309 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5310
5ebbff8f
AZ
53112013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5312
5313 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5314 Fix thread ID register.
5315
4fd2cf9f
JM
53162013-09-25 Joseph Myers <joseph@codesourcery.com>
5317
5318 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5319 [POSIX || UNIX98]: Require rather than permitting all symbols from
5320 <time.h>.
5321 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5322 element of struct sched_param.
5323 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5324 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5325 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5326 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5327 constant.
5328
12c22bc4
OL
53292013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5330
5331 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5332 argument calculation.
5333
a03d8ea7
JM
53342013-09-24 Joseph Myers <joseph@codesourcery.com>
5335
5336 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5337 Expect macro.
5338 [POSIX] (pthread_attr_t): Do not require type.
5339 [POSIX] (pthread_cond_t): Likewise.
5340 [POSIX] (pthread_condattr_t): Likewise.
5341 [POSIX] (pthread_key_t): Likewise.
5342 [POSIX] (pthread_mutex_t): Likewise.
5343 [POSIX] (pthread_mutexattr_t): Likewise.
5344 [POSIX] (pthread_once_t): Likewise.
5345 [POSIX] (pthread_t): Likewise.
5346 [POSIX-based standards] (pthread_atfork): Expect function.
5347
6055173a
JM
53482013-09-24 Joseph Myers <joseph@codesourcery.com>
5349 Richard Sandiford <richard@codesourcery.com>
5350
5351 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5352 (swap_endianness_p): New extern variable.
5353 (set_big_endian): New inline function.
5354 (maybe_swap_uint32): Likewise.
5355 (maybe_swap_uint32_array): Likewise.
5356 (maybe_swap_uint32_obstack): Likewise.
5357 * locale/programs/locfile.c: Include <stdbool.h>.
5358 (swap_endianness_p): New variable.
5359 (add_locale_uint32): Call maybe_swap_uint32.
5360 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5361 (write_locale_data): Call maybe_swap_uint32_array.
5362 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5363 maybe_swap_uint32.
5364 (obstack_int32_grow_fast): Likewise.
5365 (output_weightwc): Call maybe_swap_uint32_obstack.
5366 (collate_output): Likewise.
5367 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5368 (OPT_LITTLE_ENDIAN): Likewise.
5369 (options): Add --little-endian and --big-endian options.
5370 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5371 * locale/programs/locarchive.c: Include "locfile.h".
5372 (GET): New macro.
5373 (SET): Likewise.
5374 (INC): Likewise.
5375 (create_archive): Use the new macros to access fields of
5376 structures directly mapped from or written to locale archives.
5377 (oldlocrecentcmp): Likewise.
5378 (enlarge_archive): Likewise.
5379 (insert_name): Likewise.
5380 (add_alias): Likewise.
5381 (add_locale): Likewise.
5382 (delete_locales_from_archive): Likewise.
5383 (show_archive_content): Likewise.
5384 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5385 locale data.
5386
39bf0bb4
RM
53872013-09-24 Roland McGrath <roland@hack.frob.com>
5388
5389 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5390 http://www.gnu.org/doc/freemanuals.texi.
5391 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5392
f02eed10
WN
53932013-09-24 Will Newton <will.newton@linaro.org>
5394
5395 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5396 macro.
5397
a3a6c312
JM
53982013-09-23 Joseph Myers <joseph@codesourcery.com>
5399
5400 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5401 unsigned char.
5402
107375ac
MR
54032013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5404
5405 * manual/threads.texi (POSIX Threads): Fix a typo.
5406
141f3a77
SP
54072013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5408
303e567a
SP
5409 [BZ #14547]
5410 * string/tst-strcoll-overflow.c: New test case.
5411 * string/Makefile (xtests): Add tst-strcoll-overflow.
5412 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5413 cache if string sizes may cause integer overflow.
5414
141f3a77
SP
5415 [BZ #14547]
5416 * string/strcoll_l.c (coll_seq): New members rule, idx,
5417 save_idx and back_us.
5418 (get_next_seq_nocache): New function.
5419 (do_compare_nocache): New function.
5420 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5421 when malloc fails.
5422
c61b4d41
CD
54232013-09-23 Carlos O'Donell <carlos@redhat.com>
5424
0b1f8e35
CD
5425 [BZ #15754]
5426 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5427 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5428 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5429
c61b4d41
CD
5430 [BZ #15754]
5431 * elf/Makefile (tests): Add tst-ptrguard1.
5432 (tests-static): Add tst-ptrguard1-static.
5433 (tst-ptrguard1-ARGS): Define.
5434 (tst-ptrguard1-static-ARGS): Define.
5435 * elf/tst-ptrguard1.c: New file.
5436 * elf/tst-ptrguard1-static.c: New file.
5437 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5438 * sysdeps/i386/stackguard-macros.h: Likewise.
5439 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5440 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5441 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5442 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5443 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5444 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5445
54462013-09-23 Hector Marco <hecmargi@upv.es>
5447 Ismael Ripoll <iripoll@disca.upv.es>
5448 Carlos O'Donell <carlos@redhat.com>
5449
5450 [BZ #15754]
5451 * sysdeps/generic/stackguard-macros.h: Define
5452 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5453 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5454 Define __pointer_chk_guard_local.
5455 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5456 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5457
f5f4e7b4
VV
54582013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5459
5460 [BZ #15859]
5461 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5462
5bb43a43
AS
54632013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5464
5465 * include/string.h (__ffs): Declare as hidden.
5466 * string/ffs.c (__ffs): Define as hidden.
5467 * sysdeps/i386/ffs.c (__ffs): Likewise.
5468 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5469 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5470 * sysdeps/s390/ffs.c (__ffs): Likewise.
5471 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5472
3ea5be54
AO
54732013-09-20 Alexandre Oliva <aoliva@redhat.com>
5474
ffb89e53
AO
5475 * NEWS: Mention malloc probes.
5476
322dea08
AO
5477 * malloc/arena.c (new_heap): New memory_heap_new probe.
5478 (grow_heap): New memory_heap_more probe.
5479 (shrink_heap): New memory_heap_less probe.
5480 (heap_trim): New memory_heap_free probe.
5481 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5482 (systrim): New memory_sbrk_less probe.
5483 * manual/probes.texi: Document them.
5484
655673f3
AO
5485 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5486 * manual/probes.texi: Document it.
5487
35fed6f1
AO
5488 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5489 (__libc_realloc): Add memory_realloc_retry probe.
5490 (__libc_memalign): Add memory_memalign_retry probe.
5491 (__libc_valloc): Add memory_valloc_retry probe.
5492 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5493 (__libc_calloc): Add memory_calloc_retry probe.
5494 * manual/probes.texi: Document them.
5495
6999d38c
AO
5496 * malloc/arena.c (get_free_list): Add probe
5497 memory_arena_reuse_free_list.
5498 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5499 and memory_arena_reuse.
5500 (arena_get2) [!PER_THREAD]: Likewise.
5501 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5502 memory_arena_reuse_realloc.
5503 * manual/probes.texi: Document them.
5504
0653427f
AO
5505 * malloc/malloc.c (__libc_free): Add
5506 memory_mallopt_free_dyn_thresholds probe.
5507 (__libc_mallopt): Add multiple memory_mallopt probes.
5508 * manual/probes.texi: Document them.
5509
3ea5be54
AO
5510 * malloc/malloc.c: Include stap-probe.h.
5511 (__libc_mallopt): Add memory_mallopt probe.
5512 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5513 * manual/probes.texi: New.
5514 * manual/Makefile (chapters): Add probes.
5515 * manual/threads.texi: Set next node.
5516
e35696c3 55172013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5518
e35696c3
CL
5519 [BZ #15963, #13985]
5520 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5521 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5522 Add `Chinese' to `nan' entry name.
5523
4aafb73c
SP
55242013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5525
5526 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5527 (POLYNOMIAL): Likewise.
5528 (TAYLOR_SINCOS): Likewise.
5529 (TAYLOR_SLOW): Likewise.
5530 (__sin): Use TAYLOR_SINCOS.
5531 (__cos): Likewise.
5532 (slow): Use TAYLOR_SLOW.
5533 (sloww): Likewise.
5534 (bsloww): Likewise.
5535 (csloww): Likewise.
5536
d84f25c7
LD
55372013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5538
5539 * stdlib/strtod_l.c: Fix buffer overrun.
5540
5eea0404
SP
55412013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5542
7849ff93
SP
5543 * benchtests/Makefile (bench): Add sincos.
5544 * benchtests/bench-sincos.c: New file.
5545
cfa3c886
SP
5546 * math/libm-test.inc (cos_test_data): New test inputs.
5547 (sin_test_data): Likewise.
5548
b348e1e3
SP
5549 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5550 macro.
5551 (__sin): Use it.
5552 (__cos): Likewise.
5553 (slow1): Likewise.
5554 (slow2): Likewise.
5555 (sloww1): Likewise.
5556 (sloww2): Likewise.
5557 (bsloww1): Likewise.
5558 (bsloww2): Likewise.
5559 (cslow2): Likewise.
5560 (csloww1): Likewise.
5561 (csloww2): Likewise.
5562
6cce25f8
SP
5563 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5564 function.
5565 (__sin): Use it.
5566 (__cos): Likewise.
5567
5eea0404
SP
5568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5569 gotos.
5570 (__cos): Likewise.
5571
9c21573c
MR
55722013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5573
5574 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5575 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5576 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5577 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5578 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5579 * elf/cache.c (print_entry): Handle the new cache flags.
5580
24d22e65
JM
55812013-09-18 Joseph Myers <joseph@codesourcery.com>
5582 Aldy Hernandez <aldyh@redhat.com>
5583
5584 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5585 Change condition to [_SOFT_FLOAT].
5586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5598 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5601 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5602 declaration.
5603
d13ef066
JM
56042013-09-18 Joseph Myers <joseph@codesourcery.com>
5605
2e071de0
JM
5606 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5607 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5608 (__longjmp): Use LOAD_GP to load saved GPRs.
5609 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5610 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5611 (__sigsetjmp): Use SAVE_GP to save GPRs.
5612
d13ef066
JM
5613 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5614 Do not append -msoft-float.
5615 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5616
97a0650b
SP
56172013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5618
5619 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5620
11ca09e9
JM
56212013-09-17 Joseph Myers <joseph@codesourcery.com>
5622
5623 [BZ #15966]
5624 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5625 (_FPU_GETCW): Use initial "__" on variable and field names but not
5626 on macro parameter name.
5627 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5628 parentheses around reference to macro parameter.
5629
08ffcf34
RS
56302013-09-13 Richard Sandiford <richard@codesourcery.com>
5631
5632 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5633 prototype.
5634 (ctype_startup): Use uint32_t in cast and sizeof for
5635 ctype->charnames.
5636
ae7080d3
JL
56372013-09-11 Jia Liu <proljc@gmail.com>
5638
5639 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5640 __daddr_t_defined.
5641 [__FreeBSD__]: Likewise.
5642
5905e7b3
OB
56432013-09-11 Ondřej Bílka <neleai@seznam.cz>
5644
5645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5646 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5647 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5648 (strchr): Remove __strchr_sse42 ifunc selection.
5649 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5650 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5651
b987c776
WN
56522013-09-11 Will Newton <will.newton@linaro.org>
5653
5654 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5655 parameter to RES. Remove hardcoded 1000 value.
5656 * benchtests/bench-skeleton.c (main): Pass RES parameter
5657 to TIMING_INIT and multiply result by 1000.
5658
ddf985af
AZ
56592013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5660
5661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5662
ffdd3181
AS
56632013-09-11 Andreas Schwab <schwab@suse.de>
5664
5665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5666 if not defined.
5667 (O_TMPFILE) [__USE_GNU]: Define.
5668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5669 Define.
5670
b73ed247
WN
56712013-09-11 Will Newton <will.newton@linaro.org>
5672
5673 [BZ #15857]
5674 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5675 does not overflow.
5676
55e17aad
WN
56772013-09-11 Will Newton <will.newton@linaro.org>
5678
5679 [BZ #15856]
5680 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5681 does not overflow.
5682
1159a193
WN
56832013-09-11 Will Newton <will.newton@linaro.org>
5684
5685 [BZ #15855]
5686 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5687 does not overflow.
5688
5905e7b3 56892013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5690
5691 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5692 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5695 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5696
cdfc721b
AM
56972013-09-10 Allan McRae <allan@archlinux.org>
5698
aa04af00
AM
5699 [BZ #15748]
5700 * manual/arith.texi (Parsing of Floats): Clarify
5701 cross-reference.
5702
cdfc721b
AM
5703 [BZ #15849]
5704 * manual/install.texi (Running make install): Mention
5705 --enable-pt-chown.
5706 * INSTALL: Regenerated.
5707
95e7cf29
MR
57082013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5709
5710 * csu/init-first.c (_init): Remove the !SHARED condition around
5711 FPU control word initialization.
5712 * elf/dl-support.c (_dl_fpu_control): New variable.
5713 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5714 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5715 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5716 * math/test-fpucw-static.c: New file.
5717 * math/test-fpucw-ieee.c: New file.
5718 * math/test-fpucw-ieee-static.c: New file.
5719 * math/Makefile (tests): Add `test-fpucw-ieee' and
5720 `$(tests-static)'.
5721 (tests-static): New variable.
5722 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5723 dependency to...
5724 [($(build-shared),yes)]
5725 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5726 ... this.
5727 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5728 New dependency.
5729
83e43bf0
AM
57302013-09-09 Allan McRae <allan@archlinux.org>
5731
a9f5ce09
AM
5732 [BZ #15939]
5733 * manual/string.texi (Collation Functions): Fix typo in
5734 strcoll example.
5735 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5736
34829bc2
AM
5737 [BZ #15893]
5738 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5739
3932737d
AM
5740 [BZ #15892]
5741 * libio/memstream.c (open_memstream): Fix memory leak.
5742 * libio/wmemstream.c (open_wmemstream): Likewise.
5743
83e43bf0
AM
5744 [BZ #15895]
5745 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5746
0c66b8e9
WN
57472013-09-09 Will Newton <will.newton@linaro.org>
5748
5749 * malloc/Makefile: Add tst-realloc to tests.
5750 * malloc/tst-realloc.c: New file.
5751
f6b00fd1
AM
57522013-09-09 Allan McRae <allan@archlinux.org>
5753
5754 [BZ #15844]
5755 * COPYING: Update from GNU website to fix FSF address.
5756 * COPYING.LIB: Likewise.
5757
eec55e16
DM
57582013-09-06 David S. Miller <davem@davemloft.net>
5759
5760 * po/zh_TW.po: Update Chinese (traditional) translation from
5761 translation project.
5762
1ecbb381
RS
57632013-09-06 Richard Sandiford <richard@codesourcery.com>
5764 Joseph Myers <joseph@codesourcery.com>
5765
5766 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5767 "localeinfo.h".
5768 (obstack_chunk_alloc): New macro.
5769 (obstack_chunk_free): Likewise.
5770 (record_offset): New function.
5771 (init_locale_data): Likewise.
5772 (align_locale_data): Likewise.
5773 (add_locale_empty): Likewise.
5774 (add_locale_raw_data): Likewise.
5775 (add_locale_raw_obstack): Likewise.
5776 (add_locale_string): Likewise.
5777 (add_locale_wstring): Likewise.
5778 (add_locale_uint32): Likewise.
5779 (add_locale_uint32_array): Likewise.
5780 (add_locale_char): Likewise.
5781 (start_locale_structure): Likewise.
5782 (end_locale_structure): Likewise.
5783 (start_locale_prelude): Likewise.
5784 (end_locale_prelude): Likewise.
5785 (write_locale_data): Take locale_file structure rather than an
5786 iovec.
5787 * locale/programs/locfile.h: Include "obstack.h".
5788 (struct locale_file): Change to store locale file contents instead
5789 of header.
5790 (init_locale_data): New prototype.
5791 (align_locale_data): Likewise.
5792 (add_locale_empty): Likewise.
5793 (add_locale_raw_data): Likewise.
5794 (add_locale_raw_obstack): Likewise.
5795 (add_locale_string): Likewise.
5796 (add_locale_wstring): Likewise.
5797 (add_locale_uint32): Likewise.
5798 (add_locale_uint32_array): Likewise.
5799 (add_locale_char): Likewise.
5800 (start_locale_structure): Likewise.
5801 (end_locale_structure): Likewise.
5802 (start_locale_prelude): Likewise.
5803 (end_locale_prelude): Likewise.
5804 (write_locale_data): Update prototype.
5805 * locale/programs/3level.h (struct TABLE): Remove result field.
5806 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5807 Use new locale_file interface.
5808 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5809 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5810 * locale/programs/ld-address.c (address_output): Use new
5811 locale_file interface.
5812 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5813 NO_ADD_LOCALE.
5814 (collate_finish): Don't call collseq_table_finalize.
5815 (collate_output): Use new locale_file interface.
5816 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5817 in file.
5818 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5819 (TABLE): Move defines earlier in file.
5820 (ELEMENT): Likewise.
5821 (DEFAULT): Likewise.
5822 (wctrans_table_add): Move macro and inline function earlier in
5823 file.
5824 (struct wctype_table): Move type earlier in file.
5825 (add_locale_wctype_table): New static prototype.
5826 (struct locale_ctype_t): Use logical types instead of struct iovec
5827 pointers for members.
5828 (ctype_output): Use new locale_file interface.
5829 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5830 new locale_file interface.
5831 (allocate_arrays): Update for use of new locale_file interface.
5832 * locale/programs/ld-identification.c (identification_output): Use
5833 new locale_file interface.
5834 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5835 * locale/programs/ld-messages.c (messages_output): Likewise.
5836 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5837 * locale/programs/ld-name.c (name_output): Likewise.
5838 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5839 * locale/programs/ld-paper.c (paper_output): Likewise.
5840 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5841 * locale/programs/ld-time.c (time_output): Likewise.
5842
e029e2e5
AZ
58432013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5844
5845 * benchtests/Makefile: Add memrchr benchmark.
5846 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5847 benchmark as memrchr.
5848 * benchtests/bench-memrchr-ifunc.c: New file.
5849 * benchtests/bench-memrchr.c: New file.
5850
bbf6e8e4
WN
58512013-09-06 Will Newton <will.newton@linaro.org>
5852
5853 * benchtests/Makefile (string-bench): Add memcpy.
5854
6c82a2f8
CD
58552013-09-05 Carlos O'Donell <carlos@redhat.com>
5856 Cong Wang <amwang@redhat.com>
5857
e732c5f0 5858 [BZ #15850]
6c82a2f8
CD
5859 * sysdeps/unix/sysv/linux/bits/in.h
5860 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5861 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5862 before __USE_KERNEL_IPV6_DEFS uses.
5863 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5864 IPPROTO_BEETPH.
5865 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5866 sockaddr_in6, or ipv6_mreq.
5867
5430fc65
AZ
58682013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869
5870 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5871 memory access for final bytes in some large inputs.
5872 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5873
4660856c
AZ
58742013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5875
5876 * string/test-memrchr.c: New file.
5877 * string/test-memrchr-ifunc.c: New file.
5878 * string/Makefile: Add new memrchr testcase.
5879
bb8ea713
MF
58802013-09-05 Mike Frysinger <vapier@gentoo.org>
5881
5882 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5883 fanotify_init returns EPERM.
5884
b92a20b5
JM
58852013-09-04 Joseph Myers <joseph@codesourcery.com>
5886
5887 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5888 errors.
5889 (top level): Treat second token from macro or constant entries for
5890 allowed headers as allowed.
5891 * include/complex.h: Condition internal declarations on
5892 [!_ISOMAC].
5893 * include/fenv.h: Condition include of <stdbool.h> and internal
5894 declarations on [!_ISOMAC].
7447ccd9
CL
5895
58962013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5897
3e181dda 5898 [BZ #15923]
7447ccd9
CL
5899 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5900
3f2e46a4
JM
59012013-09-04 Joseph Myers <joseph@codesourcery.com>
5902
5903 * configure.in (--enable-versioning): Remove configure option.
5904 (libc_cv_asm_symver_directive): Remove configure test.
5905 (libc_cv_ld_version_script_option): Likewise.
5906 (VERSIONING): Remove variable and AC_SUBST.
5907 (DO_VERSIONING): Remove AC_DEFINE.
5908 * configure: Regenerated.
5909 * config.h.in (DO_VERSIONING): Remove macro.
5910 * Makerules [$(versioning) = yes]: Change conditionals to
5911 [$(build-shared) = yes].
5912 * config.make.in (versioning): Remove variable.
5913 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5914 [$(build-shared) = yes].
5915 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5916 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5917 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5918 [$(build-shared) = yes].
5919 * extra-lib.mk [$(versioning) = yes]: Likewise.
5920 * hurd/Makefile [$(versioning) = yes]: Likewise.
5921 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5922 [SHARED].
5923 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5924 [SHARED].
5925 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5926 [SHARED && !NO_HIDDEN].
5927 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5928 [SHARED].
5929 [SHARED && DO_VERSIONING]: Likewise..
5930 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5931 [$(build-shared) = yes].
5932 * manual/install.texi (--disable-versioning): Remove
5933 documentation.
5934 * INSTALL: Regenerated.
5935 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5936 to [SHARED].
5937 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5938 [$(build-shared) = yes].
5939 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5940 * sysdeps/i386/i686/multiarch/strstr-c.c
5941 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5942 [SHARED && !NO_HIDDEN].
5943 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5944 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5945 * sysdeps/powerpc/powerpc32/dl-machine.c
5946 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5947 * sysdeps/powerpc/powerpc32/sysdep.h
5948 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5949 to [SHARED && PIC && !NO_HIDDEN].
5950 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5951 conditional to [SHARED].
5952
44558701
WN
59532013-09-04 Will Newton <will.newton@linaro.org>
5954
5955 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5956 * benchtests/bench-string.h: Include bench-timing.h instead
5957 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5958 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5959 call to HP_TIMING_DIFF_INIT.
5960 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5961 instead of hp-timing.h macros.
5962 * benchtests/bench-memchr.c: Likewise.
5963 * benchtests/bench-memcmp.c: Likewise.
5964 * benchtests/bench-memcpy.c: Likewise.
5965 * benchtests/bench-memmem.c: Likewise.
5966 * benchtests/bench-memmove.c: Likewise.
5967 * benchtests/bench-memset.c: Likewise.
5968 * benchtests/bench-rawmemchr.c: Likewise.
5969 * benchtests/bench-strcasecmp.c: Likewise.
5970 * benchtests/bench-strcasestr.c: Likewise.
5971 * benchtests/bench-strcat.c: Likewise.
5972 * benchtests/bench-strchr.c: Likewise.
5973 * benchtests/bench-strcmp.c: Likewise.
5974 * benchtests/bench-strcpy.c: Likewise.
5975 * benchtests/bench-strcpy_chk.c: Likewise.
5976 * benchtests/bench-strlen.c: Likewise.
5977 * benchtests/bench-strncasecmp.c: Likewise.
5978 * benchtests/bench-strncat.c: Likewise.
5979 * benchtests/bench-strncmp.c: Likewise.
5980 * benchtests/bench-strncpy.c: Likewise.
5981 * benchtests/bench-strnlen.c: Likewise.
5982 * benchtests/bench-strpbrk.c: Likewise.
5983 * benchtests/bench-strrchr.c: Likewise.
5984 * benchtests/bench-strspn.c: Likewise.
5985 * benchtests/bench-strstr.c: Likewise.
5986
cae16d66
WN
59872013-09-04 Will Newton <will.newton@linaro.org>
5988
5989 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5990
ffa3cd7f
JM
59912013-09-03 Joseph Myers <joseph@codesourcery.com>
5992
5993 [BZ #15427]
5994 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5995 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5996 * math/libm-test.inc (lgamma_test_data): Add more tests.
5997 * sysdeps/i386/fpu/libm-test-ulps: Update.
5998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5999
8f02859f
OB
60002013-09-03 Ondřej Bílka <neleai@seznam.cz>
6001
6002 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6004 Add ifunc.
6005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6006 Add strcmp-sse2-unaligned
6007 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6008
18d43716
MF
60092013-09-02 Mike Frysinger <vapier@gentoo.org>
6010
6011 * Versions.def (libc): Add GLIBC_2.19.
6012
ac444012
MF
60132013-09-02 Mike Frysinger <vapier@gentoo.org>
6014
6015 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6016 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6017
b7835e32
JM
60182013-09-02 Joseph Myers <joseph@codesourcery.com>
6019
6020 [BZ #14155]
6021 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6022 intermediate calculations in recurrence.
6023 (__ieee754_ynf): Likewise.
6024 * math/libm-test.inc (jn_test_data): Do not allow spurious
6025 underflow exception. Add more tests.
6026 (yn_test_data): Add more tests.
6027 * sysdeps/i386/fpu/libm-test-ulps: Update.
6028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6029
8220f4f0
OB
60302013-09-02 Ondřej Bílka <neleai@seznam.cz>
6031
6032 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6033
f24a6d08
OB
60342013-08-30 Ondřej Bílka <neleai@seznam.cz>
6035
6036 * csu/init-first.c: Fix then/than typos.
6037 * locale/programs/ld-collate.c: Likewise.
6038 * locale/programs/linereader.h: Likewise.
6039 * manual/charset.texi: Likewise.
6040 * manual/filesys.texi: Likewise.
6041 * manual/stdio.texi: Likewise.
6042 * manual/string.texi: Likewise.
6043 * stdlib/fmtmsg.c: Likewise.
6044 * sysdeps/i386/stpncpy.S: Likewise.
6045 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6046 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6047 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6048 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6049
382466e0
OB
60502013-08-30 Ondřej Bílka <neleai@seznam.cz>
6051
6052 * elf/dl-open.c: Fix typos.
6053 * iconvdata/gbbig5.c: Likewise.
6054 * iconvdata/iso-2022-jp.c: Likewise.
6055 * iconv/gconv_int.h: Likewise.
6056 * iconv/loop.c: Likewise.
6057 * nis/rpcsvc/nis.h: Likewise.
6058 * resolv/ns_name.c: Likewise.
6059 * stdio-common/vfscanf.c: Likewise.
6060 * streams/stropts.h: Likewise.
6061 * sunrpc/rpc_thread.c: Likewise.
6062 * sysdeps/i386/strpbrk.S: Likewise.
6063 * sysdeps/ieee754/k_standard.c: Likewise.
6064 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6066 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6067 * sysdeps/mach/hurd/profil.c: Likewise.
6068 * sysdeps/s390/dl-procinfo.h: Likewise.
6069 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6070 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6071 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6072 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6073 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6074
0186c6e9
OB
60752013-08-30 Ondřej Bílka <neleai@seznam.cz>
6076
6077 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6079
d4e16af1
OB
60802013-08-29 Ondřej Bílka <neleai@seznam.cz>
6081
6082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6083 aix specific files.
6084 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6086 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6087 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6089 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6090 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6091 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6092
88335980
TS
60932013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6094 Roland McGrath <roland@hack.frob.com>
6095
6096 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6097 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6098
ed479b02
ST
60992013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6100
6101 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6102 __executable_start symbol instead of _start.
6103
f1cc4c86
TS
61042013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6105
d821f07c
TS
6106 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6107 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6108 Move macros to...
6109 * sysdeps/gnu/ldsodefs.h: ... this new file.
6110
c54290cf
TS
6111 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6112 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6113 instead of ELFOSABI_LINUX.
6114
0007fc9b 6115 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6116 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6117 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6118 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6119 Likewise.
6120 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6121 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6123 Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6125 (ibm_extended_long_double): Add ieee_nan member.
6126 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6127 (do_test): New function.
6128
f1cc4c86
TS
6129 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6130 TEST_TRUNC.
6131 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6132 functions, renamed from truncdfsf_test, trunctfsf_test,
6133 trunctfdf_test.
6134 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6135 functions.
6136 (do_test): Run all these.
6137
6f65e668
OB
61382013-08-29 Ondřej Bílka <neleai@seznam.cz>
6139
6140 * argp/argp-help.c: Fix typos.
6141 * argp/argp-parse.c: Likewise.
6142 * debug/backtracesyms.c: Likewise.
6143 * elf/elf.h: Likewise.
6144 * malloc/malloc.c: Likewise.
6145 * nis/nis_print.c: Likewise.
6146 * resolv/res_comp.c: Likewise.
6147 * stdlib/stdlib.h: Likewise.
6148 * sunrpc/clnt_tcp.c: Likewise.
6149 * sunrpc/clnt_udp.c: Likewise.
6150 * sunrpc/clnt_unix.c: Likewise.
6151 * sysdeps/unix/bsd/ptsname.c: Likewise.
6152 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6153 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6155 Likewise.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6157 Likewise.
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6159 Likewise.
6f65e668
OB
6160 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6161
3a309239
SP
61622013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6163
6164 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6166
3b813b29
MF
61672013-08-27 Mike Frysinger <vapier@gentoo.org>
6168
6169 [BZ #15897]
6170 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6171 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6172 ($(objpfx)bug-dl-leaf): New rule.
6173 ($(objpfx)bug-dl-leaf.so): Likewise.
6174 ($(objpfx)bug-dl-leaf.out): Likewise.
6175 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6176 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6177 * dlfcn/bug-dl-leaf.c: New test.
6178 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6179 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6180 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6181 (dlclose): Likewise.
6182 (dlmopen): Likewise.
6183
8cc3269f
RM
61842013-08-27 Roland McGrath <roland@hack.frob.com>
6185
7f9d0034
RM
6186 * include/netdb.h [!_ISOMAC]:
6187 Don't include <tls.h>.
6188 (h_errno, __libc_h_errno): Move declaration and macros out of
6189 [_LIBC_REENTRANT].
6190
fb431262
RM
6191 * include/resolv.h [_RESOLV_H_]:
6192 Don't include <tls.h>.
6193 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6194 * resolv/res_libc.c: Don't include <tls.h>.
6195 (_res): Use __attribute__ ((nocommon)) in place of
6196 __attribute__ ((section (".bss"))).
6197
bd81123a
RM
6198 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6199 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6200
c4e42566
RM
6201 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6202
f890a59b
RM
6203 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6204 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6205
6206 * resolv/res_mkquery.c: Include <sys/time.h>.
6207
5d1f0a09
RM
6208 * inet/ifreq.c: Moved to ...
6209 * sysdeps/unix/ifreq.c: ... here.
6210 * inet/ifreq.c: New file, true stub version.
6211
6fcf28b3
RM
6212 * socket/sa_len.c: New file.
6213 * socket/Makefile (aux): Add it.
6214 * sysdeps/unix/sysv/linux/Makefile
6215 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6216 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6217 and #include <socket/sa_len.c>.
6218 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6219 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6220
e041fb8b
RM
6221 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6222 * bits/socket.h: ... here.
6223
8cc3269f
RM
6224 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6225 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6226 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6227
5d228a43
AS
62282013-08-27 Andreas Schwab <schwab@suse.de>
6229
45b8accc
AS
6230 [BZ #15736]
6231 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6232 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6233 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6234 * string/test-strcasecmp.c (test_main): Run tests in several
6235 locales.
6236 * string/test-strncasecmp.c (test_main): Likewise.
6237
5d228a43
AS
6238 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6239 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6240 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6241 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6242 (__strncasecmp_ssse3) [PIC]: Likewise.
6243
59d112a4
RM
62442013-08-26 Roland McGrath <roland@hack.frob.com>
6245
53234cc3
RM
6246 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6247
59d112a4
RM
6248 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6249 instead of explicitly declaring xdecrypt.
6250 * nis/nss_nis/nis-publickey.c: Likewise.
6251
595aba70
SP
62522013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6253
6254 [BZ #15890]
6255 * nscd/aicache.c: Include res_hconf.h.
6256 (addhstaiX): Initialize res_hconf.
6257
ffabd393
AS
62582013-08-26 Andreas Schwab <schwab@suse.de>
6259
6260 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6261 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6262
e0a69f5c
SP
62632013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6264
6265 * nscd/aicache.c (addhstaiX): Fix indentation.
6266
8c12f01d
MF
62672013-08-25 Mike Frysinger <vapier@gentoo.org>
6268
6269 * configure.ac: Quote $build_pt_chown test.
6270 * configure: Regenerated.
6271
8fe89494
JM
62722013-08-23 Joseph Myers <joseph@codesourcery.com>
6273
6274 [BZ #15532]
6275 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6276 * math/s_cexpf.c (__cexpf): Likewise.
6277 * math/s_cexpl.c (__cexpl): Likewise.
6278 * math/libm-test.inc (cexp_test_data): Correct expected return
6279 value for NaN + i0. Add another test.
6280
75b181d6
DM
62812013-08-22 David S. Miller <davem@davemloft.net>
6282
6283 * po/ca.po: Update Catalan translation from translation project.
936241e4 6284 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6285
acd06bb1
JM
62862013-08-21 Joseph Myers <joseph@codesourcery.com>
6287
6288 [BZ #15797]
6289 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6290 is infinite, not alongside NaN test.
6291 * math/s_fdimf.c (__fdimf): Likewise.
6292 * math/s_fdiml.c (__fdiml): Likewise.
6293 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6294 errno is unchanged.
6295
c0c3f78a
OB
62962013-08-21 Ondřej Bílka <neleai@seznam.cz>
6297
6298 * argp/argp-help.c: Fix typos.
6299 * crypt/speeds.c: Likewise.
6300 * csu/check_fds.c: Likewise.
6301 * elf/dl-load.c: Likewise.
6302 * elf/dl-open.c: Likewise.
6303 * elf/reldep3.c: Likewise.
6304 * elf/reldep.c: Likewise.
6305 * elf/sprof.c: Likewise.
6306 * iconv/iconv_charmap.c: Likewise.
6307 * iconv/skeleton.c: Likewise.
6308 * iconv/strtab.c: Likewise.
6309 * io/lockf64.c: Likewise.
6310 * libio/libioP.h: Likewise.
6311 * resolv/gai_notify.c: Likewise.
6312 * resolv/ns_name.c: Likewise.
6313 * resolv/ns_samedomain.c: Likewise.
6314 * resolv/res_send.c: Likewise.
6315 * stdlib/random.c: Likewise.
6316 * sunrpc/rpc/xdr.h: Likewise.
6317 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6318 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6319 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6320 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6321 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6322 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6324 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6325 * sysdeps/mach/hurd/check_fds.c: Likewise.
6326 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6327 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6329 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6330 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6331 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6332 * sysdeps/pthread/aio_notify.c: Likewise.
6333 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6334 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6335 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6337 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6338
46ed1038
LD
63392013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6340
6341 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6342 version if bit_Slow_SSE4_2 is set.
6343 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6344 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6345
d400dcac
AZ
63462013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6347
6348 [BZ #15867]
6349 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6350 trampoline stack frame information.
6351 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6352 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6353 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6354 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6355 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6356 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6357 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6358 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6359 sa_flags value.
6360 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6361 interrupting a syscall and set with option SA_SIGINFO.
6362
42c8fdd8
JM
63632013-08-20 Joseph Myers <joseph@codesourcery.com>
6364
c980f2f4
JM
6365 [BZ #15531]
6366 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6367 argument is infinite.
6368 * math/s_cprojf.c (__cprojf): Likewise.
6369 * math/s_cprojl.c (__cprojl): Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6371 * math/libm-test.inc (cproj_test_data): Add more tests.
6372
0716c4fc
JM
6373 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6374
42c8fdd8
JM
6375 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6376 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6377 size. Use __ffs to determine corresponding shift.
6378
b31469d0
JM
63792013-08-20 Joseph Myers <joseph@codesourcery.com>
6380 Roland McGrath <roland@hack.frob.com>
6381
6382 * Makefile (INSTALL): Remove trailing blank lines from output of
6383 makeinfo.
6384
4e39af6e
AK
63852013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6386
6387 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6388 Align 32 bit compat elf_greg to 8 bytes.
6389
f315524e
AA
63902013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6391
6392 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6393
1326ba1a
SP
63942013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6395
6396 * string/strcoll_l.c (coll_seq): New structure.
6397 (get_next_seq_cached): New function.
6398 (get_next_seq): New function.
6399 (do_compare): New function.
6400 (STRCOLL): Use GNU style definition. Simplify implementation
6401 by using get_next_seq, get_next_seq_cached and do_compare.
6402
91ce4085
FW
64032013-08-16 Florian Weimer <fweimer@redhat.com>
6404
6405 [BZ #14699]
6406 CVE-2013-4237
6407 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6408 member.
6409 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6410 member.
6411 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6412 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6413 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6414 conditional.
6415 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6416 GETDENTS_64BIT_ALIGNED.
6417 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6418 * manual/filesys.texi (Reading/Closing Directory): Document
6419 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6420 strongly.
6421 * manual/conf.texi (Limits for Files): Add portability note to
6422 NAME_MAX, PATH_MAX.
6423 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6424
ca0a6bc4
AS
64252013-08-13 Andreas Schwab <schwab@suse.de>
6426
6427 [BZ #15749]
6428 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6429 of fabs.
6430 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6431 LDBL_MAX_EXP >= 16384]: Add tests for it.
6432
6c1fd795
DM
64332013-08-12 David S. Miller <davem@davemloft.net>
6434
6435 * version.h (RELEASE): Set to "development".
6436 (VERSION): Set to "2.18.90".
6437 * NEWS: Add 2.19 section.
6438
31ad488d
DM
64392013-08-03 David S. Miller <davem@davemloft.net>
6440
6441 * po/ko.po: Update Korean translation from translation project.
6442
db24e684
DM
64432013-08-01 David S. Miller <davem@davemloft.net>
6444
6445 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6446 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6447 Bilka.
6448
f723285b
DM
64492013-07-30 David S. Miller <davem@davemloft.net>
6450
6451 * po/fr.po: Update French translation from translation project.
6452
3cbc52db
DM
64532013-07-28 David S. Miller <davem@davemloft.net>
6454
30bbc0cc
DM
6455 * po/cs.po: Update Czech translation from translation project.
6456
3cbc52db
DM
6457 * po/sv.po: Update Swedish translation from translation project.
6458
d492e6d0
DM
64592013-07-27 David S. Miller <davem@davemloft.net>
6460
f1a7f492
DM
6461 * po/eo.po: Update Esperanto translation from translation project.
6462
90e62a4a
DM
6463 * po/vi.po: Update Vietnamese translation from translation project.
6464
d492e6d0
DM
6465 * po/de.po: Update German translation from translation project.
6466
d4baa62d
DM
64672013-07-26 David S. Miller <davem@davemloft.net>
6468
641aa7b4
DM
6469 * po/bg.po: Update Bulgarian translation from translation project.
6470
d4baa62d
DM
6471 * po/nl.po: Update Dutch translation from translation project.
6472 * po/pl.po: Update Polish translation from translation project.
6473 * po/ru.po: Update Russian translation from translation project.
6474
61a9dcb9
DM
64752013-07-24 David S. Miller <davem@davemloft.net>
6476
6477 * po/libc.pot: Update.
6478
7b1f8b58
AZ
64792013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6482 variable page size.
6483 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6484 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6485 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6486
a8fc7a03
AK
64872013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6488
6489 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6490
e4608715
CD
64912013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6492 Andreas Schwab <schwab@suse.de>
6493 Roland McGrath <roland@hack.frob.com>
6494 Joseph Myers <joseph@codesourcery.com>
6495 Carlos O'Donell <carlos@redhat.com>
6496
6497 [BZ #15755]
6498 * config.h.in: Define HAVE_PT_CHOWN.
6499 * config.make.in (build-pt-chown): New variable.
6500 * configure.in (--enable-pt_chown): New configure option.
6501 * configure: Regenerate.
6502 * login/Makefile: Include Makeconfig. Build pt_chown only if
6503 build-pt-chown is enabled.
6504 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6505 pt_chown to fix pty ownership.
6506 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6507 CLOSE_ALL_FDS.
6508 * manual/install.texi (Configuring and compiling): Mention
6509 --enable-pt_chown. Add @findex for grantpt.
6510 * INSTALL: Regenerate.
6511
da2d62df
DM
65122013-07-20 David S. Miller <davem@davemloft.net>
6513
6514 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6515 difference between 32-bit and 64-bit.
6516
d7e06450
CD
65172013-07-15 Carlos O'Donell <carlos@redhat.com>
6518
6519 [BZ #15711]
6520 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6521 Avoid system header dependency with -ffreestanding.
6522 ($(objpfx)bits/syscall%d): Likewise.
6523
f959cfd7
DM
65242013-07-13 David S. Miller <davem@davemloft.net>
6525
6526 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6527 underflows from atanl/atan2l due to bug 15319.
6528 (casinh_test_data): Likewise.
6529
c61f8513
DM
65302013-07-07 David S. Miller <davem@davemloft.net>
6531
6532 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6533
72c90ed0
JA
65342013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6535
6536 * sysdeps/i386/fpu/libm-test-ulps: Update.
6537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6538
52dfbe13
SP
65392013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6540
6541 * configure.in (--enable-lock-elision): Fix message text.
6542 * INSTALL: Regenerate.
6543 * configure: Regenerate.
6544
3f169543
AZ
65452013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6546
6547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6548
521c6785
AJ
65492013-07-03 Andreas Jaeger <aj@suse.de>
6550
6551 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6552 define.
6553 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6554 (ptrace_peeksiginfo_args): Add.
6555 (__ptrace_peeksiginfo_flags): Add.
6556 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6557 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6559
d2cc15cb
AM
65602013-07-03 Allan McRae <allan@archlinux.org>
6561
6562 * sysdeps/i386/fpu/libm-test-ulps: Update.
6563
3aaeeca7
DM
65642013-07-02 David S. Miller <davem@davemloft.net>
6565
6566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6567
5314ed1a
MT
65682013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6569
6570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6571
67338156
JM
65722013-07-02 Joseph Myers <joseph@codesourcery.com>
6573
6574 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6576
1717da59
AK
65772013-07-02 Andi Kleen <ak@linux.intel.com>
6578
6579 * config.h.in (ENABLE_LOCK_ELISION): Add.
6580 * configure.in (--enable-lock-elision): Add option.
6581 * manual/install.texi: Document --enable lock elision.
6582 * configure: Regenerate
6583 * INSTALL: Regenerate.
6584
1c81621c
L
65852013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6586
6587 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6588 SSE4.2 strcasecmp for libc.a.
6589 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6590
77f01ab5
JM
65912013-07-02 Joseph Myers <joseph@codesourcery.com>
6592
6593 [BZ #13304]
6594 * soft-fp/op-common.h (_FP_FMA): New macro.
6595 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6596 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6597 (_FP_MUL_MEAT_1_imm): ... here.
6598 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6599 (_FP_MUL_MEAT_1_wide): ... here.
6600 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6601 (_FP_MUL_MEAT_1_hard): ... here.
6602 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6603 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6604 (_FP_MUL_MEAT_2_wide): ... here.
6605 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6606 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6607 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6608 (_FP_MUL_MEAT_2_gmp): ... here.
6609 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6610 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6611 (_FP_MUL_MEAT_4_wide): ... here.
6612 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6613 (_FP_MUL_MEAT_4_gmp): ... here.
6614 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6615 (_FP_WFRACBITS_DW_S): Likewise.
6616 (_FP_WFRACXBITS_DW_S): Likewise.
6617 (_FP_HIGHBIT_DW_S): Likewise.
6618 (FP_FMA_S): Likewise.
6619 (_FP_FRAC_HIGH_DW_S): Likewise.
6620 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6621 (_FP_WFRACBITS_DW_D): Likewise.
6622 (_FP_WFRACXBITS_DW_D): Likewise.
6623 (_FP_HIGHBIT_DW_D): Likewise.
6624 (FP_FMA_D): Likewise.
6625 (_FP_FRAC_HIGH_DW_D): Likewise.
6626 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6627 (_FP_WFRACBITS_DW_E): Likewise.
6628 (_FP_WFRACXBITS_DW_E): Likewise.
6629 (_FP_HIGHBIT_DW_E): Likewise.
6630 (FP_FMA_E): Likewise.
6631 (_FP_FRAC_HIGH_DW_E): Likewise.
6632 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6633 (_FP_WFRACBITS_DW_Q): Likewise.
6634 (_FP_WFRACXBITS_DW_Q): Likewise.
6635 (_FP_HIGHBIT_DW_Q): Likewise.
6636 (FP_FMA_Q): Likewise.
6637 (_FP_FRAC_HIGH_DW_Q): Likewise.
6638 * soft-fp/fmasf4.c: New file.
6639 * soft-fp/fmadf4.c: Likewise.
6640 * soft-fp/fmatf4.c: Likewise.
6641
6308fd9a
LD
66422013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6643
6644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6645 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6646 Silvermont.
6647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6648 macro.
6649 (index_Slow_SSE4_2): Likewise.
6650 (index_Prefer_PMINUB_for_stringop): Likewise.
6651 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6652 bit_Slow_SSE4_2 is set.
6653 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6654 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6655
89cd9569
RA
66562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6657
6658 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6659 rtld_global._dl_hwcap2.
6660 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6661 POWER8.
6662 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6663 POWER8 feature descriptions defined in _dl_hwcap2.
6664 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6665 string handling for POWER8 feature bits.
6666 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6667 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6668 _dl_powerpc_cap_flags.
6669 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6670 * sysdeps/powerpc/rtld-global-offsets.sym
6671 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6672 _dl_hwcap2 in the rtld_global_ro structure.
6673
1ae8bfe0
RA
66742013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6675
6676 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6677 hardware capabilities in support of AT_HWCAP2.
6678 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6679 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6680 GLRO(dl_hwcap2).
6681 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6682 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6683 explicitly the unknown a_type display mechanism is used.
6684 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6685 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6686 struct member.
6687 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6688 to macro prototype for AT_HWCAP2 support.
6689 * sysdeps/i386/dl-procinfo.h: Likewise.
6690 * sysdeps/s390/dl-procinfo.h: Likewise.
6691 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6692 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6693 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6694 return -1 for unknown a_type display fallback.
6695 * sysdeps/sparc/dl-procinfo.h: Likewise.
6696 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6697 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6698
8fbec010
JM
66992013-06-28 Joseph Myers <joseph@codesourcery.com>
6700
6701 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6702 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6703
0432680e
PY
67042013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6705
6706 [BZ #12492]
6707 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6708 mprotect making __stack_prot writable.
6709
ce61a2ad
NF
67102013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6711 Joseph Myers <joseph@codesourcery.com>
6712
6713 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6714 as being properly aligned.
6715
f91f1c0f
MR
67162013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6717
3d0f5d0c
MR
6718 * dlfcn/modstatic5.c: New file.
6719 * dlfcn/tststatic5.c: New file.
6720 * dlfcn/Makefile (tests): Add tststatic5.
6721 (tests-static): Likewise.
6722 (modules-names): Add modstatic5.
6723 (tststatic5-ENV): New variable.
6724 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6725
f91f1c0f
MR
6726 [BZ #15022]
6727 * elf/dl-support.c (_dl_main_map): New variable.
6728 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6729 (_dl_nns, _dl_load_adds): Set to 1.
6730 (_dl_initial_searchlist): Refer to _dl_main_map.
6731 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6732 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6733 call to _dl_get_origin.
6734 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6735 around call_map.
6736 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6737 * dlfcn/modstatic3.c: New file.
6738 * dlfcn/tststatic3.c: New file.
6739 * dlfcn/tststatic4.c: New file.
6740 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6741 (tests-static): Likewise.
6742 (modules-names): Add modstatic3.
6743 (tststatic3-ENV, tststatic4-ENV): New variables.
6744 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6745 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6746
cbe7d24b
JM
67472013-06-26 Joseph Myers <joseph@codesourcery.com>
6748
6749 * configure.in (CC): Require GCC version 4.4 or later.
6750 * configure: Regenerated.
6751 * manual/install.texi (Tools for Compilation): Update GCC version
6752 requirement.
6753 * INSTALL: Regenerated.
6754
11b8a0e1
LD
67552013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6756
6757 [BZ #15674]
bb5bb87c
L
6758 * string/test-memcmp.c (check2): New.
6759 (main): Call check2.
6760
11b8a0e1
LD
6761 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6762
b0037103
MR
67632013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6764
6765 [BZ #15022]
6766 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6767 over to...
6768 (dl_open_worker) [!SHARED]: ... here.
6769
c18c701d
RA
67702013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6771
6772 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6773
1d17fa5f
RH
67742013-06-25 Richard Henderson <rth@redhat.com>
6775
6776 * locale/programs/locarchive.c: Include <libc-internal.h>
6777
8fcb833a
JM
67782013-06-25 Joseph Myers <joseph@codesourcery.com>
6779
6780 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6781 trailing whitespace removed.
6782
17db6e8d
MF
67832013-06-24 Mike Frysinger <vapier@gentoo.org>
6784
6785 [BZ #10283]
17db6e8d
MF
6786 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6787 * locale/programs/locarchive.c: Include libc-mmap.h.
6788 (prepare_address_space): Take two new outputs (the mmap base and len).
6789 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6790 values.
6791 (create_archive): Declare new mmap base and len values for
6792 prepare_address_space, and store the result in ah.
6793 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6794 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6795 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6796 Declare new mmap base and len values for
6797 prepare_address_space, and store the result in new_ah.
6798 (open_archive): Declare new mmap base and len values for
6799 prepare_address_space, and store the result in ah.
6800 (close_archive): If ah->mmap_base is not NULL, use that and
6801 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6802 * sysdeps/generic/libc-mmap.h: New file.
6803
d605071e
MF
68042013-06-24 Mike Frysinger <vapier@gentoo.org>
6805
6806 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6807 (ALIGN_UP): Likewise.
6808 (PTR_ALIGN_DOWN): Likewise.
6809 (PTR_ALIGN_UP): Likewise.
6810
2f063a6e
RA
68112013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6812
6813 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6814 entry mapped to PPC_PLATFORM_POWER8.
6815 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6816 POWER8.
6817 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6818 (_dl_string_platform): Add case for exporting platform position for
6819 POWER8.
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6821 search path to sysdeps/powerpc/powerpc32/power8 directory.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6823 search path to sysdeps/powerpc/powerpc64/power8 directory.
6824 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6825 power7 directories.
6826 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6827 power7 directories.
6828
a31ee4b3
SP
68292013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6830
a74ca98f
SP
6831 * INSTALL: Regenerate.
6832
a31ee4b3
SP
6833 * nscd/connections.c (nscd_init): Fix comment.
6834
695c378f
JM
68352013-06-22 Joseph Myers <joseph@codesourcery.com>
6836
d8412221
JM
6837 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6838
695c378f
JM
6839 [BZ #15667]
6840 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6841 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6842
d1d54715
MR
68432013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6844
6845 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6846 DL_DST_REQ_STATIC.
6847 (DL_DST_REQ_STATIC): Remove macro.
6848
8fdda7af
JM
68492013-06-21 Joseph Myers <joseph@codesourcery.com>
6850
6851 [BZ #7006]
6852 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6853 with a shift of 0 bits.
6854
f3bc5e5a
MR
68552013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6856
6857 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6858 $(tststatic-ENV).
6859
be09e8c9
KK
68602013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6861
6862 [BZ #15655]
6863 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6864
85c2e611
AZ
68652013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6866
6867 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6868 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6869 accepts -fno-tree-loop-distribute-patterns.
6870 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6871 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6872 recursive call.
6873 * string/memset.c (memset): Likewise.
6874 * string/test-memmove.c (simple_memmove): Disable loop transformation
6875 to library calls.
6876 * string/test-memset.c (simple_memset): Likewise.
6877 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6878 * benchtests/bench-memset.c (simple_memset): Likewise.
6879 * configure: Regenerated.
6880
c91e0825
JM
68812013-06-20 Joseph Myers <joseph@codesourcery.com>
6882
b8c792af
JM
6883 * math/test-misc.c (main): Ignore fesetround failure when failures
6884 of subsequent rounding tests would be ignored.
6885
c91e0825
JM
6886 [BZ #15654]
6887 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6888 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6889 * math/fegetenv.c (__fegetenv): Return 0.
6890 * math/fegetexcept.c (fegetexcept): Return 0.
6891 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6892 FE_TONEAREST.
6893 * math/feholdexcpt.c (feholdexcept): Return 0.
6894 * math/fesetenv.c (__fesetenv): Return 0.
6895 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6896 argument FE_TONEAREST.
6897 * math/feupdateenv.c (__feupdateenv): Return 0.
6898 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6899
bfcacbde
RM
69002013-06-18 Roland McGrath <roland@hack.frob.com>
6901
6902 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6903 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6904 ($(objpfx)rtld-%.os rules): Use them.
6905
e55a9b25
AZ
69062013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6907
6908 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6909 fields.
6910
346d65b3
RM
69112013-06-17 Roland McGrath <roland@hack.frob.com>
6912
12086fb4
RM
6913 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6914 length of target pattern, then descending length of dependency pattern.
6915 * configure.in (AWK): Require gawk 3.1.2 or newer.
6916 * manual/install.texi (Tools for Compilation): Say that we do.
6917 * configure: Regenerated.
6918
346d65b3
RM
6919 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6920 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6921 * scripts/sysd-rules.awk: ... this new script.
6922 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6923 than a glob-style pattern.
6924
1a846317
JM
69252013-06-17 Joseph Myers <joseph@codesourcery.com>
6926
6927 * math/test-misc.c (main): Do not treat incorrectly rounded
6928 conversions as failure unless ROUNDING_TESTS passes.
6929
8fc75e6f
JM
69302013-06-15 Joseph Myers <joseph@codesourcery.com>
6931
3711a167
JM
6932 [BZ #15631]
6933 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6934 restore exception state around main square root computation, then
6935 check for inexactness explicitly.
6936
8fc75e6f
JM
6937 * math/libm-test.inc (fma_test_data): Add another test.
6938
61dd6208
SP
69392013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6940
adf23d2c
SP
6941 * manual/threads.texi (Non-POSIX Extensions): New document
6942 node. Document pthread_getattr_default_np and
6943 pthread_setattr_default_np.
6944
61dd6208
SP
6945 * Versions.def (libpthread): Add GLIBC_2.18.
6946 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6948 Likewise.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6950 Likewise.
6951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6952 Likewise.
6953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6954 Likewise.
6955 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6956 Likewise.
6957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6958 Likewise.
6959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6960 Likewise.
6961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6962 Likewise.
6963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6964 Likewise.
6965
d086fc7b
LD
69662013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6967
6968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6969 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6970
747ef469
SP
69712013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6972 H.J. Lu <hjl.tools@gmail.com>
6973
6974 [BZ #15627]
6975 * sysdeps/x86_64/rtld-memset.c: Remove file.
6976 * sysdeps/x86_64/rtld-memset.S: New file.
6977
1b2feed2
JM
69782013-06-14 Joseph Myers <joseph@codesourcery.com>
6979
6980 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6981 (test_in_one_mode): Take arguments for whether the rounding mode
6982 is supported for each floating-point type.
6983 (do_test): Pass new arguments to test_in_one_mode using
6984 ROUNDING_TESTS.
6985
a58ad3f8
RM
69862013-06-13 Roland McGrath <roland@hack.frob.com>
6987
6988 * posix/tst-waitid.c (do_test): Distinguish different instances of
6989 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6990 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6991 before entering the kernel for waitpid.
6992
c204ab28
SP
69932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6994
6995 * NEWS: Fix note on clock function precision. Text by Roland
6996 McGrath.
6997
f4a29fba
RM
69982013-06-13 Roland McGrath <roland@hack.frob.com>
6999
7000 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7001 it into place only when and if the sanity check passes.
7002
1f24b9ad
JM
70032013-06-13 Joseph Myers <joseph@codesourcery.com>
7004
7005 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7006 output for whether conversion result is exact. Take argument
7007 indicating whether type is IBM long double.
7008 (round_for_all): Change need_exact field to ibm_ld.
7009 * stdlib/tst-strtod-round.c (struct exactness): New type.
7010 (struct test): Change bool ld_ok field to struct exactness exact.
7011 (TEST): Update all definitions for change to field.
7012 (tests): Regenerate array contents.
7013 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7014 field value. Check for IBM long double here.
7015 (do_test): Update calls to test_in_one_mode.
7016
58206c68
SP
70172013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7018
7019 [BZ #12515]
7020 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7021 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7022
2d6f4c5b 70232013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7024
7025 [BZ #15605]
7026 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7027 generated by the compiler on loop optimizations.
7028 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7029 general definitions.
7030
94f2c076
JM
70312013-06-12 Joseph Myers <joseph@codesourcery.com>
7032
7033 * math/bug-nextafter.c: Include <math-tests.h>.
7034 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7035 the relevant type.
7036 * math/bug-nexttoward.c: Include <math-tests.h>.
7037 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7038 the relevant type.
7039 * math/test-misc.c: Include <math-tests.h>.
7040 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7041 the relevant type.
7042
e0e50a0a
AJ
70432013-06-12 Andreas Jaeger <aj@suse.de>
7044
7045 * po/ia.po: Update Interlingua translation from translation
7046 project.
7047
25061094
SP
70482013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7049
7050 * include/fenv.h: Include stdbool.h.
7051 (struct rm_ctx): New structure.
7052 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7053 Define macro.
7054 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7055 (SET_RESTORE_ROUNDF): Likewise.
7056 (SET_RESTORE_ROUNDL): Likewise.
7057 (SET_RESTORE_ROUND_NOEX): Likewise.
7058 (SET_RESTORE_ROUND_NOEXF): Likewise.
7059 (SET_RESTORE_ROUND_NOEXL): Likewise.
7060 (SET_RESTORE_ROUND_53BIT): Likewise.
7061 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7062 (libc_feresetround_noexf_ctx): Likewise.
7063 (libc_feresetround_noexl_ctx): Likewise.
7064 (libc_feholdsetround_53bit_ctx): Likewise.
7065 (libc_feresetround_53bit_ctx): Likewise.
7066 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7067 (libc_feholdexcept_setround_sse_ctx): New function.
7068 (libc_fesetenv_sse_ctx): Likewise.
7069 (libc_feupdateenv_sse_ctx): Likewise.
7070 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7071 (libc_feholdexcept_setround_387_ctx): Likewise.
7072 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7073 (libc_feholdsetround_387_prec_ctx): Likewise.
7074 (libc_feholdsetround_387_ctx): Likewise.
7075 (libc_feholdsetround_387_53bit_ctx): Likewise.
7076 (libc_feholdsetround_sse_ctx): Likewise.
7077 (libc_feresetround_sse_ctx): Likewise.
7078 (libc_feresetround_387_ctx): Likewise.
7079 (libc_feupdateenv_387_ctx): Likewise.
7080 (libc_feholdexcept_setroundf_ctx): Define macro.
7081 (libc_fesetenvf_ctx): Likewise.
7082 (libc_feupdateenvf_ctx): Likewise.
7083 (libc_feholdsetroundf_ctx): Likewise.
7084 (libc_feresetroundf_ctx): Likewise.
7085 (libc_feholdexcept_setround_ctx): Likewise.
7086 (libc_fesetenv_ctx): Likewise.
7087 (libc_feupdateenv_ctx): Likewise.
7088 (libc_feholdsetround_ctx): Likewise.
7089 (libc_feresetround_ctx): Likewise.
7090 (libc_feholdexcept_setroundl_ctx): Likewise.
7091 (libc_feupdateenvl_ctx): Likewise.
7092 (libc_feholdsetroundl_ctx): Likewise.
7093 (libc_feresetroundl_ctx): Likewise.
7094 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7095 (libc_feresetround_53bit_ctx): Likewise.
7096
59b30555
SP
70972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7098
7099 * locale/iso-639.def: Convert to UTF-8.
7100
f1d73d30
JM
71012013-06-11 Joseph Myers <joseph@codesourcery.com>
7102
7103 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7104 (EXCEPTION_TESTS_double): Likewise.
7105 (EXCEPTION_TESTS_long_double): Likewise.
7106 (EXCEPTION_TESTS): Likewise.
7107 * math/libm-test.inc (test_exceptions): Only test exceptions if
7108 EXCEPTION_TESTS (FLOAT).
7109
94aca5e7
SP
71102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7111
7112 * benchtests/Makefile (string-bench): Add strcpy_chk and
7113 stpcpy_chk.
7114 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7115 * benchtests/bench-stpcpy_chk.c: New file.
7116 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7117 * benchtests/bench-strcpy_chk.c: New file.
7118 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7119 code.
7120 (do_test): Likewise.
7121
fac0c5f2
RA
71222013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7123
7124 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7125 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7126 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7127 with tabs where appropriate.
7128 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7129 dl-procinfo.h.
7130 [PPC_PLATFORM_PPC440]: Likewise.
7131 [PPC_PLATFORM_PPC464]: Likewise.
7132 [PPC_PLATFORM_PPC476]: Likewise.
7133 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7134 ppc464, and ppc476 platform strings merging from ports/
7135 dl-procinfo.h.
7136
f22bc486
AS
71372013-06-11 Andreas Schwab <schwab@suse.de>
7138
7139 [BZ #14991]
7140 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7141 (from_ucs4_idx): Regenerate.
7142 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7143 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7144 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7145 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7146 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7147 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7148 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7149 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7150 from FROM_LOOP and TO_LOOP specific macros.
7151 (BODY): Handle combining characters.
7152 * iconvdata/BIG5HKSCS.irreversible: Update.
7153 * iconvdata/BIG5HKSCS.precomposed: New file.
7154 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7155 characters.
7156 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7157
c1f75dc3
SP
71582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7159
4eacded2
SP
7160 * include/sys/time.h: Fix indentation and add copyright header.
7161
fec799f8
SP
7162 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7163 (do_test): Likewise.
7164 * string/test-memchr.c (do_one_test): Likewise.
7165 (do_test): Likewise.
7166 * string/test-memcmp.c (do_one_test): Likewise.
7167 (do_test): Likewise.
7168 * string/test-memcpy.c (do_one_test): Likewise.
7169 (do_test): Likewise.
7170 * string/test-memmem.c (do_one_test): Likewise.
7171 (do_test): Likewise.
7172 (do_random_tests): Likewise.
7173 * string/test-memmove.c (do_one_test): Likewise.
7174 (do_test): Likewise.
7175 * string/test-memset.c (do_one_test): Likewise.
7176 (do_test): Likewise.
7177 * string/test-rawmemchr.c (do_one_test): Likewise.
7178 (do_test): Likewise.
7179 * string/test-strcasecmp.c (do_one_test): Likewise.
7180 (do_test): Likewise.
7181 * string/test-strcasestr.c (do_one_test): Likewise.
7182 (do_test): Likewise.
7183 * string/test-strcat.c (do_one_test): Likewise.
7184 (do_test): Likewise.
7185 * string/test-strchr.c (do_one_test): Likewise.
7186 (do_test): Likewise.
7187 * string/test-strcmp.c (do_one_test): Likewise.
7188 (do_test): Likewise.
7189 * string/test-strcpy.c (do_one_test): Likewise.
7190 (do_test): Likewise.
7191 * string/test-string.h: Likewise.
7192 (test_init): Likewise.
7193 * string/test-strlen.c (do_one_test): Likewise.
7194 (do_test): Likewise.
7195 * string/test-strncasecmp.c (do_one_test): Likewise.
7196 (do_test): Likewise.
7197 * string/test-strncat.c (do_one_test): Likewise.
7198 (do_test): Likewise.
7199 * string/test-strncmp.c (do_one_test): Likewise.
7200 (do_test_limit): Likewise.
7201 (do_test): Likewise.
7202 * string/test-strncpy.c (do_one_test): Likewise.
7203 (do_test): Likewise.
7204 * string/test-strnlen.c (do_one_test): Likewise.
7205 (do_test): Likewise.
7206 * string/test-strpbrk.c (do_one_test): Likewise.
7207 (do_test): Likewise.
7208 * string/test-strrchr.c (do_one_test): Likewise.
7209 (do_test): Likewise.
7210 * string/test-strspn.c (do_one_test): Likewise.
7211 (do_test): Likewise.
7212 * string/test-strstr.c (do_one_test): Likewise.
7213 (do_test): Likewise.
7214
97020474
SP
7215 * benchtests/Makefile (string-bench): Add string benchmarks.
7216 * benchtests/bench-bcopy-ifunc.c: New file.
7217 * benchtests/bench-bcopy.c: New file.
7218 * benchtests/bench-bzero-ifunc.c: New file.
7219 * benchtests/bench-bzero.c: New file.
7220 * benchtests/bench-memccpy-ifunc.c: New file.
7221 * benchtests/bench-memccpy.c: New file.
7222 * benchtests/bench-memchr-ifunc.c: New file.
7223 * benchtests/bench-memchr.c: New file.
7224 * benchtests/bench-memcmp-ifunc.c: New file.
7225 * benchtests/bench-memcmp.c: New file.
7226 * benchtests/bench-memmem-ifunc.c: New file.
7227 * benchtests/bench-memmem.c: New file.
7228 * benchtests/bench-memmove-ifunc.c: New file.
7229 * benchtests/bench-memmove.c: New file.
7230 * benchtests/bench-mempcpy-ifunc.c: New file.
7231 * benchtests/bench-mempcpy.c: New file.
7232 * benchtests/bench-memset-ifunc.c: New file.
7233 * benchtests/bench-memset.c: New file.
7234 * benchtests/bench-rawmemchr-ifunc.c: New file.
7235 * benchtests/bench-rawmemchr.c: New file.
7236 * benchtests/bench-stpcpy-ifunc.c: New file.
7237 * benchtests/bench-stpcpy.c: New file.
7238 * benchtests/bench-stpncpy-ifunc.c: New file.
7239 * benchtests/bench-stpncpy.c: New file.
7240 * benchtests/bench-strcasecmp-ifunc.c: New file.
7241 * benchtests/bench-strcasecmp.c: New file.
7242 * benchtests/bench-strcasestr-ifunc.c: New file.
7243 * benchtests/bench-strcasestr.c: New file.
7244 * benchtests/bench-strcat-ifunc.c: New file.
7245 * benchtests/bench-strcat.c: New file.
7246 * benchtests/bench-strchr-ifunc.c: New file.
7247 * benchtests/bench-strchr.c: New file.
7248 * benchtests/bench-strchrnul-ifunc.c: New file.
7249 * benchtests/bench-strchrnul.c: New file.
7250 * benchtests/bench-strcmp-ifunc.c: New file.
7251 * benchtests/bench-strcmp.c: New file.
7252 * benchtests/bench-strcpy-ifunc.c: New file.
7253 * benchtests/bench-strcpy.c: New file.
7254 * benchtests/bench-strcspn-ifunc.c: New file.
7255 * benchtests/bench-strcspn.c: New file.
7256 * benchtests/bench-strlen-ifunc.c: New file.
7257 * benchtests/bench-strlen.c: New file.
7258 * benchtests/bench-strncasecmp-ifunc.c: New file.
7259 * benchtests/bench-strncasecmp.c: New file.
7260 * benchtests/bench-strncat-ifunc.c: New file.
7261 * benchtests/bench-strncat.c: New file.
7262 * benchtests/bench-strncmp-ifunc.c: New file.
7263 * benchtests/bench-strncmp.c: New file.
7264 * benchtests/bench-strncpy-ifunc.c: New file.
7265 * benchtests/bench-strncpy.c: New file.
7266 * benchtests/bench-strnlen-ifunc.c: New file.
7267 * benchtests/bench-strnlen.c: New file.
7268 * benchtests/bench-strpbrk-ifunc.c: New file.
7269 * benchtests/bench-strpbrk.c: New file.
7270 * benchtests/bench-strrchr-ifunc.c: New file.
7271 * benchtests/bench-strrchr.c: New file.
7272 * benchtests/bench-strspn-ifunc.c: New file.
7273 * benchtests/bench-strspn.c: New file.
7274 * benchtests/bench-strstr-ifunc.c: New file.
7275 * benchtests/bench-strstr.c: New file.
7276
c1f75dc3
SP
7277 * benchtests/Makefile: Disable parallel execution of targets.
7278 (string-bench): Add memcpy.
7279 (benchset): New variable to store a list of benchmark sets.
7280 (bench-func): Renamed from bench.
7281 (bench-set): New target.
7282 (bench): Depend on bench-func and bench-set.
7283 * benchtests/README: Add section on benchmark sets.
7284 * benchtests/bench-memcpy-ifunc.c: New file.
7285 * benchtests/bench-memcpy.c: New file.
7286 * benchtests/bench-string.h: New file.
7287
50fd745b
AS
72882013-06-11 Andreas Schwab <schwab@suse.de>
7289
7290 [BZ #15577]
7291 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7292 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7293 values in the triple.
7294 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7295 terminator in the group key.
7296
3ee7e9fe
AJ
72972013-06-11 Andreas Jaeger <aj@suse.de>
7298
7299 * po/zh_TW.po: Update Chinese (traditional) translation from
7300 translation project.
7301
89fb6835
SP
73022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7303
7304 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7305 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7306 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7308 (clock_getcpuclockid): Likewise.
7309 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7310 Add weak_alias and libc_hidden_def.
7311 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7312 * rt/clock_gettime.c (clock_gettime): Rename to
7313 __clock_gettime. Add weak_alias and libc_hidden_def.
7314 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7315 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7316 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7317 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7318 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7319 Likewise.
7320 * rt/clock_settime.c (clock_settime): Rename to
7321 __clock_settime. Add weak_alias and libc_hidden_def.
7322 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7323
0efa6f8b
JM
73242013-06-10 Joseph Myers <joseph@codesourcery.com>
7325
b8c61b4b
JM
7326 * mach/err_boot.sub: Remove trailing whitespace.
7327 * mach/err_ipc.sub: Likewise.
7328 * mach/err_mach.sub: Likewise.
7329
0efa6f8b
JM
7330 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7331 (ROUNDING_TESTS_double): Likewise.
7332 (ROUNDING_TESTS_long_double): Likewise.
7333 (ROUNDING_TESTS): Likewise.
7334 * math/libm-test.inc: Include <math-tests.h>.
7335 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7336 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7337 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7338 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7339
50b818bf
SP
73402013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7341
7342 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7343 of assigning.
7344
60d2f8f3
JM
73452013-06-08 Joseph Myers <joseph@codesourcery.com>
7346
4902d2c3
JM
7347 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7348 otherwise empty TRANS lines.
7349 * sysdeps/gnu/errlist.c: Regenerated.
7350
60d2f8f3
JM
7351 * catgets/gencat.c (error_print): Use (void) in function
7352 definition.
7353 * crypt/crypt_util.c (__init_des): Likewise.
7354 * crypt/speeds.c (Stop): Likewise.
7355 (main): Likewise.
7356 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7357 * inet/ruserpass.c (token): Likewise.
7358 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7359 * intl/localealias.c (extend_alias_table): Likewise.
7360 * intl/plural-exp.c (init_germanic_plural): Likewise.
7361 * libio/fcloseall.c (__fcloseall): Likewise.
7362 * libio/genops.c (_IO_flush_all): Likewise.
7363 (_IO_flush_all_linebuffered): Likewise.
7364 (_IO_cleanup): Likewise.
7365 (_IO_iter_begin): Likewise.
7366 (_IO_iter_end): Likewise.
7367 (_IO_list_lock): Likewise.
7368 (_IO_list_unlock): Likewise.
7369 (_IO_list_resetlock): Likewise.
7370 * libio/getchar.c (getchar): Likewise.
7371 * libio/getchar_u.c (getchar_unlocked): Likewise.
7372 * libio/getwchar.c (getwchar): Likewise.
7373 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7374 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7375 * login/getpt.c (__getpt): Likewise.
7376 * login/tst-utmp.c (main): Likewise.
7377 * malloc/hooks.c (__malloc_check_init): Likewise.
7378 * malloc/malloc.c (__malloc_stats): Likewise.
7379 * malloc/mtrace.c (tr_break): Likewise.
7380 (mtrace): Likewise.
7381 (muntrace): Likewise.
7382 * misc/fstab.c (endfsent): Likewise.
7383 * misc/getclktck.c (__getclktck): Likewise.
7384 * misc/getdtsz.c (__getdtablesize): Likewise.
7385 * misc/gethostid.c (gethostid): Likewise.
7386 * misc/getpagesize.c (__getpagesize): Likewise.
7387 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7388 (__get_nprocs): Likewise.
7389 (__get_phys_pages): Likewise.
7390 (__get_avphys_pages): Likewise.
7391 * misc/getttyent.c (getttyent): Likewise.
7392 (setttyent): Likewise.
7393 (endttyent): Likewise.
7394 * misc/getusershell.c (getusershell): Likewise.
7395 (endusershell): Likewise.
7396 (setusershell): Likewise.
7397 (initshells): Likewise.
7398 * misc/hsearch.c (__hdestroy): Likewise.
7399 * misc/sync.c (sync): Likewise.
7400 * misc/syslog.c (closelog_internal): Likewise.
7401 (closelog): Likewise.
7402 * misc/ttyslot.c (ttyslot): Likewise.
7403 * misc/vhangup.c (vhangup): Likewise.
7404 * posix/fork.c (__fork): Likewise.
7405 * posix/getegid.c (__getegid): Likewise.
7406 * posix/geteuid.c (__geteuid): Likewise.
7407 * posix/getgid.c (__getgid): Likewise.
7408 * posix/getpid.c (__getpid): Likewise.
7409 * posix/getppid.c (__getppid): Likewise.
7410 * posix/getuid.c (__getuid): Likewise.
7411 * posix/pause.c (pause): Likewise.
7412 * posix/setpgrp.c (setpgrp): Likewise.
7413 * posix/setsid.c (__setsid): Likewise.
7414 * posix/test-vfork.c (noop): Likewise.
7415 * resolv/gethnamaddr.c (_endhtent): Likewise.
7416 (_gethtent): Likewise.
7417 (ht_endhostent): Likewise.
7418 (gethostent): Likewise.
7419 (dns_service): Likewise.
7420 * stdlib/drand48.c (drand48): Likewise.
7421 * stdlib/lrand48.c (lrand48): Likewise.
7422 * stdlib/mrand48.c (mrand48): Likewise.
7423 * stdlib/rand.c (rand): Likewise.
7424 * stdlib/random.c (__random): Likewise.
7425 * stdlib/setenv.c (clearenv): Likewise.
7426 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7427 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7428 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7429 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7430 (__get_nprocs): Likewise.
7431 (__get_phys_pages): Likewise.
7432 (__get_avphys_pages): Likewise.
7433 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7434 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7435 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7436 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7437 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7438 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7439 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7440 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7441 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7442 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7443 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7444 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7445 * sysdeps/posix/clock.c (clock): Likewise.
7446 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7447 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7448 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7449 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7450 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7452 (__get_nprocs_conf): Likewise.
7453 (__get_phys_pages): Likewise.
7454 (__get_avphys_pages): Likewise.
7455 * time/clock.c (clock): Likewise.
7456 * time/tzset.c (__tzname_max): Likewise.
7457
2e09a79a
JM
74582013-06-07 Joseph Myers <joseph@codesourcery.com>
7459
7460 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7461 (__bswap_32): Do not use "register".
7462 * crypt/crypt.c (_ufc_doit_r): Likewise.
7463 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7464 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7465 * gmon/gmon.c (__monstartup): Likewise.
7466 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7467 * hurd/hurdmalloc.c (more_memory): Likewise.
7468 (malloc): Likewise.
7469 (free): Likewise.
7470 (realloc): Likewise.
7471 (malloc_fork_prepare): Likewise.
7472 (malloc_fork_parent): Likewise.
7473 (malloc_fork_child): Likewise.
7474 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7475 (_svcauth_des): Likewise.
7476 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7477 * inet/inet_net.c (inet_network): Likewise.
7478 * inet/inet_netof.c (inet_netof): Likewise.
7479 * inet/rcmd.c (__validuser2_sa): Likewise.
7480 * io/fts.c (fts_open): Likewise.
7481 (fts_load): Likewise.
7482 (fts_close): Likewise.
7483 (fts_read): Likewise.
7484 (fts_children): Likewise.
7485 (fts_build): Likewise.
7486 (fts_stat): Likewise.
7487 (fts_sort): Likewise.
7488 (fts_alloc): Likewise.
7489 (fts_lfree): Likewise.
7490 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7491 (_IO_file_xsgetn): Likewise.
7492 (_IO_file_xsgetn_mmap): Likewise.
7493 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7494 (_IO_cookie_write): Likewise.
7495 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7496 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7497 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7498 * malloc/obstack.c (_obstack_begin): Likewise.
7499 (_obstack_begin_1): Likewise.
7500 (_obstack_newchunk): Likewise.
7501 (_obstack_allocated_p): Likewise.
7502 (obstack_free): Likewise.
7503 (_obstack_memory_used): Likewise.
7504 * misc/getttyent.c (getttynam): Likewise.
7505 (getttyent): Likewise.
7506 (skip): Likewise.
7507 (value): Likewise.
7508 * misc/getusershell.c (initshells): Likewise.
7509 * misc/syslog.c (__vsyslog_chk): Likewise.
7510 * misc/ttyslot.c (ttyslot): Likewise.
7511 * nis/nis_hash.c (__nis_hash): Likewise.
7512 * posix/fnmatch_loop.c (FCT): Likewise.
7513 * posix/getconf.c (print_all): Likewise.
7514 (main): Likewise.
7515 * posix/getopt.c (exchange): Likewise.
7516 * posix/glob.c (globfree): Likewise.
7517 (prefix_array): Likewise.
7518 (__glob_pattern_type): Likewise.
7519 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7520 (NS_GET32): Likewise.
7521 (NS_PUT16): Likewise.
7522 (NS_PUT32): Likewise.
7523 * resolv/gethnamaddr.c (getanswer): Likewise.
7524 (gethostbyname2): Likewise.
7525 (gethostbyaddr): Likewise.
7526 (_gethtent): Likewise.
7527 (_gethtbyname2): Likewise.
7528 (_gethtbyaddr): Likewise.
7529 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7530 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7531 * resolv/res_init.c (__res_vinit): Likewise.
7532 (net_mask): Likewise.
7533 * resolv/res_mkquery.c (outchar): Likewise.
7534 (PRINT): Likewise.
7535 * stdio-common/printf_fp.c (outchar): Likewise.
7536 (PRINT): Likewise.
7537 * stdio-common/printf_fphex.c (outchar): Likewise.
7538 (PRINT): Likewise.
7539 * stdio-common/printf_size.c (outchar): Likewise.
7540 (PRINT): Likewise.
7541 * stdio-common/test_rdwr.c (main): Likewise.
7542 * stdio-common/tfformat.c (matches): Likewise.
7543 * stdio-common/vfprintf.c (outchar): Likewise.
7544 (printf_unknown): Likewise.
7545 (buffered_vfprintf): Likewise.
7546 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7547 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7548 (ReadFile): Likewise.
7549 * stdlib/qsort.c (SWAP): Likewise.
7550 (_quicksort): Likewise.
7551 * stdlib/setenv.c (__add_to_environ): Likewise.
7552 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7553 * stdlib/strtol_l.c (__strtol_l): Likewise.
7554 * stdlib/tst-strtod.c (main): Likewise.
7555 * stdlib/tst-strtol.c (main): Likewise.
7556 * stdlib/tst-strtoll.c (main): Likewise.
7557 * string/bits/string2.h (__strcmp_cc): Likewise.
7558 (__strcmp_cg): Likewise.
7559 (__strcspn_c1): Likewise.
7560 (__strcspn_c2): Likewise.
7561 (__strcspn_c3): Likewise.
7562 (__strspn_c1): Likewise.
7563 (__strspn_c2): Likewise.
7564 (__strspn_c3): Likewise.
7565 (__strsep_1c): Likewise.
7566 (__strsep_2c): Likewise.
7567 (__strsep_3c): Likewise.
7568 * string/memccpy.c (__memccpy): Likewise.
7569 * string/stpcpy.c (__stpcpy): Likewise.
7570 * string/strcmp.c (strcmp): Likewise.
7571 * string/strrchr.c (strrchr): Likewise.
7572 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7573 Likewise.
7574 * sysdeps/mach/hurd/getcwd.c
7575 (_hurd_canonicalize_directory_name_internal): Likewise.
7576 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7577 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7578 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7579 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7580 Likewise, in both definitions.
7581 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7582 definitions.
7583 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7584 64] (__bswap_64): Likewise.
7585 * time/test_time.c (main): Likewise.
7586 * time/tzfile.c (__tzfile_read): Likewise.
7587 (__tzfile_compute): Likewise.
7588 * time/tzset.c (__tzset_parse_tz): Likewise.
7589 (tzset_internal): Likewise.
7590 (compute_change): Likewise.
7591 * wcsmbs/wcscat.c (__wcscat): Likewise.
7592 * wcsmbs/wcschr.c (wcschr): Likewise.
7593 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7594 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7595 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7596 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7597 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7598 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7599 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7600 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7601 * wcsmbs/wmemset.c (wmemset): Likewise.
7602
9e54314b
JM
76032013-06-06 Joseph Myers <joseph@codesourcery.com>
7604
7605 * scripts/config.guess: Update to version 2013-05-16.
7606 * scripts/config.sub: Update to version 2013-04-24.
7607 * scripts/install-sh: Update to version 2011-11-20.07.
7608 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7609 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7610
350635a5
OB
76112013-06-06 Ondřej Bílka <neleai@seznam.cz>
7612
7613 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7614 * elf/sln.c: Likewise.
7615 * hurd/hurd/ioctl.h: Likewise.
7616 * hurd/hurdmalloc.c: Likewise.
7617 * hurd/xattr.c: Likewise.
7618 * include/shlib-compat.h: Likewise.
7619 * inet/ruserpass.c: Likewise.
7620 * libio/iofgets_u.c: Likewise.
7621 * libio/iofgetws_u.c: Likewise.
7622 * locale/programs/ld-identification.c: Likewise.
7623 * locale/programs/ld-time.c: Likewise.
7624 * mach/msg-destroy.c: Likewise.
7625 * nss/nss_files/files-netgrp.c: Likewise.
7626 * resolv/res_data.c: Likewise.
7627 * soft-fp/op-1.h: Likewise.
7628 * soft-fp/op-2.h: Likewise.
7629 * soft-fp/op-4.h: Likewise.
7630 * soft-fp/op-common.h: Likewise.
7631 * stdio-common/printf_fphex.c: Likewise.
7632 * stdlib/strtod_l.c: Likewise.
7633 * sunrpc/rpc/clnt.h: Likewise.
7634 * sysdeps/generic/framestate.c: Likewise.
7635 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7636 * sysdeps/i386/bsd-setjmp.S: Likewise.
7637 * sysdeps/i386/__longjmp.S: Likewise.
7638 * sysdeps/i386/setjmp.S: Likewise.
7639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7640 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7649 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7655 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7656 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7657 * sysdeps/ieee754/support.c: Likewise.
7658 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7659 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7660 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7661 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7662 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7663 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7664 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7665 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7666 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7667 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7668 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7669 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7670 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7671 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7672 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7673 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7674 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7676
44a988af
OB
76772013-06-05 Ondřej Bílka <neleai@seznam.cz>
7678
25506f09 7679 * posix/transbug.c: Remove executable mode.
44a988af 7680
9c84384c
JM
76812013-06-05 Joseph Myers <joseph@codesourcery.com>
7682
7683 * crypt/speeds.c: Remove trailing whitespace.
7684 * dlfcn/default.c: Likewise.
7685 * elf/ifuncdep2.c: Likewise.
7686 * elf/ifuncmain1.c: Likewise.
7687 * elf/ifuncmain1vis.c: Likewise.
7688 * elf/testobj.h: Likewise.
7689 * elf/tst-stackguard1.c: Likewise.
7690 * gmon/sys/gmon.h: Likewise.
7691 * hurd/hurdmsg.c: Likewise.
7692 * hurd/new-fd.c: Likewise.
7693 * hurd/ports-get.c: Likewise.
7694 * iconvdata/ibm1008_420.c: Likewise.
7695 * inet/tst-getni1.c: Likewise.
7696 * inet/tst-getni2.c: Likewise.
7697 * libio/ioungetc.c: Likewise.
7698 * libio/wfiledoalloc.c: Likewise.
7699 * manual/libm-err-tab.pl: Likewise.
7700 * math/w_dremf.c: Likewise.
7701 * misc/ftruncate.c: Likewise.
7702 * posix/bug-glob2.c: Likewise.
7703 * posix/tst-pcre.c: Likewise.
7704 * posix/wait4.c: Likewise.
7705 * resolv/README: Likewise.
7706 * resolv/res_debug.h: Likewise.
7707 * resolv/tst-inet_ntop.c: Likewise.
7708 * setjmp/bug269-setjmp.c: Likewise.
7709 * soft-fp/extended.h: Likewise.
7710 * soft-fp/op-1.h: Likewise.
7711 * soft-fp/op-2.h: Likewise.
7712 * soft-fp/op-4.h: Likewise.
7713 * soft-fp/op-8.h: Likewise.
7714 * soft-fp/testit.c: Likewise.
7715 * stdio-common/bug16.c: Likewise.
7716 * stdlib/random.c: Likewise.
7717 * sunrpc/rpcsvc/rquota.x: Likewise.
7718 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7719 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7720 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7721 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7722 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7723 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7724 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7725 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7726 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7727 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7728 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7746 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7747 * sysdeps/ieee754/s_lib_version.c: Likewise.
7748 * sysdeps/mach/hurd/check_fds.c: Likewise.
7749 * sysdeps/mach/hurd/getsockname.c: Likewise.
7750 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7751 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7752 * sysdeps/powerpc/bits/link.h: Likewise.
7753 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7754 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7755 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7756 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7757 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7758 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7759 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7760 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7761 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7762 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7763 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7764 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7765 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7766 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7767 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7768 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7769 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7771 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7772 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7773 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7774 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7775 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7776 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7777 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7778 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7779 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7780 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7781 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7783 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7784 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7785 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7786 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7787 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7788 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7789 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7790 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7791 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7792 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7793 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7794 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7795 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7796 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7797 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7798 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7799 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7800 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7801 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7802 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7804 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7805 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7806 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7807 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7808 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7809 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7810 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7812 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7813 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7814 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7815 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7816 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7817 * sysdeps/powerpc/sysdep.h: Likewise.
7818 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7819 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7820 * sysdeps/sh/dl-trampoline.S: Likewise.
7821 * sysdeps/sh/memset.S: Likewise.
7822 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7823 * sysdeps/sh/strlen.S: Likewise.
7824 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7825 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7826 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7827 * sysdeps/sparc/sparc32/rem.S: Likewise.
7828 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7829 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7830 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7831 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7832 * sysdeps/sparc/sparc32/urem.S: Likewise.
7833 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7834 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7835 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7836 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7837 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7838 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7839 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7840 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7841 * sysdeps/unix/bsd/times.c: Likewise.
7842 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7843 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7847 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7848 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7849 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7850 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7851 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7852 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7853 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7854 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7855 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7856 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7857 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7858 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7859 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7860 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7861 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7862 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7863 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7864 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7865 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7866 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7867 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7868 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7869 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7870 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7871 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7872 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7873 * sysdeps/x86_64/strcspn.S: Likewise.
7874
869378a5
RA
78752013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7876
7877 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7878 generated file. Regenerate properly from gen-translit.pl.
7879 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7880 locale/C-translit.h.
7881
840e2943
AS
78822013-06-05 Andreas Schwab <schwab@suse.de>
7883
7884 [BZ #15100]
7885 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7886 week as 6 instead of -1.
7887 * time/tst-strptime.c (day_tests): Add test case.
7888
4c60cb0c
SP
78892013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7890
7891 * sysdeps/generic/math_private.h
7892 (libc_feholdexcept_setround_53bit): Replace with
7893 libc_feholdsetround_53bit.
7894 (libc_feupdateenv_53bit): Replace with
7895 libc_feresetround_53bit.
7896 (SET_RESTORE_ROUND_53BIT): Adjust.
7897
d180203e
SP
78982013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7899
96df079a
SP
7900 * string/test-strchrnul.c: Add copyright header.
7901
d180203e
SP
7902 * posix/tst-getaddrinfo4.c: Increase test timeout.
7903
8b0ccb2d
CD
79042013-06-03 Carlos O'Donell <carlos@redhat.com>
7905
7906 [BZ #15536]
7907 * math/libm-test.inc (MAX_EXP): Remove
7908 (MIN_EXP): Define.
7909 (ulp): Use MIN_EXP - MANT_DIG.
7910 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7911
3b3c4d40
CD
79122013-05-31 Carlos O'Donell <carlos@redhat.com>
7913
7914 * po/be.po: Revert last change.
7915 * po/zh_CN.po: Likewise.
7916 * po/header.pot: Likewise.
7917
fab7ce3f
JM
79182013-05-31 Joseph Myers <joseph@codesourcery.com>
7919
7920 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7921 link-libc-deps to empty as target-specific variable.
7922 * Makerules (link-libc-args): New variable.
7923 (libc-for-link): Likewise.
7924 (link-libc-deps): Likewise.
7925 (lib%.so): Depend on $(link-libc-deps). Link with
7926 $(link-libc-args).
7927 (build-module): Link with $(link-libc-args).
7928 (build-module-asneeded): Likewise.
7929 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7930 list of objects.
7931 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7932 target-specific variable.
7933 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7934 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7935 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7936 libc.
7937 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7938 libc and ld.so.
7939 ($(objpfx)libpcprofile.so): Likewise.
7940 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7941 libc_nonshared.a.
7942 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7943 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7944 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7945 $(link-libc-deps).
7946 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7947 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7948 * login/Makefile ($(objpfx)libutil.so): Likewise.
7949 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7950 * math/Makefile ($(objpfx)libm.so): Likewise.
7951 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7952 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7953 variable instead of depending directly on libc.
7954 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7955 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7956 $(link-libc-deps).
7957 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7958 libc.
7959 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7960 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7961 ($(objpfx)libanl.so): Likewise.
7962 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7963 ld.so.
7964 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7965 $(link-libc-deps).
7966 * sysdeps/i386/fpu/Makefile: Remove file.
7967 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7968 ($(objpfx)libm.so): Remove dependency on ld.so.
7969
eca5920c
PF
79702013-05-30 Patsy Franklin <pfrankli@redhat.com>
7971
7972 [BZ # 15553]
7973 * nis/yp_xdr.c (XDRMAXNAME): Define.
7974 (XDRMAXRECORD): Define.
7975 (xdr_domainname): Use XDRMAXNAME.
7976 (xdr_mapname): Likewise.
7977 (xdr_peername): Likewise.
7978 (xdr_keydat): Use XDRMAXRECORD.
7979 (xdr_valdat): Likewise.
7980
79812013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7982
7983 [BZ #14256]
7984 * manual/errno.texi (ESTALE): Update to account for more than
7985 just NFS file systems.
7986 * sysdeps/gnu/errlist.c: Regenerated.
7987
b9375348
SP
79882013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7989
7990 [BZ #15465]
7991 * elf/Makefile (tests): Add tst-null-argv.
7992 (modules-names): Add tst-null-argv-lib.
7993 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7994 (tst-null-argv-ENV): Set environment for tst-null-argv.
7995 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7996 (RTLD_PROGNAME): New macro.
7997 * elf/tst-null-argv.c: New test case.
7998 * elf/tst-null-argv-lib.c: Library for test case.
7999 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8000 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8001 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8002 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8003 * elf/dl-init.c (call_init): Likewise.
8004 (_dl_init): Likewise.
8005 * elf/dl-load.c (print_search_path): Likewise.
8006 (_dl_map_object): Likewise.
8007 * elf/dl-lookup.c (do_lookup_x): Likewise.
8008 (add_dependency): Likewise.
8009 (_dl_lookup_symbol_x): Likewise.
8010 (_dl_debug_bindings): Likewise.
8011 * elf/dl-open.c (_dl_show_scope): Likewise.
8012 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8013 * elf/dl-version.c (match_symbol): Likewise.
8014 (_dl_check_map_versions): Likewise.
8015 * elf/rtld.c (dl_main): Likewise.
8016 (print_unresolved): Use RTLD_PROGNAME.
8017 (print_missing_version): Likewise.
8018 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8019 (elf_machine_rela): Likewise.
8020 * sysdeps/powerpc/powerpc32/dl-machine.c
8021 (__process_machine_rela): Likewise.
8022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8023 Likewise.
8024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8025 Likewise.
8026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8027 Likewise.
8028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8029 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8030 Likewise.
8031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8032 Likewise.
8033 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8034
8a9f20c8
CD
80352013-05-28 Carlos O'Donell <carlos@redhat.com>
8036
8037 * po/be.po: Add descriptive title.
8038 * po/zh_CN.po: Likewise.
8039 * po/header.pot: Likewise.
8040
0e60d68e
MF
80412013-05-28 Mike Frysinger <vapier@gentoo.org>
8042
8043 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8044 error message.
8045 (enlarge_archive): Likewise.
8046
56b672e9
BN
80472013-05-28 Ben North <ben@redfrontdoor.org>
8048
8049 * manual/arith.texi (frexp): It is the magnitude of the return
8050 value which lies in [0.5, 1), not the return value itself.
8051
5e056687
AZ
80522013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8053
8054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8055
2b66ef5d
TS
80562013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8057
528c2405
TS
8058 * stdio-common/bug26.c (main): Correct fscanf template.
8059
07b4c13d
TS
8060 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8061 declare _dl_skip_args.
8062
ec9dd97c
TS
8063 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8064 Don't declare.
8065
2b66ef5d
TS
8066 * manual/platform.texi: Add missing @end deftypefun.
8067
4f8dfe27
JM
80682013-05-24 Joseph Myers <joseph@codesourcery.com>
8069
0323d086
JM
8070 [BZ #15529]
8071 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8072 bit of mantissa of 2^16382.
8073 * math/libm-test.inc (hypot_test_data): Add more tests.
8074
dd4259b9
JM
8075 * math/libm-test.inc: Add drem and pow10 to list of tested
8076 functions.
8077 (pow10_test): New function.
8078 (drem_test): Likewise.
8079 (drem_test_tonearest): Likewise.
8080 (drem_test_towardzero): Likewise.
8081 (drem_test_downward): Likewise.
8082 (drem_test_upward): Likewise.
8083 (main): Call the new functions.
8084
4f8dfe27
JM
8085 * math/libm-test.inc (finite_test_data): Remove.
8086 (finite_test): Run tests from isfinite_test_data.
8087 (gamma_test_data): Remove.
8088 (gamma_test): Run tests from lgamma_test_data.
8089 * sysdeps/i386/fpu/libm-test-ulps: Update.
8090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8091
d116b7c4
AZ
80922013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8093
8094 * manual/platform.texi: Add PowerPC PPR function set documentation.
8095 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8096 implementation.
8097
e96e3767
CD
80982013-05-24 Carlos O'Donell <carlos@redhat.com>
8099
8100 * math/libm-test.inc (MAX_EXP): Define.
8101 (ULPDIFF): Define.
8102 (ulp): New function.
8103 (check_float_internal): Use ULPDIFF.
8104 (cpow_test): Disable failing test.
8105 (check_ulp): Test ulp() implemetnation.
8106 (main): Call check_ulp before starting tests.
8107
b679a606
JM
81082013-05-24 Joseph Myers <joseph@codesourcery.com>
8109
e8bdba36
JM
8110 * math/gen-libm-test.pl (generate_testfile): Do not handle
8111 START_DATA and END_DATA.
8112 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8113 END_DATA.
8114 (acos_tonearest_test_data): Likewise.
8115 (acos_towardzero_test_data): Likewise.
8116 (acos_downward_test_data): Likewise.
8117 (acos_upward_test_data): Likewise.
8118 (acosh_test_data): Likewise.
8119 (asin_test_data): Likewise.
8120 (asin_tonearest_test_data): Likewise.
8121 (asin_towardzero_test_data): Likewise.
8122 (asin_downward_test_data): Likewise.
8123 (asin_upward_test_data): Likewise.
8124 (asinh_test_data): Likewise.
8125 (atan_test_data): Likewise.
8126 (atanh_test_data): Likewise.
8127 (atan2_test_data): Likewise.
8128 (cabs_test_data): Likewise.
8129 (cacos_test_data): Likewise.
8130 (cacosh_test_data): Likewise.
8131 (carg_test_data): Likewise.
8132 (casin_test_data): Likewise.
8133 (casinh_test_data): Likewise.
8134 (catan_test_data): Likewise.
8135 (catanh_test_data): Likewise.
8136 (cbrt_test_data): Likewise.
8137 (ccos_test_data): Likewise.
8138 (ccosh_test_data): Likewise.
8139 (ceil_test_data): Likewise.
8140 (cexp_test_data): Likewise.
8141 (cimag_test_data): Likewise.
8142 (clog_test_data): Likewise.
8143 (clog10_test_data): Likewise.
8144 (conj_test_data): Likewise.
8145 (copysign_test_data): Likewise.
8146 (cos_test_data): Likewise.
8147 (cos_tonearest_test_data): Likewise.
8148 (cos_towardzero_test_data): Likewise.
8149 (cos_downward_test_data): Likewise.
8150 (cos_upward_test_data): Likewise.
8151 (cosh_test_data): Likewise.
8152 (cosh_tonearest_test_data): Likewise.
8153 (cosh_towardzero_test_data): Likewise.
8154 (cosh_downward_test_data): Likewise.
8155 (cosh_upward_test_data): Likewise.
8156 (cpow_test_data): Likewise.
8157 (cproj_test_data): Likewise.
8158 (creal_test_data): Likewise.
8159 (csin_test_data): Likewise.
8160 (csinh_test_data): Likewise.
8161 (csqrt_test_data): Likewise.
8162 (ctan_test_data): Likewise.
8163 (ctan_tonearest_test_data): Likewise.
8164 (ctan_towardzero_test_data): Likewise.
8165 (ctan_downward_test_data): Likewise.
8166 (ctan_upward_test_data): Likewise.
8167 (ctanh_test_data): Likewise.
8168 (ctanh_tonearest_test_data): Likewise.
8169 (ctanh_towardzero_test_data): Likewise.
8170 (ctanh_downward_test_data): Likewise.
8171 (ctanh_upward_test_data): Likewise.
8172 (erf_test_data): Likewise.
8173 (erfc_test_data): Likewise.
8174 (exp_test_data): Likewise.
8175 (exp_tonearest_test_data): Likewise.
8176 (exp_towardzero_test_data): Likewise.
8177 (exp_downward_test_data): Likewise.
8178 (exp_upward_test_data): Likewise.
8179 (exp10_test_data): Likewise.
8180 (exp2_test_data): Likewise.
8181 (expm1_test_data): Likewise.
8182 (fabs_test_data): Likewise.
8183 (fdim_test_data): Likewise.
8184 (finite_test_data): Likewise.
8185 (floor_test_data): Likewise.
8186 (fma_test_data): Likewise.
8187 (fma_towardzero_test_data): Likewise.
8188 (fma_downward_test_data): Likewise.
8189 (fma_upward_test_data): Likewise.
8190 (fmax_test_data): Likewise.
8191 (fmin_test_data): Likewise.
8192 (fmod_test_data): Likewise.
8193 (fpclassify_test_data): Likewise.
8194 (frexp_test_data): Likewise.
8195 (gamma_test_data): Likewise.
8196 (hypot_test_data): Likewise.
8197 (ilogb_test_data): Likewise.
8198 (isfinite_test_data): Likewise.
8199 (isgreater_test_data): Likewise.
8200 (isgreaterequal_test_data): Likewise.
8201 (isinf_test_data): Likewise.
8202 (isless_test_data): Likewise.
8203 (islessequal_test_data): Likewise.
8204 (islessgreater_test_data): Likewise.
8205 (isnan_test_data): Likewise.
8206 (isnormal_test_data): Likewise.
8207 (issignaling_test_data): Likewise.
8208 (isunordered_test_data): Likewise.
8209 (j0_test_data): Likewise.
8210 (j1_test_data): Likewise.
8211 (jn_test_data): Likewise.
8212 (ldexp_test_data): Likewise.
8213 (lgamma_test_data): Likewise.
8214 (lrint_test_data): Likewise.
8215 (lrint_tonearest_test_data): Likewise.
8216 (lrint_towardzero_test_data): Likewise.
8217 (lrint_downward_test_data): Likewise.
8218 (lrint_upward_test_data): Likewise.
8219 (llrint_test_data): Likewise.
8220 (llrint_tonearest_test_data): Likewise.
8221 (llrint_towardzero_test_data): Likewise.
8222 (llrint_downward_test_data): Likewise.
8223 (llrint_upward_test_data): Likewise.
8224 (log_test_data): Likewise.
8225 (log10_test_data): Likewise.
8226 (log1p_test_data): Likewise.
8227 (log2_test_data): Likewise.
8228 (logb_test_data): Likewise.
8229 (logb_downward_test_data): Likewise.
8230 (lround_test_data): Likewise.
8231 (llround_test_data): Likewise.
8232 (modf_test_data): Likewise.
8233 (nearbyint_test_data): Likewise.
8234 (nextafter_test_data): Likewise.
8235 (nexttoward_test_data): Likewise.
8236 (pow_test_data): Likewise.
8237 (pow_tonearest_test_data): Likewise.
8238 (pow_towardzero_test_data): Likewise.
8239 (pow_downward_test_data): Likewise.
8240 (pow_upward_test_data): Likewise.
8241 (remainder_test_data): Likewise.
8242 (remainder_tonearest_test_data): Likewise.
8243 (remainder_towardzero_test_data): Likewise.
8244 (remainder_downward_test_data): Likewise.
8245 (remainder_upward_test_data): Likewise.
8246 (remquo_test_data): Likewise.
8247 (rint_test_data): Likewise.
8248 (rint_tonearest_test_data): Likewise.
8249 (rint_towardzero_test_data): Likewise.
8250 (rint_downward_test_data): Likewise.
8251 (rint_upward_test_data): Likewise.
8252 (round_test_data): Likewise.
8253 (scalb_test_data): Likewise.
8254 (scalbn_test_data): Likewise.
8255 (scalbln_test_data): Likewise.
8256 (signbit_test_data): Likewise.
8257 (sin_test_data): Likewise.
8258 (sin_tonearest_test_data): Likewise.
8259 (sin_towardzero_test_data): Likewise.
8260 (sin_downward_test_data): Likewise.
8261 (sin_upward_test_data): Likewise.
8262 (sincos_test_data): Likewise.
8263 (sinh_test_data): Likewise.
8264 (sinh_tonearest_test_data): Likewise.
8265 (sinh_towardzero_test_data): Likewise.
8266 (sinh_downward_test_data): Likewise.
8267 (sinh_upward_test_data): Likewise.
8268 (sqrt_test_data): Likewise.
8269 (tan_test_data): Likewise.
8270 (tan_tonearest_test_data): Likewise.
8271 (tan_towardzero_test_data): Likewise.
8272 (tan_downward_test_data): Likewise.
8273 (tan_upward_test_data): Likewise.
8274 (tanh_test_data): Likewise.
8275 (tgamma_test_data): Likewise.
8276 (trunc_test_data): Likewise.
8277 (y0_test_data): Likewise.
8278 (y1_test_data): Likewise.
8279 (yn_test_data): Likewise.
8280 (significand_test_data): Likewise.
8281
b679a606
JM
8282 * math/gen-libm-test.pl (@functions): Remove variable.
8283 (generate_testfile): Don't handle START and END lines.
8284 * math/libm-test.inc (START): New macro.
8285 (END): Likewise.
8286 (END_COMPLEX): Likewise.
8287 (acos_test): Use END macro without arguments.
8288 (acos_test_tonearest): Likewise.
8289 (acos_test_towardzero): Likewise.
8290 (acos_test_downward): Likewise.
8291 (acos_test_upward): Likewise.
8292 (acosh_test): Likewise.
8293 (asin_test): Likewise.
8294 (asin_test_tonearest): Likewise.
8295 (asin_test_towardzero): Likewise.
8296 (asin_test_downward): Likewise.
8297 (asin_test_upward): Likewise.
8298 (asinh_test): Likewise.
8299 (atan_test): Likewise.
8300 (atanh_test): Likewise.
8301 (atan2_test): Likewise.
8302 (cabs_test): Likewise.
8303 (cacos_test): Use END_COMPLEX macro without arguments.
8304 (cacosh_test): Likewise.
8305 (carg_test): Use END macro without arguments.
8306 (casin_test): Use END_COMPLEX macro without arguments.
8307 (casinh_test): Likewise.
8308 (catan_test): Likewise.
8309 (catanh_test): Likewise.
8310 (cbrt_test): Use END macro without arguments.
8311 (ccos_test): Use END_COMPLEX macro without arguments.
8312 (ccosh_test): Likewise.
8313 (ceil_test): Use END macro without arguments.
8314 (cexp_test): Use END_COMPLEX macro without arguments.
8315 (cimag_test): Use END macro without arguments.
8316 (clog_test): Use END_COMPLEX macro without arguments.
8317 (clog10_test): Likewise.
8318 (conj_test): Likewise.
8319 (copysign_test): Use END macro without arguments.
8320 (cos_test): Likewise.
8321 (cos_test_tonearest): Likewise.
8322 (cos_test_towardzero): Likewise.
8323 (cos_test_downward): Likewise.
8324 (cos_test_upward): Likewise.
8325 (cosh_test): Likewise.
8326 (cosh_test_tonearest): Likewise.
8327 (cosh_test_towardzero): Likewise.
8328 (cosh_test_downward): Likewise.
8329 (cosh_test_upward): Likewise.
8330 (cpow_test): Use END_COMPLEX macro without arguments.
8331 (cproj_test): Likewise.
8332 (creal_test): Use END macro without arguments.
8333 (csin_test): Use END_COMPLEX macro without arguments.
8334 (csinh_test): Likewise.
8335 (csqrt_test): Likewise.
8336 (ctan_test): Likewise.
8337 (ctan_test_tonearest): Likewise.
8338 (ctan_test_towardzero): Likewise.
8339 (ctan_test_downward): Likewise.
8340 (ctan_test_upward): Likewise.
8341 (ctanh_test): Likewise.
8342 (ctanh_test_tonearest): Likewise.
8343 (ctanh_test_towardzero): Likewise.
8344 (ctanh_test_downward): Likewise.
8345 (ctanh_test_upward): Likewise.
8346 (erf_test): Use END macro without arguments.
8347 (erfc_test): Likewise.
8348 (exp_test): Likewise.
8349 (exp_test_tonearest): Likewise.
8350 (exp_test_towardzero): Likewise.
8351 (exp_test_downward): Likewise.
8352 (exp_test_upward): Likewise.
8353 (exp10_test): Likewise.
8354 (exp2_test): Likewise.
8355 (expm1_test): Likewise.
8356 (fabs_test): Likewise.
8357 (fdim_test): Likewise.
8358 (finite_test): Likewise.
8359 (floor_test): Likewise.
8360 (fma_test): Likewise.
8361 (fma_test_towardzero): Likewise.
8362 (fma_test_downward): Likewise.
8363 (fma_test_upward): Likewise.
8364 (fmax_test): Likewise.
8365 (fmin_test): Likewise.
8366 (fmod_test): Likewise.
8367 (fpclassify_test): Likewise.
8368 (frexp_test): Likewise.
8369 (gamma_test): Likewise.
8370 (hypot_test): Likewise.
8371 (ilogb_test): Likewise.
8372 (isfinite_test): Likewise.
8373 (isgreater_test): Likewise.
8374 (isgreaterequal_test): Likewise.
8375 (isinf_test): Likewise.
8376 (isless_test): Likewise.
8377 (islessequal_test): Likewise.
8378 (islessgreater_test): Likewise.
8379 (isnan_test): Likewise.
8380 (isnormal_test): Likewise.
8381 (issignaling_test): Likewise.
8382 (isunordered_test): Likewise.
8383 (j0_test): Likewise.
8384 (j1_test): Likewise.
8385 (jn_test): Likewise.
8386 (ldexp_test): Likewise.
8387 (lgamma_test): Likewise.
8388 (lrint_test): Likewise.
8389 (lrint_test_tonearest): Likewise.
8390 (lrint_test_towardzero): Likewise.
8391 (lrint_test_downward): Likewise.
8392 (lrint_test_upward): Likewise.
8393 (llrint_test): Likewise.
8394 (llrint_test_tonearest): Likewise.
8395 (llrint_test_towardzero): Likewise.
8396 (llrint_test_downward): Likewise.
8397 (llrint_test_upward): Likewise.
8398 (log_test): Likewise.
8399 (log10_test): Likewise.
8400 (log1p_test): Likewise.
8401 (log2_test): Likewise.
8402 (logb_test): Likewise.
8403 (logb_test_downward): Likewise.
8404 (lround_test): Likewise.
8405 (llround_test): Likewise.
8406 (modf_test): Likewise.
8407 (nearbyint_test): Likewise.
8408 (nextafter_test): Likewise.
8409 (nexttoward_test): Likewise.
8410 (pow_test): Likewise.
8411 (pow_test_tonearest): Likewise.
8412 (pow_test_towardzero): Likewise.
8413 (pow_test_downward): Likewise.
8414 (pow_test_upward): Likewise.
8415 (remainder_test): Likewise.
8416 (remainder_test_tonearest): Likewise.
8417 (remainder_test_towardzero): Likewise.
8418 (remainder_test_downward): Likewise.
8419 (remainder_test_upward): Likewise.
8420 (remquo_test): Likewise.
8421 (rint_test): Likewise.
8422 (rint_test_tonearest): Likewise.
8423 (rint_test_towardzero): Likewise.
8424 (rint_test_downward): Likewise.
8425 (rint_test_upward): Likewise.
8426 (round_test): Likewise.
8427 (scalb_test): Likewise.
8428 (scalbn_test): Likewise.
8429 (scalbln_test): Likewise.
8430 (signbit_test): Likewise.
8431 (sin_test): Likewise.
8432 (sin_test_tonearest): Likewise.
8433 (sin_test_towardzero): Likewise.
8434 (sin_test_downward): Likewise.
8435 (sin_test_upward): Likewise.
8436 (sincos_test): Likewise.
8437 (sinh_test): Likewise.
8438 (sinh_test_tonearest): Likewise.
8439 (sinh_test_towardzero): Likewise.
8440 (sinh_test_downward): Likewise.
8441 (sinh_test_upward): Likewise.
8442 (sqrt_test): Likewise.
8443 (tan_test): Likewise.
8444 (tan_test_tonearest): Likewise.
8445 (tan_test_towardzero): Likewise.
8446 (tan_test_downward): Likewise.
8447 (tan_test_upward): Likewise.
8448 (tanh_test): Likewise.
8449 (tgamma_test): Likewise.
8450 (trunc_test): Likewise.
8451 (y0_test): Likewise.
8452 (y1_test): Likewise.
8453 (yn_test): Likewise.
8454 (significand_test): Likewise.
8455
bae143d2
OB
84562013-05-24 Ondřej Bílka <neleai@seznam.cz>
8457
8458 [BZ #15381]
8459 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8460
9323d39b
EM
84612013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8462
d4ea44a0 8463 [BZ #14894]
9323d39b
EM
8464 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8465 __ppc_mdoio and __ppc_mdoom.
8466 * manual/platform.texi: Document new functions __ppc_yield,
8467 __ppc_mdoio and __ppc_mdoom.
8468
13e23af7
CD
84692013-05-22 Carlos O'Donell <carlos@redhat.com>
8470
8471 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8472 (main): Mention "tls" pseudo-hwcap is legacy.
8473 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8474
351fe550
JM
84752013-05-22 Joseph Myers <joseph@codesourcery.com>
8476
8477 * math/gen-libm-test.pl (parse_args): Output only string of
8478 arguments as text for test name, not full call or descriptions of
8479 tests for extra outputs.
8480 (generate_testfile): Do not pass function name to parse_args.
8481 Generate this_func variable from START.
8482 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8483 field to arg_str.
8484 (struct test_ff_f_data): Likewise.
8485 (test_ff_f_data_nexttoward): Likewise.
8486 (struct test_fi_f_data): Likewise.
8487 (struct test_fl_f_data): Likewise.
8488 (struct test_if_f_data): Likewise.
8489 (struct test_fff_f_data): Likewise.
8490 (struct test_c_f_data): Likewise.
8491 (struct test_f_f1_data): Likewise. Remove field extra_name.
8492 (struct test_fF_f1_data): Likewise.
8493 (struct test_ffI_f1_data): Likewise.
8494 (struct test_c_c_data): Rename test_name field to arg_str.
8495 (struct test_cc_c_data): Likewise.
8496 (struct test_f_i_data): Likewise.
8497 (struct test_ff_i_data): Likewise.
8498 (struct test_f_l_data): Likewise.
8499 (struct test_f_L_data): Likewise.
8500 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8501 and extra2_name.
8502 (COMMON_TEST_SETUP): New macro.
8503 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8504 (COMMON_TEST_CLEANUP): Likewise.
8505 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8506 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8507 macros.
8508 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8509 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8510 macros.
8511 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8512 (RUN_TEST_fff_f): Take argument string. Call new setup and
8513 cleanup macros.
8514 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8515 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8516 macros.
8517 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8518 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8519 macros.
8520 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8521 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8522 cleanup macros.
8523 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8524 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8525 cleanup macros.
8526 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8527 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8528 cleanup macros.
8529 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8530 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8531 macros.
8532 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8533 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8534 macros.
8535 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8536 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8537 macros.
8538 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8539 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8540 cleanup macros.
8541 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8542 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8543 cleanup macros.
8544 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8545 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8546 macros.
8547 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8548 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8549 cleanup macros.
8550 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8551 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8552 macros.
8553 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8554 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8555 macros.
8556 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8557 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8558 cleanup macros.
8559 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8560
85118d4d
EBM
85612013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8562
8563 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8564 to _sifields.sigfault.
8565 (si_addr_lsb): Define new macro.
8566 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8568 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8569
7a44c18f
CD
85702013-05-03 Carlos O'Donell <carlos at redhat.com>
8571
8572 [BZ #15441]
8573 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8574 returns -1.
8575 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8576 null return -1.
8577 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8578 loading the domain.
8579
b50a7181
JM
85802013-05-22 Joseph Myers <joseph@codesourcery.com>
8581
8582 * math/gen-libm-test.pl (parse_args): Do not include expected
8583 result in test name.
8584 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8586 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8587 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8588 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8590
051063c8
SP
85912013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8592
3ce9e010
SP
8593 * benchtests/Makefile: Sort function entries.
8594
051063c8
SP
8595 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8596 tanh, asinh, acosh, atanh.
8597 * benchtests/acos-inputs: New file.
8598 * benchtests/acosh-inputs: New file.
8599 * benchtests/asin-inputs: New file.
8600 * benchtests/asinh-inputs: New file.
8601 * benchtests/atanh-inputs: New file.
8602 * benchtests/cosh-inputs: New file.
8603 * benchtests/log-inputs: New file.
8604 * benchtests/sinh-inputs: New file.
8605 * benchtests/tanh-inputs: New file.
8606
47c22455
DL
86072013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8608
8609 [BZ #15339]
8610 * posix/tst-getaddrinfo4.c: New test.
8611 * posix/Makefile (tests): Add it.
8612
3d04f5db
SP
86132013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8614
8615 [BZ #15339]
8616 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8617 when no services were used.
8618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8619 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8620
d5dd6189
AS
86212013-05-21 Andreas Schwab <schwab@suse.de>
8622
8623 [BZ #15014]
8624 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8625 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8626 successful.
8627 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8628 redundant variable declarations and reallocation of buffer when
8629 parsing as IPv6 address. Always set NSS status when called from
8630 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8631 buffer too small. Correct computation of needed size.
8632 * nss/Makefile (tests): Add test-digits-dots.
8633 * nss/test-digits-dots.c: New test.
8634
fef94eab
SP
86352013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8636
8637 * benchtests/Makefile: Remove instructions for adding
8638 benchmark tests.
8639 * benchtests/README: New file to explain how to execute and
8640 enhance the benchmark tests.
8641
e39adf43
AS
86422013-05-21 Andreas Schwab <schwab@suse.de>
8643
8644 [BZ #15493]
8645 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8646 * setjmp/tst-sigsetjmp.c: New test.
8647
b2b671b6
OB
86482013-05-20 Ondřej Bílka <neleai@seznam.cz>
8649
8650 * sysdeps/x86_64/memset.S (memset): New implementation.
8651 (__bzero): Likewise.
8652 (__memset_tail): New function.
8653
2d48b41c
OB
86542013-05-20 Ondřej Bílka <neleai@seznam.cz>
8655
8656 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8657 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8658 __memcpy_sse2_unaligned ifunc selection.
8659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8660 Add memcpy-sse2-unaligned.S.
8661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8662 Add: __memcpy_sse2_unaligned.
8663
f16cc3eb
JM
86642013-05-19 Joseph Myers <joseph@codesourcery.com>
8665
3e694268
JM
8666 [BZ #15490]
8667 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8668 math_force_eval before restoring floating-point envrionment.
8669 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8671 Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8673 <math_private.h>.
8674 (__nearbyintl): Use math_force_eval before restoring
8675 floating-point environment.
8676 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8677
db62a907
JM
8678 * math/gen-libm-test.pl (special_functions): Remove.
8679 (parse_args): Don't handle TEST_extra. Handle functions with no
8680 return value.
8681 * math/libm-test.inc (struct test_sincos_data): Replace with
8682 struct test_fFF_11_data.
8683 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8684 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8685 (sincos_test_data): Change element type to struct
8686 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8687 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8688 RUN_TEST_LOOP_sincos.
8689 * math/README.libm-test: Don't mention special handling of
8690 individual functions.
8691 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8692 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8693 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8694 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8695 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8697
f16cc3eb
JM
8698 * math/gen-libm-test.pl (get_variable): Remove function.
8699 (parse_args): Don't show pointer parameters to call in test
8700 names. Use "extra output N" in test names for extra outputs
8701 rather than naming variables.
8702
3779b5b6
JM
87032013-05-18 Joseph Myers <joseph@codesourcery.com>
8704
2ee094ff
JM
8705 [BZ #15488]
8706 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8707 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8708 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8709 double tests.
8710 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8711 disable.
8712 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8713 check_long_double.
8714
3779b5b6
JM
8715 * math/gen-libm-test.pl (@tests): Remove variable.
8716 ($count): Likewise.
8717 (new_test): Remove function.
8718 (show_exceptions): New function.
8719 (special_functions): Use show_exceptions instead of new_test.
8720 (parse_args): Likewise.
8721 (generate_testfile): Pass only function name in generated call to
8722 print_max_error or print_complex_max_error.
8723 (get_ulps): Do not handle complex tests specially.
8724 (output_test): Rename to ...
8725 (get_all_ulps_for_test): ... this. Return a string rather than
8726 printing to a file. Require ulps to be present.
8727 (output_ulps): Generate arrays rather than #defines.
8728 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8729 (struct ulp_data): New type.
8730 (BUILD_COMPLEX_ULP): Remove macro.
8731 (compare_ulp_data): New function.
8732 (find_ulps): Likewise.
8733 (find_test_ulps): Likewise.
8734 (find_function_ulps): Likewise.
8735 (find_complex_function_ulps): Likewise.
8736 (print_max_error): Determine allowed ulps using
8737 find_function_ulps.
8738 (print_complex_max_error): Determine allowed ulps using
8739 find_complex_function_ulps.
8740 (check_float_internal): Determine max ulps using find_test_ulps.
8741 (check_float): Do not take max_ulp parameter. Update call to
8742 check_float_internal.
8743 (check_complex): Likewise.
8744 (check_int): Do not take max_ulp parameter.
8745 (check_long): Likewise.
8746 (check_bool): Likewise.
8747 (check_longlong): Likewise.
8748 (struct test_f_f_data): Remove max_ulp field.
8749 (struct test_ff_f_data): Likewise.
8750 (struct test_ff_f_data_nexttoward): Likewise.
8751 (struct test_fi_f_data): Likewise.
8752 (struct test_fl_f_data): Likewise.
8753 (struct test_if_f_data): Likewise.
8754 (struct test_fff_f_data): Likewise.
8755 (struct test_c_f_data): Likewise.
8756 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8757 (struct test_fF_f1_data): Likewise.
8758 (struct test_ffI_f1_data): Likewise.
8759 (struct test_c_c_data): Remove max_ulp field.
8760 (struct test_cc_c_data): Likewise.
8761 (struct test_f_i_data): Likewise.
8762 (struct test_ff_i_data): Likewise.
8763 (struct test_f_l_data): Likewise.
8764 (struct test_f_L_data): Likewise.
8765 (struct test_sincos_data): Likewise.
8766 (RUN_TEST_f_f): Do not handle ulps.
8767 (RUN_TEST_LOOP_f_f): Likewise.
8768 (RUN_TEST_2_f): Likewise.
8769 (RUN_TEST_LOOP_2_f): Likewise.
8770 (RUN_TEST_fff_f): Likewise.
8771 (RUN_TEST_LOOP_fff_f): Likewise.
8772 (RUN_TEST_c_f): Likewise.
8773 (RUN_TEST_LOOP_c_f): Likewise.
8774 (RUN_TEST_f_f1): Likewise.
8775 (RUN_TEST_LOOP_f_f1): Likewise.
8776 (RUN_TEST_fF_f1): Likewise.
8777 (RUN_TEST_LOOP_fF_f1): Likewise.
8778 (RUN_TEST_fI_f1): Likewise.
8779 (RUN_TEST_LOOP_fI_f1): Likewise.
8780 (RUN_TEST_ffI_f1): Likewise.
8781 (RUN_TEST_LOOP_ffI_f1): Likewise.
8782 (RUN_TEST_c_c): Likewise.
8783 (RUN_TEST_LOOP_c_c): Likewise.
8784 (RUN_TEST_cc_c): Likewise.
8785 (RUN_TEST_LOOP_cc_c): Likewise.
8786 (RUN_TEST_f_i): Likewise.
8787 (RUN_TEST_LOOP_f_i): Likewise.
8788 (RUN_TEST_f_i_tg): Likewise.
8789 (RUN_TEST_LOOP_f_i_tg): Likewise.
8790 (RUN_TEST_ff_i_tg): Likewise.
8791 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8792 (RUN_TEST_f_b): Likewise.
8793 (RUN_TEST_LOOP_f_b): Likewise.
8794 (RUN_TEST_f_b_tg): Likewise.
8795 (RUN_TEST_LOOP_f_b_tg): Likewise.
8796 (RUN_TEST_f_l): Likewise.
8797 (RUN_TEST_LOOP_f_l): Likewise.
8798 (RUN_TEST_f_L): Likewise.
8799 (RUN_TEST_LOOP_f_L): Likewise.
8800 (RUN_TEST_sincos): Likewise.
8801 (RUN_TEST_LOOP_sincos): Likewise.
8802
8269107f
JM
88032013-05-17 Joseph Myers <joseph@codesourcery.com>
8804
bb38759d
JM
8805 [BZ #15480]
8806 [BZ #15485]
8807 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8808 main case of finite arguments, set rounding mode to FE_TONEAREST
8809 and discard exceptions.
8810 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8811 exceptions.
8812 (remainder_tonearest_test_data): New variable.
8813 (remainder_test_tonearest): New function.
8814 (remainder_towardzero_test_data): New variable.
8815 (remainder_test_towardzero): New function.
8816 (remainder_downward_test_data): New variable.
8817 (remainder_test_downward): New function.
8818 (remainder_upward_test_data): New variable.
8819 (remainder_test_upward): New function.
8820 (main): Call the new test functions.
8821
a00bdcf0
JM
8822 * math/libm-test.inc (struct test_f_f1_data): Remove field
8823 extra_init.
8824 (struct test_fF_f1_data): Likewise.
8825 (struct test_ffI_f1_data): Likewise.
8826 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8827 based on value of EXTRA_EXPECTED.
8828 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8829 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8830 EXTRA_VAR based on value of EXTRA_EXPECTED.
8831 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8832 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8833 EXTRA_VAR based on value of EXTRA_EXPECTED.
8834 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8835 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8836 EXTRA_VAR based on value of EXTRA_EXPECTED.
8837 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8838 * math/gen-libm-test.pl (parse_args): Don't output initializers
8839 for extra output values.
8840
de407f79
JM
8841 * math/libm-test.inc (check_int): Expect result to be exactly
8842 equal to expected value and do not handle ulps.
8843 (check_long): Likewise.
8844 (check_longlong): Likewise.
8845
8269107f
JM
8846 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8847 exceptions.
8848 (cimag_test_data): Likewise.
8849 (conj_test_data): Likewise.
8850 (copysign_test_data): Likewise.
8851 (cproj_test_data): Likewise.
8852 (creal_test_data): Likewise.
8853 (fabs_test_data): Likewise.
8854 (fdim_test_data): Likewise.
8855 (finite_test_data): Likewise.
8856 (floor_test_data): Likewise.
8857 (fmax_test_data): Likewise.
8858 (fmin_test_data): Likewise.
8859 (fmod_test_data): Likewise.
8860 (fpclassify_test_data): Likewise.
8861 (frexp_test_data): Likewise.
8862 (ilogb_test_data): Likewise.
8863 (isfinite_test_data): Likewise.
8864 (isgreater_test_data): Likewise.
8865 (isgreaterequal_test_data): Likewise.
8866 (isinf_test_data): Likewise.
8867 (isless_test_data): Likewise.
8868 (islessequal_test_data): Likewise.
8869 (islessgreater_test_data): Likewise.
8870 (isnan_test_data): Likewise.
8871 (isnormal_test_data): Likewise.
8872 (issignaling_test_data): Likewise.
8873 (isunordered_test_data): Likewise.
8874 (ldexp_test_data): Likewise.
8875 (lrint_test_data): Likewise.
8876 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8877 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8878 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8879 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8880 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8881 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8882 test input.
8883 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8884 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8885 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8886 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8887 that test input.
8888 (lrint_downward_test_data): Test for "inexact" exceptions.
8889 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8890 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8891 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8892 test input.
8893 (lrint_upward_test_data): Test for "inexact" exceptions.
8894 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8895 test input.
8896 (llrint_test_data): Test for "inexact" exceptions.
8897 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8898 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8899 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8900 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8901 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8902 (llrint_downward_test_data): Test for "inexact" exceptions.
8903 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8904 (llrint_upward_test_data): Test for "inexact" exceptions.
8905 (logb_test_data): Likewise.
8906 (logb_downward_test_data): Likewise.
8907 (nextafter_test_data): Likewise.
8908 (nexttoward_test_data): Likewise.
8909 (remainder_test_data): Likewise.
8910 (remquo_test_data): Likewise.
8911 (scalbn_test_data): Likewise.
8912 (scalbln_test_data): Likewise.
8913 (signbit_test_data): Likewise.
8914 (sqrt_test_data): Likewise.
8915 (significand_test_data): Likewise.
8916
48a18de1
SP
89172013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8918
8919 [BZ #15424]
8920 * benchtests/bench-modf.c (struct args): Mark arg0 as
8921 volatile.
8922 * scripts/bench.pl: Mark members of struct args as volatile.
8923
13d3b41a
AZ
89242013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8925
68191c1d 8926 [BZ # 15497]
13d3b41a
AZ
8927 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8928 negative infinity on POWER6 or lower.
8929 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8930
2848b105
MR
89312013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8932
8933 [BZ #15442]
8934 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8935 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8936 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8937 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8938 (_FP_SETQNAN): New macro.
8939 (_FP_SETQNAN_SEMIRAW): Likewise.
8940 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8941 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8942 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8943 (FP_EXTEND): Use _FP_FRAC_SNANP.
8944 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8945 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8946 into account.
8947 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8948 New macro.
8949 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8950 Likewise.
8951
323e5cb7
JM
89522013-05-16 Joseph Myers <joseph@codesourcery.com>
8953
c58b274f
JM
8954 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8955 with DIVIDE_BY_ZERO_EXCEPTION.
8956 (gamma_test_data): Likewise.
8957 (lgamma_test_data): Likewise.
8958 (log_test_data): Likewise.
8959 (log10_test_data): Likewise.
8960 (log2_test_data): Likewise.
8961 (tgamma_test_data): Likewise.
8962
0ab34904
JM
8963 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8964 (acos_test_tonearest): Likewise.
8965 (acos_test_towardzero): Likewise.
8966 (acos_test_downward): Likewise.
8967 (acos_test_upward): Likewise.
8968 (acosh_test): Likewise.
8969 (asin_test): Likewise.
8970 (asin_test_tonearest): Likewise.
8971 (asin_test_towardzero): Likewise.
8972 (asin_test_downward): Likewise.
8973 (asin_test_upward): Likewise.
8974 (asinh_test): Likewise.
8975 (atan_test): Likewise.
8976 (atanh_test): Likewise.
8977 (atan2_test): Likewise.
8978 (cabs_test): Likewise.
8979 (cacos_test): Likewise.
8980 (cacosh_test): Likewise.
8981 (casin_test): Likewise.
8982 (casinh_test): Likewise.
8983 (catan_test): Likewise.
8984 (catanh_test): Likewise.
8985 (cbrt_test): Likewise.
8986 (ccos_test): Likewise.
8987 (ccosh_test): Likewise.
8988 (cexp_test): Likewise.
8989 (clog_test): Likewise.
8990 (clog10_test): Likewise.
8991 (cos_test): Likewise.
8992 (cos_test_tonearest): Likewise.
8993 (cos_test_towardzero): Likewise.
8994 (cos_test_downward): Likewise.
8995 (cos_test_upward): Likewise.
8996 (cosh_test): Likewise.
8997 (cosh_test_tonearest): Likewise.
8998 (cosh_test_towardzero): Likewise.
8999 (cosh_test_downward): Likewise.
9000 (cosh_test_upward): Likewise.
9001 (cpow_test): Likewise.
9002 (csin_test): Likewise.
9003 (csinh_test): Likewise.
9004 (csqrt_test): Likewise.
9005 (ctan_test): Likewise.
9006 (ctan_test_tonearest): Likewise.
9007 (ctan_test_towardzero): Likewise.
9008 (ctan_test_downward): Likewise.
9009 (ctan_test_upward): Likewise.
9010 (ctanh_test): Likewise.
9011 (ctanh_test_tonearest): Likewise.
9012 (ctanh_test_towardzero): Likewise.
9013 (ctanh_test_downward): Likewise.
9014 (ctanh_test_upward): Likewise.
9015 (erf_test): Likewise.
9016 (erfc_test): Likewise.
9017 (exp_test): Likewise.
9018 (exp_test_tonearest): Likewise.
9019 (exp_test_towardzero): Likewise.
9020 (exp_test_downward): Likewise.
9021 (exp_test_upward): Likewise.
9022 (exp10_test): Likewise.
9023 (exp2_test): Likewise.
9024 (expm1_test): Likewise.
9025 (fmod_test): Likewise.
9026 (gamma_test): Likewise.
9027 (hypot_test): Likewise.
9028 (j0_test): Likewise.
9029 (j1_test): Likewise.
9030 (jn_test): Likewise.
9031 (lgamma_test): Likewise.
9032 (log_test): Likewise.
9033 (log10_test): Likewise.
9034 (log1p_test): Likewise.
9035 (log2_test): Likewise.
9036 (logb_test_downward): Likewise.
9037 (pow_test): Likewise.
9038 (pow_test_tonearest): Likewise.
9039 (pow_test_towardzero): Likewise.
9040 (pow_test_downward): Likewise.
9041 (pow_test_upward): Likewise.
9042 (remainder_test): Likewise.
9043 (remquo_test): Likewise.
9044 (sin_test): Likewise.
9045 (sin_test_tonearest): Likewise.
9046 (sin_test_towardzero): Likewise.
9047 (sin_test_downward): Likewise.
9048 (sin_test_upward): Likewise.
9049 (sincos_test): Likewise.
9050 (sinh_test): Likewise.
9051 (sinh_test_tonearest): Likewise.
9052 (sinh_test_towardzero): Likewise.
9053 (sinh_test_downward): Likewise.
9054 (sinh_test_upward): Likewise.
9055 (sqrt_test): Likewise.
9056 (tan_test): Likewise.
9057 (tan_test_tonearest): Likewise.
9058 (tan_test_towardzero): Likewise.
9059 (tan_test_downward): Likewise.
9060 (tan_test_upward): Likewise.
9061 (tanh_test): Likewise.
9062 (tgamma_test): Likewise.
9063 (y0_test): Likewise.
9064 (y1_test): Likewise.
9065 (yn_test): Likewise.
9066
323e5cb7
JM
9067 * math/gen-libm-test.pl (adjust_arg): Remove function.
9068 (special_function): Remove argument $in_func. Only handle
9069 generating output for tables of tests, not inside functions.
9070 (parse_args): Likewise.
9071 (generate_testfile): Remove variable $in_func. Update call to
9072 parse_args.
9073 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9074 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9075 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9076 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9077 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9078 (MAX_VALUE_INIT): Rename macro to max_value.
9079 (MIN_VALUE_INIT): Rename macro to min_value.
9080 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9081 (plus_zero): Remove variable.
9082 (minus_zero): Likewise.
9083 (plus_infty): Likewise.
9084 (minus_infty): Likewise.
9085 (qnan_value): Likewise.
9086 (max_value): Likewise.
9087 (min_value): Likewise.
9088 (min_subnorm_value): Likewise.
9089
e054f494
RA
90902013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9091
9092 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9093 uint64_t or uint32_t usage.
9094 * crypt/sha256-block.c: Likewise.
9095 * crypt/sha256-crypt.c: Likewise.
9096 * crypt/sha256.c: Likewise.
9097 * crypt/sha512-block.c: Likewise.
9098 * crypt/sha512-crypt.c: Likewise.
9099 * crypt/sha512.c: Likewise.
9100 * debug/backtrace-tst.c: Likewise.
9101 * debug/pcprofiledump.c: Likewise.
9102 * elf/cache.c: Likewise.
9103 * elf/dl-cache.c: Likewise.
9104 * elf/dl-misc.c: Likewise.
9105 * elf/dl-profile.c: Likewise.
9106 * elf/dl-support.c: Likewise.
9107 * elf/ldconfig.c: Likewise.
9108 * elf/sprof.c: Likewise.
9109 * iconv/dummy-repertoire.c: Likewise.
9110 * iconv/iconv_charmap.c: Likewise.
9111 * iconv/skeleton.c: Likewise.
9112 * iconvdata/8bit-generic.c: Likewise.
9113 * iconvdata/cp737.h: Likewise.
9114 * iconvdata/cp775.h: Likewise.
9115 * iconvdata/ibm1008.h: Likewise.
9116 * iconvdata/ibm1025.h: Likewise.
9117 * iconvdata/ibm1046.h: Likewise.
9118 * iconvdata/ibm1097.h: Likewise.
9119 * iconvdata/ibm1112.h: Likewise.
9120 * iconvdata/ibm1122.h: Likewise.
9121 * iconvdata/ibm1123.h: Likewise.
9122 * iconvdata/ibm1124.h: Likewise.
9123 * iconvdata/ibm1129.h: Likewise.
9124 * iconvdata/ibm1130.h: Likewise.
9125 * iconvdata/ibm1132.h: Likewise.
9126 * iconvdata/ibm1133.h: Likewise.
9127 * iconvdata/ibm1137.h: Likewise.
9128 * iconvdata/ibm1140.h: Likewise.
9129 * iconvdata/ibm1141.h: Likewise.
9130 * iconvdata/ibm1142.h: Likewise.
9131 * iconvdata/ibm1143.h: Likewise.
9132 * iconvdata/ibm1144.h: Likewise.
9133 * iconvdata/ibm1145.h: Likewise.
9134 * iconvdata/ibm1146.h: Likewise.
9135 * iconvdata/ibm1147.h: Likewise.
9136 * iconvdata/ibm1148.h: Likewise.
9137 * iconvdata/ibm1149.h: Likewise.
9138 * iconvdata/ibm1153.h: Likewise.
9139 * iconvdata/ibm1154.h: Likewise.
9140 * iconvdata/ibm1155.h: Likewise.
9141 * iconvdata/ibm1156.h: Likewise.
9142 * iconvdata/ibm1157.h: Likewise.
9143 * iconvdata/ibm1158.h: Likewise.
9144 * iconvdata/ibm1160.h: Likewise.
9145 * iconvdata/ibm1161.h: Likewise.
9146 * iconvdata/ibm1162.h: Likewise.
9147 * iconvdata/ibm1163.h: Likewise.
9148 * iconvdata/ibm1164.h: Likewise.
9149 * iconvdata/ibm1166.h: Likewise.
9150 * iconvdata/ibm1167.h: Likewise.
9151 * iconvdata/ibm12712.h: Likewise.
9152 * iconvdata/ibm1390.h: Likewise.
9153 * iconvdata/ibm1399.h: Likewise.
9154 * iconvdata/ibm16804.h: Likewise.
9155 * iconvdata/ibm4517.h: Likewise.
9156 * iconvdata/ibm4899.h: Likewise.
9157 * iconvdata/ibm4909.h: Likewise.
9158 * iconvdata/ibm4971.h: Likewise.
9159 * iconvdata/ibm5347.h: Likewise.
9160 * iconvdata/ibm803.h: Likewise.
9161 * iconvdata/ibm856.h: Likewise.
9162 * iconvdata/ibm901.h: Likewise.
9163 * iconvdata/ibm902.h: Likewise.
9164 * iconvdata/ibm9030.h: Likewise.
9165 * iconvdata/ibm9066.h: Likewise.
9166 * iconvdata/ibm921.h: Likewise.
9167 * iconvdata/ibm922.h: Likewise.
9168 * iconvdata/ibm9448.h: Likewise.
9169 * iconvdata/isiri-3342.h: Likewise.
9170 * iconvdata/jis0201.h: Likewise.
9171 * include/link.h: Likewise.
9172 * include/netdb.h: Likewise.
9173 * inet/check_native.c: Likewise.
9174 * inet/check_pf.c: Likewise.
9175 * inet/getipv4sourcefilter.c: Likewise.
9176 * inet/getnameinfo.c: Likewise.
9177 * inet/getsourcefilter.c: Likewise.
9178 * inet/htonl.c: Likewise.
9179 * inet/setipv4sourcefilter.c: Likewise.
9180 * inet/setsourcefilter.c: Likewise.
9181 * inet/test-inet6_opt.c: Likewise.
9182 * inet/tst-network.c: Likewise.
9183 * locale/C-collate.c: Likewise.
9184 * locale/C-ctype.c: Likewise.
9185 * locale/C-time.c: Likewise.
9186 * locale/C-translit.h: Likewise.
9187 * locale/loadarchive.c: Likewise.
9188 * locale/programs/3level.h: Likewise.
9189 * locale/programs/charmap.c: Likewise.
9190 * locale/programs/charmap.h: Likewise.
9191 * locale/programs/ld-address.c: Likewise.
9192 * locale/programs/ld-collate.c: Likewise.
9193 * locale/programs/ld-ctype.c: Likewise.
9194 * locale/programs/ld-identification.c: Likewise.
9195 * locale/programs/ld-measurement.c: Likewise.
9196 * locale/programs/ld-messages.c: Likewise.
9197 * locale/programs/ld-monetary.c: Likewise.
9198 * locale/programs/ld-name.c: Likewise.
9199 * locale/programs/ld-numeric.c: Likewise.
9200 * locale/programs/ld-paper.c: Likewise.
9201 * locale/programs/ld-telephone.c: Likewise.
9202 * locale/programs/ld-time.c: Likewise.
9203 * locale/programs/linereader.c: Likewise.
9204 * locale/programs/locale.c: Likewise.
9205 * locale/programs/locarchive.c: Likewise.
9206 * locale/programs/locfile.h: Likewise.
9207 * locale/programs/repertoire.c: Likewise.
9208 * locale/programs/simple-hash.c: Likewise.
9209 * locale/programs/simple-hash.h: Likewise.
9210 * malloc/memusage.c: Likewise.
9211 * malloc/memusagestat.c: Likewise.
9212 * nis/nis_defaults.c: Likewise.
9213 * nis/nis_hash.c: Likewise.
9214 * nis/nis_print.c: Likewise.
9215 * nis/nis_xdr.c: Likewise.
9216 * nscd/connections.c: Likewise.
9217 * nscd/hstcache.c: Likewise.
9218 * nscd/nscd_gethst_r.c: Likewise.
9219 * nscd/nscd_getserv_r.c: Likewise.
9220 * nscd/nscd_helper.c: Likewise.
9221 * nscd/servicescache.c: Likewise.
9222 * nss/makedb.c: Likewise.
9223 * nss/nss_db/db-XXX.c: Likewise.
9224 * nss/nss_db/db-initgroups.c: Likewise.
9225 * nss/nss_db/db-netgrp.c: Likewise.
9226 * nss/nss_files/files-network.c: Likewise.
9227 * nss/nss_files/files-parse.c: Likewise.
9228 * posix/bug-regex5.c: Likewise.
9229 * posix/fnmatch_loop.c: Likewise.
9230 * posix/regcomp.c: Likewise.
9231 * posix/regexec.c: Likewise.
9232 * posix/tst-rfc3484-2.c: Likewise.
9233 * posix/tst-rfc3484-3.c: Likewise.
9234 * posix/tst-rfc3484.c: Likewise.
9235 * resolv/nss_dns/dns-canon.c: Likewise.
9236 * resolv/nss_dns/dns-network.c: Likewise.
9237 * resolv/res_init.c: Likewise.
9238 * resolv/res_mkquery.c: Likewise.
9239 * resolv/tst-aton.c: Likewise.
9240 * stdlib/cxa_atexit.c: Likewise.
9241 * stdlib/cxa_finalize.c: Likewise.
9242 * stdlib/gen-fpioconst.c: Likewise.
9243 * stdlib/strtol_l.c: Likewise.
9244 * string/tst-endian.c: Likewise.
9245 * sunrpc/auth_des.c: Likewise.
9246 * sunrpc/clnt_udp.c: Likewise.
9247 * sunrpc/rtime.c: Likewise.
9248 * sunrpc/svcauth_des.c: Likewise.
9249 * sunrpc/xdr.c: Likewise.
9250 * sunrpc/xdr_intXX_t.c: Likewise.
9251 * sunrpc/xdr_rec.c: Likewise.
9252 * sysdeps/generic/ldconfig.h: Likewise.
9253 * sysdeps/generic/ldsodefs.h: Likewise.
9254 * sysdeps/generic/memusage.h: Likewise.
9255 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9258 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9265 * sysdeps/posix/getaddrinfo.c: Likewise.
9266 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9267 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9268 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9269 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9270 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9271 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9272 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9273 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9274 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9275 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9276 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9277 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9278 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9279 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9280 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9281 * sysdeps/x86_64/dl-tls.h: Likewise.
9282 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9283 * time/alt_digit.c: Likewise.
9284 * time/era.c: Likewise.
9285 * wcsmbs/tst-c16c32-1.c: Likewise.
9286
8c75f674
JM
92872013-05-16 Joseph Myers <joseph@codesourcery.com>
9288
9289 * math/libm-test.inc (struct test_sincos_data): New type.
9290 (RUN_TEST_LOOP_sincos): New macro.
9291 (sincos_test_data): New variable.
9292 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9293
e6e49e59
RH
92942013-05-16 Richard Henderson <rth@redhat.com>
9295
9296 * math/atest-exp2.c (LIMB64): New macro.
9297 (CONSTSZ): New macro.
9298 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9299 (hexdig): Move ...
9300 (print_mpn_fp): ... to function scope.
9301 (read_mpn_hex): Remove.
9302 (get_log2): Remove.
9303 (exp2_mpn): Use mp_log2.
9304 (main): Use mp_exp1.
9305
15c7c18d
JM
93062013-05-16 Joseph Myers <joseph@codesourcery.com>
9307
105a07df
JM
9308 * math/libm-test.inc: Remove comment about not testing "inexact"
9309 exceptions.
9310 (INEXACT_EXCEPTION): New macro.
9311 (NO_INEXACT_EXCEPTION): Likewise.
9312 (INVALID_EXCEPTION_OK): Update value.
9313 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9314 (OVERFLOW_EXCEPTION_OK): Likewise.
9315 (UNDERFLOW_EXCEPTION_OK): Likewise.
9316 (IGNORE_ZERO_INF_SIGN): Likewise.
9317 (ERRNO_UNCHANGED): Likewise.
9318 (ERRNO_EDOM): Likewise.
9319 (ERRNO_ERANGE): Likewise.
9320 (test_exceptions): Handle testing "inexact" exceptions.
9321 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9322 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9323 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9324 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9325 INEXACT_EXCEPTION.
9326 (rint_towardzero_test_data): Likewise.
9327 (rint_downward_test_data): Likewise.
9328 (rint_upward_test_data): Likewise.
9329
e9eee333
JM
9330 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9331 with OVERFLOW_EXCEPTION.
9332 (exp10_test_data): Likewise.
9333 (exp2_test_data): Likewise.
9334 (expm1_test_data): Likewise.
9335 (lgamma_test_data): Likewise.
9336 (pow_test_data): Likewise.
9337 (tgamma_test_data): Likewise.
9338 (yn_test_data): Remove duplicate test of overflow.
9339
1c38ff73
JM
9340 * math/libm-test.inc (struct test_cc_c_data): New type.
9341 (RUN_TEST_LOOP_cc_c): New macro.
9342 (cpow_test_data): New variable.
9343 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9344
15c7c18d
JM
9345 * math/libm-test.inc (struct test_f_L_data): New type.
9346 (RUN_TEST_LOOP_f_L): New macro.
9347 (llrint_test_data): New variable.
9348 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9349 (llrint_tonearest_test_data): New variable.
9350 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9351 (llrint_towardzero_test_data): New variable.
9352 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9353 (llrint_downward_test_data): New variable.
9354 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9355 (llrint_upward_test_data): New variable.
9356 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9357 (llround_test_data): New variable.
9358 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9359
f137ff13
PC
93602013-05-13 Peter Collingbourne <pcc@google.com>
9361
9362 * math/atest-exp2.c (get_log2): Remove const attribute.
9363
3608cb24
JM
93642013-05-15 Joseph Myers <joseph@codesourcery.com>
9365
9366 * math/libm-test.inc (struct test_f_l_data): New type.
9367 (RUN_TEST_LOOP_f_l): New macro.
9368 (lrint_test_data): New variable.
9369 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9370 (lrint_tonearest_test_data): New variable.
9371 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9372 (lrint_towardzero_test_data): New variable.
9373 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9374 (lrint_downward_test_data): New variable.
9375 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9376 (lrint_upward_test_data): New variable.
9377 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9378 (lround_test_data): New variable.
9379 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9380
39b1f617
PC
93812013-05-15 Peter Collingbourne <pcc@google.com>
9382
1deff3dc
PC
9383 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9384 (EXTRACT_WORDS64) Use where appropriate.
9385 (INSERT_WORDS64) Likewise.
9386
791f3ba0
PC
9387 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9388 constraints with x constraints.
9389 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9390
39b1f617
PC
9391 * malloc/obstack.c (_obstack_compat): Add initializer.
9392
12fba011
EM
93932013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9394
9395 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9396 si_trapno and add si_addr_lsb to _sifields.sigfault.
9397 (si_trapno): Remove macro.
9398 (si_addr_lsb): Define new macro.
9399 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9400
d369f531
JM
94012013-05-15 Joseph Myers <joseph@codesourcery.com>
9402
b861c6c4
JM
9403 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9404 instead of TEST_f_l.
9405 (llrint_test_tonearest): Likewise.
9406 (llrint_test_towardzero): Likewise.
9407 (llrint_test_downward): Likewise.
9408 (llrint_test_upward): Likewise.
9409 (llround_test): Likewise.
9410
7abeee12
JM
9411 * math/libm-test.inc (struct test_f_i_data): Add comment.
9412 (RUN_TEST_LOOP_f_b): New macro.
9413 (RUN_TEST_LOOP_f_b_tg): Likewise.
9414 (finite_test_data): New variable.
9415 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9416 (isfinite_test_data): New variable.
9417 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9418 (isinf_test_data): New variable.
9419 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9420 (isnan_test_data): New variable.
9421 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9422 (isnormal_test_data): New variable.
9423 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9424 (issignaling_test_data): New variable.
9425 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9426 (signbit_test_data): New variable.
9427 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9428
cbe8c4d3
JM
9429 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9430 with INVALID_EXCEPTION.
9431 (acosh_test_data): Likewise.
9432 (asin_test_data): Likewise.
9433 (atanh_test_data): Likewise.
9434 (fmod_test_data): Likewise.
9435 (log_test_data): Likewise.
9436 (log10_test_data): Likewise.
9437 (log2_test_data): Likewise.
9438 (pow_test_data): Likewise.
9439 (sqrt_test_data): Likewise.
9440 (y0_test_data): Likewise.
9441 (y1_test_data): Likewise.
9442 (yn_test_data): Likewise.
9443
5575c0e5
JM
9444 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9445 function contents.
9446
d369f531
JM
9447 * math/libm-test.inc (struct test_ff_i_data): New type.
9448 (RUN_TEST_LOOP_ff_i_tg): New macro.
9449 (isgreater_test_data): New variable.
9450 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9451 (isgreaterequal_test_data): New variable.
9452 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9453 (isless_test_data): New variable.
9454 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9455 (islessequal_test_data): New variable.
9456 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9457 (islessgreater_test_data): New variable.
9458 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9459 (isunordered_test_data): New variable.
9460 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9461
781fd748
DM
94622013-05-14 David S. Miller <davem@davemloft.net>
9463
9464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9465
87aa21df
JM
94662013-05-14 Joseph Myers <joseph@codesourcery.com>
9467
5e908270
JM
9468 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9469
f71172e5
JM
9470 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9471 extra_test to int.
9472 (struct test_f_i_data): Change type of max_ulp to int.
9473
8cfa635a
JM
9474 * math/libm-test.inc (test_ffI_f1_data): New type.
9475 (RUN_TEST_LOOP_ffI_f1): New macro.
9476 (remquo_test_data): New variable.
9477 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9478
2bcb36b2
JM
9479 * setjmp/tst-setjmp-fp.c: New file.
9480 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9481 (link-libm): New variable.
9482 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9483
acbd839a
JM
9484 * math/libm-test.inc (struct test_f_i_data): New type.
9485 (RUN_TEST_LOOP_f_i): New macro.
9486 (RUN_TEST_LOOP_f_i_tg): Likewise.
9487 (fpclassify_test_data): New variable.
9488 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9489 (ilogb_test_data): New variable.
9490 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9491
e414d745
JM
9492 * math/libm-test.inc (scalbln_test): Correct function name in END
9493 call.
9494
d9c2a0fd
JM
9495 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9496 (RUN_TEST_LOOP_fI_f1): New macro.
9497 (frexp_test_data): New variable.
9498 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9499
9dc9095d
JM
9500 * math/libm-test.inc (struct test_fF_f1_data): New type.
9501 (RUN_TEST_LOOP_fF_f1): New macro.
9502 (modf_test_data): New variable.
9503 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9504
87aa21df
JM
9505 * math/libm-test.inc (struct test_f_f1_data): New type.
9506 (RUN_TEST_LOOP_f_f1): New macro.
9507 (gamma_test_data): New variable.
9508 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9509 (lgamma_test_data): New variable.
9510 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9511
141af660
CD
95122013-05-13 Carlos O'Donell <carlos@redhat.com>
9513
9514 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9515 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9516 (main): Comment "tls" pseudo-hwcap.
9517
6d33265c
JM
95182013-05-13 Joseph Myers <joseph@codesourcery.com>
9519
68fc074c
JM
9520 * math/libm-test.inc (struct test_fl_f_data): New type.
9521 (RUN_TEST_LOOP_fl_f): New variable.
9522 (scalbln_test_data): New variable.
9523 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9524
243216e1
JM
9525 * math/libm-test.inc (struct test_fi_f_data): New type.
9526 (RUN_TEST_LOOP_fi_f): New macro.
9527 (ldexp_test_data): New variable.
9528 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9529 (scalbn_test_data): New variable.
9530 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9531
6a1992e2
JM
9532 * math/libm-test.inc (struct test_c_f_data): New type.
9533 (RUN_TEST_LOOP_c_f): New macro.
9534 (cabs_test_data): New variable.
9535 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9536 (carg_test_data): New variable.
9537 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9538 (cimag_test_data): New variable.
9539 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9540 (creal_test_data): New variable.
9541 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9542
0e400df5
JM
9543 * math/libm-test.inc (struct test_if_f_data): New type.
9544 (RUN_TEST_LOOP_if_f): New macro.
9545 (jn_test_data): New variable.
9546 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9547 (yn_test_data): New variable.
9548 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9549
6d33265c
JM
9550 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9551
f98ece5f
AZ
95522013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9553
9554 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9555 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9556
0f7d347b
SP
95572013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9558
43fe811b
SP
9559 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9560 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9561 (bench-deps): Add bench-timing.h.
9562 * benchtests-bench-skeleton.c: Include bench-timing.h.
9563 (main): Use TIMING_* macros instead of clock_gettime.
9564 * benchtests/bench-timing.h: New file.
9565
0f7d347b
SP
9566 [BZ #14582]
9567 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9568 Renamed from _LIB_VERSION.
9569 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9570
601a3a5f
JM
95712013-05-12 Joseph Myers <joseph@codesourcery.com>
9572
4f184d30
JM
9573 * math/libm-test.inc (struct test_fff_f_data): New type.
9574 (RUN_TEST_LOOP_fff_f): New macro.
9575 (fma_test_data): New variable.
9576 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9577 (fma_towardzero_test_data): New variable.
9578 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9579 (fma_downward_test_data): New variable.
9580 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9581 (fma_upward_test_data): New variable.
9582 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9583
08198877
JM
9584 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9585 (struct test_c_c_data): New type.
9586 (RUN_TEST_LOOP_c_c): New macro.
9587 (cacos_test_data): New variable.
9588 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9589 (cacosh_test_data): New variable.
9590 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9591 (casin_test_data): New variable.
9592 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9593 (casinh_test_data): New variable.
9594 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9595 (catan_test_data): New variable.
9596 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9597 (catanh_test_data): New variable.
9598 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9599 (ccos_test_data): New variable.
9600 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9601 (ccosh_test_data): New variable.
9602 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9603 (cexp_test_data): New variable.
9604 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9605 (clog_test_data): New variable.
9606 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9607 (clog10_test_data): New variable.
9608 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9609 (conj_test_data): New variable.
9610 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9611 (cproj_test_data): New variable.
9612 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9613 (csin_test_data): New variable.
9614 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9615 (csinh_test_data): New variable.
9616 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9617 (csqrt_test_data): New variable.
9618 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9619 (ctan_test_data): New variable.
9620 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9621 (ctan_tonearest_test_data): New variable.
9622 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9623 (ctan_towardzero_test_data): New variable.
9624 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9625 (ctan_downward_test_data): New variable.
9626 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9627 (ctan_upward_test_data): New variable.
9628 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9629 (ctanh_test_data): New variable.
9630 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9631 (ctanh_tonearest_test_data): New variable.
9632 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9633 (ctanh_towardzero_test_data): New variable.
9634 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9635 (ctanh_downward_test_data): New variable.
9636 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9637 (ctanh_upward_test_data): New variable.
9638 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9639 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9640 of BUILD_COMPLEX.
9641
601a3a5f
JM
9642 * math/libm-test.inc (struct test_ff_f_data): New type.
9643 (struct test_ff_f_data_nexttoward): Likewise.
9644 (RUN_TEST_LOOP_2_f): New macro.
9645 (RUN_TEST_LOOP_ff_f): Likewise.
9646 (atan2_test_data): New variable.
9647 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9648 (copysign_test_data): New variable.
9649 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9650 (fdim_test_data): New variable.
9651 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9652 (fmax_test_data): New variable.
9653 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9654 (fmin_test_data): New variable.
9655 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9656 (fmod_test_data): New variable.
9657 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9658 (hypot_test_data): New variable.
9659 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9660 (nextafter_test_data): New variable.
9661 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9662 (nexttoward_test_data): New variable.
9663 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9664 (pow_test_data): New variable.
9665 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9666 (pow_tonearest_test_data): New variable.
9667 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9668 (pow_towardzero_test_data): New variable.
9669 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9670 (pow_downward_test_data): New variable.
9671 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9672 (pow_upward_test_data): New variable.
9673 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9674 (remainder_test_data): New variable.
9675 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9676 (scalb_test_data): New variable.
9677 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9678 * sysdeps/i386/fpu/libm-test-ulps: Update.
9679
74c57478
JM
96802013-05-11 Joseph Myers <joseph@codesourcery.com>
9681
8329e4da
JM
9682 * math/libm-test.inc (fma_test): Use max_value instead of local
9683 variable fltmax.
9684 (nextafter_test): Likewise.
9685
74c57478
JM
9686 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9687 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9688 (acos_downward_test_data): New variable.
9689 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9690 (acos_upward_test_data): New variable.
9691 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9692 (acosh_test_data): New variable.
9693 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9694 (asin_test_data): New variable.
9695 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9696 (asin_tonearest_test_data): New variable.
9697 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9698 (asin_towardzero_test_data): New variable.
9699 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9700 (asin_downward_test_data): New variable.
9701 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9702 (asin_upward_test_data): New variable.
9703 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9704 (asinh_test_data): New variable.
9705 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9706 (atan_test_data): New variable.
9707 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9708 (atanh_test_data): New variable.
9709 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9710 (cbrt_test_data): New variable.
9711 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9712 (ceil_test_data): New variable.
9713 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9714 (cos_test_data): New variable.
9715 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9716 (cos_tonearest_test_data): New variable.
9717 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9718 (cos_towardzero_test_data): New variable.
9719 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9720 (cos_downward_test_data): New variable.
9721 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9722 (cos_upward_test_data): New variable.
9723 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9724 (cosh_test_data): New variable.
9725 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9726 (cosh_tonearest_test_data): New variable.
9727 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9728 (cosh_towardzero_test_data): New variable.
9729 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9730 (cosh_downward_test_data): New variable.
9731 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9732 (cosh_upward_test_data): New variable.
9733 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9734 (erf_test_data): New variable.
9735 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9736 (erfc_test_data): New variable.
9737 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9738 (exp_test_data): New variable.
9739 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9740 (exp_tonearest_test_data): New variable.
9741 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9742 (exp_towardzero_test_data): New variable.
9743 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9744 (exp_downward_test_data): New variable.
9745 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9746 (exp_upward_test_data): New variable.
9747 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9748 (exp10_test_data): New variable.
9749 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9750 (exp2_test_data): New variable.
9751 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9752 (expm1_test_data): New variable.
9753 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9754 (fabs_test_data): New variable.
9755 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9756 (floor_test_data): New variable.
9757 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9758 (j0_test_data): New variable.
9759 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9760 (j1_test_data): New variable.
9761 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9762 (log_test_data): New variable.
9763 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9764 (log10_test_data): New variable.
9765 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9766 (log1p_test_data): New variable.
9767 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9768 (log2_test_data): New variable.
9769 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9770 (logb_test_data): New variable.
9771 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9772 (logb_downward_test_data): New variable.
9773 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9774 (nearbyint_test_data): New variable.
9775 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9776 (rint_test_data): New variable.
9777 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9778 (rint_tonearest_test_data): New variable.
9779 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9780 (rint_towardzero_test_data): New variable.
9781 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9782 (rint_downward_test_data): New variable.
9783 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9784 (rint_upward_test_data): New variable.
9785 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9786 (round_test_data): New variable.
9787 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9788 (sin_test_data): New variable.
9789 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9790 (sin_tonearest_test_data): New variable.
9791 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9792 (sin_towardzero_test_data): New variable.
9793 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9794 (sin_downward_test_data): New variable.
9795 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9796 (sin_upward_test_data): New variable.
9797 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9798 (sinh_test_data): New variable.
9799 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9800 (sinh_tonearest_test_data): New variable.
9801 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9802 (sinh_towardzero_test_data): New variable.
9803 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9804 (sinh_downward_test_data): New variable.
9805 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9806 (sinh_upward_test_data): New variable.
9807 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9808 (sqrt_test_data): New variable.
9809 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9810 (tan_test_data): New variable.
9811 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9812 (tan_tonearest_test_data): New variable.
9813 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9814 (tan_towardzero_test_data): New variable.
9815 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9816 (tan_downward_test_data): New variable.
9817 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9818 (tan_upward_test_data): New variable.
9819 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9820 (tanh_test_data): New variable.
9821 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9822 (tgamma_test_data): New variable.
9823 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9824 (trunc_test_data): New variable.
9825 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9826 (y0_test_data): New variable.
9827 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9828 (y1_test_data): New variable.
9829 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9830 (significand_test_data): New variable.
9831 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9832
7187d844
CG
98332013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9834
9835 [BZ #12387]
9836 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9837
f63fae73
PT
98382013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9839
9840 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9841
8a67a4b3
AJ
98422013-05-10 Andreas Jaeger <aj@suse.de>
9843
9844 [BZ #15448]
9845 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9846 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9847
51df539d
JM
98482013-05-10 Joseph Myers <joseph@codesourcery.com>
9849
9850 * math/gen-libm-test.pl (adjust_arg): New function.
9851 (special_functions): Handle generating output in both functions
9852 and arrays.
9853 (parse_args): Likewise.
9854 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9855 $in_func argument to parse_args.
9856 * math/libm-test.inc (struct test_f_f_data): New type.
9857 (IF_ROUND_INIT_): New macro.
9858 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9859 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9860 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9861 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9862 (ROUND_RESTORE_): Likewise.
9863 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9864 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9865 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9866 (ROUND_RESTORE_FE_UPWARD): Likewise.
9867 (RUN_TEST_LOOP_f_f): New macro.
9868 (acos_test_data): New variable.
9869 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9870 (acos_tonearest_test_data): New variable.
9871 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9872
5c637fe5
SP
98732013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9874
9875 * benchtests/bench-skeleton.c (startup): Fix coding style.
9876
ab2b9461
JM
98772013-05-10 Joseph Myers <joseph@codesourcery.com>
9878
9879 [BZ #6809]
9880 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9881 negative infinity argument.
9882 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9883 negative infinity argument.
9884 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9885 negative infinity argument.
9886 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9887 domain errors.
9888
4c0fe6fe
FW
98892013-05-10 Florian Weimer <fweimer@redhat.com>
9890
9891 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9892 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9893 * iconv/iconv_prog.c (main): Likewise.
9894 * locale/programs/charmap-dir.c (charmap_readdir)
9895 (fopen_uncompressed): Likewise.
9896 * locale/programs/locfile.c (siblings_uncached)
9897 (write_locale_data): Use lstat64 instead of lstat.
9898 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9899 stat.
9900
a3375d29
AJ
99012013-05-10 Andreas Jaeger <aj@suse.de>
9902
9903 [BZ #15395]
9904 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9905 localization.
9906 Include <locale.h>.
9907
36129722
CD
99082013-05-09 Carlos O'Donell <carlos@redhat.com>
9909
9910 * elf/dl-close.c (_dl_close_worker): Add comments.
9911
faa7f811
JM
99122013-05-09 Joseph Myers <joseph@codesourcery.com>
9913
ed41ffef
JM
9914 [BZ #15359]
9915 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9916 high part of pi/2.
9917 (__ieee754_rem_pio2l): Update comments.
9918
d0213cd0
JM
9919 [BZ #15429]
9920 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9921 high part of pi/2.
9922 (__ieee754_rem_pio2l): Update comments.
9923
0d3e777a
JM
9924 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9925 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9926
24f56066
JM
9927 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9928 M_PI_4l.
9929
faa7f811
JM
9930 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9931 (M_PI_34_LOG10El): Likewise.
9932 (M_PI2_LOG10El): Likewise.
9933 (M_PI4_LOG10El): Likewise.
9934 (M_PI_LOG10El): Likewise.
9935
e9a5e0fd
AZ
99362013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9937
9938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9939
d8cd06db
JM
99402013-05-08 Joseph Myers <joseph@codesourcery.com>
9941
a0d9f9d7
JM
9942 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9943 (MINUS_ZERO_INIT): Likewise.
9944 (PLUS_INFTY_INIT): Likewise.
9945 (MINUS_INFTY_INIT): Likewise.
9946 (QNAN_VALUE_INIT): Likewise.
9947 (MAX_VALUE_INIT): Likewise.
9948 (MIN_VALUE_INIT): Likewise.
9949 (MIN_SUBNORM_VALUE_INIT): Likewise.
9950 (plus_zero): Initialize with PLUS_ZERO_INIT.
9951 (minus_zero): Initialize with MINUS_ZERO_INIT.
9952 (plus_infty): Initialize with PLUS_INFTY_INIT.
9953 (minus_infty): Initialize with MINUS_INFTY_INIT.
9954 (qnan_value): Initialize with QNAN_VALUE_INIT.
9955 (max_value): Initialize with MAX_VALUE_INIT.
9956 (min_value): Initialize with MIN_VALUE_INIT.
9957 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9958
ae08db3b
JM
9959 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9960 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9961 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9962 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9963
f44bf14a
JM
9964 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9965 (RUN_TEST_2_f): Likewise.
9966 (RUN_TEST_ff_f): Likewise.
9967 (RUN_TEST_fi_f): Likewise.
9968 (RUN_TEST_fl_f): Likewise.
9969 (RUN_TEST_fff_f): Likewise.
9970 (RUN_TEST_c_f): Likewise.
9971 (RUN_TEST_f_f1): Likewise.
9972 (RUN_TEST_fF_f1): Likewise.
9973 (RUN_TEST_fI_f1): Likewise.
9974 (RUN_TEST_ffI_f1): Likewise.
9975 (RUN_TEST_c_c): Likewise.
9976 (RUN_TEST_cc_c): Likewise.
9977 (RUN_TEST_f_i): Likewise.
9978 (RUN_TEST_f_i_tg): Likewise.
9979 (RUN_TEST_ff_i_tg): Likewise.
9980 (RUN_TEST_f_b): Likewise.
9981 (RUN_TEST_f_b_tg): Likewise.
9982 (RUN_TEST_f_l): Likewise.
9983 (RUN_TEST_f_L): Likewise.
9984 (RUN_TEST_sincos): Likewise.
9985 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9986 whether to show exceptions. Do not include ");\n" in return
9987 value.
9988 (special_functions): Output call to RUN_TEST_sincos instead of
9989 check_float calls. Update calls to new_test.
9990 (parse_args): Output call to single RUN_TEST_* macro instead of
9991 check_* calls and other assignments. Update calls to new_test.
9992
d8cd06db
JM
9993 [BZ #2546]
9994 [BZ #2560]
9995 [BZ #5159]
9996 [BZ #15426]
9997 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9998 input to result for tgamma overflow.
9999 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10000 (gamma_coeff): New variable.
10001 (NCOEFF): New macro.
10002 (gamma_positive): New function.
10003 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10004 underflow here. Use gamma_positive instead of exp (lgamma) for
10005 other arguments.
10006 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10007 (gamma_coeff): New variable.
10008 (NCOEFF): New macro.
10009 (gammaf_positive): New function.
10010 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10011 underflow here. Use gamma_positive instead of exp (lgamma) for
10012 other arguments.
10013 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10014 (gamma_coeff): New variable.
10015 (NCOEFF): New macro.
10016 (gammal_positive): New function.
10017 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10018 underflow here. Use gamma_positive instead of exp (lgamma) for
10019 other arguments.
10020 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10021 (gamma_coeff): New variable.
10022 (NCOEFF): New macro.
10023 (gammal_positive): New function.
10024 (__ieee754_gammal_r): Handle positive infinity, overflow and
10025 underflow here. Handle NaN the same as positive infinity. Remove
10026 check x < 0xffffffff for negative integers. Use gamma_positive
10027 instead of exp (lgamma) for other arguments.
10028 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10029 (gamma_coeff): New variable.
10030 (NCOEFF): New macro.
10031 (gammal_positive): New function.
10032 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10033 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10037 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10038 * sysdeps/generic/math_private.h (__gamma_productf): New
10039 prototype.
10040 (__gamma_product): Likewise.
10041 (__gamma_productl): Likewise.
10042 * math/Makefile (libm-calls): Add gamma_product.
10043 * math/libm-test.inc (tgamma_test): Add more tests.
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10046
bb7cf681
OB
100472013-05-08 Ondřej Bílka <neleai@seznam.cz>
10048
10049 * benchtests/bench-skeleton.c (main): Preheat CPU.
10050
ba853947
AJ
100512013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10052
10053 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10054
8347c74c
RM
100552013-05-07 Roland McGrath <roland@hack.frob.com>
10056
10057 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10058 and _dl_skip_args_internal.
10059
e8dd4791
CD
100602013-05-07 Carlos O'Donell <carlos@redhat.com>
10061
10062 * manual/message.texi (Message Translation): Talk about users.
10063 Message to key mapping impacts design.
10064
c7405830
RM
100652013-05-06 Roland McGrath <roland@hack.frob.com>
10066
a9173057
RM
10067 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10068
976e2f03
RM
10069 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10070
9723ffc5
RM
10071 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10072 * sysdeps/wordsize-64/glob64.c: ... here.
10073
962e6658
RM
10074 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10075 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10076 New macros.
10077
ee586a6d
RM
10078 * debug/getlogin_r_chk.c: Moved to ...
10079 * login/getlogin_r_chk.c: ... here.
10080 * debug/Makefile (routines): Move getlogin_r_chk to ...
10081 * login/Makefile (routines): ... here.
10082 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10083 * login/Versions (libc: GLIBC_2.4): ... here.
10084
355f9165
RM
10085 * io/poll.c (__poll): Renamed from poll.
10086 Add libc_hidden_def.
10087 (poll): Define as weak alias.
10088
bd9ffde6
RM
10089 * debug/ptsname_r_chk.c: Moved to ...
10090 * login/ptsname_r_chk.c: ... here.
10091 * debug/Makefile (routines): Move ptsname_r_chk to ...
10092 * login/Makefile (routines): ... here.
10093 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10094 * login/Versions (libc: GLIBC_2.4): ... here.
10095
8fb16a04
RM
10096 * posix/getlogin.c: Moved to ...
10097 * login/getlogin.c: ... here.
10098 * posix/getlogin_r.c: Moved to ...
10099 * login/getlogin_r.c: ... here.
10100 * posix/getlogin_r.c: Moved to ...
10101 * login/getlogin_r.c: ... here.
10102 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10103 * login/Makefile (routines): ... here.
10104 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10105 * login/Versions (libc: GLIBC_2.0): ... here.
10106
b99b892f
RM
10107 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10108 (setrlimit): Define as weak alias.
10109
c7405830
RM
10110 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10111 Call __ names for open, ftruncate, and close.
10112 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10113 (truncate): Define as weak alias.
10114
5bf96de5
JM
101152013-05-06 Joseph Myers <joseph@codesourcery.com>
10116
9ea3513c
JM
10117 * math/gen-libm-test.pl (parse_args): Initialize x before each
10118 test of frexp, modf and remquo.
10119
5bf96de5
JM
10120 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10121 test signgam value.
10122
16e616a7
AZ
101232013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10124
10125 [BZ #15418]
10126 [BZ #15419]
10127 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10128 internal tests.
10129 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10130
d5e82754
RM
101312013-05-06 Roland McGrath <roland@hack.frob.com>
10132
10133 * elf/dl-writev.h: New file.
10134 * elf/dl-misc.c: Include it.
10135 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10136 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10137
a7548d41
JM
101382013-05-04 Joseph Myers <joseph@codesourcery.com>
10139
b7dab1e4
JM
10140 * math/libm-test.inc (noXFails): Remove variable.
10141 (noXPasses): Likewise.
10142 (BUILD_COMPLEX_INT): Remove macro.
10143 (print_screen): Remove xfail argument.
10144 (print_screen_max_error): Likewise.
10145 (update_stats): Likewise.
10146 (print_max_error): Likewise. Update calls to other affected
10147 functions.
10148 (print_complex_max_error): Likewise.
10149 (test_single_exception): Update calls to print_screen.
10150 (test_single_errno): Likewise.
10151 (check_float_internal): Remove xfail argument. Update calls to
10152 other affected functions.
10153 (check_float): Likewise.
10154 (check_complex): Likewise.
10155 (check_int): Likewise.
10156 (check_long): Likewise.
10157 (check_bool): Likewise.
10158 (check_longlong): Likewise.
10159 (main): Don't print noXFails and noXPasses.
10160 * math/gen-libm-test.pl (top level): Don't mention expected
10161 failure handling in comment.
10162 (new_test): Don't handle expected failures.
10163 (parse_args): Don't mention expected failure handling in comment.
10164 (generate_testfile): Don't handle expected failures.
10165 (parse_ulps): Likewise.
10166 (print_ulps_file): Likewise.
10167 (get_failure): Remove function.
10168 (output_test): Don't handle expected failures.
10169 * make/README.libm-test: Don't mention expected failure handling.
10170
a7548d41
JM
10171 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10172 (minus_zero): Likewise.
10173 (plus_infty): Likewise.
10174 (minus_infty): Likewise.
10175 (qnan_value): Likewise.
10176 (max_value): Likewise.
10177 (min_value): Likewise.
10178 (min_subnorm_value): Likewise.
10179 (initialize): Do not initialize those variables dynamically.
10180
60bfd54c
RM
101812013-05-03 Roland McGrath <roland@hack.frob.com>
10182
cc0e6ed8
RM
10183 * io/open.c (__open_2): Moved to ...
10184 * io/open_2.c: ... this new file.
10185 * io/open64.c (__open64_2): Moved to ...
10186 * io/open64_2.c: ... this new file.
10187 * io/openat.c (__openat_2): Moved to ...
10188 * io/openat_2.c: ... this new file.
10189 * io/openat64.c (__openat64_2): Moved to ...
10190 * io/openat64_2.c: ... this new file.
10191 * io/Makefile (routines): Add them.
10192 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10193 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10194 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10195 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10196 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10197 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10198 (__openat64): Add hidden_ver.
10199 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10200 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10201
60bfd54c
RM
10202 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10203 Separately conditionalize setting of GLRO(dl_sysinfo) so
10204 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10205 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10206
83e7640f
AZ
102072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10208
10209 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10211 definition.
10212 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10213 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10214 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10215 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10216 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10217
d5dc2af3
JM
102182013-05-03 Joseph Myers <joseph@codesourcery.com>
10219
c31a5b1e
JM
10220 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10221 test signgam value.
10222
d5dc2af3
JM
10223 * math/libm-test.inc (hypot_test): Do not use
10224 IGNORE_ZERO_INF_SIGN.
10225
164fd39d
AJ
102262013-05-03 Andreas Jaeger <aj@suse.de>
10227
10228 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10229 Linux 3.9.
10230 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10231 (PF_MAX): Adjust for VSOCK change.
10232
8237f48c
AZ
102332013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10234
10235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10236
9df02941
CD
102372013-05-02 Carlos O'Donell <carlos@redhat.com>
10238
10239 [BZ #15264]
10240 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10241 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10242 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10243
d422395e
DM
102442013-05-02 David S. Miller <davem@davemloft.net>
10245
10246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10247
a07c5731
OB
102482013-05-01 Ondřej Bílka <neleai@seznam.cz>
10249
10250 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10251
1324e37f
RM
102522013-05-01 Roland McGrath <roland@hack.frob.com>
10253
10254 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10255
0695940b
RS
102562013-05-01 Richard Smith <richard@metafoo.co.uk>
10257
bb5f27ad 10258 [BZ #14952]
0695940b
RS
10259 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10260 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10261 Use __attribute__ ((__gnu_inline__)).
10262 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10263 Don't use __attribute__ ((__gnu_inline__)).
10264
10de07f5
JM
102652013-05-01 Joseph Myers <joseph@codesourcery.com>
10266
10267 [BZ #15423]
10268 * math/s_catan.c (__catan): Handle small real or imaginary part of
10269 input specially to avoid spurious underflow.
10270 * math/s_catanf.c (__catanf): Likewise.
10271 * math/s_catanh.c (__catanh): Likewise.
10272 * math/s_catanhf.c (__catanhf): Likewise.
10273 * math/s_catanhl.c (__catanhl): Likewise.
10274 * math/s_catanl.c (__catanl): Likewise.
10275 * math/libm-test.inc (catan_test): Add more tests.
10276 (catanh_test): Likewise.
10277 * sysdeps/i386/fpu/libm-test-ulps: Update.
10278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279
cb4d5414
AZ
102802013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10281
10282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10283
caf84319
JM
102842013-04-30 Joseph Myers <joseph@codesourcery.com>
10285
10286 [BZ #15416]
10287 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10288 accurately for denominator in atan2.
10289 * math/s_catanf.c (__catanf): Likewise.
10290 * math/s_catanh.c (__catanh): Likewise.
10291 * math/s_catanhf.c (__catanhf): Likewise.
10292 * math/s_catanhl.c (__catanhl): Likewise.
10293 * math/s_catanl.c (__catanl): Likewise.
10294 * math/libm-test.inc (catan_test): Add more tests.
10295 (catanh_test): Likewise.
10296 * sysdeps/i386/fpu/libm-test-ulps: Update.
10297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10298
d569c6ee
SP
102992013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10300
6dbe713d
SP
10301 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10302
f0ee064b
SP
10303 * benchtests/Makefile (bench): Remove slow benchmarks.
10304 * benchtests/atan-inputs: Add slow benchmark inputs.
10305 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10306 (BENCH_FUNC): Accept variant offset.
10307 (VARIANT): Define.
10308 * benchtests/bench-skeleton.c (main): Run benchmark for each
10309 variant.
10310 * benchtests/cos-inputs: Add slow benchmark inputs.
10311 * benchtests/exp-inputs: Likewise.
10312 * benchtests/pow-inputs: Likewise.
10313 * benchtests/sin-inputs: Likewise.
10314 * benchtests/slowatan-inputs: Remove.
10315 * benchtests/slowatan.c: Remove.
10316 * benchtests/slowcos-inputs: Remove.
10317 * benchtests/slowcos.c: Remove.
10318 * benchtests/slowexp-inputs: Remove.
10319 * benchtests/slowexp.c: Remove.
10320 * benchtests/slowpow-inputs: Remove.
10321 * benchtests/slowpow.c: Remove.
10322 * benchtests/slowsin-inputs: Remove.
10323 * benchtests/slowsin.c: Remove.
10324 * benchtests/slowtan-inputs: Remove.
10325 * benchtests/slowtan.c: Remove.
10326 * benchtests/tan-inputs: Add slow benchmark inputs.
10327 * scripts/bench.pl: Parse comments and directives.
10328
d569c6ee
SP
10329 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10330 in CPPFLAGS.
10331 ($(objpfx)bench-%.c): Remove *-ITER.
10332 * benchtests/bench-modf.c: Remove definition of ITER.
10333 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10334 (main): Loop for DURATION seconds instead of fixed number of
10335 iterations.
10336 * scripts/bench.pl: Don't expect iterations in parameters.
10337
a6a242fe
RM
103382013-04-29 Roland McGrath <roland@hack.frob.com>
10339
10340 * io/fchdir.c (__fchdir): Renamed from fchdir.
10341 (fchdir): Define as weak alias.
10342
f2da7793
JM
103432013-04-29 Joseph Myers <joseph@codesourcery.com>
10344
10345 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10346 (ERRNO_EDOM): Likewise.
10347 (ERRNO_ERANGE): Likewise.
10348 (noErrnoTests): New variable.
10349 (init_max_error): Set errno to 0.
10350 (test_single_errno): New function.
10351 (test_errno): Likewise.
10352 (check_float_internal): Call test_errno. Set errno to 0.
10353 (check_complex): Refer to errno tests in comment.
10354 (check_int): Call test_errno. Set errno to 0.
10355 (check_long): Likewise.
10356 (check_bool): Likewise.
10357 (check_longlong): Likewise.
10358 (cos_test): Use ERRNO_* flags for errno tests instead of
10359 check_int.
10360 (expm1_test): Likewise.
10361 (fmod_test): Likewise.
10362 (ilogb_test): Likewise.
10363 (lgamma_test): Likewise.
10364 (pow_test): Likewise.
10365 (remainder_test): Likewise.
10366 (sin_test): Likewise.
10367 (tan_test): Likewise.
10368 (yn_test): Likewise.
10369 (initialize): Set errno to 0.
10370 (main): Print number of errno tests.
10371 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10372
b1a36ceb
AJ
103732013-04-29 Andreas Jaeger <aj@suse.de>
10374
c3ed8088
AJ
10375 [BZ #15084]
10376 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10377 and RES_USEVC.
10378
f1a24198
AJ
10379 [BZ #15085]
10380 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10381 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10382 unimplemented.
10383
9ce3b2cb
AJ
10384 [BZ #15380]
10385 * stdlib/random.c (__initstate): Return NULL if
10386 __initstate fails.
10387
f1a24198 10388 [BZ #15086]
b1a36ceb
AJ
10389 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10390 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10391 RES_SNGLKUPREOP.
10392
7e7b6f36
AZ
103932013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10394
10395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10396
4d14f449
JM
103972013-04-29 Joseph Myers <joseph@codesourcery.com>
10398
10399 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10400 of individual tests.
10401 (casin_test): Likewise.
10402 (casinh_test): Likewise.
10403
5b4217d7
JM
104042013-04-27 Joseph Myers <joseph@codesourcery.com>
10405
10406 [BZ #15409]
10407 * math/s_catan.c (__catan): Handle arguments with large real or
10408 imaginary part separately without squaring.
10409 * math/s_catanf.c (__catanf): Likewise.
10410 * math/s_catanh.c (__catanh): Likewise.
10411 * math/s_catanhf.c (__catanhf): Likewise.
10412 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10413 and redefine.
10414 (__catanhl): Handle arguments with large real or imaginary part
10415 separately without squaring.
10416 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10417 and redefine.
10418 (__catanl): Handle arguments with large real or imaginary part
10419 separately without squaring.
10420 * math/libm-test.inc (catan_test): Add more tests.
10421 (catanh_test): Likewise.
10422 * sysdeps/i386/fpu/libm-test-ulps: Update.
10423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10424
4220c3ef
AJ
104252013-04-27 Andreas Jaeger <aj@suse.de>
10426
10427 [BZ #15007]
10428 * stdlib/stdlib.h: Update guards for qecvt.
10429 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10430 <stdlib.h>.
10431
4721b2d1
AM
104322013-04-27 Allan McRae <allan@archlinux.org>
10433
10434 * sysdeps/i386/fpu/libm-test-ulps: Update.
10435
f0302940
JM
104362013-04-26 Joseph Myers <joseph@codesourcery.com>
10437
9457fd95
JM
10438 [BZ #15406]
10439 * math/s_catan.c: Include <float.h>.
10440 (__catan): Ensure underflow exception occurs for underflowed
10441 result.
10442 * math/s_catanf.c: Include <float.h>.
10443 (__catanf): Ensure underflow exception occurs for underflowed
10444 result.
10445 * math/s_catanh.c: Include <float.h>.
10446 (__catanh): Ensure underflow exception occurs for underflowed
10447 result.
10448 * math/s_catanhf.c: Include <float.h>.
10449 (__catanhf): Ensure underflow exception occurs for underflowed
10450 result.
10451 * math/s_catanhl.c: Include <float.h>.
10452 (__catanhl): Ensure underflow exception occurs for underflowed
10453 result.
10454 * math/s_catanl.c: Include <float.h>.
10455 (__catanl): Ensure underflow exception occurs for underflowed
10456 result.
10457 * math/libm-test.inc (catan_test): Add more tests.
10458 (catanh_test): Likewise.
10459
f0302940
JM
10460 [BZ #15405]
10461 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10462 underflowed result.
10463 * math/s_ccoshf.c (__ccoshf): Likewise.
10464 * math/s_ccoshl.c (__ccoshl): Likewise.
10465 * math/s_csin.c (__csin): Likewise.
10466 * math/s_csinf.c (__csinf): Likewise.
10467 * math/s_csinh.c (__csinh): Likewise.
10468 * math/s_csinhf.c (__csinhf): Likewise.
10469 * math/s_csinhl.c (__csinhl): Likewise.
10470 * math/s_csinl.c (__csinl): Likewise.
10471 * math/libm-test.inc (ccos_test): Add more tests.
10472 (ccosh_test): Likewise.
10473 (csin_test): Likewise.
10474 (csinh_test): Likewise.
10475
aa630f59
AZ
104762013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10477
10478 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10479 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10480 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10481 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10482 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10483 powerpc/power5+/fpu folders.
10484 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10485
10486
1b835983
MT
104872013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10488
10489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10490
73709b26
JM
104912013-04-25 Joseph Myers <joseph@codesourcery.com>
10492
10493 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10494 additions to variable.
10495 [$(config-machine) = x86_64] (modules-names): Likewise.
10496 ($(objpfx)tst-audit3): Remove dependency.
10497 ($(objpfx)tst-audit3.out): Likewise.
10498 ($(objpfx)tst-audit4): Likewise.
10499 ($(objpfx)tst-audit4.out): Likewise.
10500 ($(objpfx)tst-audit5): Likewise.
10501 ($(objpfx)tst-audit5.out): Likewise.
10502 ($(objpfx)tst-audit6): Likewise.
10503 ($(objpfx)tst-audit6.out): Likewise.
10504 ($(objpfx)tst-audit7): Likewise.
10505 ($(objpfx)tst-audit7.out): Likewise.
10506 (tst-audit3-ENV): Remove variable.
10507 (tst-audit4-ENV): Likewise.
10508 (tst-audit5-ENV): Likewise.
10509 (tst-audit6-ENV): Likewise.
10510 (tst-audit7-ENV): Likewise.
10511 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10512 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10513 addition to variable.
10514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10515 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10516 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10517 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10518 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10519 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10520 tst-audit3, tst-audit4 and tst-audit5.
10521 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10522 tst-audit6 and tst-audit7.
10523 [$(subdir) = elf] (modules-names): Add audit modules for those
10524 tests.
10525 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10526 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10527 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10528 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10529 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10530 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10531 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10532 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10533 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10534 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10535 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10536 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10537 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10538 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10539 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10540 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10541 Likewise.
10542 [$(subdir) = elf && $(config-cflags-avx) = yes]
10543 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10544 [$(subdir) = elf && $(config-cflags-avx) = yes]
10545 (CFLAGS-tst-auditmod4a.c): Likewise.
10546 [$(subdir) = elf && $(config-cflags-avx) = yes]
10547 (CFLAGS-tst-auditmod4b.c): Likewise.
10548 [$(subdir) = elf && $(config-cflags-avx) = yes]
10549 (CFLAGS-tst-auditmod6b.c): Likewise.
10550 [$(subdir) = elf && $(config-cflags-avx) = yes]
10551 (CFLAGS-tst-auditmod6c.c): Likewise.
10552 [$(subdir) = elf && $(config-cflags-avx) = yes]
10553 (CFLAGS-tst-auditmod7b.c): Likewise.
10554 * elf/tst-audit3.c: Move to ...
10555 * sysdeps/x86_64/tst-audit3.c: ... here.
10556 * elf/tst-audit4.c: Move to ...
10557 * sysdeps/x86_64/tst-audit4.c: ... here.
10558 * elf/tst-audit5.c: Move to ...
10559 * sysdeps/x86_64/tst-audit5.c: ... here.
10560 * elf/tst-audit6.c: Move to ...
10561 * sysdeps/x86_64/tst-audit6.c: ... here.
10562 * elf/tst-audit7.c: Move to ...
10563 * sysdeps/x86_64/tst-audit7.c: ... here.
10564 * elf/tst-auditmod3a.c: Move to ...
10565 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10566 * elf/tst-auditmod3b.c: Move to ...
10567 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10568 * elf/tst-auditmod4a.c: Move to ...
10569 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10570 * elf/tst-auditmod4b.c: Move to ...
10571 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10572 * elf/tst-auditmod5a.c: Move to ...
10573 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10574 * elf/tst-auditmod5b.c: Move to ...
10575 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10576 * elf/tst-auditmod6a.c: Move to ...
10577 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10578 * elf/tst-auditmod6b.c: Move to ...
10579 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10580 * elf/tst-auditmod6c.c: Move to ...
10581 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10582 * elf/tst-auditmod7a.c: Move to ...
10583 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10584 * elf/tst-auditmod7b.c: Move to ...
10585 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10586
1ef74943
PP
105872013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10588
10589 [BZ #15366]
10590 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10591 define unconditionally.
10592 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10593 define unconditionally.
10594 (INT8_C, INT16_C, etc.): Likewise.
10595
93fd48c5
MR
105962013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10597
ae9552cf
MR
10598 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10599 __ehdr_start with hidden visibility.
10600
93fd48c5
MR
10601 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10602
418601aa
CD
106032013-04-24 Carlos O'Donell <carlos@redhat.com>
10604
10605 * math/libm-test.inc (cos_test): Use accurate hex constants.
10606 (sincost_test): Likewise.
10607
2f38fbfe
JM
106082013-04-24 Joseph Myers <joseph@codesourcery.com>
10609
5e221800
JM
10610 * math/libm-test.inc (catan_test): Add more tests.
10611 (catanh_test): Likewise.
10612
77f143fd
JM
10613 * math/s_catanf.c (__catanf): Use suffixed floating-point
10614 constants.
10615 * math/s_catanhf.c (__catanhf): Likewise.
10616 * math/s_catanhl.c (__catanhl): Likewise.
10617 * math/s_catanl.c (__catanl): Likewise.
10618
2f38fbfe
JM
10619 [BZ #15394]
10620 * math/s_catan.c (__catan): Calculate imaginary part of result
10621 with log1p not log unless computing log of number close to 0.
10622 * math/s_catanf.c (__catanf): Likewise.
10623 * math/s_catanl.c (__catanl): Likewise.
10624 * math/s_catanh.c (__catanh): Calculate real part of result with
10625 log1p not log unless computing log of number close to 0.
10626 * math/s_catanhf.c (__catanhf): Likewise.
10627 * math/s_catanhl.c (__catanhl): Likewise.
10628 * math/libm-test.inc (catan_test): Add more tests.
10629 (catanh_test): Likewise.
10630 * sysdeps/i386/fpu/libm-test-ulps: Update.
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10632
45d69176
SP
106332013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10634
10635 * benchtests/Makefile: Mention files in which fast and slow
10636 paths of math functions are implemented.
10637
87f51853
RM
106382013-04-23 Roland McGrath <roland@hack.frob.com>
10639
10640 * sysdeps/posix/timespec_get.c: New file.
10641
3c026539
AZ
106422013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10643
10644 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10645 POWER.
10646 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10647 for POWER.
10648 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10649 powerpc/power5/fpu folders.
10650 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10651 * benchtests/Makefile: Add modf testcase.
10652 * benchtests/bench-modf.c: New file: Benchmark test for mo
10653
ff491d14
SP
106542013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10655
10656 [BZ #14888]
10657 * time/Makefile (tests): Add tst-strptime-whitespace.
10658 * time/strptime_l.c (get_number): Use ISSPACE.
10659 (__strptime_internal): Likewise.
10660 * time/tst-strptime-whitespace.c: New test case.
10661
7ed3f4e8
AS
106622013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10663
10664 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10665 member.
10666 (_nss_files_init): Set it here.
10667
5c95f7b6
HC
106682013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10669
10670 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10671 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10672 unsigned.
10673
d34c9158
JBG
106742013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10675
10676 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10677
2169712d
SP
106782013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10679
10680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10681 size just once.
10682
29c5de99
DM
106832013-04-21 David S. Miller <davem@davemloft.net>
10684
10685 * po/ru.po: Update Russion translation from translation project.
10686
ccdad15d
AC
106872013-04-17 Adam Conrad <adconrad@0c3.net>
10688
10689 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10690 and setfsgid.
10691
0f122b8d
CD
106922013-04-17 Carlos O'Donell <carlos@redhat.com>
10693
5c5b07da 10694 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10695 * configure: Regenerate.
5c5b07da 10696 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10697 Add example to error message.
10698 * sysdeps/i386/configure: Regenerate.
10699
037714dd
SP
107002013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10701
10702 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10703 slowtan.
10704 * benchtests/cos-inputs: New file.
10705 * benchtests/slowcos-inputs: New file.
10706 * benchtests/slowcos.c: New file.
10707 * benchtests/slowtan-inputs: New file.
10708 * benchtests/slowtan.c: New file.
10709 * benchtests/tan-inputs: New file.
10710
e913141d
RM
107112013-04-16 Roland McGrath <roland@hack.frob.com>
10712
10713 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10714 considered kosher.
10715
a2964074
SP
107162013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10717
4856bcd2
SP
10718 * benchtests/Makefile: Include cppflags-iterator.mk to add
10719 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10720
a2964074
SP
10721 * Makefile.in (bench-clean): New target.
10722 * benchtests/Makefile (bench-clean): Likewise.
10723
9fbf9aca
DH
107242013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10725
10726 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10727
207d1e2a
TS
107282013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10729
10730 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10731
306dfba9
AS
107322013-04-15 Andreas Schwab <schwab@suse.de>
10733
10734 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10735 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10736 * nscd/pwdcache.c (cache_addpw): Likewise.
10737 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10738 more than recsize.
10739
206a6699
SP
107402013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10741
10742 * benchtests/Makefile (bench): Write all output to
10743 bench-out.tmp together.
10744
0582f6b3
AS
107452013-04-15 Andreas Schwab <schwab@suse.de>
10746
10747 * nscd/nscd.c (main): Don't fork again after closing files.
10748
acb4325f
SP
107492013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10750
5cb26d0a
SP
10751 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10752
acb4325f
SP
10753 * benchtests/Rules (bench-deps): Collect dependencies into a
10754 single variable. Add Makefile to dependencies.
10755 ($(objpfx)bench-%.c): Depend on bench-deps.
10756
47792506
RM
107572013-04-12 Roland McGrath <roland@hack.frob.com>
10758 Xavier Roche <roche+kml2@exalead.com>
10759
10760 [BZ #15361]
10761 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10762 just that it's a file descriptor.
10763 * manual/llio.texi (Synchronizing AIO Operations): Update description
10764 for EBADF error from aio_fsync.
10765
8fc1bee5
SP
107662013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10767
10768 * Rules (bench): Move target definition...
10769 * benchtests/Makefile: ... here.
10770
aba5e333
CD
107712013-04-11 Carlos O'Donell <carlos@redhat.com>
10772
10773 * math/libm-test.inc (cos_test): Fix PI/2 test.
10774 (sincos_test): Likewise.
10775 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10776 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10777
273cdee8
AS
107782013-04-11 Andreas Schwab <schwab@suse.de>
10779
6ecec3b6
AS
10780 [BZ #13988]
10781 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10782 accept exponent character only when digits were seen.
10783 * stdio-common/Makefile (tests): Add bug26.
10784 * stdio-common/bug26.c: New file.
10785
273cdee8
AS
10786 [BZ #14293]
10787 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10788 non-freeable.
10789
8da491f5
SP
107902013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10791
01dc6df9
SP
10792 * Makeconfig (rtld-prefix): Define built linker prefix.
10793 * Rules (run-bench): Use it.
10794 * math/Makefile (run-regen-ulps): Likewise.
10795
8da491f5
SP
10796 * Rules (bench): Remove eval.
10797
abe7f530
SP
107982013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10799 Roland McGrath <roland@hack.frob.com>
10800 Ondrej Bilka <neleai@seznam.cz>
10801
10802 [BZ #15346]
10803 * time/getdate.c: Include ctype.h and alloca.h.
10804 (__getdate_r): Trim leading and trailing spaces of input.
10805 * time/tst-getdate.c (tests): Add tests with leading and
10806 trailing spaces.
10807
61c23e62
RM
108082013-04-08 Roland McGrath <roland@hack.frob.com>
10809
10810 [BZ #14280]
10811 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10812 when computing value.
10813
7208a313
CD
108142013-04-06 Carlos O'Donell <carlos@redhat.com>
10815
085b2d41
CD
10816 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10817 Use testrun.sh to run libm tests.
10818
7208a313
CD
10819 [BZ #15309]
10820 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10821
872c0acd
MM
108222013-04-06 Marko Myllynen <myllynen@redhat.com>
10823
10824 [BZ #15264]
10825 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10826
26510bdd
CD
108272013-04-06 Carlos O'Donell <carlos@redhat.com>
10828
10829 * Makefile.in (regen-ulps): New target.
10830 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10831 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10832 [ifneq (no,$(PERL)] (regen-ulps): New target.
10833 [ifeq (no,$(PERL)] (regen-ulps): New target.
10834 * math/libm-test.inc (ulps_file_name): Define.
10835 (output_dir): New variable.
10836 (options): Add "output-dir" option.
10837 (parse_opt): Handle 'o' case.
10838 (main): If output_dir is non-NULL use it as a prefix
10839 otherwise use "".
10840 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10841
a01f19c8
CD
108422013-04-06 Carlos O'Donell <carlos@redhat.com>
10843
10844 [BZ #10060, #10062]
10845 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10846 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10847 fail configure if __sync_val_compare_and_swap is not inlined.
10848 * sysdeps/i386/configure: Regenerate.
10849 * configure.in: Build for i686 when configured for i386.
10850 * configure: Regenerate.
10851 * README: Remove i386 reference.
10852
b7a329a5
CD
108532013-04-06 Carlos O'Donell <carlos@redhat.com>
10854
10855 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10857
bf0f50df
TS
108582013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10859
ee091edf
TS
10860 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10861 (lmsnanval): New variables.
10862 (F): Add conversion tests.
10863 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10864 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10865
a8b792d6
TS
10866 * stdio-common/tstdiomisc.c (F): Properly collect individual
10867 tests' results.
10868
a1cbf437
TS
10869 [BZ #14686, #15336]
10870 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10871 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10872 Instead, use input NaN values or generate a qNaN by arithmetic
10873 operation. Also fix bugs to comply with the standard.
10874 * math/libm-test.inc (remainder_test): Add more tests.
10875
8b43a0c9
TS
10876 [BZ #15335, #15342]
10877 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10879 input NaN values or generate a qNaN by arithmetic operation.
10880
d91da4ce
TS
10881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10882 unreachable code.
10883
bf0f50df
TS
10884 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10885 definitions.
10886
05e166c8
JM
108872013-04-03 Joseph Myers <joseph@codesourcery.com>
10888
10889 [BZ #14478]
10890 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10891 underflowed result.
10892 * math/s_cexpf.c (__cexpf): Likewise.
10893 * math/s_cexpl.c (__cexpl): Likewise.
10894 * math/libm-test.inc (cexp_test): Add more tests.
10895
1cef1b19
AS
108962013-04-03 Andreas Schwab <schwab@suse.de>
10897
10898 [BZ #15330]
10899 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10900 order arrays from heap if bigger than alloca cutoff.
10901
74d87055
TS
109022013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10903
10904 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10905 (SNAN_TESTS_double): Refer to GCC PR56831.
10906 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10907 GCC PR56828.
10908
d755bba4
SP
109092013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10910
90d5d5bb
SP
10911 * Rules (bench): Move bench.out after the run is complete.
10912
73e0cd5d
SP
10913 * Rules (bench): Echo currently running benchmark.
10914
64aabd4b
SP
10915 * benchtests/Makefile (bench): Add atan and slowatan.
10916 * benchtests/atan-inputs: New file.
10917 * benchtests/slowatan-inputs: New file.
10918 * benchtests/slowatan.c: New file.
10919
c871eccd
SP
10920 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10922 its value.
10923
d755bba4
SP
10924 [BZ #15305]
10925 * sysdeps/unix/sysv/linux/kernel-features.h
10926 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10927 __ASSUME_XFS_RESTRICTED_CHOWN.
10928 * sysdeps/unix/sysv/linux/pathconf.c
10929 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10930 Save and restore errno.
10931
52ce4860
JM
109322013-04-02 Joseph Myers <joseph@codesourcery.com>
10933
10934 [BZ #15327]
10935 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10936 arguments using __kernel_casinh.
10937 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10938 arguments using __kernel_casinhf.
10939 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10940 arguments using __kernel_casinhl.
10941 * math/libm-test.inc (cacosh_test): Add more tests.
10942 * sysdeps/i386/fpu/libm-test-ulps: Update.
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10944
81f311c2
SP
109452013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10946
e7906a47
SP
10947 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10949
92e3664b
SP
10950 * bench/Makefile (bench): Add sin and slowsin.
10951 * benchtests/sin-inputs: New file.
10952 * benchtests/slowsin-inputs: New file.
10953 * benchtests/slowsin.c: New file.
10954
81f311c2
SP
10955 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10956 (bench): Add slowexp and slowpow.
10957 (exp-ITER): Increase iterations.
10958 (pow-ITER): Likewise.
10959 * benchtests/exp-inputs: Change input.
10960 * benchtests/pow-inputs: Likewise.
10961 * benchtests/slowexp-inputs: New file.
10962 * benchtests/slowexp.c: New file.
10963 * benchtests/slowpow-inputs: New file.
10964 * benchtests/slowpow.c: New file.
10965
ab0f1aa9
AZ
109662013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10967
10968 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10969 instructions.
10970 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10971 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10972 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10973 * benchtests/Makefile: Add rint benchtest.
10974 * benchtests/rint-inputs: Input for rint benchtest.
10975
57267616
TS
109762013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10977
10978 * Versions.def (libm): Add GLIBC_2.18.
10979 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10980 hidden libm prototypes.
10981 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10982 * math/Makefile (libm-calls): Add s_issignaling.
10983 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10984 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10985 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10986 declaration.
10987 * math/math.h [__USE_GNU] (issignaling): New macro.
10988 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10989 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10991 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10994 * manual/arith.texi (issignaling): New section.
10995 * manual/libm-err-tab.pl (@all_functions): Update comment.
10996 * math/gen-libm-test.pl (parse_args): Apply special handling for
10997 issignaling.
10998 * math/libm-test.inc (print_float, issignaling_test): New
10999 functions.
11000 (check_float_internal): Add issignaling checks.
11001 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11002 default definition.
11003 * sysdeps/powerpc/math-tests.h: New file.
11004 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11005 tests.
11006 * math/test-snan.c (TEST_FUNC): Likewise.
11007
6142896d
DM
110082013-03-30 David S. Miller <davem@davemloft.net>
11009
11010 * po/de.po: Update from translation team.
11011
ccc8cadf
JM
110122013-03-30 Joseph Myers <joseph@codesourcery.com>
11013
11014 [BZ #10357]
11015 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11016 imaginary part less than 1.0 and real part less than 0.5
11017 specially.
11018 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11019 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11020 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11021 (cacos_test): Add more tests.
11022 (casin_test): Likewise.
11023 (casinh_test): Likewise.
11024 * sysdeps/i386/fpu/libm-test-ulps: Update.
11025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11026
0f6a8d4b
SP
110272013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11028
0d1029de
SP
11029 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11030 ONE with its value.
11031
c2d94018
SP
11032 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11033 (__pow_mp): Replace ONE and MONE with their values.
11034 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11035 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11036 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11037 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11038 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11039 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11040
27ec37f1
SP
11041 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11042
a64d7e0e
SP
11043 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11044 (__pow_mp): Replace ZERO and MZERO with their values.
11045 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11046 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11047 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11049 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11050 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11051 (__sqr): Likewise.
11052
d26dd3eb
SP
11053 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11054
0f6a8d4b
SP
11055 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11056
e57b0c61
RM
110572013-03-28 Roland McGrath <roland@hack.frob.com>
11058
11059 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11060 Declare with __attribute__ ((weak)).
11061 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11062 Call __call_tls_dtors only if it's not NULL.
11063
356b3480
RM
110642013-03-28 Roland McGrath <roland@hack.frob.com>
11065
288f7d79
RM
11066 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11067 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11068 magic __ehdr_start linker symbol if it's defined.
11069 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11070 them up here if it was already done.
11071
dc0a0263
RM
11072 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11073 (_dl_aux_init): Use const in cast when setting it.
11074 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11075 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11076 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11077
3d3436ae
RM
11078 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11079 Declare them here.
11080 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11081 * csu/libc-tls.c: Nor here.
11082 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11083
356b3480
RM
11084 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11085 (__libc_message): Never call vsyslog.
11086
b0f1246a
AM
110872013-03-28 Alan Modra <amodra@gmail.com>
11088
11089 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11090 Define as empty.
11091 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11092 Likewise.
11093
fbbe2b9a
AZ
110942013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11095
11096 [BZ #15214]
11097 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11098 underflow.
11099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11100
1728ab37
SP
111012013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11102
7a86be6e
SP
11103 [BZ #15304]
11104 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11105 Don't add gid passed as argument.
11106
1728ab37
SP
11107 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11108
3a7182a1
JM
111092013-03-27 Joseph Myers <joseph@codesourcery.com>
11110
11111 [BZ #15307]
11112 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11113 imaginary part between 1.0 and 1.5 and real part less than 0.5
11114 specially.
11115 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11116 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11117 * math/libm-test.inc (cacos_test): Add more tests.
11118 (casin_test): Likewise.
11119 (casinh_test): Likewise.
11120 * sysdeps/i386/fpu/libm-test-ulps: Update.
11121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11122
6f2e90e7
SP
111232013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11124
5739f705
SP
11125 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11126 constants.
11127 (norm): Likewise.
11128 (denorm): Likewise.
11129 (__dbl_mp): Likewise.
11130 (add_magnitudes): Likewise.
11131 (sub_magnitudes): Likewise.
11132 (__add): Likewise.
11133 (__sub): Likewise.
11134 (__mul): Likewise.
11135 (__sqr): Likewise.
11136 (__inv): Likewise.
11137 (__dvd): Likewise.
11138
e375e83d
SP
11139 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11140 commented code.
11141 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11142 (__dubcos): Likewise.
11143 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11144 (__ieee754_acos): Likewise.
11145 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11146 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11147 (__exp1): Likewise.
11148 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11150 (log1): Likewise.
11151 (my_log2): Likewise.
11152 (checkint): Likewise.
11153 * sysdeps/ieee754/dbl-64/e_remainder.c
11154 (__ieee754_remainder): Likewise.
11155 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11156 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11157 (bsloww): Likewise.
11158 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11159
6f2e90e7
SP
11160 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11161 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11162 MANTISSA_STORE_T to store computations on mantissa. Use
11163 macros for rounding and division.
11164 (denorm): Likewise.
11165 (__dbl_mp): Likewise.
11166 (add_magnitudes): Likewise.
11167 (sub_magnitudes): Likewise.
11168 (__mul): Likewise.
11169 (__sqr): Likewise.
11170 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11171 powers of two in terms of TWOPOW macro.
11172 (mp_no): Make type of mantissa as MANTISSA_T.
11173 [!RADIXI]: Define RADIXI.
11174 [!TWO52]: Define TWO52.
11175 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11176
fce14d4e
AZ
111772013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11178
11179 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11180 llroundl symbol when building for PPC32.
11181
9ad027fb
MW
111822013-03-24 Mark H Weaver <mhw@netris.org>
11183
11184 * manual/arith.texi (Normalization Functions): Fix prototypes for
11185 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11186
e42a38dd
AZ
111872013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11188
11189 [BZ #13889]
11190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11191 high value to check if expl overflow.
11192 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11193 to check for underflow and overflow.
11194 * math/libm-test.inc: Add exp test.
11195
2e0fb521
DL
111962013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11197
11198 [BZ #11120]
11199 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11200 with NOT_IN_libc.
11201
b5784d95
AZ
112022013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11203
11204 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11205 symbol.
11206
5aa4a1a1
TS
112072013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11208
bdef0be7
TS
11209 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11210 wrap blocks consisting of several statements.
11211
5aa4a1a1
TS
11212 * sysdeps/generic/math-tests.h: New file.
11213 * sysdeps/i386/fpu/math-tests.h: Likewise.
11214 * math/test-snan.c: Include it.
11215 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11216
98c48fe5
JM
112172013-03-21 Joseph Myers <joseph@codesourcery.com>
11218
11219 [BZ #15285]
11220 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11221 (__ieee754_j0l): Do not improve calculations using cos of twice
11222 input for inputs above LDBL_MAX / 2.0L.
11223 (__ieee754_y0l): Likewise.
11224 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11225 (__ieee754_j1l): Do not improve calculations using cos of twice
11226 input for inputs above LDBL_MAX / 2.0L.
11227 (__ieee754_y1l): Likewise.
11228 * math/libm-test.inc (j0_test): Add another test.
11229 (j1_test): Likewise.
11230 (y0_test): Likewise.
11231 (y1_test): Likewise.
11232 * sysdeps/i386/fpu/libm-test-ulps: Update.
11233
3775a8bc
SP
112342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11235
11236 * Rules ($(objpfx)bench-%.c): Include code from a C source
11237 file.
11238
0a1b2ae6
JM
112392013-03-21 Joseph Myers <joseph@codesourcery.com>
11240
11241 [BZ #15287]
11242 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11243 imaginary part 1.0 and real part less than 0.5 specially.
11244 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11245 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11246 * math/libm-test.inc (cacos_test): Add more tests.
11247 (casin_test): Likewise.
11248 (casinh_test): Likewise.
11249 * sysdeps/i386/fpu/libm-test-ulps: Update.
11250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11251
b33d4ce4
SP
112522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11253
11254 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11255 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11256
bef0b507
JM
112572013-03-20 Joseph Myers <joseph@codesourcery.com>
11258
11259 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11260 * config.make.in (config-cflags-sse4): Remove variable.
11261 (config-cflags-avx): Likewise.
11262 (config-cflags-sse2avx): Likewise.
11263 (config-cflags-novzeroupper): Likewise.
11264 (config-asflags-i686): Likewise.
11265 (have-mfma4): Likewise.
11266 (have-as-vis3): Likewise.
11267 (MIG): Likewise.
11268 * configure.in (MIG): Do not AC_SUBST.
11269 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11270 (libc_cv_cc_sse4): Do not AC_SUBST.
11271 (libc_cv_cc_avx): Likewise.
11272 (libc_cv_cc_sse2avx): Likewise.
11273 (libc_cv_cc_novzeroupper): Likewise.
11274 (libc_cv_cc_fma4): Likewise.
11275 (libc_cv_as_i686): Likewise.
11276 (libc_cv_sparc_as_vis3): Likewise.
11277 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11278 LIBC_CONFIG_VAR.
11279 (config-asflags-i686): Likewise.
11280 (config-cflags-avx): Likewise.
11281 (config-cflags-sse2avx): Likewise.
11282 (have-mfma4): Likewise.
11283 (config-cflags-novzeroupper): Likewise.
11284 * sysdeps/mach/configure.in (MIG): Likewise.
11285 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11286 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11287 LIBC_CONFIG_VAR.
11288 (config-cflags-avx): Likewise.
11289 (config-cflags-sse2avx): Likewise.
11290 (have-mfma4): Likewise.
11291 (config-cflags-novzeroupper): Likewise.
11292 * configure: Regenerated.
11293 * sysdeps/i386/configure: Likewise.
11294 * sysdeps/mach/configure: Likewise.
11295 * sysdeps/sparc/configure: Likewise.
11296 * sysdeps/x86_64/configure: Likewise.
11297
912cc4b3
RM
112982013-03-20 Roland McGrath <roland@hack.frob.com>
11299
11300 [BZ #14812]
11301 * locale/programs/localedef.c (options): Put N_ translation marker
11302 on argument names, not just descriptions.
11303
04eed2b0
MS
113042013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11305
11306 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11307
a065ceff
OB
113082013-03-20 Ondřej Bílka <neleai@seznam.cz>
11309
9bb2a810 11310 [BZ #14176]
a065ceff
OB
11311 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11312
a600e5ce
RM
113132013-03-19 Roland McGrath <roland@hack.frob.com>
11314
11315 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11316 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11317 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11318 [!BEFORE_ABORT] (before_abort): New function.
11319 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11320 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11321 (writev_for_fatal): New function.
11322 (WRITEV_FOR_FATAL): New macro; call that.
11323 (backtrace_and_maps): New function.
11324 (BEFORE_ABORT): New macro; call that.
11325 (struct str_list): Type removed.
11326 (__libc_message, __libc_fatal): Functions removed.
11327 Include <sysdeps/posix/libc_fatal.c> instead.
11328
6b18bea6
JM
113292013-03-19 Joseph Myers <joseph@codesourcery.com>
11330
11331 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11332 constants.
11333 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11334 double constants.
11335
aaa8cb4b
AS
113362013-03-19 Andreas Schwab <schwab@suse.de>
11337
44673770
AS
11338 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11339 * sysdeps/gnu/configure: Regenerate.
11340
aaa8cb4b
AS
11341 * configure.in: Substitute libc_cv_rtlddir.
11342 * configure: Regenerate.
11343 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11344 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11345 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11346 * elf/Makefile (install-others, CFLAGS-interp.c)
11347 (ldso_install, common-ldd-rewrite): Likewise.
11348 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11349 $(inst_slibdir)/$(rtld-installed-name).
11350 * scripts/rellns-sh: Add -p option.
11351 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11352 for source.
11353
d3cfc668
SP
113542013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11355
11356 * manual/nptl.texi: Renamed to ...
11357 * manual/threads.texi: ... this.
11358 * manual/Makefile (chapters): Update.
11359
0e2b9cdd
RM
113602013-03-18 Roland McGrath <roland@hack.frob.com>
11361
11362 [BZ #14812]
11363 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11364 on argument names, not just descriptions.
0e2b9cdd
RM
11365 * malloc/memusagestat.c (options): Likewise.
11366 * nss/getent.c (options): Likewise.
63270c24
RM
11367
113682013-03-18 Benno Schulenberg <bensberg@justemail.net>
11369
11370 [BZ #14812]
11371 * iconv/iconv_prog.c (options): Put N_ translation marker
11372 on argument names, not just descriptions.
11373 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11374
b2e1393c
OB
113752013-03-18 Ondrej Bilka <neleai@seznam.cz>
11376
11377 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11378 implementation which is faster on all x86_64 architectures.
11379 Tested on AMD, Intel Nehalem, SNB, IVB.
11380 * sysdeps/x86_64/strnlen.S: Likewise.
11381
11382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11383 Remove all multiarch strlen and strnlen versions.
11384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11385 Remove strlen and strnlen related parts.
11386
11387 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11388 Inline strlen part.
11389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11390
11391 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11392 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11393 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11394 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11395 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11396 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11397
ec4ff04d
CD
113982013-03-17 Carlos O'Donell <carlos@redhat.com>
11399
11400 * manual/memory.texi (Malloc Tunable Parameters):
11401 Sort parameters alphabetically. Add comments for missing entries.
11402
cd18e90a
DM
114032013-03-17 David S. Miller <davem@davemloft.net>
11404
11405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11406
2a185d32
JM
114072013-03-16 Joseph Myers <joseph@codesourcery.com>
11408
d2f9799e
JM
11409 [BZ #15283]
11410 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11411 for arguments at most half maximum finite value.
11412 * math/libm-test.inc (j0_test): Add more tests.
11413 (j1_test): Likewise.
11414 (y0_test): Likewise.
11415 (y1_test): Likewise.
11416 * sysdeps/i386/fpu/libm-test-ulps: Update.
11417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11418
2a185d32
JM
11419 [BZ #14155]
11420 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11421 1 / x and functions P and Q for arguments above 0x1p256L.
11422 (__ieee754_y0l): Likewise.
11423 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11424 (__ieee754_y1l): Likewise.
11425 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11426 (j1_test): Likewise.
11427 (y0_test): Likewise.
11428 (y1_test): Likewise.
11429
6cbec759
TS
114302013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11431
11432 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11433 variable.
11434
bc16e260
RM
114352013-03-15 Roland McGrath <roland@hack.frob.com>
11436
aefc9b8c
RM
11437 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11438 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11439 zero since it's initialized to EXEC_PAGESIZE.
11440
bc16e260
RM
11441 * sysdeps/unix/sysv/linux/ldsodefs.h
11442 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11443 * sysdeps/generic/ldsodefs.h: ... here.
11444
a57da955
TS
114452013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11446
af00a34d
TS
11447 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11448
495ded2c
TS
11449 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11450 math/test-snan.c.
11451 * math/test-snan.c: Renamed from
11452 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11453 * math/Makefile (tests): Add test-snan.
11454 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11455 test-powerpc-snan.
11456
777b0332
TS
11457 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11458 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11459 functions.
11460 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11461 __builtin_nan family of functions.
11462 * math/libm-test.inc (initialize): Initialize qnan_value with
11463 __builtin_nan family of functions.
11464 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11465 Remove variables.
11466 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11467 Remove functions.
11468 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11469 storage class. Initialize qNaN_var and sNaN_var with
11470 __builtin_nan and __builtin_nans families of functions,
11471 respectively.
11472
64d063b8
TS
11473 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11474 (sqrt_test): Remove duplicate test with qNaN input.
11475 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11476 (round_test, signbit_test, significand_test): Note missing +/-Inf
11477 as well as qNaN tests.
11478
67e971f1
TS
11479 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11480 qNaN_var. Fix a few strings, too.
11481 * math/libm-test.inc (nan_value): Rename to qnan_value.
11482 * math/gen-libm-test.pl (%beautify): Adjust to that.
11483 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11484 * math/test-misc.c (main): Likewise.
11485 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11486 to __qnan_bytes, and __qnan_union, respectively.
11487 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11488 Likewise.
11489 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11490 and lqnanval, respectively.
11491 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11492 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11493 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11494 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11495
64487e12
TS
11496 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11497 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11498 doubles.
11499
e015e27b
TS
11500 * math/test-misc.c (main): Fix copy'n'pastos.
11501 * misc/tst-efgcvt.c (special): Likewise.
11502
a57da955
TS
11503 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11504 Remove declarations.
11505
1e380345
SP
115062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11507
11508 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11509 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11510 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11511 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11512
ef26eece
AZ
115132013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11514
11515 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11516 macro to return vdso values correctly in IFUNC implementations.
11517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11518 Optimization by using IFUNC.
11519
8cfdb7e0
SP
115202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11521 Richard Henderson <rth@redhat.com>
11522 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11523
11524 * Makefile.in (bench): New target.
11525 * NEWS: Mention the benchmark framework.
11526 * Rules (bench): Likewise.
11527 (binaries-bench): Generate binaries for functions to
11528 benchmark.
11529 * benchtests/Makefile: New makefile for benchmark tests.
11530 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11531 programs.
11532 * benchtests/exp-inputs: New input file for EXP function.
11533 * benchtests/pow-inputs: New input file for POW function.
11534 * scripts/bench.pl: New script to generate source files for
11535 benchmark programs.
11536
bcda9880
SP
115372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11538
d22ca8cd
SP
11539 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11540 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11541 computations on mantissa. Use macros for rounding and
11542 division.
11543 (denorm): Likewise.
11544 (__dbl_mp): Likewise.
11545 (add_magnitudes): Likewise.
11546 (sub_magnitudes): Likewise.
11547 (__mul): Likewise.
11548 (__sqr): Likewise.
11549 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11550 powers of two in terms of TWOPOW macro.
11551 (mp_no): Make type of mantissa as MANTISSA_T.
11552 [!RADIXI]: Define RADIXI.
11553 [!TWO52]: Define TWO52.
11554 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11555
bcda9880
SP
11556 * manual/nptl.texi (cindex): Modify threads to pthreads.
11557
06d5adfb
JM
115582013-03-15 Joseph Myers <joseph@codesourcery.com>
11559
11560 * sysdeps/x86_64/preconfigure: Regenerated.
11561
41c7328e
JM
115622013-03-14 Joseph Myers <joseph@codesourcery.com>
11563
11564 [BZ #14155]
11565 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11566 0x1p28 and above.
11567 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11568 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11569 0x1p28 and above.
11570 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11571 * math/libm-test.inc (j0_test): Do not allow one spurious
11572 underflow exception.
11573 (y1_test): Likewise.
11574
e25cfa60
SP
115752013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11576
0409959c
SP
11577 * manual/Makefile (chapters): Add nptl.
11578 * manual/debug.texi (Debugging Support): Add link to Threads
11579 chapter.
11580 * manual/nptl.texi: New file.
11581
e25cfa60
SP
11582 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11583
58a1335e
PB
115842013-03-14 Petr Baudis <pasky@ucw.cz>
11585
11586 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11587 for non-NULL pointer before the memory validity test. Pointed
11588 out by Holger Brunck <holger.brunck@keymile.com>.
11589
9dc7c64f
AS
115902013-03-13 Andreas Schwab <schwab@suse.de>
11591
11592 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11593 instead of .os.
11594
54206aa6
JM
115952013-03-13 Joseph Myers <joseph@codesourcery.com>
11596
11597 * timezone/zic.c: Update from tzcode 2013b.
11598
e98cdb38
CD
115992013-03-12 Carlos O'Donell <carlos@redhat.com>
11600
11601 * manual/install.texi (Configuring and compiling):
11602 Mention i686 and i586.
11603 * INSTALL: Regenerate.
11604
9967e003
RM
116052013-03-12 Roland McGrath <roland@hack.frob.com>
11606
11607 * sysdeps/init_array/elf-init.c: New file.
11608 * csu/elf-init.c
11609 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11610 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11611
11612 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11613 __gmon_start__ as global, but as static with a .preinit_array pointer.
11614 * sysdeps/init_array/gmon-start.c: New file. Use that.
11615 * sysdeps/init_array/crti.S: New file, empty except for comments.
11616 * sysdeps/init_array/crtn.S: Likewise.
11617
e6b5a293 116182013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11619
11620 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11621 definining bcopy.
80f844c9
OB
11622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11623 Remove Prefer_SSE_for_memop.
11624 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11625 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11626 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11628 memset-x86-64.
80f844c9 11629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11630 Remove bzero, memset ifunc support.
80f844c9
OB
11631 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11632 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11633 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11634 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11635
fb6b0fcb
AS
116362013-03-11 Andreas Schwab <schwab@suse.de>
11637
11638 [BZ #15234]
11639 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11640 by SHLIB_COMPAT.
11641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11642 (GLIBC_2.16): Remove pthread_atfork.
11643
3e6bd4b1
PP
116442013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11645
11646 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11647 (ptestcases.h): Likewise.
11648
222d7f00
RM
116492013-03-08 Roland McGrath <roland@hack.frob.com>
11650
11651 * Makeconfig ($(common-objpfx)config.status): Depend on
11652 sysdeps/*/preconfigure{,.in} too.
11653
1ba4f030
JM
116542013-03-08 Joseph Myers <joseph@codesourcery.com>
11655
a222d91a
JM
11656 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11657 (__free_hook): Use void * instead of __malloc_ptr_t.
11658 (__malloc_hook): Likewise.
11659 (__realloc_hook): Likewise.
11660 (__memalign_hook): Likewise.
11661 (__after_morecore_hook): Likewise.
11662 * malloc/arena.c (save_malloc_hook): Likewise.
11663 (save_free_hook): Likewise.
11664 * malloc/hooks.c (malloc_hook_ini): Likewise.
11665 (realloc_hook_ini): Likewise.
11666 (memalign_hook_ini): Likewise.
11667 * malloc/malloc.c (malloc_hook_ini): Likewise.
11668 (realloc_hook_ini): Likewise.
11669 (memalign_hook_ini): Likewise.
11670 (__free_hook): Likewise.
11671 (__malloc_hook): Likewise.
11672 (__realloc_hook): Likewise.
11673 (__memalign_hook): Likewise.
11674 (__libc_malloc): Likewise.
11675 (__libc_free): Likewise.
11676 (__libc_realloc): Likewise.
11677 (__libc_memalign): Likewise.
11678 (__libc_valloc): Likewise.
11679 (__libc_pvalloc): Likewise.
11680 (__libc_calloc): Likewise.
11681 (__posix_memalign): Likewise.
11682 * malloc/morecore.c (__sbrk): Likewise.
11683 (__default_morecore): Likewise.
11684
5cc45e10
JM
11685 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11686
dd54b864
JM
11687 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11688 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11689 __malloc_ptrdiff_t.
11690
1ba4f030
JM
11691 * malloc/malloc.h (__malloc_size_t): Remove macro.
11692 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11693 __malloc_size_t.
11694 (old_memalign_hook): Likewise.
11695 (old_realloc_hook): Likewise.
11696 (struct hdr): Likewise.
11697 (flood): Likewise.
11698 (mallochook): Likewise.
11699 (memalignhook): Likewise.
11700 (reallochook): Likewise.
11701 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11702 (tr_old_realloc_hook): Likewise.
11703 (tr_old_memalign_hook): Likewise.
11704 (tr_mallochook): Likewise.
11705 (tr_reallochook): Likewise.
11706 (tr_memalignhook): Likewise.
11707
edf66e57
AZ
117082013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11709
11710 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11711 default_ldbl_pack and using as default implementation.
11712 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11713 implementation.
11714 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11715 redundant definition.
11716 (ldbl_insert_mantissa): Likewise.
11717 (ldbl_canonicalize): Likewise.
11718 (ldbl_nearbyint): Likewise.
11719 (ldbl_pack): Rename to ldbl_pack_ppc.
11720 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11721 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11722 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11723
6d9145d8
SP
117242013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11725
11726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11727 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11728 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11729 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11731 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11732 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11733 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11734
4dd4e157
AJ
117352013-03-07 Andreas Jaeger <aj@suse.de>
11736
11737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11738 bits/mman-linux.h.
11739
adbb8027
SP
117402013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11741
ce544b5b
SP
11742 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11743 Include mpa.h and declare __MPEXP.
11744 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11745 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11746 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11747 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11749 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11750 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11751
4cc149fd
SP
11752 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11753 (__slowpow): Use long double EXPL and LOGL functions to
11754 compute POW.
11755 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11756 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11758 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11759 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11760 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11761
e6ebd4a7
SP
11762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11763 intermediate variable to calculate exponent.
11764 (__sqr): Likewise.
11765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11766 Likewise.
11767 (__sqr): Likewise.
11768
82a9811d
SP
11769 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11770 [!NO__SQR]: Define __sqr.
11771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11772 and NO__SQR. Remove all code except __mul and __sqr. Include
11773 sysdeps/ieee754/dbl-64/mpa.c.
11774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11775
adbb8027
SP
11776 [BZ #12723]
11777 * posix/Makefile (tests): Add tst-pathconf.
11778 * posix/tst-pathconf.c: New test case.
11779 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11780 _PC_PIPE_BUF.
11781 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11782
39120df9
PF
117832013-03-06 Patsy Franklin <pfrankli@redhat.com>
11784
11785 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11786
67525cb8
AJ
117872013-03-06 Andreas Jaeger <aj@suse.de>
11788
664a9ce4
AJ
11789 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11790 definition via __MAP_ANONYMOUS.
11791
8e39047d
AJ
11792 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11793 it's not part of Linux headers.
11794
67525cb8
AJ
11795 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11796 (MAP_HUGE_MASK): Define.
11797
11798 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11799 Define.
11800 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11802 Define.
11803 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11804 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11805 Define.
11806 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11807 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11808 Define.
11809 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11810
11811 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11812 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11813 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11814 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11815 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11816 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11817
11818 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11819 Handle f2fs.
11820
11821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11822 Handle f2fs and efivarfs.
11823
11824 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11825 f2fs.
11826
11827 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11828 (EFIVARFS_MAGIC): Add.
11829 (F2FS_LINK_MAX): Add.
11830
e1b42695
PP
118312013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11832
11833 * stdio-common/vfprintf.c: Replace __builtin_expect with
11834 __glibc_unlikely.
11835
2d67d91a
JM
118362013-03-06 Joseph Myers <joseph@codesourcery.com>
11837
11838 [BZ #13550]
11839 * sysdeps/generic/bp-sym.h: Remove file.
11840 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11841 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11842 <bp-sym.h> and <bp-asm.h>.
11843 (__longjmp): Don't use BP_SYM.
11844 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11845 and <bp-asm.h>.
11846 (memcpy): Don't use BP_SYM.
11847 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11848 <bp-sym.h> and <bp-asm.h>.
11849 (memcpy): Don't use BP_SYM.
11850 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11851 <bp-asm.h>.
11852 (memcpy): Don't use BP_SYM.
11853 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11854 <bp-asm.h>.
11855 (memset): Don't use BP_SYM.
11856 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11857 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11858 (__bzero): Don't use BP_SYM.
11859 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11860 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11861 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11862 <bp-sym.h> and <bp-asm.h>.
11863 (memcmp): Don't use BP_SYM. Remove comment about bounded
11864 pointers.
11865 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11866 <bp-sym.h> and <bp-asm.h>.
11867 (memcpy): Don't use BP_SYM.
11868 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11869 <bp-sym.h> and <bp-asm.h>.
11870 (memset): Don't use BP_SYM.
11871 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11872 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11873 (__bzero): Don't use BP_SYM.
11874 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11875 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11876 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11877 <bp-sym.h> and <bp-asm.h>.
11878 (strncmp): Don't use BP_SYM. Remove comment about bounded
11879 pointers.
11880 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11881 <bp-sym.h> and <bp-asm.h>.
11882 (memcpy): Don't use BP_SYM.
11883 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11884 <bp-sym.h> and <bp-asm.h>.
11885 (memset): Don't use BP_SYM.
11886 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11887 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11888 (__bzero): Don't use BP_SYM.
11889 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11890 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11891 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11892 <bp-sym.h> and <bp-asm.h>.
11893 (__memchr): Don't use BP_SYM.
11894 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11895 <bp-sym.h> and <bp-asm.h>.
11896 (memcmp): Don't use BP_SYM. Remove comment about bounded
11897 pointers.
11898 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11899 <bp-sym.h> and <bp-asm.h>.
11900 (memcpy): Don't use BP_SYM.
11901 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11902 <bp-sym.h> and <bp-asm.h>.
11903 (__mempcpy): Don't use BP_SYM.
11904 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11905 <bp-sym.h> and <bp-asm.h>.
11906 (__memrchr): Don't use BP_SYM.
11907 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11908 <bp-sym.h> and <bp-asm.h>.
11909 (memset): Don't use BP_SYM.
11910 (__bzero): Likewise.
11911 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11912 <bp-sym.h> and <bp-asm.h>.
11913 (__rawmemchr): Don't use BP_SYM.
11914 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11915 <bp-sym.h> and <bp-asm.h>.
11916 (__STRCMP): Don't use BP_SYM.
11917 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11918 <bp-sym.h> and <bp-asm.h>.
11919 (strchr): Don't use BP_SYM.
11920 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11921 <bp-sym.h> and <bp-asm.h>.
11922 (__strchrnul): Don't use BP_SYM.
11923 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11924 <bp-sym.h> and <bp-asm.h>.
11925 (strlen): Don't use BP_SYM.
11926 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11927 <bp-sym.h> and <bp-asm.h>.
11928 (strncmp): Don't use BP_SYM. Remove comment about bounded
11929 pointers.
11930 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11931 <bp-sym.h> and <bp-asm.h>.
11932 (__strnlen): Don't use BP_SYM.
11933 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11934 <bp-sym.h> and <bp-asm.h>.
11935 (__GI__setjmp): Don't use BP_SYM.
11936 (_setjmp): Likewise.
11937 (__sigsetjmp): Likewise.
11938 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11939 (L(start_addresses)): Don't use BP_SYM.
11940 (_start): Likewise.
11941 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11942 <bp-asm.h>.
11943 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11944 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11945 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11946 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11947 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11948 <bp-asm.h>.
11949 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11950 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11951 about bounded pointers.
11952 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11953 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11954 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11955 <bp-asm.h>.
11956 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11957 about bounded pointers. Remove GKM FIXME comments.
11958 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11959 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11960 <bp-asm.h>.
11961 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11962 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11963 Remove GKM FIXME comments.
11964 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11965 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11966 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11967 <bp-asm.h>.
11968 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11969 about bounded pointers. Remove GKM FIXME comment.
11970 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11971 and <bp-asm.h>.
11972 (strncmp): Don't use BP_SYM. Remove comment about bounded
11973 pointers.
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11975 <bp-sym.h> and <bp-asm.h>.
11976 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11978 <bp-sym.h> and <bp-asm.h>.
11979 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11980 comment.
11981
cdcf361f
PP
119822013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11983
11984 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11985 call free(NULL).
11986
3c4a2b15
DM
119872013-03-05 David S. Miller <davem@davemloft.net>
11988
11989 * po/es.po: Update from translation team.
11990
cdcf361f 119912013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11992
11993 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11994 <bits/mman-linux.h>.
11995 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11996 is fine.
11997 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11998 <bits/mman-linux.h> to end of file.
11999 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12000 is fine.
12001 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12002 <bits/mman-linux.h> to end of file.
12003 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12004 is fine.
12005 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12006 <bits/mman-linux.h> to end of file.
12007
12008 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12009 (MCL_CURRENT, MCL_FUTURE): Define here.
12010
5f67c04f
AK
120112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12012
8a4473cc 12013 [BZ #15232]
5f67c04f
AK
12014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12015 attribute_hidden.
12016 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12017
c3e94a95
AK
120182013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12019
12020 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12021 fourth parameter needed for rt_sigprocmask syscall.
12022 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12023 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12024 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12025 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12026 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12027 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12028
cfb6382a
JM
120292013-03-04 Joseph Myers <joseph@codesourcery.com>
12030
12031 [BZ #13550]
12032 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12033 comment about bounded pointers.
12034 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12035 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12036
539d8e01
AJ
120372013-03-04 Andreas Jaeger <aj@suse.de>
12038
12039 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12040 common definitions.
12041
12042 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12043 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12044 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12045 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12046 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12047 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12048
2e167a70 120492013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12050
12051 [BZ #15055]
12052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12053 __ieee754_sqrl instead of __sqrl.
12054
68508633
JM
120552013-03-01 Joseph Myers <joseph@codesourcery.com>
12056
12057 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12058 * sysdeps/powerpc/fpu_control.h: ... here.
12059 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12060 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12061 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12062 * sysdeps/powerpc/bits/mathinline.h: ... here.
12063
7775448e
RM
120642013-03-01 Roland McGrath <roland@hack.frob.com>
12065
12066 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12067 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12068 to just [NEED_DL_SYSINFO_DSO].
12069 * elf/dl-support.c: Likewise.
12070 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12071 * elf/rtld.c (dl_main): Likewise.
12072 * elf/setup-vdso.h (setup_vdso): Likewise.
12073 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12074 * sysdeps/unix/sysv/linux/dl-sysdep.c
12075 (_dl_discover_osversion): Likewise.
12076
4e9b5995
CD
120772013-03-01 Carlos O'Donell <carlos@redhat.com>
12078
12079 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12080 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12081
e23872c8
SP
120822013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12083
e5c74c63
SP
12084 * NEWS: Mention libm performance improvements and non-x86 PI
12085 futex support.
12086
e23872c8
SP
12087 * csu/libc-start.c (__pthread_initialize_minimal): Change
12088 function arguments.
12089 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12090
b5510883
JM
120912013-02-28 Joseph Myers <joseph@codesourcery.com>
12092
12093 [BZ #13550]
12094 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12095 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12096 <bp-sym.h> and <bp-asm.h>.
12097 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12098 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12099 and <bp-asm.h>.
12100 (memcpy): Don't use BP_SYM.
12101 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12102 <bp-asm.h>.
12103 (__mpn_add_n): Don't use BP_SYM.
12104 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12105 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12106 and <bp-asm.h>.
12107 (__mpn_addmul_1): Don't use BP_SYM.
12108 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12109 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12110 <bp-sym.h>.
12111 (_setjmp): Don't use BP_SYM.
12112 (__novmx_setjmp): Likewise.
12113 (__GI__setjmp): Likewise.
12114 (__vmx_setjmp): Likewise.
12115 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12116 <bp-sym.h>.
12117 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12118 (__bzero): Don't use BP_SYM.
12119 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12120 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12121 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12122 <bp-sym.h> and <bp-asm.h>.
12123 (memcpy): Don't use BP_SYM.
12124 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12125 <bp-sym.h> and <bp-asm.h>.
12126 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12127 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12128 <bp-sym.h> and <bp-asm.h>.
12129 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12130 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12131 <bp-asm.h>.
12132 (__mpn_lshift): Don't use BP_SYM.
12133 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12134 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12135 <bp-asm.h>.
12136 (memset): Don't use BP_SYM.
12137 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12138 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12139 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12140 <bp-asm.h>.
12141 (__mpn_mul_1): Don't use BP_SYM.
12142 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12143 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12144 <bp-sym.h> and <bp-asm.h>.
12145 (memcmp): Don't use BP_SYM.
12146 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12147 <bp-sym.h> and <bp-asm.h>.
12148 (memcpy): Don't use BP_SYM.
12149 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12150 <bp-sym.h> and <bp-asm.h>.
12151 (memset): Don't use BP_SYM.
12152 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12153 <bp-sym.h> and <bp-asm.h>.
12154 (strncmp): Don't use BP_SYM.
12155 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12156 <bp-sym.h> and <bp-asm.h>.
12157 (memcpy): Don't use BP_SYM.
12158 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12159 <bp-sym.h> and <bp-asm.h>.
12160 (memset): Don't use BP_SYM.
12161 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12162 <bp-sym.h> and <bp-asm.h>.
12163 (__memchr): Don't use BP_SYM.
12164 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12165 <bp-sym.h> and <bp-asm.h>.
12166 (memcmp): Don't use BP_SYM.
12167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12168 <bp-sym.h> and <bp-asm.h>.
12169 (memcpy): Don't use BP_SYM.
12170 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12171 <bp-sym.h> and <bp-asm.h>.
12172 (__mempcpy): Don't use BP_SYM.
12173 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12174 <bp-sym.h> and <bp-asm.h>.
12175 (__memrchr): Don't use BP_SYM.
12176 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12177 <bp-sym.h> and <bp-asm.h>.
12178 (memset): Don't use BP_SYM.
12179 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12180 <bp-sym.h> and <bp-asm.h>.
12181 (__rawmemchr): Don't use BP_SYM.
12182 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12183 <bp-sym.h> and <bp-asm.h>.
12184 (__STRCMP): Don't use BP_SYM.
12185 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12186 <bp-sym.h> and <bp-asm.h>.
12187 (strchr): Don't use BP_SYM.
12188 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12189 <bp-sym.h> and <bp-asm.h>.
12190 (__strchrnul): Don't use BP_SYM.
12191 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12192 <bp-sym.h> and <bp-asm.h>.
12193 (strlen): Don't use BP_SYM.
12194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12195 <bp-sym.h> and <bp-asm.h>.
12196 (strncmp): Don't use BP_SYM.
12197 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12198 <bp-sym.h> and <bp-asm.h>.
12199 (__strnlen): Don't use BP_SYM.
12200 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12201 <bp-asm.h>.
12202 (__mpn_rshift): Don't use BP_SYM.
12203 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12204 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12205 <bp-sym.h> and <bp-asm.h>.
12206 (__sigsetjmp): Don't use BP_SYM.
12207 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12208 (L(start_addresses)): Don't use BP_SYM.
12209 (_start): Likewise.
12210 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12211 <bp-asm.h>.
12212 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12213 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12214 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12215 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12216 <bp-asm.h>.
12217 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12218 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12219 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12220 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12221 <bp-asm.h>.
12222 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12223 comments.
12224 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12225 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12226 <bp-asm.h>.
12227 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12228 FIXME comments.
12229 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12230 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12231 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12232 <bp-asm.h>.
12233 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12234 comment.
12235 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12236 and <bp-asm.h>.
12237 (strncmp): Don't use BP_SYM,
12238 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12239 <bp-asm.h>.
12240 (__mpn_sub_n): Don't use BP_SYM.
12241 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12242 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12243 and <bp-asm.h>.
12244 (__mpn_submul_1): Don't use BP_SYM.
12245 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12247 <bp-sym.h> and <bp-asm.h>.
12248 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12250 <bp-sym.h> and <bp-asm.h>.
12251 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12252 comment.
12253
8d19fe64
SP
122542013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12255
12256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12257 Use ZK to minimize writes to Z.
12258 (sub_magnitudes): Simplify code a bit.
12259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12260 Use ZK to minimize writes to Z.
12261 (sub_magnitudes): Simplify code a bit.
12262
85bd816a
RM
122632013-02-27 Roland McGrath <roland@hack.frob.com>
12264
12265 * csu/gmon-start.c: Add special exception to license text.
12266
b5977bf2
RH
122672013-02-27 Richard Henderson <rth@redhat.com>
12268
12269 * scripts/config.guess: Update from config.git.
12270 * scripts/config.sub: Likewise.
12271
11d6e2f2
SP
122722013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12273
09c14ed2
SP
12274 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12275
a688864e
SP
12276 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12277
6295157a
SP
12278 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12279
b8de2202
SP
12280 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12281
11d6e2f2
SP
12282 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12283
7e80ddb8
RM
122842013-02-26 Roland McGrath <roland@hack.frob.com>
12285
12286 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12287 [$(build-shared = yes].
7e80ddb8 12288
7da6d9ed
SP
122892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12290
45f05884
SP
12291 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12292 (__mul): Reduce iterations for calculating mantissa.
12293
2236d359
SP
12294 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12295 MPTWO.
12296 (__mpranred): Likewise.
12297
7da6d9ed
SP
12298 [BZ #15160]
12299 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12300 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12301
b7688c42
PE
123022013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12303
12304 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12305 Define __attribute__.
12306
53a5c423
SP
123072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12308
12309 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12310 unused.
12311 * posix/regex_internal.h (__attribute): Remove.
12312 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12313 (re_string_context_at): Likewise.
12314 (bitset_not): Use __attribute__ and mark function as possibly
12315 unused.
12316 (bitset_merge): Likewise.
12317 (bitset_mask): Likewise.
12318 (re_string_char_size_at): Likewise.
12319 (re_string_wchar_at): Likewise.
12320 (re_string_elem_size_at): Likewise.
12321
60f5a8b5
SP
123222013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12323
2a983a2e
SP
12324 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12325 code.
12326 (cc32): Likewise.
12327
e69804d1
SP
12328 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12329 (__acr): Likewise.
12330 (__cpy): Likewise.
12331 (norm): Likewise.
12332 (denorm): Likewise.
12333 (__dbl_mp): Likewise.
12334 (add_magnitudes): Likewise.
12335 (sub_magnitudes): Likewise.
12336 (__mul): Likewise.
12337 (__inv): Likewise.
12338
2f22a1e8
SP
12339 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12340 style.
12341
8930ddc7
SP
12342 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12343 style.
12344
dc60cb11
SP
12345 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12346 code.
12347
60f5a8b5
SP
12348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12349 up changes with default code.
12350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12351 Likewise.
12352
b4d1fd33
AM
123532013-02-24 Allan McRae <allan@archlinux.org>
12354
faf6f8bc
AM
12355 * manual/socket.texi (The Internet Namespace): Order menu items
12356 to match that in the file.
12357
b4d1fd33
AM
12358 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12359 node listing of the info page menu.
12360
2366713d
JM
123612013-02-21 Joseph Myers <joseph@codesourcery.com>
12362
12363 [BZ #13550]
12364 * sysdeps/i386/bp-asm.h: Remove file.
12365 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12366 (PARMS): Do not use macros from bp-asm.h.
12367 (S1): Likewise.
12368 (S2): Likewise.
12369 (SIZE): Likewise.
12370 (__mpn_add_n): Do not use BP_SYM
12371 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12372 "bp-asm.h".
12373 (PARMS): Do not use macros from bp-asm.h.
12374 (S1): Likewise.
12375 (SIZE): Likewise.
12376 (__mpn_addmul_1): Do not use BP_SYM
12377 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12378 "bp-asm.h".
12379 (PARMS): Do not use macros from bp-asm.h.
12380 (SIGMSK): Likewise.
12381 (_setjmp): Likewise. Do not use BP_SYM.
12382 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12383 "bp-asm.h".
12384 (PARMS): Do not use macros from bp-asm.h.
12385 (SIGMSK): Likewise.
12386 (setjmp): Likewise. Do not use BP_SYM.
12387 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12388 "bp-asm.h".
12389 (PARMS): Do not use macros from bp-asm.h.
12390 (__frexp): Do not use BP_SYM.
12391 (frexp): Likewise.
12392 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12393 "bp-asm.h".
12394 (PARMS): Do not use macros from bp-asm.h.
12395 (__frexpf): Do not use BP_SYM.
12396 (frexpf): Likewise.
12397 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12398 "bp-asm.h".
12399 (PARMS): Do not use macros from bp-asm.h.
12400 (__frexpl): Do not use BP_SYM.
12401 (frexpl): Likewise.
12402 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12403 "bp-asm.h".
12404 (PARMS): Do not use macros from bp-asm.h.
12405 (__remquo): Do not use BP_SYM.
12406 (remquo): Likewise.
12407 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12408 "bp-asm.h".
12409 (PARMS): Do not use macros from bp-asm.h.
12410 (__remquof): Do not use BP_SYM.
12411 (remquof): Likewise.
12412 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12413 "bp-asm.h".
12414 (PARMS): Do not use macros from bp-asm.h.
12415 (__remquol): Do not use BP_SYM.
12416 (remquol): Likewise.
12417 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12418 "bp-asm.h".
12419 (PARMS): Do not use macros from bp-asm.h.
12420 (DEST): Likewise.
12421 (SRC): Likewise.
12422 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12423 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12424 "bp-asm.h".
12425 (PARMS): Do not use macros from bp-asm.h.
12426 (strlen): Do not use BP_SYM.
12427 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12428 "bp-asm.h".
12429 (PARMS): Do not use macros from bp-asm.h.
12430 (S1): Likewise.
12431 (S2): Likewise.
12432 (SIZE): Likewise.
12433 (__mpn_add_n): Do not use BP_SYM.
12434 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12435 "bp-asm.h".
12436 (PARMS): Do not use macros from bp-asm.h.
12437 (S1): Likewise.
12438 (SIZE): Likewise.
12439 (__mpn_addmul_1): Do not use BP_SYM.
12440 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12441 weak_alias.
12442 (bzero): Likewise.
12443 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12444 "bp-asm.h".
12445 (PARMS): Do not use macros from bp-asm.h.
12446 (S): Likewise.
12447 (SIZE): Likewise.
12448 (__mpn_lshift): Do not use BP_SYM.
12449 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12450 "bp-asm.h".
12451 (PARMS): Do not use macros from bp-asm.h.
12452 (DEST): Likewise.
12453 (SRC): Likewise.
12454 (LEN): Likewise.
12455 (memcpy): Likewise. Do not use BP_SYM.
12456 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12457 libc_hidden_def and weak_alias.
12458 (mempcpy): Do not use BP_SYM in weak_alias.
12459 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12460 "bp-asm.h".
12461 (PARMS): Do not use macros from bp-asm.h.
12462 (DEST): Likewise.
12463 (LEN): Likewise.
12464 [!BZERO_P] (CHR): Likewise.
12465 (memset): Likewise. Do not use BP_SYM.
12466 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12467 "bp-asm.h".
12468 (PARMS): Do not use macros from bp-asm.h.
12469 (S1): Likewise.
12470 (SIZE): Likewise.
12471 (__mpn_mul_1): Do not use BP_SYM.
12472 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12473 "bp-asm.h".
12474 (PARMS): Do not use macros from bp-asm.h.
12475 (S): Likewise.
12476 (SIZE): Likewise.
12477 (__mpn_rshift): Do not use BP_SYM.
12478 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12479 "bp-asm.h".
12480 (PARMS): Do not use macros from bp-asm.h.
12481 (STR): Likewise.
12482 (CHR): Likewise.
12483 (strchr): Likewise. Do not use BP_SYM.
12484 (index): Do not use BP_SYM in weak_alias.
12485 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12486 "bp-asm.h".
12487 (PARMS): Do not use macros from bp-asm.h.
12488 (DEST): Likewise.
12489 (SRC): Likewise.
12490 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12491 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12492 "bp-asm.h".
12493 (PARMS): Do not use macros from bp-asm.h.
12494 (strlen): Do not use BP_SYM.
12495 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12496 "bp-asm.h".
12497 (PARMS): Do not use macros from bp-asm.h.
12498 (S1): Likewise.
12499 (S2): Likewise.
12500 (SIZE): Likewise.
12501 (__mpn_sub_n): Do not use BP_SYM.
12502 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12503 "bp-asm.h".
12504 (PARMS): Do not use macros from bp-asm.h.
12505 (S1): Likewise.
12506 (SIZE): Likewise.
12507 (__mpn_submul_1): Do not use BP_SYM.
12508 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12509 "bp-asm.h".
12510 (PARMS): Do not use macros from bp-asm.h.
12511 (S1): Likewise.
12512 (S2): Likewise.
12513 (SIZE): Likewise.
12514 (__mpn_add_n): Do not use BP_SYM.
12515 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12516 weak_alias.
12517 (bzero): Likewise.
12518 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12519 "bp-asm.h".
12520 (PARMS): Do not use macros from bp-asm.h.
12521 (BLK2): Likewise.
12522 (LEN): Likewise.
12523 (memcmp): Do not use BP_SYM.
12524 (bcmp): Do not use BP_SYM in weak_alias.
12525 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12526 "bp-asm.h".
12527 (PARMS): Do not use macros from bp-asm.h.
12528 (DEST): Likewise.
12529 (SRC): Likewise.
12530 (LEN): Likewise.
12531 (memcpy): Likewise. Do not use BP_SYM.
12532 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12533 "bp-asm.h".
12534 (PARMS): Do not use macros from bp-asm.h.
12535 (DEST): Likewise.
12536 (SRC): Likewise.
12537 (LEN): Likewise.
12538 (memmove): Likewise. Do not use BP_SYM.
12539 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12540 "bp-asm.h".
12541 (PARMS): Do not use macros from bp-asm.h.
12542 (DEST): Likewise.
12543 (SRC): Likewise.
12544 (LEN): Likewise.
12545 (__mempcpy): Likewise. Do not use BP_SYM.
12546 (mempcpy): Do not use BP_SYM in weak_alias.
12547 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12548 "bp-asm.h".
12549 (PARMS): Do not use macros from bp-asm.h.
12550 (DEST): Likewise.
12551 (LEN): Likewise.
12552 [!BZERO_P] (CHR): Likewise.
12553 (memset): Likewise. Do not use BP_SYM.
12554 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12555 "bp-asm.h".
12556 (PARMS): Do not use macros from bp-asm.h.
12557 (STR2): Likewise.
12558 (strcmp): Do not use BP_SYM.
12559 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12560 "bp-asm.h".
12561 (PARMS): Do not use macros from bp-asm.h.
12562 (STR): Likewise.
12563 (DELIM): Likewise.
12564 [USE_AS_STRTOK_R] (SAVE): Likewise.
12565 (FUNCTION): Likewise. Do not use BP_SYM.
12566 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12567 aliases.
12568 (strtok_r): Likewise.
12569 (__GI___strtok_r): Likewise.
12570 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12571 (PARMS): Do not use macros from bp-asm.h.
12572 (S): Likewise.
12573 (SIZE): Likewise.
12574 (__mpn_lshift): Do not use BP_SYM.
12575 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12576 (PARMS): Do not use macros from bp-asm.h.
12577 (STR): Likewise.
12578 (CHR): Likewise.
12579 (__memchr): Do not use BP_SYM.
12580 (memchr): Do not use BP_SYM in weak_alias.
12581 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12582 (PARMS): Do not use macros from bp-asm.h.
12583 (BLK2): Likewise.
12584 (LEN): Likewise.
12585 (memcmp): Do not use BP_SYM.
12586 (bcmp): Do not use BP_SYM in weak_alias.
12587 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12588 (PARMS): Do not use macros from bp-asm.h.
12589 (S1): Likewise.
12590 (SIZE): Likewise.
12591 (__mpn_mul_1): Do not use BP_SYM.
12592 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12593 "bp-asm.h".
12594 (PARMS): Do not use macros from bp-asm.h.
12595 (STR): Likewise.
12596 (CHR): Likewise.
12597 (__rawmemchr): Do not use BP_SYM.
12598 (rawmemchr): Do not use BP_SYM in weak_alias.
12599 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12600 (PARMS): Do not use macros from bp-asm.h.
12601 (S): Likewise.
12602 (SIZE): Likewise.
12603 (__mpn_rshift): Do not use BP_SYM.
12604 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12605 (PARMS): Do not use macros from bp-asm.h.
12606 (SIGMSK): Likewise.
12607 (__sigsetjmp): Likewise. Do not use BP_SYM.
12608 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12609 (_start): Do not use BP_SYM.
12610 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12611 (PARMS): Do not use macros from bp-asm.h.
12612 (DEST): Likewise.
12613 (SRC): Likewise.
12614 (__stpcpy): Likewise. Do not use BP_SYM.
12615 (stpcpy): Do not use BP_SYM in weak_alias.
12616 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12617 "bp-asm.h".
12618 (PARMS): Do not use macros from bp-asm.h.
12619 (DEST): Likewise.
12620 (SRC): Likewise.
12621 (LEN): Likewise.
12622 (__stpncpy): Likewise. Do not use BP_SYM.
12623 (stpncpy): Do not use BP_SYM in weak_alias.
12624 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12625 (PARMS): Do not use macros from bp-asm.h.
12626 (STR): Likewise.
12627 (CHR): Likewise.
12628 (strchr): Likewise. Do not use BP_SYM.
12629 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12630 "bp-asm.h".
12631 (PARMS): Do not use macros from bp-asm.h.
12632 (STR): Likewise.
12633 (CHR): Likewise.
12634 (__strchrnul): Likewise. Do not use BP_SYM.
12635 (strchrnul): Do not use BP_SYM in weak_alias.
12636 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12637 "bp-asm.h".
12638 (PARMS): Do not use macros from bp-asm.h.
12639 (STOP): Likewise.
12640 (strcspn): Do not use BP_SYM.
12641 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12642 "bp-asm.h".
12643 (PARMS): Do not use macros from bp-asm.h.
12644 (STR): Likewise.
12645 (STOP): Likewise.
12646 (strpbrk): Likewise. Do not use BP_SYM.
12647 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12648 "bp-asm.h".
12649 (PARMS): Do not use macros from bp-asm.h.
12650 (STR): Likewise.
12651 (CHR): Likewise.
12652 (strrchr): Likewise. Do not use BP_SYM.
12653 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12654 (PARMS): Do not use macros from bp-asm.h.
12655 (SKIP): Likewise.
12656 (strspn): Do not use BP_SYM.
12657 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12658 (PARMS): Do not use macros from bp-asm.h.
12659 (STR): Likewise.
12660 (DELIM): Likewise.
12661 (SAVE): Likewise.
12662 (FUNCTION): Likewise. Do not use BP_SYM.
12663 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12664 aliases.
12665 (strtok_r): Likewise.
12666 (__GI___strtok_r): Likewise.
12667 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12668 (PARMS): Do not use macros from bp-asm.h.
12669 (S1): Likewise.
12670 (S2): Likewise.
12671 (SIZE): Likewise.
12672 (__mpn_sub_n): Do not use BP_SYM.
12673 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12674 "bp-asm.h".
12675 (PARMS): Do not use macros from bp-asm.h.
12676 (S1): Likewise.
12677 (SIZE): Likewise.
12678 (__mpn_submul_1): Do not use BP_SYM.
12679 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12680 <bp-sym.h>.
12681 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12682 and <bp-asm.h>.
12683 (PARMS): Do not use macros from bp-asm.h.
12684 (FLAGS): Likewise.
12685 (PTID): Likewise.
12686 (TLS): Likewise.
12687 (CTID): Likewise.
12688 (__clone): Do not use BP_SYM.
12689 (clone): Do not use BP_SYM in weak_alias.
12690 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12691 and <bp-asm.h>.
12692 (PARMS): Do not use macros from bp-asm.h.
12693 (LEN): Likewise.
12694 (__mmap64): Do not use BP_SYM.
12695 (mmap64): Do not use BP_SYM in weak_alias.
12696 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12697 <bp-sym.h> and <bp-asm.h>.
12698 (PARMS): Do not use macros from bp-asm.h.
12699 (__posix_fadvise64_l64): Do not use BP_SYM.
12700 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12701 (PARMS): Do not use macros from bp-asm.h.
12702 (NSOPS): Likewise.
12703 (semtimedop): Do not use BP_SYM.
12704 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12705 and <bp-asm.h>.
12706
582a3cff
AM
127072013-02-21 Allan McRae <allan@archlinux.org>
12708
12709 * manual/message.texi (Charset conversion in gettext):
12710 Move @end statement to beginning of line.
12711
bab8a695
SP
127122013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12713
80945231
SP
12714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12715 static.
12716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12717 Likewise.
12718
bab8a695
SP
12719 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12720 (denorm): Likewise.
12721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12723
e21d7aa7
AK
127242013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12725
12726 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12727 tail-call to the resolved function if pltexit isn't needed.
12728
4c7a4263
SP
127292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12730
12731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12732 or Y being zero as being unlikely.
12733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12734 Likewise.
12735
41f49342
CD
127362013-02-20 Carlos O'Donell <carlos@redhat.com>
12737
12738 * manual/nss.texi (System Databases and Name Service Switch):
12739 Remove frobnicate @pxref.
12740
50022a93
TS
127412013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12742
12743 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12744 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12745
08cbd996
PM
127462013-02-20 Petr Machata <pmachata@redhat.com>
12747
12748 * elf/elf.h (R_ARM_TARGET1): New macro.
12749 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12750 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12751 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12752 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12753 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12754 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12755 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12756 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12757 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12758 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12759 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12760 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12761 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12762 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12763 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12764 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12765 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12766 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12767 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12768 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12769 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12770 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12771 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12772 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12773 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12774 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12775 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12776 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12777 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12778 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12779 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12780 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12781 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12782 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12783 (R_ARM_THM_GOT_BREL12): Likewise.
12784 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12785 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12786 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12787 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12788 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12789 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12790 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12791 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12792 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12793
c7b275d6
TS
127942013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12795
12796 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12797 __attribute_used__ to __attribute__ ((unused)).
12798
20cd7fb3
SP
127992013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12800
12801 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12802 powerpc mpa.c.
12803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12804 comment formatting.
12805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12806
92945b52
JM
128072013-02-19 Joseph Myers <joseph@codesourcery.com>
12808
12809 [BZ #13550]
12810 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12811 Remove macro.
12812 (ENTER): Remove both macro definitions.
12813 (LEAVE): Likewise.
12814 (CHECK_BOUNDS_LOW): Likewise.
12815 (CHECK_BOUNDS_HIGH): Likewise.
12816 (CHECK_BOUNDS_BOTH): Likewise.
12817 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12818 (RETURN_BOUNDED_POINTER): Likewise.
12819 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12820 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12821 (POP_ERRNO_LOCATION_RETURN): Likewise.
12822 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12823 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12824 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12825 macros.
12826 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12827 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12828 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12829 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12830 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12831 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12832 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12833 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12834 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12835 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12836 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12837 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12838 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12839 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12840 removed macros.
12841 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12842 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12843 macros.
12844 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12845 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12846 * sysdeps/i386/i586/memset.S (memset): Likewise.
12847 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12848 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12849 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12850 macros.
12851 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12852 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12853 Change uses of L(2) to L(out).
12854 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12855 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12856 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12857 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12858 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12859 removed macros.
12860 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12861 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12862 macros.
12863 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12864 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12865 (RETURN): Do not use macro LEAVE.
12866 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12867 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12868 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12869 * sysdeps/i386/i686/memset.S (memset): Likewise.
12870 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12871 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12872 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12873 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12874 Likewise.
12875 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12876 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12877 L(1_2) and L(1_3) into L(1).
12878 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12879 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12880 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12881 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12882 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12883 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12884 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12885 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12886 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12887 macros.
12888 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12889 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12890 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12891 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12892 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12893 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12894 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12895 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12896 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12897 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12898 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12899 * sysdeps/i386/strspn.S (strspn): Likewise.
12900 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12901 conditional code.
12902 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12903 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12904 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12905 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12906 L(1_3) into L(1_1).
12907 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12908 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12909 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12910 macros.
12911 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12912
2389741a
JJ
129132013-02-19 Jakub Jelinek <jakub@redhat.com>
12914
12915 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12916 macro.
12917
2016b3cd
SP
129182013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12919
e4f22324
SP
12920 * math/atest-exp.c (exp_mpn): Remove ROUND.
12921 * math/atest-exp2.c (exp_mpn): Likewise.
12922 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12923
2016b3cd
SP
12924 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12925 * stdlib/tst-tls-atexit-lib.c: Likewise.
12926 * stdlib/tst-tls-atexit.c: Likewise.
12927
4be9b544
MF
129282013-02-18 Mike Frysinger <vapier@gentoo.org>
12929
12930 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12931 and __attribute_alloc_size__.
12932
2f62b9ee
MF
129332013-02-18 Mike Frysinger <vapier@gentoo.org>
12934
12935 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12936 __attribute_alloc_size__.
12937 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12938 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12939
6ff444c4
MF
129402013-02-18 Mike Frysinger <vapier@gentoo.org>
12941
12942 * include/programs/xmalloc.h: New file.
12943 * catgets/gencat.c: Include it.
12944 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12945 * elf/pldd.c: Likewise.
12946 * iconv/iconv_charmap.c: Likewise.
12947 * iconv/iconvconfig.c: Likewise.
12948 * iconv/strtab.c: Likewise.
12949 * locale/programs/locale.c: Likewise.
12950 * locale/programs/localedef.h: Likewise.
12951 * locale/programs/simple-hash.c: Likewise.
12952 * nscd/nscd.h: Likewise.
12953 * nss/makedb.c: Likewise.
12954 * sysdeps/generic/ldconfig.h: Likewise.
12955
be179c8a
SP
129562013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12957
ba384f6e
SP
12958 * Versions.def: Add GLIBC_2.18.
12959 * include/link.h (struct link_map): New member l_tls_dtor_count.
12960 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12961 (__call_tls_dtors): Likewise.
12962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12963 __cxa_thread_atexit_impl.
12964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12965 Likewise.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12967 Likewise.
12968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12969 Likewise.
12970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12971 Likewise.
12972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12974 Likewise.
12975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12976 Likewise.
12977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12979 Likewise.
12980 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12981 (tests): Add test case tst-tls-atexit.
12982 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12983 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12984 (GLIBC_PRIVATE): Add __call_tls_dtors.
12985 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12986 for libstdc++.
12987 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12988 * stdlib/tst-tls-atexit.c: New test case.
12989 * stdlib/tst-tls-atexit-lib.c: New test case.
12990
ffaa74cf 12991 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12992
be179c8a
SP
12993 * elf/Versions (ld): Add _dl_find_dso_for_object.
12994 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12995 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12996 (dl_open_worker): Use _dl_find_dso_for_object.
12997 * elf/dl-sym.c (do_sym): Likewise.
12998 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12999
f78b5caa
AK
130002013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13001
13002 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13003 Syntactic changes only.
13004 (_dl_runtime_profile): Do a tail-call to the resolved function.
13005
29691210
JM
130062013-02-17 Joseph Myers <joseph@codesourcery.com>
13007
13008 [BZ #13550]
13009 * sysdeps/x86_64/bp-asm.h: Remove file.
13010 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13011 <bp-sym.h> and <bp-asm.h>.
13012 (__clone): Do not use BP_SYM.
13013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13014 <bp-sym.h> and <bp-asm.h>.
13015 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13016 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13017 "bp-asm.h".
13018 (_setjmp): Do not use BP_SYM.
13019 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13020 "bp-asm.h".
13021 (setjmp): Do not use BP_SYM.
13022 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13023 libc_hidden_def.
13024 (mempcpy): Do not use BP_SYM in weak_alias.
13025 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13026 "bp-asm.h".
13027 (strchr): Do not use BP_SYM.
13028 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13029 "bp-asm.h".
13030 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13031 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13032 (_start): Do not use BP_SYM.
13033 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13034 "bp-asm.h".
13035 (strcat): Do not use BP_SYM.
13036 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13037 "bp-asm.h".
13038 (STRCMP): Do not use BP_SYM.
13039 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13040 "bp-asm.h".
13041 (STRCPY): Do not use BP_SYM.
13042 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13043 "bp-asm.h".
13044 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13045 "bp-asm.h".
13046 (FUNCTION): Do not use BP_SYM.
13047 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13048 weak_alias.
13049 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13050
f238fd19
AJ
130512013-02-17 Andreas Jaeger <aj@suse.de>
13052
13053 * time/Versions: Sort entries.
13054 * string/Versions: Likewise.
13055 * resolv/Versions: Likewise.
13056 * posix/Versions: Likewise.
13057 * iconv/Versions: Likewise.
13058 * elf/Versions: Likewise.
13059 * wcsmbs/Versions: Likewise.
13060
bd07f23c 130612013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13062
22af19f9
SP
13063 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13064 loop termination condition.
13065
4709fe76
SP
13066 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13067 variable to calculate EZ.
13068 (__sqr): Likewise.
2d0e0f29
SP
13069
13070 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13071 the lower precision input.
13072
daaa7713
JM
130732013-02-15 Joseph Myers <joseph@codesourcery.com>
13074
13075 [BZ #13550]
13076 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13077 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13078 (run-via-rtld-prefix): Do not handle %-bp tests.
13079 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13080 (all-object-suffixes): Remove .ob.
13081 (bppfx): Remove variable.
13082 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13083 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13084 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13085 [$(build-bounded) = yes] (libtype.ob): Likewise.
13086 * Makerules (elide-routines.ob): Remove variable.
13087 (do-tests-clean): Do not handle *-bp.out.
13088 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13089 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13090 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13091 (tests): Do not include $(tests-bp.out).
13092 (xtests): Do not include $(xtests-bp.out).
13093 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13094 [$(build-bounded) = yes] ($(addprefix
13095 $(objpfx),$(binaries-bounded))): Remove rule.
13096 ($(objpfx)%-bp.out): Remove rule.
13097 * config.make.in (build-bounded): Remove variable.
13098 * crypt/Makefile [$(build-bounded) = yes]
13099 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13100 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13101 append to variable.
13102 [$(build-bounded) = yes] (install-lib): Likewise.
13103 [$(build-bounded) = yes] (generated): Likewise.
13104 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13105 Remove rule.
13106 * intl/Makefile [$(build-bounded) = yes]
13107 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13108 * math/Makefile [$(build-bounded) = yes]
13109 ($(tests:%=$(objpfx)%-bp): Likewise.
13110 * misc/Makefile [$(build-bounded) = yes]
13111 ($(objpfx)tst-tsearch-bp): Likewise.
13112 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13113 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13114 Remove dependency.
13115 * string/Makefile (o-objects.ob): Remove variable.
13116 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13117 (CFLAGS-.ob): Remove variable.
13118 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13119 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13120 both definitions of variable.
13121 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13122 (ASFLAGS-.ob): Remove variable.
13123
e97ed6dd
JM
131242013-02-14 Joseph Myers <joseph@codesourcery.com>
13125
2bdd4ca6
JM
13126 [BZ #13550]
13127 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13128 Remove __BOUNDED_POINTERS__ from condition.
13129 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13130 * string/bits/string2.h [!__NO_STRING_INLINES &&
13131 !__BOUNDED_POINTERS__]: Likewise.
13132 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13133 Likewise.
13134 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13135 Remove conditional code.
13136 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13137 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13138 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13139 condition.
13140
e97ed6dd
JM
13141 [BZ #13550]
13142 * csu/libc-start.c: Do not include <bp-sym.h>.
13143 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13144 * elf/dl-open.c: Do not include <bp-sym.h>.
13145 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13146 * math/fegetenv.c: Do not include <bp-sym.h>.
13147 (fegetenv): Do not use BP_SYM in versioned symbols.
13148 * nptl/sysdeps/pthread/bits/libc-lockP.h
13149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13150 <bp-sym.h>.
13151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13152 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13154 (__pthread_mutex_destroy): Likewise.
13155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13156 (__pthread_mutex_lock): Likewise.
13157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13158 (__pthread_mutex_trylock): Likewise.
13159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13160 (__pthread_mutex_unlock): Likewise.
13161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13162 (__pthread_mutexattr_init): Likewise.
13163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13164 (__pthread_mutexattr_destroy): Likewise.
13165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13166 (__pthread_mutexattr_settype): Likewise.
13167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13168 (__pthread_rwlock_init): Likewise.
13169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13170 (__pthread_rwlock_destroy): Likewise.
13171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13172 (__pthread_rwlock_rdlock): Likewise.
13173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13174 (__pthread_rwlock_tryrdlock): Likewise.
13175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13176 (__pthread_rwlock_wrlock): Likewise.
13177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13178 (__pthread_rwlock_trywrlock): Likewise.
13179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13180 (__pthread_rwlock_unlock): Likewise.
13181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13182 (__pthread_key_create): Likewise.
13183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13184 (__pthread_setspecific): Likewise.
13185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13186 (__pthread_getspecific): Likewise.
13187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13188 Likewise.
13189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13190 (_pthread_cleanup_push_defer): Likewise.
13191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13192 (_pthread_cleanup_pop_restore): Likewise.
13193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13194 (pthread_setcancelstate): Likewise.
13195 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13196 <bp-sym.h>.
13197 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13198 (memchr): Do not use BP_SYM in weak_alias.
13199 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13200 (fegetenv): Do not use BP_SYM in versioned symbols.
13201 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13202 (fesetenv): Do not use BP_SYM in versioned symbols.
13203 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13204 (feupdateenv): Do not use BP_SYM in versioned symbols.
13205 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13206 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13207 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13208 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13209 (open64): Do not use BP_SYM in weak_alias.
13210 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13211 (fegetenv): Do not use BP_SYM in versioned symbols.
13212 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13213 (fesetenv): Do not use BP_SYM in versioned symbols.
13214 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13215 (feupdateenv): Do not use BP_SYM in versioned symbols.
13216 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13217 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13218 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13219 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13220 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13221 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13222 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13223 <bp-sym.h>.
13224 (__libc_start_main): Do not use BP_SYM.
13225
d6752ccd
SP
132262013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13227
cb57ce60
SP
13228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13229 redundant return line.
13230 (norm): Likewise.
13231 (denorm): Likewise.
13232 (dbl_mp): Likewise.
13233 (sub_magnitudes): Likewise.
13234 (__add): Likewise.
13235 (__sub): Likewise.
13236 (__mul): Likewise.
13237 (__inv): Likewise.
13238 (__dvd): Likewise.
13239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13240 (norm): Likewise.
13241 (denorm): Likewise.
13242 (dbl_mp): Likewise.
13243 (sub_magnitudes): Likewise.
13244 (__add): Likewise.
13245 (__sub): Likewise.
13246 (__mul): Likewise.
13247 (__inv): Likewise.
13248 (__dvd): Likewise.
13249
f414520d
SP
13250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13251 instead of __mul.
13252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13253 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13254 (cc32): Likewise.
13255
d6752ccd
SP
13256 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13257 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13259 of __mul for squares.
13260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13261 function
13262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13263 Likewise.
13264 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13265 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13266
70d9946a
JM
132672013-02-13 Joseph Myers <joseph@codesourcery.com>
13268
13269 [BZ #13550]
13270 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13271 code.
13272 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13273 prototype or function definition. Rename ubp_* variables and
13274 parameters. Remove argv definitions conditional on
13275 [__BOUNDED_POINTERS__].
13276 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13277 * elf/dl-runtime.c (_dl_fixup): Likewise.
13278 * include/set-hooks.h (RUN_HOOK): Likewise.
13279 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13280 definition.
13281 * string/strcpy.c (strcpy): Do not use __unbounded.
13282 * sysdeps/generic/frame.h (struct layout): Likewise.
13283 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13284 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13285 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13286 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13287 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13288 (__backtrace): Likewise.
13289 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13290 use __ptrvalue.
13291 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13292 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13293 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13294 Likewise.
13295 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13296 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13297 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13298 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13299 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13300 Do not use __unbounded.
13301 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13302 Rename __unboundedrlimits parameter to rlimits in prototype.
13303 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13304 Do not use __unbounded.
13305 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13306 not use __ptrvalue.
13307 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13308 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13309 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13310 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13311 __ptrvalue or __unbounded.
13312 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13313 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13314 use __unbounded.
13315 (__new_msgctl): Do not use __ptrvalue.
13316 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13317 __unbounded.
13318 (__libc_msgrcv): Do not use __ptrvalue.
13319 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13320 startup_info): Do not use __unbounded.
13321 (__libc_start_main): Likewise. Rename ubp_* variables and
13322 parameters. Remove argv definitions conditional on
13323 [__BOUNDED_POINTERS__].
13324 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13325 __ptrvalue.
13326 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13327 use __unbounded.
13328 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13329 or __ptrvalue.
13330 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13331 use __unbounded.
13332 (__new_shmctl): Do not use __ptrvalue.
13333 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13334 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13335 Likewise.
13336 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13337 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13338 (__libc_sigaction): Likewise.
13339 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13340 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13341 Likewise.
13342 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13343
cc7834d6
OB
133442013-02-13 Ondřej Bílka <neleai@seznam.cz>
13345
ffb1ec7b 13346 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13347
13348 * string/mempcpy.c: Implement by calling memcpy.
13349
bdf02814
SP
133502013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13351
c2af38aa
SP
13352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13353
4e92d59e
SP
13354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13355 evaluation.
13356
909279a5
SP
13357 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13358 values in the mantissa.
13359
bdf02814
SP
13360 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13361 minimize writes to Z.
13362 (sub_magnitudes): Simplify code a bit.
13363
cd525923
RM
133642013-02-12 Roland McGrath <roland@hack.frob.com>
13365
13366 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13367 from the message. The linker prefixes all warnings with that already.
13368
7e2f0d2d
AS
133692013-02-12 Andreas Schwab <schwab@suse.de>
13370
a445af0b
AS
13371 [BZ #15078]
13372 * posix/regexec.c (extend_buffers): Add parameter min_len.
13373 (check_matching): Pass minimum needed length.
13374 (clean_state_log_if_needed): Likewise.
13375 (get_subexp): Likewise.
13376 * posix/Makefile (tests): Add bug-regex34.
13377 (bug-regex34-ENV): Define.
13378 * posix/bug-regex34.c: New file.
13379
7e2f0d2d
AS
13380 [BZ #11561]
13381 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13382 elements compare against the byte sequence of it, not its name.
13383 * posix/Makefile (tests): Add bug-regex35.
13384 (bug-regex35-ENV): Define.
13385 * posix/bug-regex35.c: New file.
13386
a175b684
TV
133872013-02-11 Tom de Vries <tom@codesourcery.com>
13388
13389 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13390 comment.
13391 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13392 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13393 (CHECK_EOL): Add undef.
13394
310998fe 133952013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13396
13397 * bits/stdlib-bsearch.h: New file.
13398 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13399 * stdlib/stdlib.h: Likewise.
41eda41d 13400
8ded91fb
RM
134012013-02-11 Roland McGrath <roland@hack.frob.com>
13402
13403 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13404 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13405 declaration.
13406 * manual/search.texi (Array Search Function): Add missing const in
13407 lfind prototype.
13408 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13409 declaration to use rlim_t.
13410 (Basic Scheduling Functions): Remove erroneous const from
13411 sched_getparam prototype. Remove erroneous * from
13412 sched_get_priority_max and sched_get_priority_min prototypes.
13413 (Resource Usage): Fix summary @comment on vtimes to refer to
13414 sys/vtimes.h rather than vtimes.h.
13415 Add missing *s in vtimes prototype.
13416 (Limits on Resources): Fix ulimit prototype to return long int.
13417 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13418 prototypes to use long int rather than double.
13419 (BSD Random): Fix initstate and setstate to use char *, not void *.
13420 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13421 prototype to make second argument 'struct aiocb64 *const[]'.
13422 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13423 (Status of AIO Operations): Remove erroneous const in aio_return and
13424 aio_return64 prototypes.
13425 (Synchronizing I/O): Fix sync prototype to return void.
13426 * manual/startup.texi (Suboptions): Remove an erroneous const in
13427 getsubopt prototype.
13428 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13429 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13430 use size_t rather than int.
13431 (Scanning All Users): Likewise for getpwent_r.
13432 (Setting Groups): Add missing const to setgroups prototype.
13433 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13434 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13435 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13436 'const void *' rather than 'const char *'.
13437 (Host Address Functions): Likewise for inet_ntop.
13438 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13439 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13440 ssize_t for return value.
13441 (Sending Data): Likewise for send, sendto, sendmsg.
13442 (Socket Option Functions): Add a missing const in setsockopt prototype.
13443 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13444 use wchar_t for the argument.
13445 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13446 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13447 take no arguments.
13448 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13449 double/float/long double for second argument.
13450 Fix return types of significand, significandf, significandl.
13451 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13452 argument in fchmod prototype.
13453 (File Owner): Use uid_t and gid_t in fchown prototype.
13454 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13455 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13456 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13457 use 'const struct dirent **' as argument types to CMP function pointer
13458 argument.
13459 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13460 (File Times): Fix summary magic @comment for struct utimbuf and utime
13461 to refer to utime.h, not time.h.
13462 * manual/string.texi (Argz Functions): Add missing const in
13463 argz_extract and argz_next prototypes.
13464 (Finding Tokens in a String): Likewise for basename.
13465 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13466 (Copying and Concatenation): Fix typo in wmemmove prototype.
13467 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13468 (Signal Stack): Remove erroneous const in sigstack prototype.
13469 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13470 prototype.
13471 (Simple Calendar Time): Likewise for stime.
13472 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13473 prototype.
13474 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13475 say sys/sysctl.h instead.
13476 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13477 and vsyslog prototypes.
13478
fe77fe6d
TV
134792013-02-11 Tom de Vries <tom@codesourcery.com>
13480
13481 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13482 Remove.
13483
3a09b620
RM
134842013-02-11 Roland McGrath <roland@hack.frob.com>
13485
13486 * misc/sys/mman.h: Fix typo in mremap comment.
13487
550a0b89
RM
134882013-02-08 Roland McGrath <roland@hack.frob.com>
13489
13490 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13491 the '\0' terminator.
13492
a2da1673
JM
134932013-02-08 Joseph Myers <joseph@codesourcery.com>
13494
13495 [BZ #13550]
13496 * debug/segfault.c: Don't include <bp-checks.h>.
13497 * sysdeps/generic/bp-checks.h: Remove file.
13498 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13499 (__GETDENTS): Don't use CHECK_N.
13500 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13501 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13502 (__getgroups): Don't use CHECK_N.
13503 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13504 (setgroups): Don't use CHECK_N.
13505 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13506 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13507 (__libc_msgrcv): Don't use CHECK_N.
13508 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13509 (__libc_msgsnd): Don't use CHECK_N.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13511 <bp-checks.h>.
13512 (__libc_pread): Don't use CHECK_N.
13513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13514 include <bp-checks.h>.
13515 (__libc_pread64): Don't use CHECK_N.
13516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13517 include <bp-checks.h>.
13518 (__libc_pwrite): Don't use CHECK_N.
13519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13520 include <bp-checks.h>.
13521 (__libc_pwrite64): Don't use CHECK_N.
13522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13523 <bp-checks.h>.
13524 (__libc_pread): Don't use CHECK_N.
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13526 include <bp-checks.h>.
13527 (__libc_pread64): Don't use CHECK_N.
13528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13529 include <bp-checks.h>.
13530 (__libc_pwrite): Don't use CHECK_N.
13531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13532 include <bp-checks.h>.
13533 (__libc_pwrite64): Don't use CHECK_N.
13534 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13535 (do_pread): Don't use CHECK_N.
13536 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13537 (do_pread64): Don't use CHECK_N.
13538 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13539 (do_pwrite): Don't use CHECK_N.
13540 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13541 (do_pwrite64): Don't use CHECK_N.
13542 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13543 (__libc_readv): Don't use CHECK_N.
13544 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13545 (semop): Don't use CHECK_N.
13546 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13547 <bp-checks.h>.
13548 (semtimedop): Don't use CHECK_N.
13549 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13550 (__libc_pread): Don't use CHECK_N.
13551 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13552 <bp-checks.h>.
13553 (__libc_pread64): Don't use CHECK_N.
13554 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13555 <bp-checks.h>.
13556 (__libc_pwrite): Don't use CHECK_N.
13557 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13558 <bp-checks.h>.
13559 (__libc_pwrite64): Don't use CHECK_N.
13560 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13561 <bp-checks.h>.
13562 (__libc_msgrcv): Don't use CHECK_N.
13563 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13564 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13565 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13566 (__libc_writev): Don't use CHECK_N.
13567
b84660a8
RM
135682013-02-08 Roland McGrath <roland@hack.frob.com>
13569
7f3e75f8
RM
13570 * string/strcpy.c: Removed unused variable.
13571
b84660a8
RM
13572 * Makeconfig (+sysdep-includes): Define with := rather than =.
13573 Use an existing include/ subdir of each sysdeps dir before it.
13574
471514d3
CD
135752013-02-08 Carlos O'Donell <carlos@redhat.com>
13576
13577 * nscd/connection.c (register_traced_file): Comment function.
13578 [HAVE_INOTIFY] (union __inev): Define.
13579 [HAVE_INOTIFY] (inotify_check_files): New function.
13580 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13581 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13582 clear_db_cache.
13583 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13584
b2d3c3be
CD
135852013-02-08 Carlos O'Donell <carlos@redhat.com>
13586
13587 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13588 loaded if not already and that a failure is permanent.
13589
b39949d2
CD
135902013-02-08 Carlos O'Donell <carlos@redhat.com>
13591
ddacd1db 13592 [BZ #15006]
b39949d2
CD
13593 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13594 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13595
b2c9eff4
JM
135962013-02-08 Joseph Myers <joseph@codesourcery.com>
13597
f3aae3f3
JM
13598 [BZ #13550]
13599 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13600 (CHECK_1_NULL_OK): Likewise.
13601 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13602 (__fxstat): Do not use CHECK_1.
13603 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13604 <bp-checks.h>.
13605 (___fxstat64): Do not use CHECK_1.
13606 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13607 <bp-checks.h>.
13608 (__fxstatat): Do not use CHECK_1.
13609 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13610 <bp-checks.h>.
13611 (__fxstatat64): Do not use CHECK_1.
13612 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13613 <bp-checks.h>.
13614 (__fxstat): Do not use CHECK_1.
13615 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13616 <bp-checks.h>.
13617 (__fxstatat): Do not use CHECK_1.
13618 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13619 <bp-checks.h>.
13620 (__getresgid): Do not use CHECK_1.
13621 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13622 <bp-checks.h>.
13623 (__getresuid): Do not use CHECK_1.
13624 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13625 <bp-checks.h>.
13626 (__lxstat): Do not use CHECK_1.
13627 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13628 <bp-checks.h>.
13629 (__old_msgctl): Do not use CHECK_1.
13630 (__new_msgctl): Likewise.
13631 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13632 <bp-checks.h>.
13633 (__new_setrlimit): Do not use CHECK_1.
13634 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13635 <bp-checks.h>.
13636 (__old_shmctl): Do not use CHECK_1.
13637 (__new_shmctl): Likewise.
13638 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13639 <bp-checks.h>.
13640 (__xstat): Do not use CHECK_1.
13641 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13642 (__lxstat): Do not use CHECK_1.
13643 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13644 <bp-checks.h>.
13645 (___lxstat64): Do not use CHECK_1.
13646 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13647 (__old_msgctl): Do not use CHECK_1.
13648 (__new_msgctl): Likewise.
13649 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13650 <bp-checks.h>.
13651 (__gettimeofday): Do not use CHECK_1.
13652 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13653 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13654 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13655 <bp-checks.h>.
13656 (__gettimeofday): Do not use CHECK_1.
13657 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13658 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13659 (__new_shmctl): Do not use CHECK_1.
13660 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13661 <bp-checks.h>.
13662 (do_sigtimedwait): Do not use CHECK_1.
13663 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13664 <bp-checks.h>.
13665 (do_sigwaitinfo): Do not use CHECK_1.
13666 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13667 <bp-checks.h>.
13668 (msgctl): Do not use CHECK_1.
13669 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13670 <bp-checks.h>.
13671 (shmctl): Do not use CHECK_1.
13672 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13673 (ustat): Do not use CHECK_1.
13674 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13675 <bp-checks.h>.
13676 (__fxstat): Do not use CHECK_1.
13677 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13678 <bp-checks.h>.
13679 (__fxstatat): Do not use CHECK_1.
13680 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13681 <bp-checks.h>.
13682 (__lxstat): Do not use CHECK_1.
13683 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13684 <bp-checks.h>.
13685 (__xstat): Do not use CHECK_1.
13686 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13687 (__xstat): Do not use CHECK_1.
13688 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13689 (___xstat64): Do not use CHECK_1.
13690
b2c9eff4
JM
13691 [BZ #13550]
13692 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13693 definitions.
13694 (CHECK_BOUNDS_HIGH): Likewise.
13695 * string/strcpy.c: Do not include <bp-checks.h>.
13696 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13697
f1d70dad
RM
136982013-02-07 Roland McGrath <roland@hack.frob.com>
13699
13700 * nscd/nscd-client.h (__nscd_drop_map_ref):
13701 Add __attribute__ ((unused)).
13702 * nis/nss-nisplus.h (niserr2nss): Likewise.
13703
13704 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13705 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13706
13707 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13708 Remove inline keyword.
13709 * include/rounding-mode.h (round_away): Likewise.
13710 * libio/wfileops.c (adjust_wide_data): Likewise.
13711 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13712 (__m128i_strloadu_tolower): Likewise.
13713 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13714 (__m128i_strloadu_tolower): Likewise.
13715 * time/mktime.c (ydhms_diff): Likewise.
13716 * locale/elem-hash.h (elem_hash): Likewise.
13717 * locale/setlocale.c (setdata): Likewise.
13718 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13719 (re_string_wchar_at): Likewise.
13720 (bitset_not, bitset_merge, bitset_mask): Likewise.
13721 [!(__GNUC__ > 3)] (inline): Remove macro.
13722 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13723 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13724 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13725 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13726 * string/memcmp.c (memcmp_bytes): Likewise.
13727 * locale/programs/locarchive.c (compute_hashval): Likewise.
13728 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13729 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13730 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13731 * nss/getent.c (print_rpc, print_protocols): Likewise.
13732 (print_passwd, print_group, print_aliases): Likewise.
13733 * nis/nss-nisplus.h (niserr2nss): Likewise.
13734 * nscd/connections.c (restart_p): Likewise.
13735 Change return type to bool.
13736
eab55bfb
RM
137372013-02-05 Roland McGrath <roland@hack.frob.com>
13738
7bd642f5
RM
13739 * Makeconfig (all-Depend-files): Add existing
13740 $(sorted-subdirs:=/Depend) files.
13741 (all-subdirs): Remove nss.
13742 * sysdeps/unix/inet/Subdirs: Add it here instead.
13743 * hesiod/Depend: New file.
13744
573c29b2
RM
13745 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13746 instead of calling alloca.
13747
b2e25af0
RM
13748 * io/lseek.c (__lseek): Rename to __libc_lseek.
13749 Define __lseek as an alias.
13750
eab55bfb
RM
13751 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13752
9a0d1941
CD
137532013-02-04 Carlos O'Donell <carlos@redhat.com>
13754
13755 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13756 else clause and remove check for non-standard endianness.
13757
b83bbec4
DM
137582013-02-04 David S. Miller <davem@davemloft.net>
13759
13760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13761
6277fdab
JM
137622013-02-04 Joseph Myers <joseph@codesourcery.com>
13763
13764 [BZ #13550]
13765 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13766 (__ubp_memchr): Remove prototype.
13767 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13768 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13769 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13770 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13771 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13772 Remove alias.
13773 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13774 (__ubp_memchr): Likewise.
13775 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13776 (__ubp_memchr): Likewise.
13777 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13778 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13779 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13780 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13781 CHECK_STRING.
13782 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13783 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13784 (__getcwd): Do not use CHECK_STRING.
13785 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13786 <bp-checks.h>.
13787 (__real_chown): Do not use CHECK_STRING.
13788 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13789 <bp-checks.h>.
13790 (fchownat): Do not use CHECK_STRING.
13791 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13792 CHECK_STRING.
13793 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13794 <bp-checks.h>.
13795 (__lchown): Do not use CHECK_STRING.
13796 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13797 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13798 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13799 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13801 include <bp-checks.h>.
13802 (truncate64): Do not use CHECK_STRING.
13803 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13804 <bp-checks.h>.
13805 (__real_chown): Do not use CHECK_STRING.
13806 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13807 <bp-checks.h>.
13808 (__lchown): Do not use CHECK_STRING.
13809 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13810 <bp-checks.h>.
13811 (__chown): Do not use CHECK_STRING.
13812 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13813 <bp-checks.h>.
13814 (truncate64): Do not use CHECK_STRING.
13815 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13816 Likewise.
13817 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13818 (__xmknod): Do not use CHECK_STRING.
13819 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13820 <bp-checks.h>.
13821 (__xmknodat): Do not use CHECK_STRING.
13822 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13823 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13824
903ae060
AS
138252013-02-04 Andreas Schwab <schwab@suse.de>
13826
13827 [BZ #14142]
13828 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13829 * include/netdb.h: Likewise for h_errno.
13830 * elf/tst-stackguard1.c: Include <tls.h>.
13831
542f9466
JK
138322013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13833
13834 * elf/link.h (struct link_map): Extend the l_addr comment.
13835 * include/link.h (struct link_map): Likewise.
13836
e782a927
JM
138372013-02-01 Joseph Myers <joseph@codesourcery.com>
13838
13839 [BZ #13550]
13840 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13841 (BOUNDED_1): Remove macro.
13842 * debug/backtrace.c: Don't include <bp-checks.h>.
13843 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13844 (__backtrace): Likewise.
13845 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13846 <bp-checks.h>.
13847 (__backtrace): Don't use BOUNDED_1.
13848 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13849 <bp-checks.h>.
13850 (__backtrace): Don't use BOUNDED_1.
13851 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13852 (__backtrace): Don't use BOUNDED_1.
13853 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13854 (shmat): Don't use BOUNDED_N.
13855
8cf28c5e
JM
138562013-01-31 Joseph Myers <joseph@codesourcery.com>
13857
3a7ac8a0
JM
13858 [BZ #13550]
13859 * sysdeps/generic/bp-start.h: Remove file.
13860 * csu/libc-start.c: Don't include <bp-start.h>.
13861 (LIBC_START_MAIN): Set up __environ directly instead of using
13862 INIT_ARGV_and_ENVIRON.
13863 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13864 <bp-start.h>.
13865
f3499f95
JM
13866 [BZ #13550]
13867 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13868 definitions.
13869 (CHECK_FCNTL): Likewise.
13870 (CHECK_N_PAGES): Likewise.
13871
32a45bea
JM
13872 [BZ #13550]
13873 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13874 definitions.
13875 (CHECK_SIGSET_NULL_OK): Likewise.
13876 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13877 <bp-checks.h>.
13878 (sigpending): Don't use CHECK_SIGSET.
13879 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13880 <bp-checks.h>.
13881 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13882 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13883 <bp-checks.h>.
13884 (do_sigsuspend): Don't use CHECK_SIGSET.
13885 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13886 use CHECK_SIGSET.
13887 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13888 (do_sigwait): Don't use CHECK_SIGSET.
13889 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13890 use CHECK_SIGSET.
13891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13892 include <bp-checks.h>.
13893 (sigpending): Don't use CHECK_SIGSET.
13894 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13895 include <bp-checks.h>.
13896 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13897 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13898 <bp-checks.h>.
13899 (sigpending): Don't use CHECK_SIGSET.
13900 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13901 <bp-checks.h>.
13902 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13903
2e8a5c8c
JM
13904 [BZ #13550]
13905 * sysdeps/generic/bp-semctl.h: Remove file.
13906 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13907 <bp-checks.h> and <bp-semctl.h>.
13908 (__old_semctl): Don't use CHECK_SEMCTL.
13909 (__new_semctl): Likewise.
13910 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13911 and <bp-semctl.h>.
13912 (__old_semctl): Don't use CHECK_SEMCTL.
13913 (__new_semctl): Likewise.
13914 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13915 <bp-checks.h> and <bp-semctl.h>.
13916 (__old_semctl): Don't use CHECK_SEMCTL.
13917 (__new_semctl): Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13919 <bp-checks.h> and <bp-semctl.h>.
13920 (semctl): Don't use CHECK_SEMCTL.
13921
c2d54929
JM
13922 [BZ #13550]
13923 * Makerules (elide-bp-thunks): Remove variable.
13924 (elide-routines.oS): Don't use $(elide-bp-thunks).
13925 (elide-routines.os): Likewise.
13926 (elide-routines.o): Likewise.
13927 (elide-routines.op): Likewise.
13928 (elide-routines.og): Likewise.
13929 (objects): Don't use $(bp-thunks).
13930 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13931 include.
13932 (common-generated): Do not add s-proto-bp.d.
13933 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13934 (int): Likewise.
13935 (typ): Likewise.
13936 Do not generate makefile rules for bounded-pointer thunks.
13937 * sysdeps/generic/bp-thunks.h: Remove file.
13938 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13939 * sysdeps/unix/s-proto-bp.S: Likewise.
13940
8cf28c5e
JM
13941 [BZ #15062]
13942 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13943 parts of result separately when argument is not close to line from
13944 -i to i and one part of argument is small.
13945 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13946 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13947 * math/libm-test.inc (cacos_test): Add more tests.
13948 (casin_test): Likewise.
13949 (casinh_test): Likewise.
13950 * sysdeps/i386/fpu/libm-test-ulps: Update.
13951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13952
c4e33b8d
DM
139532013-01-31 David S. Miller <davem@davemloft.net>
13954
13955 * po/de.po: Update from translation team.
13956
3b60b421
MK
139572013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13958
13959 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13960
bb931195
TS
139612013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13962
b5a5da23
TS
13963 * configure.in (_AC_PROG_CC_C89): New definition.
13964 * configure: Regenerate.
13965
bb931195
TS
13966 * configure.in (AC_PROG_CPP): New definition.
13967 * configure: Regenerate.
13968
8c53a12c
JM
139692013-01-23 Joseph Myers <joseph@codesourcery.com>
13970
13971 * debug/tst-backtrace.h: New file.
13972 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13973 (ret): Remove variable.
13974 (x): Likewise.
13975 (FAIL): Remove macro.
13976 (NO_INLINE): Likewise.
13977 (fn1): Use match function instead of strstr.
13978 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13979 (ret): Remove variable.
13980 (x): Likewise.
13981 (FAIL): Remove macro.
13982 (NO_INLINE): Likewise.
13983 (fn): Use match function instead of strstr.
13984 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13985 (ret): Remove variable.
13986 (x): Likewise.
13987 (FAIL): Remove macro.
13988 (NO_INLINE): Likewise.
13989 (handle_signal): Use match function instead of strstr.
13990 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13991 (ret): Remove variable.
13992 (x): Likewise.
13993 (FAIL): Remove macro.
13994 (NO_INLINE): Likewise.
13995 (handle_signal): Use match function instead of strstr.
13996
4858fa2a
RM
139972013-01-23 Roland McGrath <roland@hack.frob.com>
13998
13999 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14000
bae8e7f5
DM
140012013-01-23 David S. Miller <davem@davemloft.net>
14002
14003 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14004 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14005 argument of CAS if possible.
14006 * sysdeps/sparc/sparc64/bits/atomic.h
14007 (__arch_compare_and_exchange_val_32_acq): Likewise.
14008 (__arch_compare_and_exchange_val_64_acq): Likewise.
14009
9cbbc4ae
PT
140102013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14011
14012 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14013 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14014 Include <limits.h>.
67b3f58c 14015 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14016
5655a0b5
AC
140172013-01-23 Adam Conrad <adconrad@0c3.net>
14018
14019 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14020 (LDFLAGS-tst-array5): Likewise.
14021
052aff95
JM
140222013-01-23 Joseph Myers <joseph@codesourcery.com>
14023
14024 [BZ #15036]
14025 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14026 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14027 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14028 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14029
7c1e01aa
DM
140302013-01-21 David S. Miller <davem@davemloft.net>
14031
14032 * sysdeps/sparc/backtrace.c: New file.
14033 * sysdeps/sparc/sparc32/backtrace.h: New file.
14034 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14035 * sysdeps/sparc/sparc64/backtrace.h: New file.
14036 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14037 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14038 -funwind-tables.
14039
ab087e0a
AS
140402013-01-21 Andreas Schwab <schwab@suse.de>
14041
14042 [BZ #15020]
14043 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14044 closed its stdout.
14045
ed689c2f
AS
140462013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14047
14048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14049 "mpa2.h".
14050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14051
31d470ac
JM
140522013-01-18 Joseph Myers <joseph@codesourcery.com>
14053 Mark Mitchell <mark@codesourcery.com>
14054 Tom de Vries <tom@codesourcery.com>
14055 Paul Pluzhnikov <ppluzhnikov@google.com>
14056
14057 * debug/tst-backtrace2.c: New file.
14058 * debug/tst-backtrace3.c: Likewise.
14059 * debug/tst-backtrace4.c: Likewise.
14060 * debug/tst-backtrace5.c: Likewise.
14061 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14062 (CFLAGS-tst-backtrace3.c): Likewise.
14063 (CFLAGS-tst-backtrace4.c): Likewise.
14064 (CFLAGS-tst-backtrace5.c): Likewise.
14065 (LDFLAGS-tst-backtrace2): Likewise.
14066 (LDFLAGS-tst-backtrace3): Likewise.
14067 (LDFLAGS-tst-backtrace4): Likewise.
14068 (LDFLAGS-tst-backtrace5): Likewise.
14069 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14070 tst-backtrace4 and tst-backtrace5.
14071
90567f30 140722013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14073 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14074
14075 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14076 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14077 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14078 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14080 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14081 "+r" and remove output regs list as redundant. Add explicit inline
14082 asm to specify register of return val to work around compiler codegen
14083 bug. Remove (int) cast on return value. Add return type parameter to
14084 use in macro so that this macro does not truncate return value for
14085 64-bit values.
14086 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14087 pass to INTERNAL_VSYSCALL_NCS.
14088 (INLINE_VSYSCALL): Add 'long int' as return type to
14089 INTERNAL_VSYSCALL_NCS macro invocation.
14090 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14091 INTERNAL_VSYSCALL_NCS macro invocation.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14093
d3b9ea61
SP
140942013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14095
0b57daeb
SP
14096 [BZ #14496]
14097 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14098 Fix application of SIMD FP exception mask.
14099
caa99d06
SP
14100 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14101 mp_no from a power of two.
14102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14103 __mpexp_twomm1. Use __pow_mp.
14104
d3b9ea61
SP
14105 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14106 multiplication.
14107
1dbaee3c
DM
141082013-01-17 David S. Miller <davem@davemloft.net>
14109
14110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14111
728d7b43
JM
141122013-01-17 Joseph Myers <joseph@codesourcery.com>
14113
14114 [BZ #15023]
14115 * include/complex.h: Condition contents on [!_COMPLEX_H].
14116 (__kernel_casinhf): New prototype.
14117 (__kernel_casinh): Likewise.
14118 (__kernel_casinhl): Likewise.
14119 * math/Makefile (libm_calls): Add k_casinh.
14120 * math/k_casinh.c: New file.
14121 * math/k_casinhf.c: Likewise.
14122 * math/k_casinhl.c: Likewise.
14123 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14124 finite nonzero arguments.
14125 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14126 finite nonzero arguments.
14127 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14128 finite nonzero arguments.
14129 * math/s_casinh.c: Do not include <float.h>.
14130 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14131 * math/s_casinhf.c: Do not include <float.h>.
14132 (__casinhf): Move code for finite nonzero arguments to
14133 k_casinhf.c.
14134 * math/s_casinhl.c: Do not include <float.h>.
14135 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14136 redefine.
14137 (__casinhl): Move code for finite nonzero arguments to
14138 k_casinhl.c.
14139 * math/libm-test.inc (cacos_test): Add more tests.
14140 * sysdeps/i386/fpu/libm-test-ulps: Update.
14141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14142
2a26ef3a
PT
141432013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14144
14145 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14146 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14147 [!HAVE_MREMAP]: Remove [defined linux] case.
14148 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14149
a897655d
SP
141502013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14151
14152 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14153
881ebe89 141542013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14155
14156 * elf/elf.h (R_386_SIZE32): New relocation.
14157 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14158 R_386_SIZE32.
14159 (elf_machine_rela): Likewise.
14160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14161 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14162
59981e9b
JM
141632013-01-17 Joseph Myers <joseph@codesourcery.com>
14164
14165 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14166 (FP_FAST_FMA): Do not define.
14167 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14168 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14169 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14170 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14171 !_SOFT_FLOAT]: Likewise.
14172 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14173 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14174 value.
14175 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14176 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14177 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14178 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14179 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14180 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14181 file.
14182
cfa8054f
AS
141832013-01-16 Andreas Schwab <schwab@suse.de>
14184
14185 [BZ #14327]
14186 * include/stdlib.h (__mktemp): Add declaration.
14187 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14188 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14189
dd930cc5
SP
141902013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14191
881ebe89
SP
14192 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14193 definitions.
14194 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14195 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14196 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14197 definitions here.
14198 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14199 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14200 definitions.
14201 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14202 and ONE.
14203 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14204 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14205 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14206 definitions.
14207 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14208 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14209 definitions.
14210 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14211
dd930cc5
SP
14212 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14213
c19a9f89
DM
142142013-01-15 David S. Miller <davem@davemloft.net>
14215
1aa61767
DM
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14217 trunc{,f} to libm-sysdep_routes.
14218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14220 file.
14221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14223 file.
14224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14225 file.
14226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14228 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14229 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14230 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14231 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14232 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14233 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14234
c42d5e98
DM
14235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14236 nearbyint{,f} to libm-sysdep_routes.
14237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14239 New file.
14240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14241 file.
14242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14243 New file.
14244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14245 file.
14246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14248 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14249 file.
14250 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14251 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14252 file.
14253 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14254 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14255 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14256
c19a9f89
DM
14257 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14258 libc_feholdexcept and libc_fesetenv.
14259
357679d2
MF
142602013-01-15 Mike Frysinger <vapier@gentoo.org>
14261
14262 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14263
65a82e3d
DM
142642013-01-14 David S. Miller <davem@davemloft.net>
14265
8b954ab9
DM
14266 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14267 (SPARC_ASM_VIS2_IFUNC): Likewise.
14268 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14270 use of 'siam' instruction.
14271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14272 Likewise.
14273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14274 Likewise.
14275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14276 Likewise.
14277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14282 file.
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14284 file.
14285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14286 file.
14287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14288 file.
14289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14294 new VIS2 routines.
14295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14298 Likewise.
14299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14304 routines to libm-sysdep_routines.
14305 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14306
65a82e3d
DM
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14308 fdim/fdimf to libm-sysdep_routines.
14309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14310 file.
14311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14313 file.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14317 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14318 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14319 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14320 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14321
e34ab705
SP
143222013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14323
2a91b573
SP
14324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14325 to optimize copies.
14326
1066a534
SP
14327 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14330
e34ab705
SP
14331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14332 local variable MPTWO.
14333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14334 Likewise.
14335
aba5e596
MF
143362013-01-13 Mike Frysinger <vapier@gentoo.org>
14337
14338 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14339 GLOB_NOESCAPE.
14340
e557e9e5
MF
143412013-01-13 Mike Frysinger <vapier@gentoo.org>
14342
14343 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14344
0428cec9
MF
143452013-01-13 Mike Frysinger <vapier@gentoo.org>
14346
14347 * manual/pattern.texi (glob_t): Document gl_flags.
14348 (glob64_t): Likewise.
14349
8794a964
DM
143502013-01-11 David S. Miller <davem@davemloft.net>
14351
66438c3f
RM
14352 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14353 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14354 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14355 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14356 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14357 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14358 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14359 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14360 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14361 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14362 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14363 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14364 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14365
4ae4244d
DM
14366 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14367 sparc V9 rather than using V8 code.
14368 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14369 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14370
8794a964
DM
14371 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14372 Move to...
14373 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14374 Here.
14375
6270516e
RM
143762013-01-11 Roland McGrath <roland@hack.frob.com>
14377
14378 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14379 not in the main loop.
14380 * configure: Regenerated.
14381
6a57d931
JM
143822013-01-11 Joseph Myers <joseph@codesourcery.com>
14383
14384 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14385 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14386 to just #else.
14387 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14388 [!__GLIBC_HAVE_LONG_LONG] case.
14389 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14390 condition to just #else.
14391 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14392 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14393 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14394 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14395 unconditional.
14396 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14397 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14398 #elif condition to just #else.
14399 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14400 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14401 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14402 #elif condition to just #else.
14403
0e8529e9
SE
144042013-01-11 Steve Ellcey <sellcey@mips.com>
14405
14406 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14407 (EF_MIPS_ARCH_64): Fix value.
14408 (EF_MIPS_ARCH_32R2): New.
14409 (EF_MIPS_ARCH_64R2): New.
14410
740b3dbe
L
144112013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14412
14413 * Makeconfig (+link-pie-before-libc): New.
14414 (+link-pie-after-libc): Likewise.
14415 (+link-pie-tests): Likewise.
14416 (+link-pie): Rewritten.
14417 (link-before-libc): Remove $(config-LDFLAGS).
14418 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14419 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14420 (config-LDFLAGS): Renamed to ...
14421 (rtld-LDFLAGS): This.
14422 (rtld-tests-LDFLAGS): New macro.
14423 (link-libc-rpath-link): Likewise.
14424 (link-libc-tests-rpath-link): Likewise.
14425 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14426 (link-libc): Prepand $(link-libc-rpath-link).
14427 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14428 (test-program-prefix): New macro.
14429 (test-via-rtld-prefix): Likewise.
14430 (test-program-cmd): Likewise.
14431 (host-test-program-cmd): Likewise.
14432 * Makefile ($(common-objpfx)testrun.sh): Replace
14433 $(run-program-prefix) with $(test-program-prefix).
14434 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14435 $(rtld-LDFLAGS).
14436 ($(common-objpfx)shlib.lds): Likewise.
14437 (build-module-helper): Likewise.
14438 ($(common-objpfx)format.lds): Likewise.
14439 * Rules (binaries-pie-tests): New.
14440 (binaries-pie-notests): Likewise.
14441 (binaries-pie): Rewritten.
14442 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14443 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14444 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14445 (make-test-out): Replace $(host-built-program-cmd) with
14446 $(host-test-program-cmd).
14447 * config.make.in (build-hardcoded-path-in-tests): New variable.
14448 * configure.in (--enable-hardcoded-path-in-tests): New configure
14449 option.
14450 (hardcoded_path_in_tests): New AC_SUBST.
14451 * configure: Regenerated.
14452 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14453 $(built-program-cmd) with $(test-program-cmd).
14454 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14455 (test_program_cmd): This.
14456 * elf/Makefile ($(objpfx)order.out): Run test with
14457 $(test-program-prefix).
14458 ($(objpfx)order2.out): Likewise.
14459 ($(objpfx)tst-initorder.out): Likewise.
14460 ($(objpfx)tst-initorder2.out): Likewise.
14461 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14462 $(test-program-cmd).
14463 ($(objpfx)tst-array1-static.out): Likewise.
14464 ($(objpfx)tst-array2.out): Likewise.
14465 ($(objpfx)tst-array3.out): Likewise.
14466 ($(objpfx)tst-array4.out): Likewise.
14467 ($(objpfx)tst-array5.out): Likewise.
14468 ($(objpfx)tst-array5-static.out): Likewise.
14469 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14470 $(test-program-cmd).
14471 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14472 $(run-program-prefix) with $(test-program-prefix).
14473 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14474 (test_program_prefix): This.
14475 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14476 $(run-program-prefix) with $(test-program-prefix).
14477 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14478 (test_program_prefix): This.
14479 * iconvdata/tst-tables.sh: Likewise.
14480 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14481 $(run-program-prefix) with $(test-program-prefix).
14482 ($(objpfx)tst-translit.out): Likewise.
14483 ($(objpfx)tst-gettext2.out): Likewise.
14484 ($(objpfx)tst-gettext4.out): Likewise.
14485 ($(objpfx)tst-gettext6.out): Likewise.
14486 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14487 (test_program_prefix): This.
14488 * intl/tst-gettext2.sh: Likewise.
14489 * intl/tst-gettext4.sh Likewise.
14490 * intl/tst-gettext6.sh: Likewise.
14491 * intl/tst-translit.sh: Likewise.
14492 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14493 with $(test-program-cmd).
14494 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14495 $(run-program-prefix) with $(test-program-prefix).
14496 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14497 (test_program_prefix): This.
14498 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14499 $(run-program-prefix) with $(test-program-prefix).
14500 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14501 (test_program_prefix): This.
14502 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14503 * posix/Makefile ($(objpfx)globtest.out): Replace
14504 $(run-via-rtld-prefix) and $(test-wrapper) with
14505 $(test-program-prefix) and $(test-via-rtld-prefix).
14506 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14507 $(test-program-prefix).
14508 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14509 $(host-test-program-cmd).
14510 (tst-spawn-ARGS): Likewise.
14511 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14512 $(test-program-prefix).
14513 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14514 (test_via_rtld_prefix): This.
14515 (test_wrapper): Renamed to ...
14516 (test_program_prefix): This.
14517 (run_program_prefix): Replaced by test_program_prefix.
14518 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14519 (test_program_prefix): This.
14520 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14521 with $(host-test-program-cmd).
14522 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14523 $(run-program-prefix) with $(test-program-prefix).
14524 ($(objpfx)tst-printf.out): Likewise.
14525 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14526 $(test-program-cmd).
14527 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14528 (test_program_prefix): This.
14529 * stdio-common/tst-unbputc.sh: Likewise.
14530 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14531 $(run-program-prefix) with $(test-program-prefix).
14532 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14533 (test_program_prefix): This.
14534 * string/Makefile ($(objpfx)tst-svc.out): Replace
14535 $(built-program-cmd) with $(test-program-cmd).
14536
c6fe55cf
AJ
145372013-01-11 Andreas Jaeger <aj@suse.de>
14538
14539 [BZ #15003]
14540 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14541 value. Sync with Linux 3.7.
14542
9e6919c8
DM
145432013-01-10 David S. Miller <davem@davemloft.net>
14544
14545 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14546 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14547 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14548
1c9f1a02
RM
145492013-01-10 Roland McGrath <roland@hack.frob.com>
14550
14551 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14552 never set.
14553 * configure: Regenerated.
14554
b9de2dde
DM
145552013-01-10 David S. Miller <davem@davemloft.net>
14556
14557 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14558 sparc V9 rather than using V8 code.
14559 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14560 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14561
e7f68ef4
RM
145622013-01-10 Roland McGrath <roland@hack.frob.com>
14563
14564 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14565 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14566 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14567 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14568 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14569 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14570 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14571 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14572 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14573 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14574 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14575 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14576 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14577 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14578 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14579 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14580 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14581 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14582 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14583 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14584 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14585 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14586 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14587 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14588 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14589 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14590 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14591
5a47cc9c
DM
145922013-01-10 David S. Miller <davem@davemloft.net>
14593
14594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14595
4cf8f209
L
145962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14597
14598 * posix/Makefile (tests-static): New variable.
14599 (tests): Add $(tests-static).
14600 (tst-exec-static-ARGS): New variable.
14601 (tst-spawn-static-ARGS): Likewise.
14602 * posix/tst-exec-static.c: New file.
14603 * posix/tst-spawn-static.c: Likewise.
14604 * posix/tst-exec.c: Support run directly.
14605 * posix/tst-spawn.c: Likewise.
14606
fed0faa1
JM
146072013-01-10 Joseph Myers <joseph@codesourcery.com>
14608
828beb13
JM
14609 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14610 long.
14611 * math/bits/mathcalls.h (llrint): Likewise.
14612 (llround): Likewise.
14613 * stdlib/stdlib.h (struct drand48_data): Likewise.
14614 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14615 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14616 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14617 Likewise.
14618 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14619 Likewise.
14620 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14621 (elf_greg_t): Likewise.
14622 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14623 (__jmp_buf): Likewise.
14624 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14625 definitions.
14626 (llrint): Likewise, for all definitions.
14627 (llrintl): Likewise.
14628
fed0faa1
JM
14629 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14630 Remove [__GNUC__] condition.
14631 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14632 condition to just [__USE_ISOC99].
14633 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14634
1a20cb20
L
146352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14636
14637 [BZ #14200]
14638 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14639 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14640 defined.
14641 (_POSIX_V6_ILP32_OFF32): Likewise.
14642 (_XBS5_ILP32_OFF32): Likewise.
14643 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14644 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14645
751b85f7
SP
146462013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14647
7490eb81
SP
14648 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14649
751b85f7
SP
14650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14651 doubles __mpexp_twomm1. Adjust usage.
14652 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14653 Remove.
14654
988197f0
AS
146552013-01-10 Andreas Schwab <schwab@suse.de>
14656
14657 [BZ #14964]
14658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14659 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14660
e83d7298
DM
146612013-01-09 David S. Miller <davem@davemloft.net>
14662
034ed64b 14663 [BZ #15003]
e83d7298
DM
14664 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14665 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14666 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14667 TCP_FASTOPEN): Define.
14668 (tcp_repair_opt): New structure.
14669 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14670 enum values.
14671 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14672 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14673 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14674 (tcp_cookie_transactions): New structure.
14675
d5e0b9bd
AB
146762013-01-09 Anton Blanchard <anton@samba.org>
14677
14678 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14679 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14680 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14681 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14682
0c07e3ea
JM
146832013-01-09 Joseph Myers <joseph@codesourcery.com>
14684
14685 * include/features.h (__USE_ANSI): Remove.
14686
232f7002
RM
146872013-01-09 Roland McGrath <roland@hack.frob.com>
14688
ad98e30c
RM
14689 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14690
232f7002
RM
14691 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14692
950c99ca
SP
146932013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14694
b5792741
SP
14695 * sysdeps/s390/fpu/libm-test-ulps: Update.
14696
47cf2278
SP
14697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14698
950c99ca
SP
14699 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14700 (__acr): Likewise.
14701 (__cpy): Likewise.
14702 (norm): Likewise.
14703 (denorm): Likewise.
14704 (__mp_dbl): Likewise.
14705 (__dbl_mp): Likewise.
14706 (add_magnitudes): Likewise.
14707 (sub_magnitudes): Likewise.
14708 (__add): Likewise.
14709 (__sub): Likewise.
14710 (__mul): Likewise.
14711 (__inv): Likewise.
14712 (__dvd): Likewise.
14713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14714 (__acr): Likewise.
14715 (__cpy): Likewise.
14716 (norm): Likewise.
14717 (denorm): Likewise.
14718 (__mp_dbl): Likewise.
14719 (__dbl_mp): Likewise.
14720 (add_magnitudes): Likewise.
14721 (sub_magnitudes): Likewise.
14722 (__add): Likewise.
14723 (__sub): Likewise.
14724 (__mul): Likewise.
14725 (__inv): Likewise.
14726 (__dvd): Likewise.
14727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14728 (__acr): Likewise.
14729 (__cpy): Likewise.
14730 (norm): Likewise.
14731 (denorm): Likewise.
14732 (__mp_dbl): Likewise.
14733 (__dbl_mp): Likewise.
14734 (add_magnitudes): Likewise.
14735 (sub_magnitudes): Likewise.
14736 (__add): Likewise.
14737 (__sub): Likewise.
14738 (__mul): Likewise.
14739 (__inv): Likewise.
14740 (__dvd): Likewise.
14741
eede9df9
JM
147422013-01-08 Joseph Myers <joseph@codesourcery.com>
14743
14744 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14745 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14746 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14747 2 && __USE_EXTERN_INLINES]: Likewise.
14748
c40ea3d9
AJ
147492013-01-08 Andreas Jaeger <aj@suse.de>
14750
14751 [BZ# 14985]
14752 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14753 Remove.
14754 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14755 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14756
2ccdea26
AB
147572013-01-07 Anton Blanchard <anton@samba.org>
14758
14759 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14760 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14761 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14762 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14763 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14764 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14765 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14766 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14768 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14773 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14774 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14775 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14776 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14777 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14778 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14779 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14780 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14781 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14782 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14783 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14784 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14785 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14786 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14788 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14789 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14791 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14792 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14793 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14794 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14795 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14796 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14797 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14798 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14799 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14800 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14801 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14802
a9708fed
JM
148032013-01-07 Joseph Myers <joseph@codesourcery.com>
14804
375607b9
JM
14805 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14806 (__MALLOC_PMT): Likewise.
14807 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14808 [__GNUC__], only on [_LIBC].
14809 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14810 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14811 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14812 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14813 forward declaration.
14814 (realloc_hook_ini): Likewise.
14815 (memalign_hook_ini): Likewise.
14816 (__libc_memalign): Do not use __MALLOC_PMT in variable
14817 declaration.
14818 (__libc_valloc): Likewise.
14819 (__libc_pvalloc): Likewise.
14820 (__libc_calloc): Likewise.
14821 (__posix_memalign): Likewise.
14822
a9708fed
JM
14823 [BZ #14996]
14824 * math/s_casinh.c: Include <float.h>.
14825 (__casinh): Do not do computation with squaring and square root
14826 for large arguments.
14827 * math/s_casinhf.c: Include <float.h>.
14828 (__casinhf): Do not do computation with squaring and square root
14829 for large arguments.
14830 * math/s_casinhl.c: Include <float.h>.
14831 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14832 (__casinhl): Do not do computation with squaring and square root
14833 for large arguments.
14834 * math/libm-test.inc (casin_test): Add more tests.
14835 (casinh_test): Likewise.
14836 * sysdeps/i386/fpu/libm-test-ulps: Update.
14837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14838
afec409a
L
148392013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14840
14841 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14842 (__x86_64_raw_data_cache_size): Likewise.
14843 (__x86_64_data_cache_size_half): Likewise.
14844 (__x86_64_raw_data_cache_size_half): Likewise.
14845 (__x86_64_shared_cache_size): Likewise.
14846 (__x86_64_raw_shared_cache_size): Likewise.
14847 (__x86_64_shared_cache_size_half): Likewise.
14848 (__x86_64_raw_shared_cache_size_half): Likewise.
14849 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14850 to ...
14851 (__x86_data_cache_size): This.
14852 (__x86_64_raw_data_cache_size): Renamed to ...
14853 (__x86_raw_data_cache_size): This.
14854 (__x86_64_data_cache_size_half): Renamed to ...
14855 (__x86_data_cache_size_half): This.
14856 (__x86_64_raw_data_cache_size_half): Renamed to ...
14857 (__x86_raw_data_cache_size_half): This.
14858 (__x86_64_shared_cache_size): Renamed to ...
14859 (__x86_shared_cache_size): This.
14860 (__x86_64_raw_shared_cache_size): Renamed to ...
14861 (__x86_raw_shared_cache_size): This.
14862 (__x86_64_shared_cache_size_half): Renamed to ...
14863 (__x86_shared_cache_size_half): This.
14864 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14865 (__x86_raw_shared_cache_size_half): This.
14866 * sysdeps/x86_64/memcpy.S: Updated.
14867 * sysdeps/x86_64/memset.S: Likewise.
14868 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14869 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14870 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14871
0b3986d0
DM
148722013-01-04 David S. Miller <davem@davemloft.net>
14873
14874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14875
e47686e9
AS
148762013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14877
d643bac1
AS
14878 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14879 1 to avoid redefinition warning.
14880 (__USE_GNU): Don't define.
14881 (init_signaling_nan): Protoize.
14882
e47686e9
AS
14883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14884
b18decba
SP
148852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14886
fffb407f
SP
14887 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14889 (__cpymn): Likewise.
14890 (norm): Remove commented code.
14891 (denorm): Likewise.
14892 (__mp_dbl): Likewise.
14893 (__inv): Likewise.
14894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14895 (__cpymn): Likewise.
14896 (norm): Remove commented code.
14897 (denorm): Likewise.
14898 (__mp_dbl): Likewise.
14899 (__inv): Likewise.
14900
b18decba
SP
14901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14902 mp_no value for 1.0 and 2.0.
14903 (norm): Use RADIXI instead of radixi.d.
14904 (denorm): Likewise.
14905 (__mul): Use 0.0 instead of zero.d.
14906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14907 mp_no value for 1.0 and 2.0.
14908 (norm): Use RADIXI instead of radixi.d.
14909 (denorm): Likewise.
14910 (__mul): Use 0.0 instead of zero.d.
14911
cdc1c96f
JM
149122013-01-04 Joseph Myers <joseph@codesourcery.com>
14913
14914 [BZ #14994]
14915 * math/s_casinh.c (__casinh): Reduce finite argument to first
14916 quadrant then set signs of results at the end.
14917 * math/s_casinhf.c (__casinhf): Likewise.
14918 * math/s_casinhl.c (__casinhl): Likewise.
14919 * math/libm-test.inc (casin_test): Add more tests.
14920 (casinh_test): Likewise.
14921 * sysdeps/i386/fpu/libm-test-ulps: Update.
14922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14923
302913e1
SP
149242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14925
6420d207
SP
14926 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14927
a9e48ab4
SP
14928 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14929
b7837264
SP
14930 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14931 declarations.
14932 (denorm): Likewise.
14933 (__mp_dbl): Likewise.
14934 (__inv): Likewise.
14935
f8af25d2
SP
14936 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14937 and adjust the header comment.
14938
302913e1
SP
14939 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14940 variable name from declaration.
14941
5d7dd1ca
L
149422013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14943
14944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14945 Initialize COMMON_CPUID_INDEX_7 element.
14946 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14947 (CPUID_RTM): Likewise.
14948 (HAS_RTM): Likewise.
14949 (COMMON_CPUID_INDEX_7): New enum.
14950
2f5f40f4
AS
149512013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14952
14953 [BZ #14981]
14954 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14955 size is zero, record memory as freed.
14956
4056f4a0
AJ
149572013-01-03 Andreas Jaeger <aj@suse.de>
14958
14959 * po/ia.po: Add new Interlingua translation.
14960
ab15736f 149612012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14962
14963 * locale/programs/localedef.c: Fix description of '--posix' flag.
14964
568035b7
JM
149652013-01-02 Joseph Myers <joseph@codesourcery.com>
14966
e6898b8d
JM
14967 * NEWS: Update dates in second copyright notice.
14968 * README: Update copyright dates in example.
14969 * manual/libc.texinfo: Update copyright dates.
14970 * scripts/test-installation.pl: Update copyright date in --version
14971 output.
14972
0e2f9562
JM
14973 * hurd/ctty-input.c: Fix copyright notice formatting.
14974 * hurd/ctty-output.c: Likewise.
14975 * hurd/dtable.c: Likewise.
14976 * hurd/hurd-raise.c: Likewise.
14977 * hurd/hurdprio.c: Likewise.
14978 * hurd/msgportdemux.c: Likewise.
14979 * misc/sys/file.h: Likewise.
14980 * misc/sys/ioctl.h: Likewise.
14981 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14982 * sysdeps/mach/hurd/chdir.c: Likewise.
14983 * sysdeps/mach/hurd/fchdir.c: Likewise.
14984 * sysdeps/mach/hurd/rename.c: Likewise.
14985 * sysdeps/mach/hurd/rmdir.c: Likewise.
14986 * sysdeps/mach/hurd/seekdir.c: Likewise.
14987 * sysdeps/mach/hurd/setsid.c: Likewise.
14988 * sysdeps/posix/wait3.c: Likewise.
14989
568035b7
JM
14990 * All files with FSF copyright notices: Update copyright dates
14991 using scripts/update-copyrights.
14992 * intl/plural.c: Regenerated.
14993 * locale/programs/charmap-kw.h: Likewise.
14994 * locale/programs/locfile-kw.h: Likewise.
14995
da08f647
SP
149962013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14997
0f5477af
SP
14998 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14999 four values.
15000
44e0d4c2
SP
15001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15002 calculation loop and add branch prediction.
15003
4d55b4e5
SP
15004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15005 check access beyond bounds of m1np.
15006
da08f647
SP
15007 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15008 MPTWO.
15009 (__inv): Remove local variable MPTWO to use the global
15010 constant.
15011 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15013 variable MPTWO.
15014 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15015 MP3HALFS static const.
15016
8e051029
DM
150172013-01-01 David S. Miller <davem@davemloft.net>
15018
15019 * po/ca.po: Update from translation team.
15020
f4cf5f2d
JM
150212013-01-01 Joseph Myers <joseph@codesourcery.com>
15022
15023 * scripts/update-copyrights: New file.
15024 * Makeconfig: Reformat copyright notice.
15025 * ctype/ctype.h: Likewise.
15026 * debug/swprintf_chk.c: Likewise.
15027 * elf/dl-cache.c: Likewise.
15028 * elf/dl-debug.c: Likewise.
15029 * elf/dl-object.c: Likewise.
15030 * grp/initgroups.c: Likewise.
15031 * hurd/Makefile: Likewise.
15032 * hurd/hurd/signal.h: Likewise.
15033 * hurd/hurdfault.c: Likewise.
15034 * hurd/hurdioctl.c: Likewise.
15035 * hurd/hurdlookup.c: Likewise.
15036 * hurd/intr-msg.c: Likewise.
15037 * iconv/gconv_open.c: Likewise.
15038 * libio/swprintf.c: Likewise.
15039 * locale/lc-ctype.c: Likewise.
15040 * locale/nl_langinfo.c: Likewise.
15041 * mach/Machrules: Likewise.
15042 * mach/Makefile: Likewise.
15043 * malloc/obstack.h: Likewise.
15044 * manual/Makefile: Likewise.
15045 * manual/tsort.awk: Likewise.
15046 * misc/bits/stab.def: Likewise.
15047 * nis/nis_print_group_entry.c: Likewise.
15048 * nis/nis_table.c: Likewise.
15049 * nis/nss_compat/compat-pwd.c: Likewise.
15050 * nis/nss_compat/compat-spwd.c: Likewise.
15051 * po/Makefile: Likewise.
15052 * posix/fnmatch.c: Likewise.
15053 * posix/regex.h: Likewise.
15054 * resolv/Makefile: Likewise.
15055 * resolv/nss_dns/dns-network.c: Likewise.
15056 * resolv/res_hconf.c: Likewise.
15057 * scripts/gen-sorted.awk: Likewise.
15058 * soft-fp/soft-fp.h: Likewise.
15059 * stdio-common/printf.h: Likewise.
15060 * stdlib/monetary.h: Likewise.
15061 * stdlib/random.c: Likewise.
15062 * stdlib/random_r.c: Likewise.
15063 * sysdeps/generic/Makefile: Likewise.
15064 * sysdeps/gnu/Makefile: Likewise.
15065 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15067 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15072 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15075 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15076 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15077 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15080 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15081 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15082 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15085 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15088 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15089 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15091 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15092 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15093 * sysdeps/mach/hurd/errnos.awk: Likewise.
15094 * sysdeps/mach/hurd/fork.c: Likewise.
15095 * sysdeps/mach/hurd/getcwd.c: Likewise.
15096 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15097 * sysdeps/mach/hurd/mmap.c: Likewise.
15098 * sysdeps/mach/hurd/utimes.c: Likewise.
15099 * sysdeps/mach/hurd/xmknod.c: Likewise.
15100 * sysdeps/posix/profil.c: Likewise.
15101 * sysdeps/posix/readdir_r.c: Likewise.
15102 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15103 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15104 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15105 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15107 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15108 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15109 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15111 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15112 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15113 * sysdeps/pthread/lio_listio.c: Likewise.
15114 * sysdeps/sparc/dl-procinfo.h: Likewise.
15115 * sysdeps/unix/i386/sysdep.S: Likewise.
15116 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15117 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15118 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15119 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15121 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15122 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15123 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15124 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15125 * sysdeps/wordsize-32/divdi3.c: Likewise.
15126 * time/sys/time.h: Likewise.
15127 * wcsmbs/Makefile: Likewise.
15128
0549fbba
DM
151292013-01-01 David S. Miller <davem@davemloft.net>
15130
a141f1a7
DM
15131 * po/fr.po: Update from translation team.
15132
0549fbba
DM
15133 * catgets/gencat.c: Update copyright year.
15134 * csu/version.c: Likewise.
15135 * debug/catchsegv.sh: Likewise.
15136 * debug/pcprofiledump.c: Likewise.
15137 * debug/xtrace.sh: Likewise.
15138 * elf/ldconfig.c: Likewise.
15139 * elf/ldd.bash.in: Likewise.
15140 * elf/pldd.c: Likewise.
15141 * elf/sotruss.ksh: Likewise.
15142 * elf/sprof.c: Likewise.
15143 * iconv/iconv_prog.c: Likewise.
15144 * iconv/iconvconfig.c: Likewise.
15145 * locale/programs/locale.c: Likewise.
15146 * locale/programs/localedef.c: Likewise.
15147 * login/programs/pt_chown.c: Likewise.
15148 * malloc/memusage.sh: Likewise.
15149 * malloc/memusagestat.c: Likewise.
15150 * malloc/mtrace.pl: Likewise.
15151 * nscd/nscd.c: Likewise.
15152 * nss/getent.c: Likewise.
15153 * nss/makedb.c: Likewise.
15154 * posix/getconf.c: Likewise.
15155
18ea052c
SP
151562012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15157
15158 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15159 numbers.
15160
9c89fca6
MF
151612012-12-30 Mike Frysinger <vapier@gentoo.org>
15162
15163 * math/bits/mathcalls.h (modf): Use __nonnull.
15164
085ec079
SP
151652012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15166
15167 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15168 (split): Use macro CN instead of the bare value.
15169 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15170 could be used.
15171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15172 instead of the bare value.
15173 (power1): Likewise.
15174
6d9f97e1
SP
151752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15176
d63f73be
SP
15177 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15178 __ATAN_TWOM.
15179 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15180
6d9f97e1
SP
15181 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15182 their values.
15183 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15185 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15186 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15187
4c4febf5
AJ
151882012-12-28 Andreas Jaeger <aj@suse.de>
15189
af5843ef
AJ
15190 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15191 values are from Linux 3.7.
15192
4c4febf5
AJ
15193 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15194 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15195
99136f82
SP
151962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15197
2f216c3c 15198 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15199 TRUE case.
15200
99136f82
SP
15201 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15202 (norm): Likewise.
15203 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15204 variables with preprocessor constants.
15205 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15206 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15207 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15208
7fffbdff
BH
152092012-12-27 Bruno Haible <bruno@clisp.org>
15210
15211 [BZ #14317]
15212 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15213 only if needed.
15214
b76eb5f0
SP
152152012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15216
31a7fe5c
SP
15217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15218 and use variable directly.
15219 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15220
b76eb5f0
SP
15221 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15222 MPONE.
15223 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15224 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15225 variable MPONE.
15226 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15228 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15229 include directive. Remove local variable MPONE.
15230 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15231 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15232 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15233
2c8bfe7d
DM
152342012-12-25 David S. Miller <davem@davemloft.net>
15235
15236 * version.h (RELEASE): Set to "development".
15237 (VERSION): Set to "2.17.90".
15238 * NEWS: Add 2.18 section.
15239
147d03b0
DM
152402012-12-21 David S. Miller <davem@davemloft.net>
15241
15242 * po/hr.po: Update from translation team.
15243
a8ebb2b9
AK
152442012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15245
15246 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15247
95b4f1b6
SE
152482012-12-19 Steve Ellcey <sellcey@mips.com>
15249
b2d94007 15250 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15251
cedb2a90
MS
152522012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15253
15254 * manual/contrib.texi (Contributors): Spelling correction.
15255
bbf527d6
DM
152562012-12-15 David S. Miller <davem@davemloft.net>
15257
15258 * po/ru.po: Update from translation team.
15259
bc38c906
DM
152602012-12-13 David S. Miller <davem@davemloft.net>
15261
85429b1a
DM
15262 * NEWS: Mention IFUNC testsuite enhancements.
15263
d283e353
DM
15264 * po/pl.po: Update from translation team.
15265 * po/bg.po: Likewise.
15266
bc38c906
DM
15267 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15268 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15269
a181b0d7
DM
152702012-12-11 David S. Miller <davem@davemloft.net>
15271
4641d57e
DM
15272 * po/sv.po: Update from translation team.
15273
f7bc6495
DM
15274 * po/vi.po: Update from translation team.
15275
6fc9048f
DM
15276 * po/cs.po: Update from translation team.
15277
a181b0d7
DM
15278 * po/de.po: Update from translation team.
15279 * po/eo.po: Likewise.
15280 * po/nl.po: Likewise.
15281
f70bfe80
SP
152822012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15283
3c8b4190
SP
15284 [BZ #14246]
15285 * manual/argp.texi (Argp Helper Functions): Move node to follow
15286 Argp Parsing State.
15287
f70bfe80
SP
15288 [BZ #14872]
15289 * manual/conf.texi (Limits on File System Capacity): Mention if
15290 terminating null is included in the max size.
15291
188f0adf
AJ
152922012-12-10 Andreas Jaeger <aj@suse.de>
15293
15294 * po/cs.po: Update from translation team.
15295
56e7d3ad
SP
152962012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15297
15298 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15299 void pointer and cast to uintptr_t.
15300 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15301 path.
15302 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15303 * sysdeps/s390/s390-64/memset.S: Likewise.
15304
76f2d2ea 153052012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15306
15307 [BZ #14833]
15308 * menual/message.texi (Message Translation): Fix typos.
15309 (Helper programs for gettext): Likewise.
15310
67cbf9a2
AS
153112012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15312
15313 [BZ #14898]
15314 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15315 Change to -1.
15316
682d0e9a
DM
153172012-12-07 David S. Miller <davem@davemloft.net>
15318
15319 * po/libc.pot: Update.
15320
573cd484
RH
153212012-12-07 Richard Henderson <rth@redhat.com>
15322
7e9da188 15323 [BZ #10114]
573cd484
RH
15324 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15325 normal/normal case to before the switch.
15326 (_FP_DIV): Likewise.
15327
e933a943
MF
153282012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15329 Mike Frysinger <vapier@gentoo.org>
15330
15331 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15332 check for __NR_fadvise64_64.
15333
82123268
CM
153342012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15335
15336 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15337 0, not just to plain "0" as a statement.
15338 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15339 with cw.
15340
d9814526
JM
153412012-12-06 Joseph Myers <joseph@codesourcery.com>
15342
15343 * NEWS: Use sourceware.org in Bugzilla URL.
15344
7728c574
SP
153452012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15346
f16946dd
SP
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15348 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15349
5704bbcb
SP
15350 * stdio-common/tst-put-error.c (do_test): Add newline to the
15351 padded test to ensure flush.
15352
17aa0516
JL
153532012-12-05 Jeff Law <law@redhat.com>
15354
15355 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15356
363313b5
JM
153572012-12-05 Joseph Myers <joseph@codesourcery.com>
15358
effbd42a
JM
15359 * README: Don't refer to ports add-on as distributed separately.
15360 Mention AArch64 in list of systems supported in the ports add-on.
15361
87600365
JM
15362 * LICENSES: Add more non-FSF copyright and license notices.
15363
a0d7066a
JM
15364 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15365 ((unused)).
15366
66ca5a5b
JM
15367 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15368
363313b5
JM
15369 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15370 10000 as width of padded output.
15371
b37984ad
JM
153722012-12-04 Joseph Myers <joseph@codesourcery.com>
15373
9003570a
JM
15374 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15375
b37984ad
JM
15376 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15377 variable LX with __attribute__ ((unused)).
15378 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15379 Likewise.
15380 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15383 with __attribute__ ((unused)).
15384
c8df52ec
DM
153852012-12-04 David S. Miller <davem@abraco.davemloft.net>
15386
15387 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15388
b3b099af
JM
153892012-12-04 Joseph Myers <joseph@codesourcery.com>
15390
c33aa6e3
JM
15391 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15392 (CFLAGS-nldbl-acos.c): New variable.
15393 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15394 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15395 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15396 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15397 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15398 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15399 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15400 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15401 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15402 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15403 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15404 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15405 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15406 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15407 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15408 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15409 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15410 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15411 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15412 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15413 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15414 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15415 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15416 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15417 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15418 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15419 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15420 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15421 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15422 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15423 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15424 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15425 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15426 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15427 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15428 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15429 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15430 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15431 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15432 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15433 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15434 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15435 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15436 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15437 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15438 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15439 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15440 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15441 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15442 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15443 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15444 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15445 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15446 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15447 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15448 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15449 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15450 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15451 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15452 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15453 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15454 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15455 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15456 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15457 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15458 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15459 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15460 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15461 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15462 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15463 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15464 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15465 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15466 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15467 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15468 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15469 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15470 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15471 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15472 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15473 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15474 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15475 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15476 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15477 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15478 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15479 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15480 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15481 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15482 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15483 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15484 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15485 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15486 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15487 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15488 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15489 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15490
20f0018d
JM
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15492 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15493
b3b099af
JM
15494 [BZ #14914]
15495 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15496 whole low double instead of just low 47 bits when splitting values
15497 into two parts.
15498
029264d1
AM
154992012-12-03 Allan McRae <allan@archlinux.org>
15500
15501 * manual/stdio.texi (Predefined Printf Handlers): Remove
15502 @hsep and @vsep usage.
15503
c9d6789e
MF
155042012-12-03 Mike Frysinger <vapier@gentoo.org>
15505
15506 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15507 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15508
4b7634a5
JL
155092012-12-03 Jeff Law <law@redhat.com>
15510
15511 * time/sys/time.h (settimeofday): Do not mark TV argument
15512 as __nonnull.
15513
eb6cbd24
MF
155142012-12-01 Mike Frysinger <vapier@gentoo.org>
15515
15516 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15517 when currently writing and seek to current position when not.
15518 * libio/Makefile (tests): Remove bug-fclose1.
15519 * libio/bug-fclose1.c: Delete.
15520
f638872a
JM
155212012-12-01 Joseph Myers <joseph@codesourcery.com>
15522
15523 * manual/arith.texi (feenableexcept): Fix typo.
15524 (fedisableexcept): Likewise.
15525
48085d14
RM
155262012-11-30 Roland McGrath <roland@hack.frob.com>
15527
15528 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15529 second, differently-typed declaration, rather than a cast.
15530
1a538b9f
SP
155312012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15532
15533 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15534 * include/rpc/svc.h: ... here.
15535
d07f2ff1 155362012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15537
15538 [BZ #13013]
15539 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15540 depending n and resplen2 to catch cases where answer
15541 equals answerp2.
15542
c93ec1f0
CD
155432012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15544
15545 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15546 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15547
37db69de
MF
155482012-11-29 Mike Frysinger <vapier@gentoo.org>
15549
15550 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15551
e10c4e4f
RM
155522012-11-29 Roland McGrath <roland@hack.frob.com>
15553
15554 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15555
2af1b328
JL
155562012-11-28 Jeff Law <law@redhat.com>
15557
15558 [BZ #13761]
15559 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15560 dataset_temporary. Track alloca usage into alloca_used.
15561 If dataset is large allocate and release it via malloc/free.
15562
111db5b1
FW
155632012-06-04 Florian Weimer <fweimer@redhat.com>
15564
f06cc227 15565 [BZ #14197]
111db5b1
FW
15566 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15567
dd694abd
DM
155682012-11-28 David S. Miller <davem@davemloft.net>
15569
15570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15571
9984dd01
JM
155722012-11-28 Joseph Myers <joseph@codesourcery.com>
15573
15574 [BZ #14803]
15575 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15576 of pi/2 rounded to nearest to 64 bits.
15577 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15578 nearest to 64 bits.
15579 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15580 bits.
15581
14bc93a9
JL
155822012-11-28 Jeff Law <law@redhat.com>
15583 Martin Osvald <mosvald@redhat.com>
15584
15585 [BZ #14889]
15586 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15587 * sunrpc/svc.c: Include time.h.
15588 (__svc_accept_failed): New function.
15589 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15590 any reason other than EINTR, call __svc_accept_failed.
15591 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15592 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15593
e3c6aa3a
AS
155942012-11-28 Andreas Schwab <schwab@suse.de>
15595
15596 * scripts/abilist.awk: Also handle indirect functions in .opd
15597 section.
15598
1bead169
JM
155992012-11-28 Joseph Myers <joseph@codesourcery.com>
15600
15601 [BZ #13881]
15602 * sysdeps/x86/fpu/powl_helper.c: New file.
15603 * sysdeps/x86/fpu/Makefile: Likewise.
15604 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15605 (p3): New object.
15606 (__ieee754_powl): Use __powl_helper for finite arguments except
15607 integer exponents below 8.
15608 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15609 (p3): New object.
15610 (__ieee754_powl): Use __powl_helper for finite arguments except
15611 integer exponents below 8.
15612 * math/libm-test.inc (pow_test): Add more tests and enable some
15613 previously disabled tests.
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15616
0817d63d
SP
156172012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15618 Carlos O'Donell <carlos_odonell@mentor.com>
15619
15620 * nss/makedb.c (is_prime): Assert that input is odd and greater
15621 than 4. Note that fact in a comment too.
15622 (next_prime): Add 4 to input.
15623
de2fd463
SP
156242012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15625
15626 [BZ #11741]
15627 * libio/Makefile (tests): Add test case tst-fwrite-error.
15628 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15629 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15630 * libio/tst-fwrite-error.c: New test case.
15631
c515fb51
L
156322012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15633
15634 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15635 before casting to void *.
15636 * include/libc-internal.h (__pointer_type): New macro.
15637 (__integer_if_pointer_type_sub): Likewise.
15638 (__integer_if_pointer_type): Likewise.
15639 (cast_to_integer): Likewise.
15640 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15641 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15642 before casting to atomic64_t.
15643 (atomic_exchange_acq): Likewise.
15644 (__arch_exchange_and_add_body): Likewise.
15645 (__arch_add_body): Likewise.
15646 (atomic_add_negative): Likewise.
15647 (atomic_add_zero): Likewise.
15648
4cf77aa9
JM
156492012-11-26 Joseph Myers <joseph@codesourcery.com>
15650
15651 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15652 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15653 (add_fdes): Likewise.
15654 (linear_search_fdes): Likewise.
15655 (binary_search_unencoded_fdes): Likewise.
15656
d260b3b4
AS
156572012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15658
15659 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15660
67060746
AC
156612012-11-24 Adam Conrad <adconrad@0c3.net>
15662
15663 * configure.in: Autodetect C++ header directories.
15664 * configure: Regenerated.
15665
800938a1
MF
156662012-11-23 Mike Frysinger <vapier@gentoo.org>
15667
15668 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15669
4e6e34e6
AS
156702012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15671
15672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15673
7c7feb47
JM
156742012-11-22 Joseph Myers <joseph@codesourcery.com>
15675
7184dcdf
JM
15676 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15677 LDBL_MANT_DIG == 106]: Disable some tests.
15678 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15679 Likewise.
15680 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15681 Likewise.
15682
0a42601f
JM
15683 [BZ #14871]
15684 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15685 input for small inputs. Return +/- pi/2 for large inputs.
15686 * math/libm-test.inc (atan_test): Add more tests.
15687
79c9b9fe
JM
15688 * sysdeps/generic/unwind-dw2-fde-glibc.c
15689 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15690 __attribute__ ((unused)).
15691
c60d3bf2
JM
15692 [BZ #14645]
15693 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15694 x * y if x and y are nonzero and z is zero.
15695
ef1e0867
JM
15696 [BZ #14811]
15697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15698 nonzero exponents with absolute value below 0x1p-117 to +/-
15699 0x1p-117.
15700
1468ded3
JM
15701 [BZ #14869]
15702 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15703 up arguments below 2**-450, not just those below 2**-500.
15704 * math/libm-test.inc (hypot_test): Add another test.
15705
8e27e3cc
JM
15706 [BZ #14868]
15707 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15708 Return a+b for ratio over 2**120, not 2**60.
15709 * math/libm-test.inc (hypot_test): Add another test.
15710
c9c0279b
JM
15711 * math/libm-test.inc (clog_test): Use
15712 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15713 (clog10_test): Likewise.
15714
7c7feb47
JM
15715 [BZ #6778]
15716 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15717
fff1530e
AS
157182012-11-22 Andreas Schwab <schwab@suse.de>
15719
15720 * sysdeps/i386/fpu/libm-test-ulps: Update.
15721
94558d30
PT
157222012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15723
15724 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15725 printf output with newline.
15726
7e1be741
L
157272012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15728
6bfea974
L
15729 [BZ #14865]
15730 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15731 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15732 -z nodlopen, -z initfirst and -z execstack support.
15733 * configure: Regenerated.
15734
7e1be741
L
15735 * elf/elf.h (DF_1_NODIRECT): New macro.
15736 (DF_1_IGNMULDEF): Likewise.
15737 (DF_1_NOKSYMS): Likewise.
15738 (DF_1_NOHDR): Likewise.
15739 (DF_1_EDITED): Likewise.
15740 (DF_1_NORELOC): Likewise.
15741 (DF_1_SYMINTPOSE): Likewise.
15742 (DF_1_GLOBAUDIT): Likewise.
15743 (DF_1_SINGLETON): Likewise.
15744 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15745 DT_1_SUPPORTED_MASK bits.
15746 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15747
105ce2ce
CD
157482012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15749
15750 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15751
123be9de
TS
157522012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15753
d072f3f7
TS
15754 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15755 macro.
15756
123be9de
TS
15757 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15758 (sendmmsg): Move declarations...
15759 * socket/sys/socket.h: ... here.
15760 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15761 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15762 include it from...
15763 * socket/recvmmsg.c: ... this new file.
15764 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15765 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15766 definition of __sendmmsg hidden.
15767 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15768 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15769 Move ENOSYS stub into and include it from...
15770 * socket/sendmmsg.c: ... this new file.
15771 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15772 (sysdep_routines): Move recvmmsg and sendmmsg...
15773 * socket/Makefile (routines): ... here.
15774 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15775 (GLIBC_PRIVATE): Add __sendmmsg.
15776 * include/sys/socket.h (__sendmmsg): Add declarations.
15777 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15778 sendmmsg.
15779
cf9a5d18
JM
157802012-11-20 Joseph Myers <joseph@codesourcery.com>
15781
15782 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15783 variable I1 with __attribute__ ((unused)).
15784 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15785
ecd4caf9
JM
157862012-11-19 Joseph Myers <joseph@codesourcery.com>
15787
be14d48f
JM
15788 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15789 DUMMY variables with __attribute__ ((unused)).
15790
ecd4caf9
JM
15791 * bits/byteswap.h: Include <bits/types.h>.
15792 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15793
986cab95
PT
157942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15795
15796 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15797 string_t. Do not manually set errno.
15798 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15799 length with __strnlen. Make sure to both set errno and return it on
15800 failure.
15801
6d33cc9d
DM
158022012-11-19 David S. Miller <davem@davemloft.net>
15803
15804 With help from Joseph Myers.
15805 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15806 very large arguments properly.
15807 * math/libm-test.inc (atan_test): New tests.
15808 (atan2_test): New tests.
15809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15811
ee663277
JM
158122012-11-19 Joseph Myers <joseph@codesourcery.com>
15813
877f2d8e
JM
15814 [BZ #14856]
15815 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15816 Define to 3.
15817
116fc08a
JM
15818 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15819 [POSIX] (EADDRNOTAVAIL): Likewise.
15820 [POSIX] (EAFNOSUPPORT): Likewise.
15821 [POSIX] (EALREADY): Likewise.
15822 [POSIX] (ECONNABORTED): Likewise.
15823 [POSIX] (ECONNREFUSED): Likewise.
15824 [POSIX] (ECONNRESET): Likewise.
15825 [POSIX] (EDESTADDRREQ): Likewise.
15826 [POSIX] (EDQUOT): Likewise.
15827 [POSIX] (EHOSTUNREACH): Likewise.
15828 [POSIX] (EIDRM): Likewise.
15829 [POSIX] (EISCONN): Likewise.
15830 [POSIX] (ELOOP): Likewise.
15831 [POSIX] (EMULTIHOP): Likewise.
15832 [POSIX] (ENETDOWN): Likewise.
15833 [POSIX] (ENETUNREACH): Likewise.
15834 [POSIX] (ENOBUFS): Likewise.
15835 [POSIX] (ENODATA): Likewise.
15836 [POSIX] (ENOLINK): Likewise.
15837 [POSIX] (ENOMSG): Likewise.
15838 [POSIX] (ENOPROTOOPT): Likewise.
15839 [POSIX] (ENOSR): Likewise.
15840 [POSIX] (ENOSTR): Likewise.
15841 [POSIX] (ENOTCONN): Likewise.
15842 [POSIX] (ENOTSOCK): Likewise.
15843 [POSIX] (EOPNOTSUPP): Likewise.
15844 [POSIX] (EOVERFLOW): Likewise.
15845 [POSIX] (EPROTO): Likewise.
15846 [POSIX] (EPROTONOSUPPORT): Likewise.
15847 [POSIX] (EPROTOTYPE): Likewise.
15848 [POSIX] (ESTALE): Likewise.
15849 [POSIX] (ETIME): Likewise.
15850 [POSIX] (ETXTBSY): Likewise.
15851 [POSIX] (EWOULDBLOCK): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15853 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15854 [POSIX] (SEEK_CUR): Likewise.
15855 [POSIX] (SEEK_END): Likewise.
15856 [POSIX || UNIX98] (mode_t): Do not require.
15857 [POSIX] (off_t): Likewise.
15858 [POSIX] (pid_t): Likewise.
15859 [POSIX] (sys/stat.h): Do not allow header.
15860 [POSIX] (unistd.h): Likewise.
15861 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15862 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15863 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15864 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15865 require.
15866 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15867 sigevent): Specify elements.
15868 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15869 entry.
15870 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15871 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15872
a483863f
JM
15873 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15874 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15875 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15876 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15877 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15878 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15879 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15880 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15882 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15883 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15884 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15885 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15886 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15887 Likewise.
15888 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15889 Likewise.
15890 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15891 Likewise.
15892 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15893 Likewise.
15894 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15895 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15896 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15897 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15899 Specify lower bound on value.
15900 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15902 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15903 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15904 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15905 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15906 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15907 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15908 value.
15909 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15910 as optional.
15911 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15912 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15913 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15914 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15915 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15916 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15917 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15918 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15919 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15920 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15921 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15922 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15923 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15924 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15925 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15926 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15927 entry.
15928 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15929 optional.
15930 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15931 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15932 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15933 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15934 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15935 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15936 Likewise.
15937 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15938 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15939 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15940 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15941 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15942 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15944 as optional.
15945 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15946 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15947 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15948 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15949 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15950 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15951 specify as optional.
15952 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15953 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15954 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15955 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15956 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15957 [XPG3] (NL_LANGMAX): Likewise.
15958 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15959 [POSIX || XPG3] (NL_NMAX): Likewise.
15960 [POSIX || XPG3] (NL_SETMAX): Likewise.
15961 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15962 [XPG3] (NZERO): Likewise.
15963 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15964 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15965 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15966 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15967 (REG_ERANGE): Expect.
15968 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15969 optional-constant.
15970 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15971 Use (void) in prototype.
15972 [POSIX] (*_t): Allow.
15973 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15974 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15975 (WRDE_BADVAL): Expect.
15976
5ba924e3
JM
15977 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15978 expect.
15979 [XPG3 || XPG4] (O_RSYNC): Likewise.
15980 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15981 Likewise.
15982 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15983 [XPG3 || XPG4] (sigqueue): Likewise.
15984 [XPG3 || XPG4] (sigtimedwait): Likewise.
15985 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15986 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15987 [XPG3 || XPG4] (vsnprintf): Likewise.
15988 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15989 Likewise.
15990 [XPG3 || XPG4] (blksize_t): Likewise.
15991 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15992 Likewise.
15993 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15994 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15995 [XPG3 || XPG4] (struct itimerspec): Likewise.
15996 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15997 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15998 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15999 [XPG3 || XPG4] (clockid_t): Likewise.
16000 [XPG3 || XPG4] (timer_t): Likewise.
16001 [XPG3 || XPG4] (clock_getres): Likewise.
16002 [XPG3 || XPG4] (clock_gettime): Likewise.
16003 [XPG3 || XPG4] (clock_settime): Likewise.
16004 [XPG3 || XPG4] (nanosleep): Likewise.
16005 [XPG3 || XPG4] (timer_create): Likewise.
16006 [XPG3 || XPG4] (timer_delete): Likewise.
16007 [XPG3 || XPG4] (timer_gettime): Likewise.
16008 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16009 [XPG3 || XPG4] (timer_settime): Likewise.
16010 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16011 [XPG3 || XPG4] (getlogin_r): Likewise.
16012 [XPG3 || XPG4] (pread): Likewise.
16013 [XPG3 || XPG4] (pthread_atfork): Likewise.
16014 [XPG3 || XPG4] (pwrite): Likewise.
16015
ee663277
JM
16016 [BZ #14835]
16017 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16018 <bits/siginfo.h>.
16019
942caa16
PT
160202012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16021
e19af380
PT
16022 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16023 finalizing MALLSTREAM.
16024
942caa16
PT
16025 * sysdeps/mach/hurd/syncfs.c: New file.
16026
cfde9b46
SP
160272012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16028
16029 [BZ #14719]
16030 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16031 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16032 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16033 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16034 (_nss_dns_gethostbyname4_r): Likewise.
16035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16036 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16037
f6da27e5
PH
160382012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16039
16040 [BZ #13763]
16041 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16042
6665d4a2
SM
160432012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16044
1f51ee92
SM
16045 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16046 * elf/cache.c (print_entry): Print ",AArch64" for
16047 FLAG_AARCH64_LIB64
16048
6665d4a2
SM
16049 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16050 * elf/cache.c (print_entry): Print ",hard-float" for
16051 FLAG_ARM_LIBHF.
16052
05b227bd
DM
160532012-11-18 David S. Miller <davem@davemloft.net>
16054
16055 With help from Joseph Myers.
16056 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16057 cutoff to 2**-13.
16058 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16059 cutoff to 2**-25.
16060 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16061 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16062 small.
16063 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16064 * math/libm-test.inc (y0_test): New tests.
16065 (y1_test): New tests.
16066 * sysdeps/i386/fpu/libm-test-ulps: Update.
16067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16069
786b0b67
AS
160702012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16071
16072 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16073 64-bit targets.
16074 * configure: Regenerated.
16075
8e18b86d
DM
160762012-11-17 David S. Miller <davem@davemloft.net>
16077
16078 [BZ #14811]
16079 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16080 nonzero exponents with absolute value below 0x1p-128 to +/-
16081 0x1p-128.
16082
531f1ae0
JM
160832012-11-17 Joseph Myers <joseph@codesourcery.com>
16084
12df29e2
JM
16085 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16086
150dc1a0
JM
16087 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16088
531f1ae0
JM
16089 * posix/getconf-speclist.c: New file.
16090 * posix/posix-envs.def: Likewise.
16091 * posix/confstr.c (START_ENV_GROUP): New macro.
16092 (END_ENV_GROUP): Likewise.
16093 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16094 (KNOWN_PRESENT_ENV_STRING): Likewise.
16095 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16096 (UNKNOWN_ENVIRONMENT): Likewise.
16097 (confstr): Include posix-envs.def instead of handling
16098 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16099 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16100 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16101 (END_ENV_GROUP): Likewise.
16102 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16103 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16104 (UNKNOWN_ENVIRONMENT): Likewise.
16105 (__sysconf): Include posix-envs.def instead of handling associated
16106 cases directly here.
16107 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16108 preprocessing getconf-speclist.c rather than running getconf or
16109 generating empty file.
16110
a93f9cbc
PT
161112012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16112
16113 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16114
d64d9f87
AL
161152012-11-16 Andrej Lajovic <natrij@gmail.com>
16116
16117 [BZ #14672]
16118 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16119
447885eb
DM
161202012-11-16 David S. Miller <davem@davemloft.net>
16121
16122 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16123 smaller than LDBL_EPSILON/2.0L, just return xm1.
16124
bcbf9830
L
161252012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16126
16127 * elf/tst-array1.c (init): Set constructor priority to 1000.
16128 (fini): Set destructor priority to 1000.
16129 * elf/tst-array2dep.c: Likewise.
16130
2b766585
SP
161312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16132
16133 [BZ #11741]
16134 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16135 (_IO_new_file_xsputn): Also return EOF if none of the input
16136 data was written when overflow failed.
16137 * libio/iopadn.c (_IO_padn): Likewise.
16138 * libio/iowpadn.c (_IO_wpadn): Likewise.
16139 * stdio-common/tst-put-error.c: Add copyright notice.
16140 (do_test): Add case for printing padded string.
16141 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16142 _IO_padn returned error.
16143 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16144 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16145 return EOF.
16146
b1848fde
SP
161472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16148
16149 * libio/libioP.h: Add comment note that the references to C++
16150 bits are now obsolete.
16151
2fd89785
MS
161522012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16153
16154 * math/libm-test.inc (check_complex): Use asprintf.
16155
e3ea5409
JM
161562012-11-14 Joseph Myers <joseph@codesourcery.com>
16157
16158 * debug/pcprofiledump.c (print_version): Update copyright year.
16159 * malloc/memusagestat.c (print_version): Likewise.
16160
2e64d265
L
161612012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16162
16163 [BZ #14831]
16164 * elf/Makefile (tests): Add tst-audit8.
16165 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16166 ($(objpfx)tst-audit8.out): New target.
16167 (tst-audit8-ENV): New variable.
16168 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16169 audit if l_reloc_result is NULL.
16170 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16171 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16172 * elf/tst-audit8.c: New file.
16173
c485e4d2
MS
161742012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16175
16176 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16177 * misc/Makefile (CFLAGS-select.c): Define.
16178 * posix/Makefile (CFLAGS-pause.c): Define.
16179
3a0d900a
DM
161802012-11-13 David S. Miller <davem@davemloft.net>
16181
16182 * crypt/Makefile: Move test targets after toplevel Rules
16183 inclusion. Grab any necessary sysdep routines when linking.
16184 * crypt/md5.c (md5_process_block): Remove define, we will always
16185 name it __md5_process_block.
16186 (md5_finish_ctx): Update md5_process_block call.
16187 (md5_stream): Likewise.
16188 (md5_process_bytes): Likewise.
16189 (md5_process_block): Rename to __md5_process_block and move to ...
16190 * crypt/md5-block.c: ... here.
16191 * crypt/sha256.c (sha256_process_block): Move to ...
16192 * crypt/sha256-block.c: ... here.
16193 * crypt/sha512.c (sha512_process_block): Move to ...
16194 * crypt/sha512-block.c: ... here.
16195 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16196 path.
16197 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16198 * sysdeps/sparc/sparc64/multiarch/Makefile
16199 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16200 crypt subdir.
16201 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16202 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16203 multiarch changes.
16204 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16205 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16206 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16207 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16208 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16209 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16210 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16211 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16212 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16213 file.
16214 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16215 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16216 file.
16217 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16218
8ca89318
JM
162192012-11-13 Joseph Myers <joseph@codesourcery.com>
16220
e27d476a
JM
16221 * timezone/tzselect.ksh: Update from tzcode git revision
16222 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16223 * timezone/zdump.c: Likewise.
16224 * timezone/zic.c: Likewise.
16225 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16226 in TZVERSION setting, not $(PKGVERSION).
16227 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16228 REPORT_BUGS_TO settings.
16229
8ca89318
JM
16230 [BZ #14838]
16231 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16232 macro.
16233
47594329
MS
162342012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16235
16236 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16237 detection to immediately after _FP_ROUND().
16238 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16239 bits are 0.
16240
640ac3f1
DM
162412012-11-11 David S. Miller <davem@davemloft.net>
16242
16243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16244 inttypes.h
16245 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16246 __close rather than their public counterparts.
16247
3d2577bb
JM
162482012-11-10 Joseph Myers <joseph@codesourcery.com>
16249
16250 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16251 file.
16252 [UNIX98] (sem_timedwait): Do not expect.
16253 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16254 [XPG4 || UNIX98] (sockatmark): Do not expect.
16255 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16256 (clock_getcpuclockid): Do not expect.
16257 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16258 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16259 Do not expect.
16260 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16261 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16262 [UNIX98] (vwscanf): Likewise.
16263 [UNIX98] (vswscanf): Likewise.
16264
fb1ae1ee
JM
162652012-11-09 Joseph Myers <joseph@codesourcery.com>
16266
9ec6f8bd
JM
16267 * timezone/version.h: Remove file.
16268 * timezone/README: Do not refer to version.h.
16269 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16270 $(objpfx)version.h.
16271 ($(objpfx)zdump.o): Likewise.
c3f81911 16272 ($(objpfx)version.h): New target.
9ec6f8bd 16273
0aa8f8a1
JM
16274 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16275 2012i.
16276 * timezone/README: Don't mention modification to tzselect.ksh.
16277 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16278 work on unmodified tzselect.ksh. Substitute version numbers in
16279 tzselect.ksh.
16280
4e87147f
JM
16281 * Makefile (format-me): Remove.
16282 (INSTALL): Adjust indentation. Use commands directly instead of
16283 using $(format-me).
16284
8b748aed
JM
16285 * aclocal.m4 (ACX_PKGVERSION): New macro.
16286 (ACX_BUGURL): Likewise.
16287 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16288 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16289 (REPORT_BUGS_TO): Likewise.
16290 * configure: Regenerated.
16291 * config.h.in (PKGVERSION): New macro.
16292 (REPORT_BUGS_TO): Likewise.
16293 * config.make.in (PKGVERSION): New variable.
16294 (PKGVERSION_TEXI): Likewise.
16295 (REPORT_BUGS_TO): Likewise.
16296 (REPORT_BUGS_TEXI): Likewise.
16297 * Makefile (format-me): Use -I$(common-objpfx)manual.
16298 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16299 ($(common-objpfx)manual/%): New target.
16300 (manual/%): Remove target.
16301 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16302 (print_version): Use PKGVERSION.
16303 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16304 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16305 and REPORT_BUGS_TO.
16306 ($(objpfx)xtrace): Likewise.
16307 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16308 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16309 (print_version): Use PKGVERSION.
16310 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16311 (do_version): Use PKGVERSION.
16312 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16313 REPORT_BUGS_TO.
16314 (common-ldd-rewrite): Likewise.
16315 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16316 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16317 (print_version): Use PKGVERSION.
16318 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16319 * elf/pldd.c (argp_program_bug_address): Remove variable.
16320 (more_help): New function.
16321 (argp): Use more_help.
16322 (print_version): Use PKGVERSION.
16323 * elf/sln.c (main): Use PKGVERSION.
16324 (usage): Use REPORT_BUGS_TO.
16325 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16326 (top level): Use PKGVERSION.
16327 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16328 (print_version): Use PKGVERSION.
16329 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16330 (print_version): Use PKGVERSION.
16331 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16332 (print_version): Use PKGVERSION.
16333 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16334 (print_version): Use PKGVERSION.
16335 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16336 (print_version): Use PKGVERSION.
16337 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16338 (print_version): Use PKGVERSION.
16339 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16340 and BUGURL.
16341 ($(objpfx)memusage): Likewise.
16342 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16343 (do_version): Use PKGVERSION.
16344 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16345 (print_version): Use PKGVERSION.
16346 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16347 ($PKGVERSION): New variable.
16348 ($REPORT_BUGS_TO): Likewise.
16349 (usage): Use $REPORT_BUGS_TO.
16350 (top level): Use $PKGVERSION.
16351 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16352 ($(objpfx)pkgvers.texi): New rule.
16353 ($(objpfx)stamp-pkgvers): Likewise.
16354 * manual/install.texi: Include pkgvers.texi.
16355 (--with-pkgversion): Document new configure option.
16356 (--with-bugurl): Likewise.
16357 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16358 than necessarily for this particular distribution. Use
16359 REPORT_BUGS_TO for where to report bugs.
16360 * INSTALL: Regenerated.
16361 * manual/libc.texinfo: Include pkgvers.texi.
16362 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16363 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16364 (print_version): Use PKGVERSION.
16365 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16366 (print_version): Use PKGVERSION.
16367 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16368 (print_version): Use PKGVERSION.
16369 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16370 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16371 macro.
16372 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16373 (print_version): Use PKGVERSION.
16374 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16375 (print_version): Use PKGVERSION.
16376 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16377 and PKGVERSION.
16378
92e4b6a9
JM
16379 * timezone/checktab.awk: Update from tzcode 2012i.
16380 * timezone/ialloc.c: Likewise.
16381 * timezone/private.h: Likewise.
16382 * timezone/scheck.c: Likewise.
16383 * timezone/tzfile.h: Likewise.
16384 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16385 (TZVERSION): Hardcode tzcode version number.
16386 * timezone/zdump.c: Update from tzcode 2012i.
16387 * timezone/zic.c: Likewise.
16388 * timezone/version.h: New file.
16389 * timezone/README: Describe version.h. Update upstream location.
16390
9bde902c
JM
16391 [BZ #14824]
16392 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16393 (mktemp): Enable declaration.
16394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16398 Likewise.
16399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16400 Likewise.
16401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16402 Likewise.
16403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16404 Likewise.
16405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16406 Likewise.
16407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16408 Likewise.
16409
fb1ae1ee
JM
16410 [BZ #14821]
16411 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16412 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16413 for copies of such integer values.
16414 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16415 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16416
2c1adbcb
AJ
164172012-11-09 Andreas Jaeger <aj@suse.de>
16418
16419 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16420 definitions and declarations that are provided by
16421 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16422
d0f8457e
AK
164232012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16424
3a235abb 16425 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16426 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16427 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16428 definition.
16429
57241e26
MS
164302012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16431
16432 * elf/elf.h: Update comment before AArch64 relocations.
16433
60e8270d
DM
164342012-11-07 David S. Miller <davem@davemloft.net>
16435
16436 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16438 (__start_context): Declare.
16439 (__makecontext_ret): Delete.
16440 (__makecontext): Hook up __start_context instead of
16441 __makecontext_ret.
16442 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16443 (sysdep_routines): Add __start_context when in stdlib.
16444
0fbb0fbc
JM
164452012-11-07 Joseph Myers <joseph@codesourcery.com>
16446
16447 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16448 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16449 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16450 hardcoded "nm".
16451 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16452 (READELF): New variable. Use it instead of hardcoded "readelf".
16453
eb48db7e
L
164542012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16455
16456 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16457 * sysdeps/x86/Makefile: Here.
16458 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16459 * sysdeps/x86/tst-xmmymm.sh: This.
16460
05bcf62a
JM
164612012-11-07 Joseph Myers <joseph@codesourcery.com>
16462
c4b6cf53
JM
16463 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16464 expectations.
16465 [UNIX98] (pthread_barrier_t): Do not expect.
16466 [UNIX98] (pthread_barrierattr_t): Likewise.
16467 [UNIX98] (pthread_spinlock_t): Likewise.
16468 [UNIX98] (pthread_barrier_destroy): Likewise.
16469 [UNIX98] (pthread_barrier_init): Likewise.
16470 [UNIX98] (pthread_barrier_wait): Likewise.
16471 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16472 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16473 [UNIX98] (pthread_barrierattr_init): Likewise.
16474 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16475 [UNIX98] (pthread_getcpuclockid): Likewise.
16476 [UNIX98] (pthread_mutex_timedlock): Likewise.
16477 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16478 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16479 [UNIX98] (pthread_sigmask): Likewise.
16480 [UNIX98] (pthread_spin_destroy): Likewise.
16481 [UNIX98] (pthread_spin_init): Likewise.
16482 [UNIX98] (pthread_spin_lock): Likewise.
16483 [UNIX98] (pthread_spin_trylock): Likewise.
16484 [UNIX98] (pthread_spin_unlock): Likewise.
16485 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16486 Do not expect.
16487 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16489 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16490 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16491 [XPG3 || XPG4] (pthread_key_t): Likewise.
16492 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16493 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16494 [XPG3 || XPG4] (pthread_once_t): Likewise.
16495 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16496 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16498 [XPG3 || XPG4] (pthread_t): Likewise.
16499
cbe6e120
JM
16500 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16501 not expect.
16502 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16503
1b126443
JM
16504 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16505 Change function return type to int.
16506
b961a573
JM
16507 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16508 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16509 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16510 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16511 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16512 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16513 [!POSIX] (posix_madvise): Likewise.
16514 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16515 && !UNIX98].
16516 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16517 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16518 (mode_t): Likewise.
16519 (posix_mem_offset): Likewise.
16520 (posix_typed_mem_get_info): Likewise.
16521 (posix_typed_mem_open): Likewise.
16522
9e188909
JM
16523 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16524 Change condition to [XOPEN2K8].
16525
05bcf62a
JM
16526 * conform/conformtest.pl: Preprocess allow-header data with -x c
16527 instead of from stdin.
16528 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16529 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16530 [C99-based standards] (cerfc): Likewise.
16531 [C99-based standards] (cexp2): Likewise.
16532 [C99-based standards] (cexpm1): Likewise.
16533 [C99-based standards] (clog10): Likewise.
16534 [C99-based standards] (clog1p): Likewise.
16535 [C99-based standards] (clog2): Likewise.
16536 [C99-based standards] (clgamma): Likewise.
16537 [C99-based standards] (ctgamma): Likewise.
16538 [C99-based standards] (cerff): Likewise.
16539 [C99-based standards] (cerfcf): Likewise.
16540 [C99-based standards] (cexp2f): Likewise.
16541 [C99-based standards] (cexpm1f): Likewise.
16542 [C99-based standards] (clog10f): Likewise.
16543 [C99-based standards] (clog1pf): Likewise.
16544 [C99-based standards] (clog2f): Likewise.
16545 [C99-based standards] (clgammaf): Likewise.
16546 [C99-based standards] (ctgammaf): Likewise.
16547 [C99-based standards] (cerfl): Likewise.
16548 [C99-based standards] (cerfcl): Likewise.
16549 [C99-based standards] (cexp2l): Likewise.
16550 [C99-based standards] (cexpm1l): Likewise.
16551 [C99-based standards] (clog10l): Likewise.
16552 [C99-based standards] (clog1pl): Likewise.
16553 [C99-based standards] (clog2l): Likewise.
16554 [C99-based standards] (clgammal): Likewise.
16555 [C99-based standards] (ctgammal): Likewise.
16556 * conform/data/inttypes.h-data [C99-based standards]: Include
16557 stdint.h-data. Remove all expectations for stdint.h contents.
16558 [C99-based standards] (PRI*): Do not allow.
16559 [C99-based standards] (SCN*): Likewise.
16560 [C99-based standards] (*_t): Likewise.
16561 [C99-based-standards] (PRId8): Expect macro.
16562 [C99-based-standards] (PRIi8): Likewise.
16563 [C99-based-standards] (PRIo8): Likewise.
16564 [C99-based-standards] (PRIu8): Likewise.
16565 [C99-based-standards] (PRIx8): Likewise.
16566 [C99-based-standards] (PRIX8): Likewise.
16567 [C99-based-standards] (SCNd8): Likewise.
16568 [C99-based-standards] (SCNi8): Likewise.
16569 [C99-based-standards] (SCNo8): Likewise.
16570 [C99-based-standards] (SCNu8): Likewise.
16571 [C99-based-standards] (SCNx8): Likewise.
16572 [C99-based-standards] (PRIdLEAST8): Likewise.
16573 [C99-based-standards] (PRIiLEAST8): Likewise.
16574 [C99-based-standards] (PRIoLEAST8): Likewise.
16575 [C99-based-standards] (PRIuLEAST8): Likewise.
16576 [C99-based-standards] (PRIxLEAST8): Likewise.
16577 [C99-based-standards] (PRIXLEAST8): Likewise.
16578 [C99-based-standards] (SCNdLEAST8): Likewise.
16579 [C99-based-standards] (SCNiLEAST8): Likewise.
16580 [C99-based-standards] (SCNoLEAST8): Likewise.
16581 [C99-based-standards] (SCNuLEAST8): Likewise.
16582 [C99-based-standards] (SCNxLEAST8): Likewise.
16583 [C99-based-standards] (PRIdFAST8): Likewise.
16584 [C99-based-standards] (PRIiFAST8): Likewise.
16585 [C99-based-standards] (PRIoFAST8): Likewise.
16586 [C99-based-standards] (PRIuFAST8): Likewise.
16587 [C99-based-standards] (PRIxFAST8): Likewise.
16588 [C99-based-standards] (PRIXFAST8): Likewise.
16589 [C99-based-standards] (SCNdFAST8): Likewise.
16590 [C99-based-standards] (SCNiFAST8): Likewise.
16591 [C99-based-standards] (SCNoFAST8): Likewise.
16592 [C99-based-standards] (SCNuFAST8): Likewise.
16593 [C99-based-standards] (SCNxFAST8): Likewise.
16594 [C99-based-standards] (PRId16): Likewise.
16595 [C99-based-standards] (PRIi16): Likewise.
16596 [C99-based-standards] (PRIo16): Likewise.
16597 [C99-based-standards] (PRIu16): Likewise.
16598 [C99-based-standards] (PRIx16): Likewise.
16599 [C99-based-standards] (PRIX16): Likewise.
16600 [C99-based-standards] (SCNd16): Likewise.
16601 [C99-based-standards] (SCNi16): Likewise.
16602 [C99-based-standards] (SCNo16): Likewise.
16603 [C99-based-standards] (SCNu16): Likewise.
16604 [C99-based-standards] (SCNx16): Likewise.
16605 [C99-based-standards] (PRIdLEAST16): Likewise.
16606 [C99-based-standards] (PRIiLEAST16): Likewise.
16607 [C99-based-standards] (PRIoLEAST16): Likewise.
16608 [C99-based-standards] (PRIuLEAST16): Likewise.
16609 [C99-based-standards] (PRIxLEAST16): Likewise.
16610 [C99-based-standards] (PRIXLEAST16): Likewise.
16611 [C99-based-standards] (SCNdLEAST16): Likewise.
16612 [C99-based-standards] (SCNiLEAST16): Likewise.
16613 [C99-based-standards] (SCNoLEAST16): Likewise.
16614 [C99-based-standards] (SCNuLEAST16): Likewise.
16615 [C99-based-standards] (SCNxLEAST16): Likewise.
16616 [C99-based-standards] (PRIdFAST16): Likewise.
16617 [C99-based-standards] (PRIiFAST16): Likewise.
16618 [C99-based-standards] (PRIoFAST16): Likewise.
16619 [C99-based-standards] (PRIuFAST16): Likewise.
16620 [C99-based-standards] (PRIxFAST16): Likewise.
16621 [C99-based-standards] (PRIXFAST16): Likewise.
16622 [C99-based-standards] (SCNdFAST16): Likewise.
16623 [C99-based-standards] (SCNiFAST16): Likewise.
16624 [C99-based-standards] (SCNoFAST16): Likewise.
16625 [C99-based-standards] (SCNuFAST16): Likewise.
16626 [C99-based-standards] (SCNxFAST16): Likewise.
16627 [C99-based-standards] (PRId32): Likewise.
16628 [C99-based-standards] (PRIi32): Likewise.
16629 [C99-based-standards] (PRIo32): Likewise.
16630 [C99-based-standards] (PRIu32): Likewise.
16631 [C99-based-standards] (PRIx32): Likewise.
16632 [C99-based-standards] (PRIX32): Likewise.
16633 [C99-based-standards] (SCNd32): Likewise.
16634 [C99-based-standards] (SCNi32): Likewise.
16635 [C99-based-standards] (SCNo32): Likewise.
16636 [C99-based-standards] (SCNu32): Likewise.
16637 [C99-based-standards] (SCNx32): Likewise.
16638 [C99-based-standards] (PRIdLEAST32): Likewise.
16639 [C99-based-standards] (PRIiLEAST32): Likewise.
16640 [C99-based-standards] (PRIoLEAST32): Likewise.
16641 [C99-based-standards] (PRIuLEAST32): Likewise.
16642 [C99-based-standards] (PRIxLEAST32): Likewise.
16643 [C99-based-standards] (PRIXLEAST32): Likewise.
16644 [C99-based-standards] (SCNdLEAST32): Likewise.
16645 [C99-based-standards] (SCNiLEAST32): Likewise.
16646 [C99-based-standards] (SCNoLEAST32): Likewise.
16647 [C99-based-standards] (SCNuLEAST32): Likewise.
16648 [C99-based-standards] (SCNxLEAST32): Likewise.
16649 [C99-based-standards] (PRIdFAST32): Likewise.
16650 [C99-based-standards] (PRIiFAST32): Likewise.
16651 [C99-based-standards] (PRIoFAST32): Likewise.
16652 [C99-based-standards] (PRIuFAST32): Likewise.
16653 [C99-based-standards] (PRIxFAST32): Likewise.
16654 [C99-based-standards] (PRIXFAST32): Likewise.
16655 [C99-based-standards] (SCNdFAST32): Likewise.
16656 [C99-based-standards] (SCNiFAST32): Likewise.
16657 [C99-based-standards] (SCNoFAST32): Likewise.
16658 [C99-based-standards] (SCNuFAST32): Likewise.
16659 [C99-based-standards] (SCNxFAST32): Likewise.
16660 [C99-based-standards] (PRId64): Likewise.
16661 [C99-based-standards] (PRIi64): Likewise.
16662 [C99-based-standards] (PRIo64): Likewise.
16663 [C99-based-standards] (PRIu64): Likewise.
16664 [C99-based-standards] (PRIx64): Likewise.
16665 [C99-based-standards] (PRIX64): Likewise.
16666 [C99-based-standards] (SCNd64): Likewise.
16667 [C99-based-standards] (SCNi64): Likewise.
16668 [C99-based-standards] (SCNo64): Likewise.
16669 [C99-based-standards] (SCNu64): Likewise.
16670 [C99-based-standards] (SCNx64): Likewise.
16671 [C99-based-standards] (PRIdLEAST64): Likewise.
16672 [C99-based-standards] (PRIiLEAST64): Likewise.
16673 [C99-based-standards] (PRIoLEAST64): Likewise.
16674 [C99-based-standards] (PRIuLEAST64): Likewise.
16675 [C99-based-standards] (PRIxLEAST64): Likewise.
16676 [C99-based-standards] (PRIXLEAST64): Likewise.
16677 [C99-based-standards] (SCNdLEAST64): Likewise.
16678 [C99-based-standards] (SCNiLEAST64): Likewise.
16679 [C99-based-standards] (SCNoLEAST64): Likewise.
16680 [C99-based-standards] (SCNuLEAST64): Likewise.
16681 [C99-based-standards] (SCNxLEAST64): Likewise.
16682 [C99-based-standards] (PRIdFAST64): Likewise.
16683 [C99-based-standards] (PRIiFAST64): Likewise.
16684 [C99-based-standards] (PRIoFAST64): Likewise.
16685 [C99-based-standards] (PRIuFAST64): Likewise.
16686 [C99-based-standards] (PRIxFAST64): Likewise.
16687 [C99-based-standards] (PRIXFAST64): Likewise.
16688 [C99-based-standards] (SCNdFAST64): Likewise.
16689 [C99-based-standards] (SCNiFAST64): Likewise.
16690 [C99-based-standards] (SCNoFAST64): Likewise.
16691 [C99-based-standards] (SCNuFAST64): Likewise.
16692 [C99-based-standards] (SCNxFAST64): Likewise.
16693 [C99-based-standards] (PRIdMAX): Likewise.
16694 [C99-based-standards] (PRIiMAX): Likewise.
16695 [C99-based-standards] (PRIoMAX): Likewise.
16696 [C99-based-standards] (PRIuMAX): Likewise.
16697 [C99-based-standards] (PRIxMAX): Likewise.
16698 [C99-based-standards] (PRIXMAX): Likewise.
16699 [C99-based-standards] (SCNdMAX): Likewise.
16700 [C99-based-standards] (SCNiMAX): Likewise.
16701 [C99-based-standards] (SCNoMAX): Likewise.
16702 [C99-based-standards] (SCNuMAX): Likewise.
16703 [C99-based-standards] (SCNxMAX): Likewise.
16704 [C99-based-standards] (PRIdPTR): Likewise.
16705 [C99-based-standards] (PRIiPTR): Likewise.
16706 [C99-based-standards] (PRIoPTR): Likewise.
16707 [C99-based-standards] (PRIuPTR): Likewise.
16708 [C99-based-standards] (PRIxPTR): Likewise.
16709 [C99-based-standards] (PRIXPTR): Likewise.
16710 [C99-based-standards] (SCNdPTR): Likewise.
16711 [C99-based-standards] (SCNiPTR): Likewise.
16712 [C99-based-standards] (SCNoPTR): Likewise.
16713 [C99-based-standards] (SCNuPTR): Likewise.
16714 [C99-based-standards] (SCNxPTR): Likewise.
16715 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16716 allow.
16717 * conform/data/stdint.h-data: Update comments to clarify
16718 requirements.
16719 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16720 type.
16721 [C99-based standards] (INT8_MAX): Likewise.
16722 [C99-based standards] (INT16_MIN): Likewise.
16723 [C99-based standards] (INT16_MAX): Likewise.
16724 [C99-based standards] (INT32_MIN): Likewise.
16725 [C99-based standards] (INT32_MAX): Likewise.
16726 [C99-based standards] (INT64_MIN): Likewise.
16727 [C99-based standards] (INT64_MAX): Likewise.
16728 [C99-based standards] (UINT8_MAX): Likewise.
16729 [C99-based standards] (UINT16_MAX): Likewise.
16730 [C99-based standards] (UINT32_MAX): Likewise.
16731 [C99-based standards] (UINT64_MAX): Likewise.
16732 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16733 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16734 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16735 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16736 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16737 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16738 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16739 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16740 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16741 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16742 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16743 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16744 [C99-based standards] (INT_FAST8_MIN): Likewise.
16745 [C99-based standards] (INT_FAST8_MAX): Likewise.
16746 [C99-based standards] (INT_FAST16_MIN): Likewise.
16747 [C99-based standards] (INT_FAST16_MAX): Likewise.
16748 [C99-based standards] (INT_FAST32_MIN): Likewise.
16749 [C99-based standards] (INT_FAST32_MAX): Likewise.
16750 [C99-based standards] (INT_FAST64_MIN): Likewise.
16751 [C99-based standards] (INT_FAST64_MAX): Likewise.
16752 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16753 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16754 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16755 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16756 [C99-based standards] (INTPTR_MIN): Likewise.
16757 [C99-based standards] (INTPTR_MAX): Likewise.
16758 [C99-based standards] (UINTPTR_MAX): Likewise.
16759 [C99-based standards] (INTMAX_MIN): Likewise.
16760 [C99-based standards] (INTMAX_MAX): Likewise.
16761 [C99-based standards] (UINTMAX_MAX): Likewise.
16762 [C99-based standards] (PTRDIFF_MIN): Likewise.
16763 [C99-based standards] (PTRDIFF_MAX): Likewise.
16764 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16765 [C99-based standards] (SIZE_MAX): Likewise.
16766 [C99-based standards] (WCHAR_MAX): Likewise.
16767 [C99-based standards] (WINT_MAX): Likewise.
16768 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16769 constraint on value.
16770 [C99-based standards] (WCHAR_MIN): Likewise.
16771 [C99-based standards] (WINT_MIN): Likewise.
16772 [C99-based standards] (*_t): Allow.
16773 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16774 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16775 Include math.h-data and complex.h-data. Remove all expectations
16776 of math.h and complex.h contents.
16777 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16778 at end of line.
16779 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16780 (struct tm): Expect tag.
16781 [C99-based-standards] (wcstof): Expect function.
16782 [C99-based-standards] (wcstold): Likewise.
16783 [C99-based-standards] (wcstoll): Likewise.
16784 [C99-based-standards] (wcstoull): Likewise.
16785 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16786 macro-int-constant. Specify type.
16787 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16788 constraint on value.
16789 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16790 Specify type.
16791 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16792 Specify value.
16793 [ISO C standards]: Do not allow headers.
16794 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16795 wcs[abcdefghijklmnopqrstuvwxyz]*.
16796 [ISO C standards] (*_t): Do not allow.
16797 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16798 Expect function.
16799 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16800 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16801 Specify type.
16802 [ISO C standards]: Do not allow headers.
16803 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16804 is[abcdefghijklmnopqrstuvwxyz]*.
16805 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16806 to[abcdefghijklmnopqrstuvwxyz]*.
16807 [ISO C standards] (*_t): Do not allow.
16808 * conform/data/stdalign.h-data: New file.
16809 * conform/data/stdbool.h-data: Likewise.
16810 * conform/data/stdnoreturn.h-data: Likewise.
16811
7514feb8
RM
168122012-11-07 Roland McGrath <roland@hack.frob.com>
16813
16814 [BZ #14815]
16815 * manual/filesys.texi (Directory Entries): Typo fix.
16816 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16817
19b2ecfc
MS
168182012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16819
16820 * elf/elf.h (EM_AARCH64): New macro.
16821 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16822 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16823 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16824 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16825 (R_AARCH64_TLSDESC): Likewise.
16826 (NT_ARM_TLS): Likewise.
16827 (NT_ARM_HW_BREAK): Likewise.
16828 (NT_ARM_HW_WATCH): Likewise.
16829
60e235ee
JM
168302012-11-07 Joseph Myers <joseph@codesourcery.com>
16831
16832 [BZ #14811]
16833 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16834 (__ieee754_powl): Saturate nonzero exponents with absolute value
16835 below 0x1p-79 to +/- 0x1p-79.
16836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16837 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16838 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16839 nonzero exponents with absolute value below 0x1p-32 to +/-
16840 0x1p-32.
16841 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16842 (__ieee754_powl): Saturate nonzero exponents with absolute value
16843 below 0x1p-79 to +/- 0x1p-79.
16844 * math/libm-test.inc (pow_test): Add more tests.
16845
0ab234b7
AK
168462012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16847
16848 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16849 _dl_s390_cap_flags with kernel. Increase string length.
16850 (_dl_s390_platforms): Add z196 and zEC12.
16851
45832f74
JM
168522012-11-07 Joseph Myers <joseph@codesourcery.com>
16853
16854 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16855 Change XOPEN21K to XOPEN2K.
16856
19218757
MK
168572012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16858
16859 * string/memmove.c: Use memcpy when possible.
16860
c5f45721
AJ
168612012-11-06 Andreas Jaeger <aj@suse.de>
16862
16863 * po/eo.po: Update from translation team.
16864
82477c28
JM
168652012-11-06 Joseph Myers <joseph@codesourcery.com>
16866
16867 [BZ #14793]
16868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16869 exponent and small x and y exponents, scale x or y up. Increase
16870 by 2 the exponent used in scaling up.
16871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16873 * math/libm-test.inc (fma_test): Add more tests.
16874 (fma_test_towardzero): Likewise.
16875 (fma_test_downward): Likewise.
16876 (fma_test_upward): Likewise.
16877
99252c8c
JM
168782012-11-05 Joseph Myers <joseph@codesourcery.com>
16879
acfa885f
JM
16880 [BZ #14805]
16881 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16882 fenv_t *.
16883
99252c8c
JM
16884 [BZ #14801]
16885 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16886 namespace for names of struct fields.
16887 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16888 fenv_t fields.
16889 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16890 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16891
d6d98dea
ST
168922012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16893
16894 [BZ #3665]
16895 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16896
e10bb107
TS
168972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16898
16899 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16900 PTR_DEMANGLE.
16901
16902 [BZ #5246]
16903 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16904 PTR_DEMANGLE.
16905
a0c2940d
JM
169062012-11-04 Joseph Myers <joseph@codesourcery.com>
16907
16908 [BZ #14797]
16909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16910 definitely overflow as x * y not x * y + z.
16911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16913 * math/libm-test.inc (fma_test): Add more tests.
16914 (fma_test_towardzero): Likewise.
16915 (fma_test_downward): Likewise.
16916 (fma_test_upward): Likewise.
16917
b830319d
TS
169182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16919
16920 [BZ #157]
16921
16922 * include/stub-tag.h: Remove file.
16923 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16924 '#include' of it.
16925 * manual/maint.texi (Porting): Don't reference it.
16926 * Makerules ($(objpfx)stubs): Likewise.
16927 * dirent/closedir.c: Don't include <stub-tag.h>.
16928 * dirent/dirfd.c: Likewise.
16929 * dirent/fdopendir.c: Likewise.
16930 * dirent/getdents.c: Likewise.
16931 * dirent/getdents64.c: Likewise.
16932 * dirent/opendir.c: Likewise.
16933 * dirent/readdir.c: Likewise.
16934 * dirent/readdir64.c: Likewise.
16935 * dirent/readdir64_r.c: Likewise.
16936 * dirent/readdir_r.c: Likewise.
16937 * dirent/rewinddir.c: Likewise.
16938 * dirent/seekdir.c: Likewise.
16939 * dirent/telldir.c: Likewise.
16940 * gmon/profil.c: Likewise.
16941 * grp/setgroups.c: Likewise.
16942 * inet/if_index.c: Likewise.
16943 * io/access.c: Likewise.
16944 * io/chdir.c: Likewise.
16945 * io/chmod.c: Likewise.
16946 * io/chown.c: Likewise.
16947 * io/close.c: Likewise.
16948 * io/dup.c: Likewise.
16949 * io/dup2.c: Likewise.
16950 * io/dup3.c: Likewise.
16951 * io/euidaccess.c: Likewise.
16952 * io/faccessat.c: Likewise.
16953 * io/fchdir.c: Likewise.
16954 * io/fchmod.c: Likewise.
16955 * io/fchmodat.c: Likewise.
16956 * io/fchown.c: Likewise.
16957 * io/fchownat.c: Likewise.
16958 * io/fcntl.c: Likewise.
16959 * io/flock.c: Likewise.
16960 * io/fstatfs.c: Likewise.
16961 * io/fstatfs64.c: Likewise.
16962 * io/fstatvfs.c: Likewise.
16963 * io/fstatvfs64.c: Likewise.
16964 * io/futimens.c: Likewise.
16965 * io/fxstat.c: Likewise.
16966 * io/fxstat64.c: Likewise.
16967 * io/fxstatat.c: Likewise.
16968 * io/fxstatat64.c: Likewise.
16969 * io/getcwd.c: Likewise.
16970 * io/isatty.c: Likewise.
16971 * io/lchmod.c: Likewise.
16972 * io/lchown.c: Likewise.
16973 * io/link.c: Likewise.
16974 * io/linkat.c: Likewise.
16975 * io/lseek.c: Likewise.
16976 * io/lseek64.c: Likewise.
16977 * io/lxstat64.c: Likewise.
16978 * io/mkdir.c: Likewise.
16979 * io/mkdirat.c: Likewise.
16980 * io/mkfifo.c: Likewise.
16981 * io/mkfifoat.c: Likewise.
16982 * io/open.c: Likewise.
16983 * io/open64.c: Likewise.
16984 * io/openat.c: Likewise.
16985 * io/openat64.c: Likewise.
16986 * io/pipe.c: Likewise.
16987 * io/pipe2.c: Likewise.
16988 * io/poll.c: Likewise.
16989 * io/posix_fadvise.c: Likewise.
16990 * io/posix_fadvise64.c: Likewise.
16991 * io/posix_fallocate.c: Likewise.
16992 * io/posix_fallocate64.c: Likewise.
16993 * io/read.c: Likewise.
16994 * io/readlink.c: Likewise.
16995 * io/readlinkat.c: Likewise.
16996 * io/rmdir.c: Likewise.
16997 * io/sendfile.c: Likewise.
16998 * io/sendfile64.c: Likewise.
16999 * io/statfs.c: Likewise.
17000 * io/statfs64.c: Likewise.
17001 * io/statvfs.c: Likewise.
17002 * io/statvfs64.c: Likewise.
17003 * io/symlink.c: Likewise.
17004 * io/symlinkat.c: Likewise.
17005 * io/ttyname.c: Likewise.
17006 * io/ttyname_r.c: Likewise.
17007 * io/umask.c: Likewise.
17008 * io/unlink.c: Likewise.
17009 * io/unlinkat.c: Likewise.
17010 * io/utime.c: Likewise.
17011 * io/utimensat.c: Likewise.
17012 * io/write.c: Likewise.
17013 * io/xmknod.c: Likewise.
17014 * io/xmknodat.c: Likewise.
17015 * io/xstat.c: Likewise.
17016 * io/xstat64.c: Likewise.
17017 * login/getpt.c: Likewise.
17018 * login/grantpt.c: Likewise.
17019 * login/unlockpt.c: Likewise.
17020 * math/e_acoshl.c: Likewise.
17021 * math/e_acosl.c: Likewise.
17022 * math/e_asinl.c: Likewise.
17023 * math/e_atan2l.c: Likewise.
17024 * math/e_atanhl.c: Likewise.
17025 * math/e_coshl.c: Likewise.
17026 * math/e_expl.c: Likewise.
17027 * math/e_fmodl.c: Likewise.
17028 * math/e_gammal_r.c: Likewise.
17029 * math/e_hypotl.c: Likewise.
17030 * math/e_j0l.c: Likewise.
17031 * math/e_j1l.c: Likewise.
17032 * math/e_jnl.c: Likewise.
17033 * math/e_lgammal_r.c: Likewise.
17034 * math/e_log10l.c: Likewise.
17035 * math/e_log2l.c: Likewise.
17036 * math/e_logl.c: Likewise.
17037 * math/e_powl.c: Likewise.
17038 * math/e_rem_pio2l.c: Likewise.
17039 * math/e_sinhl.c: Likewise.
17040 * math/e_sqrtl.c: Likewise.
17041 * math/fclrexcpt.c: Likewise.
17042 * math/fedisblxcpt.c: Likewise.
17043 * math/feenablxcpt.c: Likewise.
17044 * math/fegetenv.c: Likewise.
17045 * math/fegetexcept.c: Likewise.
17046 * math/fegetround.c: Likewise.
17047 * math/feholdexcpt.c: Likewise.
17048 * math/fesetenv.c: Likewise.
17049 * math/fesetround.c: Likewise.
17050 * math/feupdateenv.c: Likewise.
17051 * math/fgetexcptflg.c: Likewise.
17052 * math/fraiseexcpt.c: Likewise.
17053 * math/fsetexcptflg.c: Likewise.
17054 * math/ftestexcept.c: Likewise.
17055 * math/k_cosl.c: Likewise.
17056 * math/k_rem_pio2l.c: Likewise.
17057 * math/k_sinl.c: Likewise.
17058 * math/k_tanl.c: Likewise.
17059 * math/s_asinhl.c: Likewise.
17060 * math/s_atanl.c: Likewise.
17061 * math/s_cbrtl.c: Likewise.
17062 * math/s_erfl.c: Likewise.
17063 * math/s_expm1l.c: Likewise.
17064 * math/s_log1pl.c: Likewise.
17065 * math/s_tanhl.c: Likewise.
17066 * misc/acct.c: Likewise.
17067 * misc/brk.c: Likewise.
17068 * misc/chflags.c: Likewise.
17069 * misc/chroot.c: Likewise.
17070 * misc/fchflags.c: Likewise.
17071 * misc/fgetxattr.c: Likewise.
17072 * misc/flistxattr.c: Likewise.
17073 * misc/fremovexattr.c: Likewise.
17074 * misc/fsetxattr.c: Likewise.
17075 * misc/fsync.c: Likewise.
17076 * misc/ftruncate.c: Likewise.
17077 * misc/futimes.c: Likewise.
17078 * misc/futimesat.c: Likewise.
17079 * misc/getdomain.c: Likewise.
17080 * misc/getdtsz.c: Likewise.
17081 * misc/gethostid.c: Likewise.
17082 * misc/gethostname.c: Likewise.
17083 * misc/getloadavg.c: Likewise.
17084 * misc/getpagesize.c: Likewise.
17085 * misc/getsysstats.c: Likewise.
17086 * misc/getxattr.c: Likewise.
17087 * misc/gtty.c: Likewise.
17088 * misc/ioctl.c: Likewise.
17089 * misc/lgetxattr.c: Likewise.
17090 * misc/listxattr.c: Likewise.
17091 * misc/llistxattr.c: Likewise.
17092 * misc/lremovexattr.c: Likewise.
17093 * misc/lsetxattr.c: Likewise.
17094 * misc/lutimes.c: Likewise.
17095 * misc/madvise.c: Likewise.
17096 * misc/mincore.c: Likewise.
17097 * misc/mlock.c: Likewise.
17098 * misc/mlockall.c: Likewise.
17099 * misc/mmap.c: Likewise.
17100 * misc/mprotect.c: Likewise.
17101 * misc/msync.c: Likewise.
17102 * misc/munlock.c: Likewise.
17103 * misc/munlockall.c: Likewise.
17104 * misc/munmap.c: Likewise.
17105 * misc/preadv.c: Likewise.
17106 * misc/preadv64.c: Likewise.
17107 * misc/ptrace.c: Likewise.
17108 * misc/pwritev.c: Likewise.
17109 * misc/pwritev64.c: Likewise.
17110 * misc/readv.c: Likewise.
17111 * misc/reboot.c: Likewise.
17112 * misc/remap_file_pages.c: Likewise.
17113 * misc/removexattr.c: Likewise.
17114 * misc/revoke.c: Likewise.
17115 * misc/select.c: Likewise.
17116 * misc/setdomain.c: Likewise.
17117 * misc/setegid.c: Likewise.
17118 * misc/seteuid.c: Likewise.
17119 * misc/sethostid.c: Likewise.
17120 * misc/sethostname.c: Likewise.
17121 * misc/setregid.c: Likewise.
17122 * misc/setreuid.c: Likewise.
17123 * misc/setxattr.c: Likewise.
17124 * misc/sstk.c: Likewise.
17125 * misc/stty.c: Likewise.
17126 * misc/swapoff.c: Likewise.
17127 * misc/swapon.c: Likewise.
17128 * misc/sync.c: Likewise.
17129 * misc/syncfs.c: Likewise.
17130 * misc/syscall.c: Likewise.
17131 * misc/truncate.c: Likewise.
17132 * misc/ualarm.c: Likewise.
17133 * misc/usleep.c: Likewise.
17134 * misc/ustat.c: Likewise.
17135 * misc/utimes.c: Likewise.
17136 * misc/vhangup.c: Likewise.
17137 * misc/writev.c: Likewise.
17138 * posix/_exit.c: Likewise.
17139 * posix/alarm.c: Likewise.
17140 * posix/execve.c: Likewise.
17141 * posix/fexecve.c: Likewise.
17142 * posix/fork.c: Likewise.
17143 * posix/fpathconf.c: Likewise.
17144 * posix/getaddrinfo.c: Likewise.
17145 * posix/getegid.c: Likewise.
17146 * posix/geteuid.c: Likewise.
17147 * posix/getgid.c: Likewise.
17148 * posix/getgroups.c: Likewise.
17149 * posix/getlogin.c: Likewise.
17150 * posix/getlogin_r.c: Likewise.
17151 * posix/getpgid.c: Likewise.
17152 * posix/getpid.c: Likewise.
17153 * posix/getppid.c: Likewise.
17154 * posix/getresgid.c: Likewise.
17155 * posix/getresuid.c: Likewise.
17156 * posix/getsid.c: Likewise.
17157 * posix/getuid.c: Likewise.
17158 * posix/glob64.c: Likewise.
17159 * posix/nanosleep.c: Likewise.
17160 * posix/pathconf.c: Likewise.
17161 * posix/pause.c: Likewise.
17162 * posix/posix_madvise.c: Likewise.
17163 * posix/pread.c: Likewise.
17164 * posix/pread64.c: Likewise.
17165 * posix/pwrite.c: Likewise.
17166 * posix/pwrite64.c: Likewise.
17167 * posix/sched_getaffinity.c: Likewise.
17168 * posix/sched_getp.c: Likewise.
17169 * posix/sched_gets.c: Likewise.
17170 * posix/sched_primax.c: Likewise.
17171 * posix/sched_primin.c: Likewise.
17172 * posix/sched_rr_gi.c: Likewise.
17173 * posix/sched_setaffinity.c: Likewise.
17174 * posix/sched_setp.c: Likewise.
17175 * posix/sched_sets.c: Likewise.
17176 * posix/sched_yield.c: Likewise.
17177 * posix/setgid.c: Likewise.
17178 * posix/setlogin.c: Likewise.
17179 * posix/setpgid.c: Likewise.
17180 * posix/setresgid.c: Likewise.
17181 * posix/setresuid.c: Likewise.
17182 * posix/setsid.c: Likewise.
17183 * posix/setuid.c: Likewise.
17184 * posix/sleep.c: Likewise.
17185 * posix/spawni.c: Likewise.
17186 * posix/sysconf.c: Likewise.
17187 * posix/times.c: Likewise.
17188 * posix/wait.c: Likewise.
17189 * posix/wait3.c: Likewise.
17190 * posix/wait4.c: Likewise.
17191 * posix/waitpid.c: Likewise.
17192 * resolv/gai_sigqueue.c: Likewise.
17193 * resource/getpriority.c: Likewise.
17194 * resource/getrlimit.c: Likewise.
17195 * resource/getrusage.c: Likewise.
17196 * resource/nice.c: Likewise.
17197 * resource/setpriority.c: Likewise.
17198 * resource/setrlimit.c: Likewise.
17199 * resource/ulimit.c: Likewise.
17200 * rt/aio_cancel.c: Likewise.
17201 * rt/aio_fsync.c: Likewise.
17202 * rt/aio_read.c: Likewise.
17203 * rt/aio_sigqueue.c: Likewise.
17204 * rt/aio_suspend.c: Likewise.
17205 * rt/aio_write.c: Likewise.
17206 * rt/clock_getres.c: Likewise.
17207 * rt/clock_gettime.c: Likewise.
17208 * rt/clock_nanosleep.c: Likewise.
17209 * rt/clock_settime.c: Likewise.
17210 * rt/lio_listio.c: Likewise.
17211 * rt/mq_close.c: Likewise.
17212 * rt/mq_getattr.c: Likewise.
17213 * rt/mq_notify.c: Likewise.
17214 * rt/mq_open.c: Likewise.
17215 * rt/mq_receive.c: Likewise.
17216 * rt/mq_send.c: Likewise.
17217 * rt/mq_setattr.c: Likewise.
17218 * rt/mq_timedreceive.c: Likewise.
17219 * rt/mq_timedsend.c: Likewise.
17220 * rt/mq_unlink.c: Likewise.
17221 * rt/shm_open.c: Likewise.
17222 * rt/shm_unlink.c: Likewise.
17223 * rt/timer_create.c: Likewise.
17224 * rt/timer_delete.c: Likewise.
17225 * rt/timer_getoverr.c: Likewise.
17226 * rt/timer_gettime.c: Likewise.
17227 * rt/timer_settime.c: Likewise.
17228 * setjmp/__longjmp.c: Likewise.
17229 * setjmp/setjmp.c: Likewise.
17230 * signal/kill.c: Likewise.
17231 * signal/killpg.c: Likewise.
17232 * signal/raise.c: Likewise.
17233 * signal/sigaction.c: Likewise.
17234 * signal/sigaltstack.c: Likewise.
17235 * signal/sigblock.c: Likewise.
17236 * signal/sigignore.c: Likewise.
17237 * signal/sigintr.c: Likewise.
17238 * signal/signal.c: Likewise.
17239 * signal/sigpause.c: Likewise.
17240 * signal/sigpending.c: Likewise.
17241 * signal/sigqueue.c: Likewise.
17242 * signal/sigreturn.c: Likewise.
17243 * signal/sigset.c: Likewise.
17244 * signal/sigsetmask.c: Likewise.
17245 * signal/sigstack.c: Likewise.
17246 * signal/sigsuspend.c: Likewise.
17247 * signal/sigtimedwait.c: Likewise.
17248 * signal/sigvec.c: Likewise.
17249 * signal/sigwait.c: Likewise.
17250 * signal/sigwaitinfo.c: Likewise.
17251 * signal/sysv_signal.c: Likewise.
17252 * socket/accept.c: Likewise.
17253 * socket/accept4.c: Likewise.
17254 * socket/bind.c: Likewise.
17255 * socket/connect.c: Likewise.
17256 * socket/getpeername.c: Likewise.
17257 * socket/getsockname.c: Likewise.
17258 * socket/getsockopt.c: Likewise.
17259 * socket/isfdtype.c: Likewise.
17260 * socket/listen.c: Likewise.
17261 * socket/recv.c: Likewise.
17262 * socket/recvfrom.c: Likewise.
17263 * socket/recvmsg.c: Likewise.
17264 * socket/send.c: Likewise.
17265 * socket/sendmsg.c: Likewise.
17266 * socket/sendto.c: Likewise.
17267 * socket/setsockopt.c: Likewise.
17268 * socket/shutdown.c: Likewise.
17269 * socket/sockatmark.c: Likewise.
17270 * socket/socket.c: Likewise.
17271 * socket/socketpair.c: Likewise.
17272 * stdio-common/ctermid.c: Likewise.
17273 * stdio-common/cuserid.c: Likewise.
17274 * stdio-common/remove.c: Likewise.
17275 * stdio-common/rename.c: Likewise.
17276 * stdio-common/renameat.c: Likewise.
17277 * stdio-common/tempname.c: Likewise.
17278 * stdlib/getcontext.c: Likewise.
17279 * stdlib/makecontext.c: Likewise.
17280 * stdlib/setcontext.c: Likewise.
17281 * stdlib/swapcontext.c: Likewise.
17282 * stdlib/system.c: Likewise.
17283 * streams/fattach.c: Likewise.
17284 * streams/fdetach.c: Likewise.
17285 * streams/getmsg.c: Likewise.
17286 * streams/getpmsg.c: Likewise.
17287 * streams/putmsg.c: Likewise.
17288 * streams/putpmsg.c: Likewise.
17289 * sysdeps/unix/bsd/getpt.c: Likewise.
17290 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17291 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17292 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17294 Likewise.
17295 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17296 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17297 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17298 * sysvipc/msgctl.c: Likewise.
17299 * sysvipc/msgget.c: Likewise.
17300 * sysvipc/msgrcv.c: Likewise.
17301 * sysvipc/msgsnd.c: Likewise.
17302 * sysvipc/semctl.c: Likewise.
17303 * sysvipc/semget.c: Likewise.
17304 * sysvipc/semop.c: Likewise.
17305 * sysvipc/semtimedop.c: Likewise.
17306 * sysvipc/shmat.c: Likewise.
17307 * sysvipc/shmctl.c: Likewise.
17308 * sysvipc/shmdt.c: Likewise.
17309 * sysvipc/shmget.c: Likewise.
17310 * termios/tcdrain.c: Likewise.
17311 * termios/tcflow.c: Likewise.
17312 * termios/tcflush.c: Likewise.
17313 * termios/tcgetattr.c: Likewise.
17314 * termios/tcgetpgrp.c: Likewise.
17315 * termios/tcsendbrk.c: Likewise.
17316 * termios/tcsetattr.c: Likewise.
17317 * termios/tcsetpgrp.c: Likewise.
17318 * time/adjtime.c: Likewise.
17319 * time/clock.c: Likewise.
17320 * time/getitimer.c: Likewise.
17321 * time/gettimeofday.c: Likewise.
17322 * time/setitimer.c: Likewise.
17323 * time/settimeofday.c: Likewise.
17324 * time/stime.c: Likewise.
17325 * time/time.c: Likewise.
17326
173272012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17328
a20492cf
PT
17329 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17330 /usr/old/bin.
17331
72e182e3
PT
17332 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17333 instead of spaces.
17334 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17335
fbeafede
JM
173362012-11-03 Joseph Myers <joseph@codesourcery.com>
17337
5b5b04d6
JM
17338 [BZ #14796]
17339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17340 FE_TONEAREST before applying Dekker multiplication and Knuth
17341 addition. Clear inexact exceptions and check for exact zero
17342 results afterwards.
17343 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17346 * math/libm-test.inc (fma_test): Add more tests.
17347 (fma_test_towardzero): Likewise.
17348 (fma_test_downward): Likewise.
17349 (fma_test_upward): Likewise.
17350 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17351 function.
17352 (libc_fesetround): New macro.
17353 (libc_fesetroundf): Likewise.
17354 (libc_fesetroundl): Likewise.
17355 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17356 function.
17357 (libc_fesetround_387): Likewise.
17358 (libc_fesetroundf): New macro.
17359 (libc_fesetround): Likewise.
17360 (libc_fesetroundl): Likewise.
17361 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17362 function.
17363 (libc_fesetroundf): New macro.
17364 (libc_fesetround): Likewise.
17365 (libc_fesetroundl): Likewise.
17366 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17367 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17368 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17369 libm_hidden_ver.
17370 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17371 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17372 libm_hidden_def.
17373 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17374 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17375 libm_hidden_ver.
17376 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17377 libm_hidden_def.
17378
fbeafede
JM
17379 [BZ #3439]
17380 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17381 integer constant usable in #if and use that to give value to enum
17382 constant.
17383 (FE_DIVBYZERO): Likewise.
17384 (FE_UNDERFLOW): Likewise.
17385 (FE_OVERFLOW): Likewise.
17386 (FE_INVALID): Likewise.
17387 (FE_INVALID_SNAN): Likewise.
17388 (FE_INVALID_ISI): Likewise.
17389 (FE_INVALID_IDI): Likewise.
17390 (FE_INVALID_ZDZ): Likewise.
17391 (FE_INVALID_IMZ): Likewise.
17392 (FE_INVALID_COMPARE): Likewise.
17393 (FE_INVALID_SOFTWARE): Likewise.
17394 (FE_INVALID_SQRT): Likewise.
17395 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17396 (FE_TONEAREST): Likewise.
17397 (FE_TOWARDZERO): Likewise.
17398 (FE_UPWARD): Likewise.
17399 (FE_DOWNWARD): Likewise.
17400 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17401 (FE_DIVBYZERO): Likewise.
17402 (FE_OVERFLOW): Likewise.
17403 (FE_UNDERFLOW): Likewise.
17404 (FE_INEXACT): Likewise.
17405 (FE_TONEAREST): Likewise.
17406 (FE_DOWNWARD): Likewise.
17407 (FE_UPWARD): Likewise.
17408 (FE_TOWARDZERO): Likewise.
17409 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17410 (FE_UNDERFLOW): Likewise.
17411 (FE_OVERFLOW): Likewise.
17412 (FE_DIVBYZERO): Likewise.
17413 (FE_INVALID): Likewise.
17414 (FE_TONEAREST): Likewise.
17415 (FE_TOWARDZERO): Likewise.
17416 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17417 (FE_OVERFLOW): Likewise.
17418 (FE_UNDERFLOW): Likewise.
17419 (FE_DIVBYZERO): Likewise.
17420 (FE_INEXACT): Likewise.
17421 (FE_TONEAREST): Likewise.
17422 (FE_TOWARDZERO): Likewise.
17423 (FE_UPWARD): Likewise.
17424 (FE_DOWNWARD): Likewise.
17425 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17426 (FE_DIVBYZERO): Likewise.
17427 (FE_OVERFLOW): Likewise.
17428 (FE_UNDERFLOW): Likewise.
17429 (FE_INEXACT): Likewise.
17430 (FE_TONEAREST): Likewise.
17431 (FE_DOWNWARD): Likewise.
17432 (FE_UPWARD): Likewise.
17433 (FE_TOWARDZERO): Likewise.
17434
105ca950
CM
174352012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17436
17437 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17438
a542b389
AS
174392012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17440
17441 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17442 commands. Quote $PWD.
17443 (blacklist_exports): Don't use remove_newlines. Replace "declare
17444 -x" by "export".
17445 (remove_newlines): Remove.
17446
f62c8abc
L
174472012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17448
17449 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17450 * stdlib/stdlib.h (atof): Moved to ...
17451 * include/bits/stdlib-float.h: Here. New file.
17452 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17453 * stdlib/bits/stdlib-float.h: New file.
17454 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17455 -mno-sse -mno-mmx.
17456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17457 <xmmintrin.h>.
17458
0155d5b2
JM
174592012-11-02 Joseph Myers <joseph@codesourcery.com>
17460
a68d0680
JM
17461 * conform/conformtest.pl (@headers): Add fenv.h.
17462 * conform/data/fenv.h-data: New file.
17463 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17464 include of <math/fenv.h>.
17465
caf7f573
JM
17466 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17467 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17468 && !UNIX98]. Enables tests for XOPEN2K8.
17469 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17470 POSIX2008]: Likewise.
17471
6c073ad6
JM
17472 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17473 (struct rusage): Do not expect type or its members.
17474
0155d5b2
JM
17475 [BZ #3439]
17476 * math/math.h (FP_NAN): Define macro to integer constant usable in
17477 #if and use that to give value to enum constant.
17478 (FP_INFINITE): Likewise.
17479 (FP_ZERO): Likewise.
17480 (FP_SUBNORMAL): Likewise.
17481 (FP_NORMAL): Likewise.
17482
b5dcacb4
AS
174832012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17484
17485 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17486 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17487 arguments.
17488
f7934be8
RM
174892012-11-02 Roland McGrath <roland@hack.frob.com>
17490
17491 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17492 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17493 autoconf-time if not.
17494 * configure.in: Remove AC_PREREQ.
17495
d7d08bde
TMQMF
174962012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17497
17498 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17499 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17500 of the internal implementation.
17501
dcdae19a
JM
175022012-11-02 Joseph Myers <joseph@codesourcery.com>
17503
17504 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17505 except include of <misc/sys/syslog.h>.
17506
d6cffd3e
AS
175072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17508
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17510 function returns with a NULL context exit with zero.
17511
b3563932
TMQMF
175122012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17513
17514 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17515
b288a93d
L
175162012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17517
17518 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17519 (run_program_cmd): This.
17520 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17521 (tst_langinfo): New variable. Use it.
17522
a2421a68
SAS
175232012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17524
17525 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17526 floating point opcodes.
17527
6f796e1b
TS
175282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17529
7402596b
TS
17530 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17531 variable.
17532
d0d4f868
TS
17533 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17534
6f796e1b
TS
17535 * sysdeps/mach/hurd/powerpc: Remove directory.
17536 * sysdeps/mach/powerpc: Likewise.
17537
4da224a2
AS
175382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17539
17540 * scripts/check-local-headers.sh: Ignore c++ headers.
17541
341dd673
TS
175422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17543
17544 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17545 __libc_cleanup_region_start argument.
17546
473611b2
JM
175472012-11-01 Joseph Myers <joseph@codesourcery.com>
17548
17549 [BZ #14784]
17550 [BZ #14785]
17551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17552 x * y using scaling, not as x * y + z.
17553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17554 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17555 * math/libm-test.inc (fma_test): Add more tests.
17556 (fma_test_towardzero): Likewise.
17557 (fma_test_downward): Likewise.
17558 (fma_test_upward): Likewise.
17559
4078da3d
TS
175602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17561
17562 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17563
903252aa
JM
175642012-10-31 Joseph Myers <joseph@codesourcery.com>
17565
17566 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17567 New variable.
17568
cbc818d0
TS
175692012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17570
17571 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17572
5a03cb1e
AS
175732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17574
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17576 Fix sort order.
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17578 Likewise.
17579
90aff2ff
TMQMF
175802012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17581
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17583 Fix the order of the list for glibc 2.17.
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17585 Likewise.
17586
1818fcb7
AS
175872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17588
17589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17590
ef82f4da
JM
175912012-10-31 Joseph Myers <joseph@codesourcery.com>
17592
16a0e2ec
JM
17593 [BZ #14610]
17594 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17595 for low part of x being zero before using __atanl (y).
17596 * math/libm-test.inc (atan2_test): Add another test.
17597
0eb69512
JM
17598 * manual/install.texi (Configuring and compiling): Document
17599 general use of test-wrapper and test-wrapper-env.
17600 * INSTALL: Regenerated.
17601
ef82f4da
JM
17602 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17603 (__fma): Do not extract and scale down low bits on after-rounding
17604 systems when result rounded to normal precision would have normal
17605 exponent.
17606 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17607 (__fmal): Do not extract and scale down low bits on after-rounding
17608 systems when result rounded to normal precision would have normal
17609 exponent.
17610 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17611 (__fmal): Do not extract and scale down low bits on after-rounding
17612 systems when result rounded to normal precision would have normal
17613 exponent.
17614 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17615 macro.
17616 (fma_test): Add more tests.
17617 (fma_test_towardzero): Likewise.
17618 (fma_test_downward): Likewise.
17619 (fma_test_upward): Likewise.
17620
954ef0d9
L
176212012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17622
17623 * sysdeps/i386/tininess.h: Renamed to ...
17624 * sysdeps/x86/tininess.h: This.
17625 * sysdeps/x86_64/tininess.h: Removed.
17626
df61ffb2
JM
176272012-10-30 Joseph Myers <joseph@codesourcery.com>
17628
17629 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17630 input. Use $(build-program-cmd).
17631 ($(objpfx)tst-array1-static.out): Likewise.
17632 ($(objpfx)tst-array2.out): Likewise.
17633 ($(objpfx)tst-array3.out): Likewise.
17634 ($(objpfx)tst-array4.out): Likewise.
17635 ($(objpfx)tst-array5.out): Likewise.
17636 ($(objpfx)tst-array5-static.out): Likewise.
17637
01767843
CM
176382012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17639
47cc1490
CM
17640 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17641 if defined.
17642
01767843
CM
17643 * nss/nsswitch.h (nss_interface_function): Provide new
17644 macro for use with NSS functions.
17645 * grp/initgroups.c: Use new macro.
17646 * nss/getXXbyYY.c: Likewise.
17647 * nss/getXXbyYY_r.c: Likewise.
17648 * nss/getXXent.c: Likewise.
17649 * nss/getXXent_r.c: Likewise.
17650 * sysdeps/posix/getaddrinfo.c: Likewise.
17651
8321aa97
AJ
176522012-10-30 Andreas Jaeger <aj@suse.de>
17653
17654 * po/ru.po: Update Russion translation from translation project.
17655
2a27fd6d
JM
176562012-10-30 Joseph Myers <joseph@codesourcery.com>
17657
8627a232
JM
17658 [BZ #14152]
17659 [BZ #14783]
17660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17661 result and shift together with sticky bit instead of replicating
17662 round-to-nearest rounding.
17663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17665 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17666 missing underflow exceptions.
17667 (fma_test_towardzero): Add more tests.
17668 (fma_test_downward): Likewise.
17669 (fma_test_upward): Likewise.
17670
2a27fd6d
JM
17671 [BZ #14047]
17672 * sysdeps/generic/tininess.h: New file.
17673 * sysdeps/i386/tininess.h: Likewise.
17674 * sysdeps/sh/tininess.h: Likewise.
17675 * sysdeps/x86_64/tininess.h: Likewise.
17676 * stdlib/tst-strtod-underflow.c: Likewise.
17677 * stdlib/tst-tininess.c: Likewise.
17678 * stdlib/strtod_l.c: Include <tininess.h>.
17679 (round_and_return): Do not set errno for exact underflow cases.
17680 Force an underflow exception when setting errno for underflow.
17681 Determine underflow based on rounding to normal precision if
17682 TININESS_AFTER_ROUNDING.
17683 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17684 ERANGE for exact underflow cases.
17685 * stdlib/Makefile (tests): Add tst-tininess and
17686 tst-strtod-underflow.
17687 ($(objpfx)tst-tininess): Use $(link-libm).
17688 ($(objpfx)tst-strtod-underflow): Likewise.
17689
e7170363
AJ
176902012-10-30 Andreas Jaeger <aj@suse.de>
17691
e5088dc6
AJ
17692 [BZ#14767]
17693 * elf/Makefile (tests): Remove conditional for have-initfini-array
17694 since this is now always required and the variable does not exist
17695 anymore.
17696 (tests-static): Likewise.
17697 (modules-names): Likewise.
17698
e7170363 17699 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17700
17701 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17702 merged with constructor/destructor.
17703 (init_array): Likewise.
17704 * elf/tst-array2dep.c (fini_array): Likewise.
17705 (init_array): Likewise.
17706
60457d8a
MF
177072012-10-29 Mike Frysinger <vapier@gentoo.org>
17708
17709 * manual/message.texi: Delete @cartouche tags.
17710
8bece752
PT
177112012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17712
94ce799f
PT
17713 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17714 EOPNOTSUPP.
17715 * sysdeps/mach/hurd/fsync.c: Likewise.
17716
8bece752
PT
17717 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17718 [_POSIX_REALTIME_SIGNALS]: Change condition to
17719 [_POSIX_REALTIME_SIGNALS > 0].
17720
86ebe6b1
AJ
177212012-10-27 Andreas Jaeger <aj@suse.de>
17722
17723 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17724 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17726 [__WORDSIZE != 64]: Likewise.
17727
54399c08
L
177282012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17729
17730 * iconvdata/tst-table.sh: Remove ${SHELL}.
17731 * iconvdata/tst-tables.sh: Likewise.
17732
e2211bed
DM
177332012-10-25 David S. Miller <davem@davemloft.net>
17734
17735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17736 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17737 of strtoull.
17738
f303f97c
DM
17739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17740 ifunc-impl-list.c
17741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17742 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17743 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17744 file.
17745
1e9d84cd
RM
177462012-10-25 Roland McGrath <roland@hack.frob.com>
17747
17748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17749 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17750 __getdirentries.
17751
df381762
JM
177522012-10-25 Joseph Myers <joseph@codesourcery.com>
17753 Jim Blandy <jimb@codesourcery.com>
17754
17755 * scripts/cross-test-ssh.sh: New file.
17756 * manual/install.texi (Configuring and compiling): Document use of
17757 cross-test-ssh.sh.
17758 * INSTALL: Regenerated.
17759
bff64913
PT
177602012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17761
17762 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17763 EOPNOTSUPP.
17764
25fe8932
JM
177652012-10-25 Joseph Myers <joseph@codesourcery.com>
17766
17767 * Makeconfig (run-program-prefix): Fix comment.
17768
cc1290d0
JM
177692012-10-24 Joseph Myers <joseph@codesourcery.com>
17770 Jim Blandy <jimb@codesourcery.com>
17771
17772 * Makeconfig (test-wrapper): New variable,
17773 (test-wrapper-env): Likewise.
17774 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17775 (run-built-tests): Define to yes.
17776 (run-program-prefix): Use $(test-wrapper).
17777 (built-program-cmd): Likewise.
17778 * Rules (make-test-out): Use $(test-wrapper-env) and
17779 $(host-built-program-cmd).
17780 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17781 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17782 tst-pathopt.sh.
17783 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17784 $(test-wrapper-env) to tst-rtld-load-self.sh.
17785 ($(objpfx)order2.out): Use $(test-wrapper).
17786 ($(objpfx)tst-initorder.out): Likewise.
17787 ($(objpfx)tst-initorder2.out): Likewise.
17788 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17789 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17790 (test_wrapper_env): New variable. Use it to run ld.so.
17791 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17792 Use it to run ld.so.
17793 (test_wrapper_env): Likewise.
17794 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17795 $(test-wrapper) to run-iconv-test.sh.
17796 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17797 (ICONV): Use $test_wrapper.
17798 * posix/Makefile ($(objpfx)globtest.out): Pass
17799 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17800 globtest.sh, not $(run-program-prefix).
17801 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17802 (test_wrapper): Likewise.
17803 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17804 set together with run_via_rtld_prefix.
17805 (run_program_prefix): Define in terms of test_wrapper and
17806 run_via_rtld_prefix.
17807
6e6249d0
RM
178082012-10-24 Roland McGrath <roland@hack.frob.com>
17809
17810 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17811 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17812 Targets removed.
17813
17814 [BZ #14743]
17815 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17816 Declare __clock_getres, __clock_gettime, __clock_settime,
17817 __clock_nanosleep, and __clock_getcpuclockid.
17818 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17819 Remove librt_hidden_def (clock_gettime).
17820 * sysdeps/unix/clock_gettime.c: Likewise.
17821 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17822 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17823 * rt/clock_getres.c: Define __clock_getres as an alias.
17824 * sysdeps/posix/clock_getres.c: Likewise.
17825 * rt/clock_settime.c: Define __clock_settime as an alias.
17826 * sysdeps/unix/clock_settime.c: Likewise.
17827 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17828 * sysdeps/unix/clock_nanosleep.c: Likewise.
17829 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17830 * rt/clock-compat.c: New file.
17831 * rt/Makefile (librt-routines): Add clock-compat and move
17832 $(clock-routines) to ...
17833 (routines): ... here, new variable.
17834 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17835 Don't add get_clockfreq here.
17836 * rt/Versions (libc: GLIBC_2.17): New version set.
17837 Add clock_* symbols here.
17838 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17839 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17840 (GLIBC_2.17): Add clock_* symbols.
17841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17845 Likewise.
17846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17847 Likewise.
17848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17852 * NEWS: Mention the move.
17853
17854 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17855 Use __open, __read, __close rather than their public counterparts.
17856 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17857 (__get_clockfreq_via_cpuinfo): Likewise.
17858 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17859 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17860
17861 * config.h.in (HAVE_IFUNC): New #undef.
17862 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17863 was successful.
17864 * configure: Regenerated.
17865
0cae3f4b
MF
178662012-10-24 Mike Frysinger <vapier@gentoo.org>
17867
17868 * configure.in: Move READELF check to start of file.
17869 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17870 libc_cv_asm_gnu_indirect_function in the process.
17871 * configure: Regenerated.
17872
8175a253
MF
178732012-10-24 Mike Frysinger <vapier@gentoo.org>
17874
17875 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17876 send the output to /dev/null.
17877 (libc_cv_cc_with_libunwind): Likewise.
17878 (libc_cv_as_noexecstack): Likewise.
17879 * configure: Regenerate.
17880
0708a7d1
JM
178812012-10-24 Joseph Myers <joseph@codesourcery.com>
17882
10b40d85
JM
17883 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17884
0708a7d1
JM
17885 * posix/globtest.sh (TMPDIR): Do not set.
17886 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17887 (testout): Likewise.
17888
9fddec1a
AJ
178892012-10-24 Andreas Jaeger <aj@suse.de>
17890
3a8db22f
AJ
17891 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17892 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17893 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17894 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17895 posix_fadvise64, posix_fallocate64.
17896
9fddec1a
AJ
17897 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17898 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17899 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17900 Likewise.
17901 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17902 Likewise.
17903 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17904
17905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17906 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17907 <bits/fcntl-linux.h>.
17908 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17909
17910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17911 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17912 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17913 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17914 [__WORDSIZE != 64]: Likewise.
17915
ebfd1bbd
JM
179162012-10-23 Joseph Myers <joseph@codesourcery.com>
17917
03ac099f
JM
17918 * Makeconfig (run-built-tests): New variable.
17919 * Rules [$(cross-compiling) = yes]: Change condition to
17920 [$(run-built-tests) = no].
17921 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17922 to [$(run-built-tests) = yes].
17923 * elf/Makefile [$(cross-compiling) = no]: Likewise
17924 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17925 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17926 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17927 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17928 * io/Makefile [$(cross-compiling) = no]: Likewise.
17929 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17930 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17931 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17932 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17933 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17934 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17935 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17936 * string/Makefile [$(cross-compiling) = no]: Likewise.
17937
ebfd1bbd
JM
17938 * posix/Makefile ($(objpfx)globtest.out): Pass
17939 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17940 $(rtld-installed-name).
17941 * posix/globtest.sh (elf_objpfx): Remove variable.
17942 (rtld_installed_name): Likewise.
17943 (library_path): Likewise.
17944 (run_program_prefix): New variable. Use for running globtest
17945 binary.
17946
166bca24
JB
179472012-10-23 Jim Blandy <jimb@codesourcery.com>
17948 Joseph Myers <joseph@codesourcery.com>
17949
17950 * Makeconfig (host-built-program-cmd): New variable.
17951 * elf/Makefile (tst-stackguard1-ARGS): Use
17952 $(host-built-program-cmd).
17953 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17954 (tst-spawn-ARGS): Likewise.
17955 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17956
88866099
JM
179572012-10-23 Joseph Myers <joseph@codesourcery.com>
17958 Jim Blandy <jimb@codesourcery.com>
17959
17960 * Makeconfig (run-via-rtld-prefix): New variable.
17961 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17962 (built-program-cmd): Likewise.
17963
b4b4c296
AJ
179642012-10-22 Andreas Jaeger <aj@suse.de>
17965
17966 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17967 __O_RSYNC if it exists, otherwise to O_SYNC.
17968
6fb54a22
JB
179692012-10-22 Jim Blandy <jimb@codesourcery.com>
17970 Joseph Myers <joseph@codesourcery.com>
17971
17972 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17973 /dev/null.
17974 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17975 from /dev/null
17976 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17977 /dev/null.
17978
481b90b9
AJ
179792012-10-22 Andreas Jaeger <aj@suse.de>
17980
2a0e2669
AJ
17981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17982 Define always.
17983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17984
76e38f9a
AJ
17985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17986 bits/fcntl-linux.h.
17987
7cd37b43
AJ
17988 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17989 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17990
481b90b9
AJ
17991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17992 to __O_LARGEFILE.
17993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17994 to __O_LARGEFILE.
17995
aba75984
JB
179962012-10-21 Jim Blandy <jimb@codesourcery.com>
17997 Joseph Myers <joseph@codesourcery.com>
17998
17999 * config.make.in (NM): New variable.
18000
88d4247f
AJ
180012012-10-21 Andreas Jaeger <aj@suse.de>
18002
18003 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18004 definitions and declarations that are provided by
18005 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18006
f2eed205
L
180072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18008
18009 [BZ #14683]
18010 * elf/Makefile (tests-static): Add tst-leaks1-static.
18011 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18012 ($(objpfx)tst-leaks1-static): New rule.
18013 ($(objpfx)tst-leaks1-static-mem): Likewise.
18014 (tst-leaks1-static-ENV): New macro.
18015 * elf/dl-open.c (dl_open_worker): Check the main application
18016 only if SHARED is defined.
18017 * elf/tst-leaks1-static.c: New file.
18018
335e6931
AJ
180192012-10-20 Andreas Jaeger <aj@suse.de>
18020
18021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18022 generic values for Linux.
18023 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18024 and declarations that are provided by <bits/fcntl-linux.h> and
18025 include <bits/fcntl-linux.h>.
18026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18028
ac5c94d3
RM
180292012-10-20 Roland McGrath <roland@hack.frob.com>
18030
18031 * io/fcntl.h: Move include of <bits/types.h> to the top and
18032 include it unconditionally.
18033
de54b33a
L
180342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18035
228cfb01
L
18036 * wcsmbs/Makefile (tests-ifunc): New variable.
18037 (tests): Add $(tests-ifunc).
18038 * wcsmbs/test-wcschr-ifunc.c: New file.
18039 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18040 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18041 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18042 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18043 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18044
69f07e5f
L
18045 * string/Makefile (tests-ifunc): New variable.
18046 (tests): Add $(tests-ifunc).
18047 * string/test-memccpy.c (TEST_NAME): New macro.
18048 * string/test-memchr.c (TEST_NAME): Likewise.
18049 * string/test-memcmp.c (TEST_NAME): Likewise.
18050 * string/test-memcpy.c (TEST_NAME): Likewise.
18051 * string/test-memmem.c (TEST_NAME): Likewise.
18052 * string/test-memmove.c (TEST_NAME): Likewise.
18053 * string/test-memset.c (TEST_NAME): Likewise.
18054 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18055 * string/test-stpcpy.c (TEST_NAME): Likewise.
18056 * string/test-stpncpy.c (TEST_NAME): Likewise.
18057 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18058 * string/test-strcasestr.c (TEST_NAME): Likewise.
18059 * string/test-strcat.c (TEST_NAME): Likewise.
18060 * string/test-strchr.c (TEST_NAME): Likewise.
18061 * string/test-strcmp.c(TEST_NAME): Likewise.
18062 * string/test-strcpy.c (TEST_NAME): Likewise.
18063 * string/test-strcspn.c (TEST_NAME): Likewise.
18064 * string/test-strlen.c (TEST_NAME): Likewise.
18065 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18066 * string/test-strncmp.c (TEST_NAME): Likewise.
18067 * string/test-strncpy.c (TEST_NAME): Likewise.
18068 * string/test-strnlen.c (TEST_NAME): Likewise.
18069 * string/test-strpbrk.c (TEST_NAME): Likewise.
18070 * string/test-strrchr.c (TEST_NAME): Likewise.
18071 * string/test-strspn.c (TEST_NAME): Likewise.
18072 * string/test-strstr.c (TEST_NAME): Likewise.
18073 * string/test-bcopy-ifunc.c: New file.
18074 * string/test-bzero-ifunc.c: Likewise.
18075 * string/test-memccpy-ifunc.c: Likewise.
18076 * string/test-memchr-ifunc.c: Likewise.
18077 * string/test-memcmp-ifunc.c: Likewise.
18078 * string/test-memcpy-ifunc.c: Likewise.
18079 * string/test-memmem-ifunc.c: Likewise.
18080 * string/test-memmove-ifunc.c: Likewise.
18081 * string/test-mempcpy-ifunc.c: Likewise.
18082 * string/test-memset-ifunc.c: Likewise.
18083 * string/test-rawmemchr-ifunc.c: Likewise.
18084 * string/test-stpcpy-ifunc.c: Likewise.
18085 * string/test-stpncpy-ifunc.c: Likewise.
18086 * string/test-strcasecmp-ifunc.c: Likewise.
18087 * string/test-strcasestr-ifunc.c: Likewise.
18088 * string/test-strcat-ifunc.c: Likewise.
18089 * string/test-strchr-ifunc.c: Likewise.
18090 * string/test-strchrnul-ifunc.c: Likewise.
18091 * string/test-strcmp-ifunc.c: Likewise.
18092 * string/test-strcpy-ifunc.c: Likewise.
18093 * string/test-strcspn-ifunc.c: Likewise.
18094 * string/test-strlen-ifunc.c: Likewise.
18095 * string/test-strncasecmp-ifunc.c: Likewise.
18096 * string/test-strncat-ifunc.c: Likewise.
18097 * string/test-strncmp-ifunc.c: Likewise.
18098 * string/test-strncpy-ifunc.c: Likewise.
18099 * string/test-strnlen-ifunc.c: Likewise.
18100 * string/test-strpbrk-ifunc.c: Likewise.
18101 * string/test-strrchr-ifunc.c: Likewise.
18102 * string/test-strspn-ifunc.c: Likewise.
18103 * string/test-strstr-ifunc.c: Likewise.
18104
de54b33a
L
18105 * debug/Makefile (tests-ifunc): New variable.
18106 (tests): Add $(tests-ifunc).
18107 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18108 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18109 * debug/test-stpcpy_chk-ifunc.c: New file.
18110 * debug/test-strcpy_chk-ifunc.c: Likewise.
18111
88481c16
SP
181122012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18113
18114 [BZ #13601]
18115 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18116 header is not read in.
18117
135948bd
JM
181182012-10-19 Joseph Myers <joseph@codesourcery.com>
18119
89f1c388
JM
18120 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18121 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18122 directly. Pass built executable to script as
18123 $(built-program-cmd).
18124 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18125 $testprogram without using LD_LIBRARY_PATH and $ldso.
18126
e40a0d21
JM
18127 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18128 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18129 $(rtld-installed-name).
18130 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18131 (rtld_installed_name): Likewise.
18132 (library_path): Likewise.
18133 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18134 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18135 $(run-program-prefix) to tst-tables.sh.
18136 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18137 it to run tst-table-from and tst-table-to.
18138 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18139 Pass it to tst-table.sh.
18140 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18141 $(run-program-prefix) to tst-gettext.sh.
18142 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18143 tst-translit.sh.
18144 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18145 tst-gettext2.sh.
18146 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18147 to run tst-gettext.
18148 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18149 to run tst-gettext2.
18150 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18151 to run tst-translit.
18152 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18153 $(run-program-prefix) to tst-mtrace.sh.
18154 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18155 to run tst-mtrace.
18156 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18157 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18158 $(rtld-installed-name).
18159 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18160 (rtld_installed_name): Likewise.
18161 (run_program_prefix): New variable. Use it to run wordexp-test.
18162
728e272a
JM
18163 * Makeconfig (ARCH): Remove all definitions.
18164 (machine): Likewise.
18165 [ARCH]: Remove conditional code.
18166 [!objdir]: Give error.
18167 [!objdir] (objpfx): Remove.
18168 [!objdir] (common-objpfx): Likewise.
18169 [!objdir] (common-objdir): Likewise.
18170 * configure.in (config_makefile): Remove. Hardcode Makefile in
18171 AC_CONFIG_FILES call.
18172 * configure: Regenerated.
18173
d528cdcf
JM
18174 [BZ #13888]
18175 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18176 or TMPDIR.
18177 (testout): Likewise.
18178
135948bd
JM
18179 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18180 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18181 $(rtld-installed-name).
18182 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18183 (rtld_installed_name): Likwise.
18184 (runit): Remove function.
18185 (run_getconf): New variable, Use it for running getconf binary.
18186
38c78296
L
181872012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18188
18189 [BZ #14716]
18190 * string/test-memmem.c (check_result): New function.
18191 (do_one_test): Use it.
18192 (check1): New function.
18193 (test_main): Use it.
18194
d077f65f
MT
181952012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18196
18197 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18198
ced52c71
JM
181992012-10-18 Joseph Myers <joseph@codesourcery.com>
18200
18201 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18202 (_G_LSEEK64): Likewise.
18203 (_G_MMAP64): Likewise.
18204 (_G_FSTAT64): Likewise.
18205 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18206 (_G_LSEEK64): Likewise.
18207 (_G_MMAP64): Likewise.
18208 (_G_FSTAT64): Likewise.
18209 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18210 unconditional. Call __mmap64 directly.
18211 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18212 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18213 __lseek64 directly.
18214 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18215 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18216 __mmap64 directly.
18217 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18218 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18219 __lseek64 directly.
18220 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18221 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18222 __lseek64 directly.
18223 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18224 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18225 __lseek64 directly.
18226 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18227 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18228 __fxstat64 directly.
18229 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18230 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18231 unconditional.
18232 (freopen64) [!_G_OPEN64]: Remove conditional code.
18233 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18234 unconditional.
18235 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18236 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18237 unconditional.
18238 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18239 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18240 unconditional.
18241 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18242 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18243 unconditional.
18244 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18245 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18246 unconditional.
18247 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18248 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18249 unconditional.
18250 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18251 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18252 unconditional.
18253 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18254
b741de23
SP
182552012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18256
18257 [BZ #12140]
18258 * manual/memory.texi (Malloc Tunable Parameters): Add note
18259 about free list pointers overwriting some perturb bytes.
18260 Wording suggested by Roland McGrath.
18261
f9b9d9c9
JM
182622012-10-17 Joseph Myers <joseph@codesourcery.com>
18263
18264 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18265 (lgamma_test): Likewise.
18266 (tgamma_test): Likewise.
18267
172a631a
FW
182682012-10-16 Florian Weimer <fweimer@redhat.com>
18269
18270 [BZ #14700]
18271 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18272 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18273
e9f37252
MK
182742012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18275
18276 * NEWS: Mention BZ #14716.
18277 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18278 when removing AVAILABLE1_USES_J macro.
18279
d394eb74
L
182802012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18281
18282 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18283 (__bswap_64): __uint64_t for unsigned 64-bit int.
18284
ca38dc17
AS
182852012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18286
18287 * include/string.h (memmem): Declare libc hidden alias.
18288 * string/memmem.c (memmem): Define libc hidden alias.
18289 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18290 __read, __close instead of open, read, close.
18291
9a387d1f
L
182922012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18293
ac49ecaf
L
18294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18295 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18296 global and hidden.
18297 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18298 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18299 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18300 Likewise.
18301 (__rawmemchr_sse2): Likewise.
18302 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18303 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18304 (__strchr_sse2): Likewise.
18305 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18306 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18307 (__strcasecmp_sse2): Likewise.
18308 (__strncasecmp_sse2): Likewise.
18309 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18310 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18311 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18312 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18313 (__strrchr_sse2): Likewise.
18314 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18315 ifunc-impl-list.c.
18316 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18317 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18318 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18319 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18320 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18321 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18322 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18323 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18324 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18325 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18326 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18327 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18328 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18329 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18330 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18331 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18332 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18333 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18334 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18335 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18336 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18337 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18338 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18339 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18340 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18341 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18342 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18343 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18344 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18345 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18346
b090e8ea
L
18347 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18348 global and hidden.
18349 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18350 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18351 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18352 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18353 Likewise.
18354 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18355 Likewise.
18356 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18357 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18358 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18359 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18360 ifunc-impl-list.c.
18361 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18362 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18363 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18364 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18365 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18366 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18367 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18368 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18369 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18370 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18371 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18372 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18373 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18374 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18375 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18376 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18377 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18378 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18379 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18380 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18382 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18383 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18384 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18385 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18386 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18387 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18388 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18389 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18390 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18391 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18392 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18393 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18394 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18395 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18396 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18397 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18398 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18399 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18400 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18401 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18402
11dd4af6
L
18403 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18404 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18405 * include/ifunc-impl-list.h: New file.
18406 * misc/ifunc-impl-list.c: Likewise.
18407 * misc/Makefile (routines): Add ifunc-impl-list.
18408 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18409 * string/test-string.h: Include <ifunc-impl-list.h>.
18410 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18411 impl_array): New variables.
18412 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18413 are defined.
18414 (test_init): Call __libc_ifunc_impl_list to initialize
18415 func_list if TEST_IFUNC and TEST_NAME are defined.
18416
9a387d1f
L
18417 * string/Makefile (strop-tests): Add bcopy and bzero.
18418 * string/test-bcopy.c: New file.
18419 * string/test-bzero.c: Likewise.
18420 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18421 defined.
18422 * string/test-memset.c: Support bzero test if TEST_BZERO is
18423 defined.
18424 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18425 __libc_memmove.
18426 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18427 __libc_memset.
18428 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18429 of memset.
18430
472371b9
JM
184312012-10-10 Joseph Myers <joseph@codesourcery.com>
18432
1e4a9536
JM
18433 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18434 * configure: Regenerated.
18435
d173d12e
JM
18436 * Makeconfig (+link-static-before-libc): Don't include
18437 $(link-static-libc).
18438
472371b9
JM
18439 * libio/libio.h (_IO_pos_t): Remove.
18440
89a3ad0b
AO
184412012-10-10 Alexandre Oliva <aoliva@redhat.com>
18442
18443 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18444 McGrath.
18445
e7451425
AO
184462012-10-10 Alexandre Oliva <aoliva@redhat.com>
18447
18448 * crypt/crypt-entry.c: Include fips-private.h.
18449 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18450 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18451 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18452 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18453
4ba74a35
AO
184542012-10-10 Alexandre Oliva <aoliva@redhat.com>
18455
18456 * crypt/crypt-private.h: Include stdbool.h.
18457 (_ufc_setup_salt_r): Return bool.
18458 * crypt/crypt-entry.c: Include errno.h.
18459 (__crypt_r): Return NULL with EINVAL for bad salt.
18460 * crypt/crypt_util.c (bad_for_salt): New.
18461 (_ufc_setup_salt_r): Check that salt is long enough and within
18462 the specified alphabet.
18463 * crypt/badsalttest.c: New file.
18464 * crypt/Makefile (tests): Add it.
18465 ($(objpfx)badsalttest): New.
18466
f96f1242
MK
184672012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18468
18469 * NEWS: Add entry for BZ #14602.
18470
0e8e0c1c
JM
184712012-10-09 Joseph Myers <joseph@codesourcery.com>
18472
18473 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18474 type-generic.
18475 * math/libm-test.inc: Update comment listing what functions and
18476 macros are tested.
18477 (isgreater_test): New function.
18478 (isgreaterequal_test): Likewise.
18479 (isless_test): Likewise.
18480 (islessequal_test): Likewise.
18481 (islessgreater_test): Likewise.
18482 (isunordered_test): Likewise.
18483 (main): Call the new functions.
18484
273edc5e
RM
184852012-10-09 Roland McGrath <roland@hack.frob.com>
18486
b8493de0
RM
18487 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18488 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18489 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18490 * sysdeps/i386/configure: Regenerated.
18491 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18492 * sysdeps/mach/configure: Regenerated.
18493 * sysdeps/mach/hurd/configure: Regenerated.
18494 * sysdeps/powerpc/configure: Regenerated.
18495 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18496 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18497 * sysdeps/s390/s390-32/configure: Regenerated.
18498 * sysdeps/s390/s390-64/configure: Regenerated.
18499 * sysdeps/sh/configure: Regenerated.
18500 * sysdeps/sparc/configure: Regenerated.
18501 * sysdeps/unix/sysv/linux/configure: Regenerated.
18502 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18503 * sysdeps/x86_64/configure: Regenerated.
18504
273edc5e
RM
18505 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18506 defined. Don't check if MAP is NULL.
18507
c8450f70
JM
185082012-10-09 Joseph Myers <joseph@codesourcery.com>
18509
18510 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18511 (_G_stat64): Likewise.
18512 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18513 (_G_stat64): Likewise.
18514 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18515 instead of struct _G_stat64.
18516 * libio/fileops.c (mmap_remap_check): Likewise.
18517 (decide_maybe_mmap): Likewise.
18518 (_IO_new_file_seekoff): Likewise.
18519 (_IO_file_stat): Likewise.
18520 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18521 _G_off64_t.
18522 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18523 instead of struct _G_stat64.
18524 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18525
57e605ba
MK
185262012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18527
18528 [BZ #14602]
18529 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18530 Replace with ...
18531 (CHECK_EOL): New macro.
18532 (two_way_short_needle): Check beginning of haystack for EOL. Use
18533 CHECK_EOL.
18534 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18535 Replace with CHECK_EOL.
18536 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18537 Replace with CHECK_EOL.
18538
ef1bb361
JM
185392012-10-08 Joseph Myers <joseph@codesourcery.com>
18540
18541 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18542 type-generic.
18543 * math/libm-test.inc: Update comment listing what functions and
18544 macros are tested.
18545 (finite_test): New function.
18546 (isinf_test): Likewise.
18547 (isnan_test): Likewise.
18548 (fpclassify_test): Test subnormal input.
18549 (isfinite_test): Likewise.
18550 (isnormal_test): Likewise.
18551 (main): Call the new functions.
18552
55f11534
JN
185532012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18554
18555 [BZ #14660]
18556 * Makerules (%.dynsym): Force C locale when running
18557 $(OBJDUMP) --dynamic-syms.
18558
1ab29350
AS
185592012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18560
18561 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18562 <stdint.h>.
18563
f1ecb7ef
DM
185642012-10-06 David S. Miller <davem@davemloft.net>
18565
18566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18567 upper 32-bits of the length value in %o2 since we use branch-on-register
18568 tests which consider the entire 64-bit register.
18569
5d41d91a
L
185702012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18571
18572 * string/test-strstr.c (check2): Add a test for page boundary.
18573
3baddb72
DM
185742012-10-05 David S. Miller <davem@davemloft.net>
18575
18576 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18577 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18578 file.
18579 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18580 sysdep_routines.
18581 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18582 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18583 and bzero when HWCAP_SPARC_CRYPTO is present.
18584
9cee5585
L
185852012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18586
d7e0dab9
L
18587 [BZ #14602]
18588 * string/test-strstr.c (check2): New function.
18589 (test_main): Call check2.
18590
03759f47
L
18591 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18592 and bug-strchr1.
18593 * string/bug-strcasestr1.c (do_test): Moved to ...
18594 * string/test-strcasestr.c (check1): Here. New function.
18595 (do_one_test): Break out result checking code into ...
18596 (check_result): This. New function.
18597 (do_one_test): Call check_result.
18598 (test_main): Call check1.
18599 * string/bug-strchr1.c (do_test): Moved to ...
18600 * string/test-strchr.c (check1): Here. New function.
18601 (do_one_test): Break out result checking code into ...
18602 (check_result): This. New function.
18603 (do_one_test): Call check_result.
18604 (test_main): Call check1.
18605 * string/bug-strstr1.c (main): Moved to ...
046f153e 18606 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18607 (do_one_test): Break out result checking code into ...
18608 (check_result): This. New function.
18609 (do_one_test): Call check_result.
18610 (test_main): Call check1.
18611 * string/bug-strcasestr1.c: Removed.
18612 * string/bug-strchr1.c: Likewise.
18613 * string/bug-strstr1.c: Likewise.
18614
53cea63e
L
18615 * elf/Makefile (dl-routines): Add hwcaps.
18616 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18617 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18618 (_dl_important_hwcaps): Moved to ...
18619 * elf/dl-hwcaps.c: Here. New file.
18620 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18621
9cee5585 18622 [BZ #14557]
bb859b06
L
18623 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18624 if IS_IN_rtld isn't defined.
18625
9cee5585
L
18626 * elf/dl-support.c (_dl_sysinfo_map): New.
18627 Include "get-dynamic-info.h" and "setup-vdso.h".
18628 (_dl_non_dynamic_init): Call setup_vdso.
18629 * elf/dynamic-link.h: Don't include <assert.h>.
18630 (elf_get_dynamic_info): Moved to ...
18631 * elf/get-dynamic-info.h: Here. New file.
18632 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18633 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18634 * elf/setup-vdso.h: Here. New file.
18635 * elf/rtld.c: Include "setup-vdso.h".
18636 (dl_main): Call setup_vdso.
18637
23c31b76
JM
186382012-10-05 Joseph Myers <joseph@codesourcery.com>
18639
28234b07
JM
18640 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18641 creal in comment listing functions tested. List finite, isinf,
18642 isnan, isless, islessequal, isgreater, isgreaterequal,
18643 islessgreater, isunordered, lgamma_r and pow10 as functions and
18644 macros not tested. Mention which functions not tested are aliases
18645 for other functions. Fix typo. Note that signs of NaNs are not
18646 tested.
18647
23c31b76
JM
18648 * scripts/config.guess: Update from config.git.
18649 * scripts/config.sub: Likewise.
18650
9043e228
RM
186512012-10-04 Roland McGrath <roland@hack.frob.com>
18652
18653 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18654 * misc/madvise.c (madvise): Renamed to __madvise.
18655 Make madvise a weak alias.
18656 * include/sys/mman.h: Declare __madvise.
18657 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18658 * sysdeps/unix/syscalls.list
18659 (madvise): Make __madvise the strong name, and madvise a weak alias.
18660 * sysdeps/unix/sysv/linux/syscalls.list
18661 (madvise, mmap): Remove redundant entries.
18662 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18663 * malloc/malloc.c (mtrim): Likewise.
18664 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18665
f57f8055
RM
186662012-10-03 Roland McGrath <roland@hack.frob.com>
18667
18668 * sysdeps/mach/hurd/dl-cache.c: File removed.
18669 * config.h.in (USE_LDCONFIG): New #undef.
18670 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18671 * configure: Regenerated.
18672 * elf/Makefile (dl-routines): Add dl-cache only under
18673 [$(use-ldconfig) = yes].
18674 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18675 cache on [USE_LDCONFIG].
18676 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18677 [USE_LDCONFIG].
18678 * elf/rtld.c (dl_main): Likewise.
18679
5bb0c10a
PT
186802012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18681
18682 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18683 _SC_LEVEL4_CACHE_LINESIZE.
18684
010188c6
RM
186852012-10-03 Roland McGrath <roland@hack.frob.com>
18686
18687 * sysdeps/unix/bsd/confstr.h: File removed.
18688
b6c5ec07
AO
186892012-10-02 Alexandre Oliva <aoliva@redhat.com>
18690
18691 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18692 sys/sdt-config.h.
18693
408223d4
RM
186942012-10-02 Roland McGrath <roland@hack.frob.com>
18695
18696 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18697 Make 'mapoff' field ElfW(Off) rather than off_t.
18698
bb9510dc
DL
186992012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18700
fc997c6e
DL
18701 * nscd/Makefile: Remove nscd-cflags and all its users.
18702 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18703 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18704
bb9510dc
DL
18705 [BZ #10631]
18706 * malloc.c (malloc_printerr): Clarify error message.
18707
05699367
L
187082012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18709
18710 [BZ #14648]
18711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18712 Set bit_FMA_Usable if FMA is supported.
18713 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18714 macro.
18715 (bit_FMA4_Usable): Updated.
18716 (index_FMA_Usable): New macro.
18717 (CPUID_FMA): Likewise
18718 (HAS_FMA): Defined with bit_FMA_Usable.
18719
51367701
RM
187202012-10-01 Roland McGrath <roland@hack.frob.com>
18721
18722 * bits/types.h (__swblk_t): Type removed.
18723 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18724 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18726 (__SWBLK_T_TYPE): Likewise.
18727 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18728 (__SWBLK_T_TYPE): Likewise.
18729 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18730 (__SWBLK_T_TYPE): Likewise.
18731 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18732 (__SWBLK_T_TYPE): Likewise.
18733
4d57bf63 187342012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18735 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18736
18737 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18738 (xdr_mapname): Use YPMAXMAP as maxsize.
18739 (xdr_peername): Use YPMAXPEER as maxsize.
18740 (xdr_keydat): Use YPAXRECORD as maxsize.
18741 (xdr_valdat): Use YPMAXRECORD as maxsize.
18742
93c65d43
RM
187432012-10-01 Roland McGrath <roland@hack.frob.com>
18744
497a03d6
RM
18745 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18746
93c65d43
RM
18747 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18748 * csu/init-first.c: ... here.
18749 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18750 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18751 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18752 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18753 * sysdeps/i386/init-first.c: File removed.
18754 * sysdeps/sh/init-first.c: File removed.
18755
bec749fd
JM
187562012-10-01 Joseph Myers <joseph@codesourcery.com>
18757
18758 [BZ #14645]
18759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18760 if x * y might underflow to zero and z is zero.
18761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18762 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18763 * math/libm-test.inc (min_subnorm_value): New variable.
18764 (fma_test): Add more tests.
18765 (fma_test_towardzero): Likewise.
18766 (fma_test_downward): Likewise
18767 (fma_test_upward): Likewise.
18768 (initialize): Set min_subnorm_value.
18769
8ec5b013
JM
187702012-09-29 Joseph Myers <joseph@codesourcery.com>
18771
18772 [BZ #14638]
18773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18774 0 + 0.
18775 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18776 mode for addition resulting in exact zero.
18777 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18779 exact 0 + 0.
18780 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18782 * math/libm-test.inc (fma_test): Add more tests.
18783 (fma_test_towardzero): New function.
18784 (fma_test_downward): Likewise.
18785 (fma_test_upward): Likewise.
18786 (main): Call the new functions.
18787
b1fa802e
DM
187882012-09-28 David S. Miller <davem@davemloft.net>
18789
18790 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18791
d3b9fd9e
RM
187922012-09-28 Roland McGrath <roland@hack.frob.com>
18793
ea4d37b3
RM
18794 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18795 instead of SIGALRM.
18796
ac51c949
RM
18797 * sysdeps/gnu/_G_config.h: Moved to ...
18798 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18799 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18800 * sysdeps/generic/_G_config.h: ... here.
18801
28c195f7
RM
18802 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18803
848917f9
RM
18804 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18805
6bacf05b
RM
18806 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18807 Conditionalize target on [libnss_test1.so-version].
18808
91363dbb
RM
18809 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18810
cc87f7d8
RM
18811 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18812 (elfobjdir): Move out of conditionals.
18813
b1c608fe
RM
18814 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18815 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18816 (__nss_lookup_function): Conditionalize label remove_from_tree on
18817 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18818
1d9a6d96
DM
188192012-09-28 David S. Miller <davem@davemloft.net>
18820
18821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18822 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18823 file.
18824 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18825 sysdep_routines.
18826 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18828 when HWCAP_SPARC_CRYPTO is present.
18829
72581615
PT
188302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18831
18832 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18833
715a900c
JL
188342012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18835
18836 [BZ #6530]
18837 * stdio-common/vfprintf.c (process_string_arg): Revert
18838 2000-07-22 change.
18839
188402011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18841
18842 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18843 for testcase.
18844 * stdio-common/tst-sprintf.c: Include <locale.h>
18845 (main): Test sprintf's handling of incomplete multibyte
18846 characters.
18847
9bac1d86
L
188482012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18849
18850 * elf/dl-runtime.c (VERSYMIDX): Removed.
18851 * elf/dl-version.c (VERSYMIDX): Likewise.
18852 * elf/do-rel.h (VERSYMIDX): Likewise.
18853 (VALIDX): Likewise.
18854 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18855 * elf/rtld.c (VALIDX): Likewise.
18856 (ADDRIDX): Likewise.
9bac1d86
L
18857 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18858 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18859 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18860 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18861 (VALIDX): Likewise.
18862 (ADDRIDX): Likewise.
9bac1d86 18863
b31606c0
PT
188642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18865
18866 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18867
11541177
JL
188682012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18869
18870 [BZ #11438]
18871 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18872 to global scope.
18873 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18874 addresses are in the same scope as 192.0.2/24.
18875 * posix/gai.conf: Document new scope table defaults.
18876
adb26fae
SP
188772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18878
18879 [BZ #5298]
18880 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18881 for ftell. Compute offsets from write pointers instead.
18882 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18883
4573c6b0
SP
188842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18885
18886 [BZ #14543]
18887 * libio/Makefile (tests): New test case tst-fseek.
18888 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18889 combination works in wide mode.
18890 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18891 state when the external buffer state changes.
18892
aa9bbfe6
DM
188932012-09-27 David S. Miller <davem@davemloft.net>
18894
18895 [BZ #14376]
18896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18897 pass reloc->r_addend in as the 'high' argument to
18898 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18899
784421e7
DM
18900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18901
c39bc8b8
PT
189022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18903
18904 * rt/tst-aio2.c: Include <pthread.h>.
18905 * rt/tst-aio3.c: Likewise.
18906
1ccc2399
SE
189072012-09-27 Steve Ellcey <sellcey@mips.com>
18908
18909 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18910
31ed4153
L
189112012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18912
25f5f885
L
18913 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18914 contents on [SHARED].
31ed4153 18915
b7bfe116
MP
189162012-09-26 Marek Polacek <polacek@redhat.com>
18917
18918 [BZ #14530]
18919 [BZ #13741]
18920 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18921 for C++ and GCC <4.3 as well as for non GCC compilers.
18922
43c4edba
MT
189232012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18924
18925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18926
6a1bf82f
RM
189272012-09-25 Roland McGrath <roland@hack.frob.com>
18928
18929 * Makefile.in (all, install): Declare with .PHONY.
18930 Reported by Michael Hope <michael.hope@linaro.org>.
18931
8ad11b9a
TMQMF
189322012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18933
18934 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18935 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18936 system header.
18937 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18938 Likewise.
18939 (sydep_routines): Add the new and the internal functions.
18940 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18941 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18943 (GLIBC_2.17): Add the new function.
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18945 (GLIBC_2.17): Likewise.
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18947 (GLIBC_2.17): Likewise.
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18949 (GLIBC_2.17): Likewise.
18950 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18951
7e2fca8d
AM
189522012-09-25 Alan Modra <amodra@gmail.com>
18953
18954 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18955 Add release barrier before setting once_control to say
18956 initialisation is done. Add hints on lwarx. Use macro in
18957 place of isync.
18958 (clear_once_control): Add release barrier.
18959
b87c4b24
JM
189602012-09-25 Joseph Myers <joseph@codesourcery.com>
18961
d032e0d2
JM
18962 [BZ #13629]
18963 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18964 specially.
18965 * math/s_clog10.c (__clog10): Likewise.
18966 * math/s_clog10f.c (__clog10f): Likewise.
18967 * math/s_clog10l.c (__clog10l): Likewise.
18968 * math/s_clogf.c (__clogf): Likewise.
18969 * math/s_clogl.c (__clogl): Likewise.
18970 * math/Makefile (libm-calls): Add x2y2m1.
18971 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18972 (__x2y2m1): Likewise.
18973 (__x2y2m1l): Likewise.
18974 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18975 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18978 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18979 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18980 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18981 * sysdeps/i386/fpu/libm-test-ulps: Update.
18982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18983
b87c4b24
JM
18984 [BZ #14621]
18985 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18986 int as type of variable DEPTH.
18987 (glob): Use size_t instead of int as type of variables NEWCOUNT
18988 and OLD_PATHC.
18989
6d3bf199
LD
189902012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18991
22bf5c17
LD
18992 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18993 Add s_sincosf-sse2.
18994 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18995 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18996 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18997 macros for using routine as __sincosf_ia32.
18998 Use macro for function declaration and weak_alias.
18999 * sysdeps/i386/fpu/libm-test-ulps: Update.
19000
19001 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19003
19004 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19005 subnormal argument.
19006 * math/s_cexpf.c (__cexpf): Likewise.
19007 * math/s_csinf.c (__csinf): Likewise.
19008 * math/s_csinhf.c (__csinhf): Likewise.
19009 * math/s_ctanf.c (__ctanf): Likewise.
19010 * math/s_ctanhf.c (__ctanhf): Likewise.
19011 * math/s_ccosh.c (__ccoshf): Likewise.
19012 * math/s_cexp.c (__cexpl): Likewise.
19013 * math/s_csin.c (__csin): Likewise.
19014 * math/s_csinh.c (__csinh): Likewise.
19015 * math/s_ctan.c (__ctan): Likewise.
19016 * math/s_ctanh.c (ctanh): Likewise.
19017 * math/s_ccoshl.c (__ccoshl): Likewise.
19018 * math/s_cexpl.c (__cexpl): Likewise.
19019 * math/s_csinl.c (__csinl): Likewise.
19020 * math/s_csinhl.c (__csinhl): Likewise.
19021 * math/s_ctanl.c (__ctanl): Likewise.
19022 * math/s_ctanhl.c (__ctanhl): Likewise.
19023
203e5603
JM
190242012-09-25 Joseph Myers <joseph@codesourcery.com>
19025
19026 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19027 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19028 (_IO_off_t): Define to __off_t, not _G_off_t.
19029 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19030 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19031 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19032 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19033 type of __dummy and __dummy2 fields.
19034 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19035 (_G_ssize_t): Likewise.
19036 (_G_off_t): Likewise.
19037 (_G_pid_t): Likewise.
19038 (_G_uid_t): Likewise.
19039 (_G_wchar_t): Likewise.
19040 (_G_wint_t): Likewise.
19041 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19042 (_G_ssize_t): Likewise.
19043 (_G_off_t): Likewise.
19044 (_G_pid_t): Likewise.
19045 (_G_uid_t): Likewise.
19046 (_G_wchar_t): Likewise.
19047 (_G_wint_t): Likewise.
19048 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19049 (_G_ssize_t): Likewise.
19050 (_G_off_t): Likewise.
19051 (_G_pid_t): Likewise.
19052 (_G_uid_t): Likewise.
19053 (_G_wchar_t): Likewise.
19054 (_G_wint_t): Likewise.
19055
9fab36eb
SP
190562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19057
19058 * malloc/arena.c: Include malloc-sysdep.h.
19059 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19060 is sufficient to shrink the heap or an unmap is needed.
19061 * sysdeps/generic/malloc-sysdep.h: New file. Define
19062 new function check_may_shrink_heap.
19063 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19064 new function check_may_shrink_heap.
19065
2b4f00d1
SP
190662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19067
19068 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19069 comments.
19070
9a9028b1
DL
190712012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19072
57c69bef
DL
19073 * catgets/test-gencat.sh: Add "set -e".
19074 * elf/tst-pathopt.sh: Likewise.
19075 * grp/tst_fgetgrent.sh: Likewise.
19076 * iconvdata/run-iconv-test.sh: Likewise.
19077 * intl/tst-gettext.sh: Likewise.
19078 * intl/tst-gettext2.sh: Likewise.
19079 * intl/tst-gettext4.sh: Likewise.
19080 * intl/tst-gettext6.sh: Likewise.
19081 * intl/tst-translit.sh: Likewise.
19082 * io/ftwtest-sh: Likewise.
19083 * libio/test-freopen.sh: Likewise.
19084 * malloc/tst-mtrace.sh: Likewise.
19085 * posix/globtest.sh: Likewise.
19086 * posix/tst-getconf.sh: Likewise.
19087 * posix/wordexp-tst.sh: Likewise.
19088 * stdio-common/tst-printf.sh: Likewise.
19089 * stdio-common/tst-unbputc.sh: Likewise.
19090 * stdlib/tst-fmtmsg.sh: Likewise.
19091 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19092 * catgets/Makefile: Do not specify -e option when running
19093 testsuite shell scripts.
19094 * elf/Makefile: Likewise.
19095 * grp/Makefile: Likewise.
19096 * iconvdata/Makefile: Likewise.
19097 * intl/Makefile: Likewise.
19098 * io/Makefile: Likewise.
19099 * libio/Makefile: Likewise.
19100 * malloc/Makefile: Likewise.
19101 * posix/Makefile: Likewise.
19102 * stdio-common/Makefile: Likewise.
19103 * stdlib/Makefile: Likewise.
19104 * sysdeps/x86_64/Makefile: Likewise.
19105
9a9028b1
DL
19106 * io/ftwtest-sh: Add copyright header.
19107 * posix/globtest.sh: Likewise.
19108 * posix/tst-getconf.sh: Likewise.
19109 * posix/wordexp-tst.sh: Likewise.
19110 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19111
ced6f16e
L
191122012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19113
94b32c39
L
19114 [BZ #13679]
19115 * Makeconfig (+link): Defined as $(+link-static) if
19116 $(build-shared) isn't yes.
19117 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19118 isn't yes.
19119 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19120
189e935b
L
19121 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19122
ced6f16e
L
19123 [BZ #14562]
19124 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19125 new chunk size with MALLOC_ALIGN_MASK.
19126
a9f8e53a
JM
191272012-09-24 Joseph Myers <joseph@codesourcery.com>
19128
19129 [BZ #5044]
19130 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19131 <rounding-mode.h>.
19132 (__printf_fphex): Determine rounding using get_rounding_mode and
19133 round_away.
19134 * stdio-common/tst-printf-round.c (struct hex_test): New
19135 structure.
19136 (hex_tests): New variable.
19137 (test_hex_in_one_mode): New function.
19138 (do_test): Also run tests for hex float output.
19139
43153109
JM
191402012-09-21 Joseph Myers <joseph@codesourcery.com>
19141
19142 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19143 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19144 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19145 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19146 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19147 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19148 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19149 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19150
8a26625d
JM
191512012-09-20 Joseph Myers <joseph@codesourcery.com>
19152
19153 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19154 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19155 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19156 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19157
f3fd569c
DL
191582012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19159
19160 [BZ #14579]
19161 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19162 mode only.
19163 * elf/tst-rtld-load-self.sh: New test.
19164 * elf/Makefile: Run it.
19165
63bbedd4
JM
191662012-09-18 Joseph Myers <joseph@codesourcery.com>
19167
19168 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19169 (tst-writev-ENV): Remove.
19170 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19171
626f8b6a
CM
191722012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19173
19174 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19175
b7aaa4d6
JM
191762012-09-17 Joseph Myers <joseph@codesourcery.com>
19177
19178 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19179 unconditional.
19180 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19181 Likewise.
19182 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19183 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19184 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19185 Likewise.
19186
65513990
L
191872012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19188
19189 [BZ #14587]
19190 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19191 * config.make.in (have-cpp-asm-debuginfo): Removed.
19192 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19193 * configure: Regenerated.
19194
784761be
JM
191952012-09-14 Joseph Myers <joseph@codesourcery.com>
19196
19197 [BZ #5044]
19198 * stdio-common/printf_fp.c: Include <stdbool.h> and
19199 <rounding-mode.h>.
19200 (___printf_fp): Determine rounding using get_rounding_mode and
19201 round_away.
19202 * stdio-common/tst-printf-round.c: New file.
19203 * stdio-common/Makefile (tests): Add tst-printf-round.
19204 (link-libm): New variable.
19205 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19206
9503345f
L
192072012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19208
19209 [BZ #14576]
19210 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19211 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19212 Likewise.
19213 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19214 Likewise.
19215
ad35fc00
JM
192162012-09-13 Joseph Myers <joseph@codesourcery.com>
19217
19218 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19219 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19220 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19221 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19222
6c9b0f68
JM
192232012-09-12 Joseph Myers <joseph@codesourcery.com>
19224
19225 [BZ #14518]
19226 * include/rounding-mode.h: New file.
19227 * sysdeps/generic/get-rounding-mode.h: Likewise.
19228 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19229 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19230 (MAX_VALUE): New macro.
19231 (MIN_VALUE): Likewise.
19232 (overflow_value): New function.
19233 (underflow_value): Likewise.
19234 (round_and_return): Use overflow_value and underflow_value to
19235 determine return values in overflow and underflow cases. Use
19236 round_away to determine rounding depending on rounding mode.
19237 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19238 determine return values in overflow and underflow cases.
19239 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19240 (struct test_results): New structure.
19241 (struct test): Use struct test_results to store expected results
19242 for all rounding modes.
19243 (TEST): Include expected results for all rounding modes.
19244 (test_in_one_mode): New function.
19245 (do_test): Use test_in_one_mode to compute and check results.
19246 Check results for all rounding modes.
19247 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19248 $(link-libm).
19249
19fcedd5
AM
192502012-12-09 Allan McRae <allan@archlinux.org>
19251
1e9d84cd 19252 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19253
8bbfd2f1
JM
192542012-09-11 Joseph Myers <joseph@codesourcery.com>
19255
19256 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19257 (_G_int32_t): Likewise.
19258 (_G_uint16_t): Likewise.
19259 (_G_uint32_t): Likewise.
19260 (_G_HAVE_BOOL): Likewise.
19261 (_G_HAVE_ATEXIT): Likewise.
19262 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19263 (_G_HAVE_IO_FILE_OPEN): Likewise.
19264 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19265 (_G_int32_t): Likewise.
19266 (_G_uint16_t): Likewise.
19267 (_G_uint32_t): Likewise.
19268 (_G_HAVE_BOOL): Likewise.
19269 (_G_HAVE_ATEXIT): Likewise.
19270 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19271 (_G_HAVE_IO_FILE_OPEN): Likewise.
19272 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19273 (_G_int32_t): Likewise.
19274 (_G_uint16_t): Likewise.
19275 (_G_uint32_t): Likewise.
19276 (_G_HAVE_BOOL): Likewise.
19277 (_G_HAVE_ATEXIT): Likewise.
19278 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19279 (_G_HAVE_IO_FILE_OPEN): Likewise.
19280
b1dc5912
L
192812012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19282
19283 * csu/libc-tls.c: Update copyright years.
19284
0e886ef9
JM
192852012-09-10 Joseph Myers <joseph@codesourcery.com>
19286
28361c5e
JM
19287 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19288 [!_G_USING_THUNKS]: Remove conditional code.
19289 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19290 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19291
0e886ef9
JM
19292 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19293 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19294 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19295 (_G_VTABLE_LABEL_PREFIX): Likewise.
19296 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19297 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19298 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19299 (_G_VTABLE_LABEL_PREFIX): Likewise.
19300 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19301 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19302 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19303 (_G_VTABLE_LABEL_PREFIX): Likewise.
19304 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19305
bcba7aa2
L
193062012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19307
19308 * libio/Makefile: Include ../Makeconfig before tests.
19309 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19310 only if $(build-shared) is yes.
19311
06585ee8
L
19312 * iconv/gconv_db.c: Update copyright years.
19313
80ccd52c
LD
193142012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19315
19316 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19317 unwind info if defined PIC. Fix special cases description.
19318 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19319
19320 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19321 DP_HI_MASK entry.
19322 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19323
691bc9c1
L
193242012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19325
3d9b46b3
L
19326 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19327
de2139a9
L
19328 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19329 is NULL.
19330
5ca78dd0
L
19331 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19332 (LDLIBS-tst-chk4): This.
19333 (LDFLAGS-tst-chk5): Renamed to ...
19334 (LDLIBS-tst-chk5): This.
19335 (LDFLAGS-tst-chk6): Renamed to ...
19336 (LDLIBS-tst-chk6): This.
19337 (LDFLAGS-tst-lfschk4): Renamed to ...
19338 (LDLIBS-tst-lfschk4): This.
19339 (LDFLAGS-tst-lfschk5): Renamed to ...
19340 (LDLIBS-tst-lfschk5): This.
19341 (LDFLAGS-tst-lfschk6): Renamed to ...
19342 (LDLIBS-tst-lfschk6): This.
19343
691bc9c1
L
19344 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19345 on $(common-objpfx)soversions.mk.
19346
65cafb1c
JM
193472012-09-07 Joseph Myers <joseph@codesourcery.com>
19348
19349 [BZ #10014]
19350 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19351 example host name.
19352
c78ab094
SP
193532012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19354
19355 * malloc/arena.c (arena_get_retry): New function that gets
19356 another arena for the caller to try its request on.
19357 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19358 current arena cannot fulfill the request.
19359 (__libc_memalign): Likewise.
19360 (__libc_memalign): Likewise.
19361 (__libc_pvalloc): Likewise.
19362 (__libc_calloc): Likewise.
19363
01f49f59
JT
193642012-09-05 John Tobey <john.tobey@gmail.com>
19365
19366 [BZ #13542]
19367 * manual/arith.texi (Operations on Complex): Fix description
19368 of carg branch cut.
19369
4c23fed5
JM
193702012-09-06 Joseph Myers <joseph@codesourcery.com>
19371
1d3c8572
JM
19372 [BZ #10014]
19373 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19374 host name.
19375
4c23fed5
JM
19376 [BZ #10038]
19377 * manual/memory.texi (Memory): Make order of menu items match
19378 order of sections.
19379
04570aaa
L
193802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19381
19382 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19383 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19384 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19385
b80af2f4
L
193862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19387
19388 * csu/libc-tls.c (static_dtv): Renamed to ...
19389 (_dl_static_dtv): This. Make it global.
19390 (_dl_initial_dtv): Removed.
19391 (__libc_setup_tls): Updated.
19392 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19393 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19394 DL_INITIAL_DTV.
19395
2abe9f15
PM
193962012-09-06 Petr Machata <pmachata@redhat.com>
19397
19398 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19399 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19400 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19401 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19402
0948c3af
L
194032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19404
19405 [BZ #14545]
19406 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19407 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19408 freeing dtv[-1].
19409
a5055ad1
L
194102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19411
19412 [BZ #14544]
19413 * Makeconfig (link-static-before-libc): Replace $(+prector)
19414 with $(+prectorT).
19415 (link-static-after-libc): Replace $(+postctor) with
19416 $(+postctorT).
19417 (link-bounded): Replace $(+prector)/$(+postctor) with
19418 $(+prectorT)/$(+postctorT).
19419 (+prectorT): New macro.
19420 (+postctorT): Likewise.
19421
ed8c2ecd
JM
194222012-09-06 Joseph Myers <joseph@codesourcery.com>
19423
19424 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19425 (round_str): Handle values above the maximum for IBM long double
19426 as inexact.
19427 * stdlib/tst-strtod-round.c (tests): Regenerated.
19428
14c996c8
AK
194292012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19430
19431 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19432 assembler flag.
19433 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19434 zarch_nohighgprs around the zarch optimized routines.
19435 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19436 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19438 for zarch.
19439
430d6ce6
DM
194402012-09-05 David S. Miller <davem@davemloft.net>
19441
19442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19443
ff04dda4
DM
19444 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19445 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19446 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19447 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19448 entries.
19449
24d4e01b
AO
194502012-09-05 Alexandre Oliva <aoliva@redhat.com>
19451
19452 * malloc/arena.c: Fold copyright years.
19453 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19454
61d58174
AO
194552012-09-05 Alexandre Oliva <aoliva@redhat.com>
19456
19457 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19458
20196a5e
AO
194592012-09-05 Alexandre Oliva <aoliva@redhat.com>
19460
19461 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19462
5c447383
AO
194632012-09-05 Alexandre Oliva <aoliva@redhat.com>
19464
19465 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19466 change internal state upon failure.
19467
fad64255
AO
194682012-09-05 Alexandre Oliva <aoliva@redhat.com>
19469
19470 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19471 * malloc/memusage.c (mmap): Likewise.
19472 (mmap64, mremap): Likewise. Adjust name in comment.
19473
1ffb8c90
SP
194742012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19475
19476 * libio/fileops.c: Fix typos in comments.
19477 * libio/oldfileops.c: Likewise.
19478 * libio/wfileops.c: Likewise.
19479
6ef9cc37
SP
194802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19481
19482 [BZ #1349]
19483 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19484 (tst-malloc-usable-ENV): Set environment for test case.
19485 * malloc/hooks.c (malloc_check_get_size): New function to get
19486 requested size.
19487 * malloc/malloc.c (musable): Use malloc_check_get_size.
19488 * malloc/tst-malloc-usable.c: New test case.
19489
4d038ae3
AS
194902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19491
19492 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19493
c4e85184
AM
194942012-09-05 Allan McRae <allan@archlinux.org>
19495
b9dafc56 19496 [BZ #13966]
c4e85184
AM
19497 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19498 determine header location.
19499 * configure: Regenerated.
19500
e1343020
AS
195012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19502
19503 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19504 float format.
19505 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19506 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19507 format.
e1343020
AS
19508 (test): Regenerate.
19509
0a9f1987
DM
195102012-09-04 David S. Miller <davem@davemloft.net>
19511
19512 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19513 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19514 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19515
29237804
FW
195162012-09-04 Florian Weimer <fweimer@redhat.com>
19517
19518 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19519 failures.
19520
edb3cb88
FW
19521 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19522
60160d83
JM
195232012-09-04 Joseph Myers <joseph@codesourcery.com>
19524
19525 [BZ #9914]
19526 * libio/iogetdelim.c: Include <limits.h>.
19527 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19528 + len + 1 would overflow.
19529
bcd6c8dc
AJ
195302012-09-03 Andreas Jaeger <aj@suse.de>
19531
19532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19533 * sysdeps/i386/fpu/libm-test-ulps: Update.
19534
4ffffbd2
LD
195352012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19536
19537 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19538 Add s_sinf-sse2, s_conf-sse2.
19539
19540 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19541 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19542 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19543 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19544
19545 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19546 for using routine as __sinf_ia32.
19547 Use macro for function declaration and weak_alias.
19548 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19549 for using routine as __cosf_ia32.
19550 Use macro for function declaration and weak_alias.
19551
19552 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19553 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19554
19555 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19556 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19558
19559 * math/libm-test.inc (cos_test): Add more test cases.
19560 (sin_test): Likewise.
19561 (sincos_test): Likewise.
19562
511fa286
AK
195632012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19564
19565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19566 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19567 hidden.
19568 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19569
5f30cfec
L
195702012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 [BZ #14538]
19573 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19574 first element of the GOT.
19575 (elf_machine_load_address): Return the difference between
19576 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19577
0786794f
AM
195782012-09-01 Allan McRae <allan@archlinux.org>
19579
5f30cfec
L
19580 [BZ #13412]
19581 * configure.in (AWK): Require gawk version 3.0 or later.
19582 * configure: Regenerated.
0786794f 19583
26889eac
JM
195842012-09-01 Joseph Myers <joseph@codesourcery.com>
19585
19586 * sysdeps/unix/sysv/linux/kernel-features.h
19587 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19588 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19589 [__NR_clock_getres]: Make code unconditional.
19590 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19591 (clock_getcpuclockid): Remove code left unreachable by removal of
19592 conditionals.
19593 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19594 code unconditional.
19595 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19596 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19597 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19598 Make code unconditional.
19599 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19600 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19601 * sysdeps/unix/sysv/linux/clock_settime.c
19602 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19603 conditional code.
19604 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19605 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19606
d22e28b0
L
196072012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19608
19609 [BZ #14476]
19610 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19611 scripts/test-installation.pl.
19612
19613 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19614 and $ld_so_version if it is set.
19615
050af9c4
SP
196162012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19617
19618 [BZ #14516]
19619 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19620 failure if reading from procfs failed.
19621 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19622
ad845c0b
JM
196232012-08-27 Joseph Myers <joseph@codesourcery.com>
19624
19625 * sysdeps/unix/sysv/linux/kernel-features.h
19626 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19627 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19628 Remove conditional code.
19629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19630 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19631 Remove conditional code.
19632 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19633 * sysdeps/unix/sysv/linux/i386/fxstat.c
19634 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19635 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19636 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19637 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19639 * sysdeps/unix/sysv/linux/i386/lxstat.c
19640 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19641 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19642 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19643 Remove conditional code.
19644 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19645 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19646 Remove conditional code.
19647 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19648 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19649 <kernel-features.h>.
19650 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19651 Remove.
19652 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19653 Remove conditional code.
19654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19655 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19656 Remove conditional.
19657
5dbf56af
MF
196582012-08-27 Mike Frysinger <vapier@gentoo.org>
19659
19660 [BZ #5400]
19661 * NEWS: Add fixed bug number.
19662
d6e70f43
JM
196632012-08-27 Joseph Myers <joseph@codesourcery.com>
19664
7efb4737
JM
19665 [BZ #14519]
19666 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19667 underflowing exponent in case of negative sign.
19668 * stdlib/tst-strtod-round-data: Add more tests.
19669 * stdlib/tst-strtod-round.c (tests): Regenerated.
19670
af92131a
JM
19671 [BZ #3479]
19672 * stdlib/strtod_l.c (NDIG): Remove.
19673 (HEXNDIG): Likewise.
19674 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19675 smallest representable value.
19676 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19677 lie within an exact representation of 1/2 ulp of the result.
19678 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19679 unconditionally.
19680 (TENS_P9_IDX): Define unconditionally.
19681 (TENS_P9_SIZE): Likewise.
19682 (TENS_P10_IDX): Likewise.
19683 (TENS_P10_SIZE): Likewise.
19684 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19685 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19686 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19687 entries for 10^2^13 and 10^2^14.
19688 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19689 (TENS_P13_IDX): Define.
19690 (TENS_P13_SIZE): Likewise.
19691 (TENS_P14_IDX): Likewise.
19692 (TENS_P14_SIZE): Likewise.
19693 (_fpioconst_pow10): Change array size to
19694 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19695 unconditional.
19696 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19697 1024]: Add entries for 10^2^13 and 10^2^14.
19698 [LAST_POW10 > _LAST_POW10]: Remove #error.
19699 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19700 (_fpioconst_pow10): Change array size to
19701 FPIOCONST_POW10_ARRAY_SIZE.
19702 * stdlib/gen-fpioconst.c: New file.
19703 * stdlib/gen-tst-strtod-round.c: Likewise.
19704 * stdlib/tst-strtod-round-data: Likewise.
19705 * stdlib/tst-strtod-round.c: Likewise.
19706 * stdlib/Makefile (tests): Add tst-strtod-round.
19707
d6e70f43
JM
19708 [BZ #14459]
19709 * stdlib/strtod_l.c: Include <stdint.h>.
19710 (NDEBUG): Do not define.
19711 (round_and_return): Change EXPONENT parameter to type intmax_t.
19712 Rearrange calculations to avoid internal overflow possibilities.
19713 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19714 Rearrange calculations to avoid internal overflow possibilities.
19715 Assert that number fits inside MPNSIZE limbs.
19716 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19717 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19718 calculations and add assertions to avoid internal overflow
19719 possibilities. Add casts to avoid signed/unsigned operations.
19720 * stdlib/tst-strtod-overflow.c: New file.
19721 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19722
1f529f7d
MP
197232012-08-25 Marek Polacek <polacek@redhat.com>
19724
19725 * time/time.h: Fix some typos in comments.
19726
59a629f1
RM
197272012-08-23 Roland McGrath <roland@hack.frob.com>
19728
19729 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19730 * posix/tst-rfc3484-2.c: Likewise.
19731 * posix/tst-rfc3484-3.c: Likewise.
19732
d3bafbc9
SM
197332012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19734
19735 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19736 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19737
4efcc022
JM
197382012-08-23 Joseph Myers <joseph@codesourcery.com>
19739
19740 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19741 #include of fxstatat64.c.
19742
3cc3ef96
RM
197432012-08-22 Roland McGrath <roland@hack.frob.com>
19744
f04e2132
RM
19745 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19746 * shadow/getspent_r.c: Likewise.
19747 * shadow/getspnam.c: Likewise.
19748 * shadow/getspnam_r.c: Likewise.
19749 * gshadow/getsgent.c: Likewise.
19750 * gshadow/getsgent_r.c: Likewise.
19751 * gshadow/getsgnam.c: Likewise.
19752 * gshadow/getsgnam_r.c: Likewise.
19753 * inet/getnetbyad.c: Likewise.
19754 * inet/getnetbyad_r.c: Likewise.
19755 * inet/getnetbynm.c: Likewise.
19756 * inet/getnetbynm_r.c: Likewise.
19757 * inet/getnetent.c: Likewise.
19758 * inet/getnetent_r.c: Likewise.
19759 * inet/getproto.c: Likewise.
19760 * inet/getproto_r.c: Likewise.
19761 * inet/getprtent.c: Likewise.
19762 * inet/getprtent_r.c: Likewise.
19763 * inet/getprtname.c: Likewise.
19764 * inet/getprtname_r.c: Likewise.
19765 * inet/getrpcbyname.c: Likewise.
19766 * inet/getrpcbyname_r.c: Likewise.
19767 * inet/getrpcbynumber.c: Likewise.
19768 * inet/getrpcbynumber_r.c: Likewise.
19769 * inet/getrpcent.c: Likewise.
19770 * inet/getrpcent_r.c: Likewise.
19771 * inet/getaliasent.c: Likewise.
19772 * inet/getaliasent_r.c: Likewise.
19773 * inet/getaliasname.c: Likewise.
19774 * inet/getaliasname_r.c: Likewise.
19775 * nscd/getgrgid_r.c: Likewise.
19776 * nscd/getgrnam_r.c: Likewise.
19777 * nscd/gethstbyad_r.c: Likewise.
19778 * nscd/gethstbynm3_r.c: Likewise.
19779 * nscd/getpwnam_r.c: Likewise.
19780 * nscd/getpwuid_r.c: Likewise.
19781 * nscd/getsrvbynm_r.c: Likewise.
19782 * nscd/getsrvbypt_r.c: Likewise.
19783 * nscd/gai.c: Likewise.
19784
c53d909c
RM
19785 * configure.in (build_nscd): New substituted variable, set
19786 by --disable-build-nscd and defaults to $use_nscd.
19787 * configure: Regenerated.
19788 * config.make.in (build-nscd): New substituted variable.
19789 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19790 Change conditional to require [$(build-nscd) = yes] as well.
19791 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19792
3cc3ef96
RM
19793 [BZ# 13696]
19794 * configure.in (use_nscd): New substituted variable, set by
19795 --disable-nscd. If enabled, define USE_NSCD.
19796 * configure: Regenerated.
19797 * config.h.in: Add USE_NSCD.
19798 * config.make.in (use-nscd): New substituted variable.
19799 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19800 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19801 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19802 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19803 (CFLAGS-getgrnam_r.c): Likewise.
19804 (CFLAGS-initgroups.c): Likewise.
19805 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19806 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19807 Variables removed.
19808 * inet/getnetgrent_r.c
19809 (nscd_setnetgrent): New function, broken out of ...
19810 (setnetgrent): ... here. Call it.
19811 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19812 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19813 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19814 * nscd/Makefile (routines, aux): Move definitions after include of
19815 Makeconfig. Conditionalize on [$(use-nscd) != no].
19816 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19817 Conditionalize on [USE_NSCD].
19818 (is_nscd, nscd_init_cb): Likewise.
19819 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19820 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19821 * nss/nss_db/db-init.c: Likewise.
19822 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19823 [USE_NSCD].
19824 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19825 (make_request): Use it.
19826 (cache_valid_p): New function.
19827 (__check_pf): Use it.
19828 * NEWS: Add item for --disable-nscd.
19829
07e51550
DL
198302012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19831
19832 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19833 to support sed >= 4.2.1-20-ga9bf076.
19834 * configure: Regenerated.
19835
35a5b08b
RM
198362012-08-22 Roland McGrath <roland@hack.frob.com>
19837
19838 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19839 Conditionalize whole body on [IREL].
19840
8479f23a
JL
198412012-08-22 Jeff Law <law@redhat.com>
19842
19843 [BZ #14505]
19844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19845 if the family is PF_UNSPEC.
19846
48da0b21
MF
198472012-08-22 Mike Frysinger <vapier@gentoo.org>
19848
19849 * Makerules (lib-version): Rename from V.
19850 (install-lib-nosubdir): Change V to lib-version.
19851
15d0da8c
WS
198522012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19853
19854 [BZ #14252]
19855 * powerpc32/power6/wcschr.c: New file.
19856 * powerpc32/power6/wcscpy.c: New file.
19857 * powerpc32/power6/wcsrchr.c: New file.
19858 * powerpc64/power6/wcschr.c: New file.
19859 * powerpc64/power6/wcscpy.c: New file.
19860 * powerpc64/power6/wcsrchr.c: New file.
19861
bcca0895
MK
198622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19863
19864 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19865 (two_way_short_needle): Use it.
5a4aaa33
RM
19866 * string/strstr.c (AVAILABLE1_USES_J): Define.
19867 * string/strcasestr.c: Likewise.
99677e57
MK
19868
19869 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19870 array references.
19871 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19872
400726de
MK
19873 [BZ #11607]
19874 * NEWS: Add an entry.
19875 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19876 define their defaults.
19877 (two_way_short_needle): Detect end-of-string on-the-fly.
19878 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19879 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19880 * string/bug-strcasestr1.c: New test.
19881 * string/Makefile: Run it.
19882
20a71f2c
MK
198832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19884
19885 [BZ #11607]
19886 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19887 the first character.
19888
21ad0558
RM
198892012-08-21 Roland McGrath <roland@hack.frob.com>
19890
19891 * csu/elf-init.c (__libc_csu_irel): Function removed.
19892 * csu/libc-start.c (apply_irel): New function.
19893 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19894
0e1d9911
JM
198952012-08-21 Joseph Myers <joseph@codesourcery.com>
19896
19897 * sysdeps/unix/sysv/linux/kernel-features.h
19898 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19899 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19900 <kernel-features.h>.
19901 [__NR_fadvise64_64]: Make code unconditional.
19902 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19903 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19904 !__NR_fadvise64_64)]: Likewise.
19905 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19906 !__NR_fadvise64_64))]: Likewise.
19907 [__NR_fadvise64]: Make code unconditional.
19908 [!__NR_fadvise64]: Remove conditional code.
19909 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19910 <kernel-features.h>.
19911 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19912 unconditional.
19913 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19914 conditional code.
19915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19916 not include <kernel-features.h>.
19917 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19918 unconditional.
19919 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19920 conditional code.
19921 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19922 include <kernel-features.h>.
19923 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19924 unconditional.
19925 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19926 conditional code.
19927
14a50c9d
WS
199282012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19929
19930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19931 slight instruction rearrangements per scrollpipe analysis.
19932 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19933
c0f4faf0
RM
199342012-08-20 Roland McGrath <roland@hack.frob.com>
19935
696da859
RM
19936 * manual/syslog.texi (syslog; vsyslog, closelog):
19937 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19938 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19939
c0f4faf0
RM
19940 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19941 DSOCAPS to match condition on defining it.
19942
348363b2
JM
199432012-08-20 Joseph Myers <joseph@codesourcery.com>
19944
a35cbf28
JM
19945 * sysdeps/unix/sysv/linux/kernel-features.h
19946 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19948 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19949 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19951 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19952 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19954 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19955 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19956
445f7ecd
JM
19957 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19958 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19959
348363b2
JM
19960 * sysdeps/unix/sysv/linux/kernel-features.h
19961 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19962 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19963 unconditional.
19964 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19965 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19966 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19967 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19968 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19969 Make code unconditional.
19970 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19971 (__mmap64) [!__NR_mmap2]: Likewise.
19972 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19973 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19974 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19975 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19976 [__NR_mmap2]: Make code unconditional.
19977 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19978 (__mmap64) [!__NR_mmap2]: Likewise.
19979
bc5bc0e5
AK
199802012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19981
19982 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19983
88d506de
AJ
199842012-08-18 Andreas Jaeger <aj@suse.de>
19985
19986 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19987
493387d2
MF
199882012-08-18 Mike Frysinger <vapier@gentoo.org>
19989
19990 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19991 * include/unistd.h (__have_sock_cloexec): Likewise.
19992 (__have_pipe2): Likewise.
19993 (__have_dup3): Likewise.
19994
a277af22
MF
199952012-08-18 Mike Frysinger <vapier@gentoo.org>
19996
19997 [BZ #9685]
19998 * include/unistd.h (__have_pipe2): Change define into an extern int.
19999 (__have_dup3): Likewise.
20000 * socket/have_sock_cloexec.c: Include fcntl.h.
20001 (__have_pipe2): New variable.
20002 (__have_dup3): Likewise.
20003
fdab8fd3
MF
200042012-08-17 Mike Frysinger <vapier@gentoo.org>
20005
20006 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20007
31035e80
MP
200082012-08-17 Marek Polacek <polacek@redhat.com>
20009
20010 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20011 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20012
3bd9e993
RM
200132012-08-17 Roland McGrath <roland@hack.frob.com>
20014
c91c505f
RM
20015 * configure.in: Add AC_SUBST for sysheaders.
20016 * configure: Regenerated.
20017 * config.make.in (sysheaders): New substituted variable.
20018
7c6f9d53
RM
20019 * sysdeps/unix/mkfifo.c: Moved ...
20020 * sysdeps/posix/mkfifo.c: ... here.
20021 * sysdeps/unix/mkfifoat.c: Moved ...
20022 * sysdeps/posix/mkfifoat.c: ... here.
20023
20024 * sysdeps/unix/utime.c: Moved ...
20025 * sysdeps/posix/utime.c: ... here.
20026
20027 * sysdeps/unix/time.c: Moved ...
20028 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20029 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20030 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20031
20032 * sysdeps/unix/nice.c: Moved ...
20033 * sysdeps/posix/nice.c: ... here.
20034
20035 * sysdeps/unix/alarm.c: Moved ...
20036 * sysdeps/posix/alarm.c: ... here.
20037
3bd9e993
RM
20038 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20039
d1f09384
JL
200402012-08-17 Jeff Law <law@redhat.com>
20041
20042 * intl/Makefile (codeset_mo): New variable.
20043 ($(codeset_mo)): New target.
20044 (tst-codeset.out): Depend on that. Remove explicit rule.
20045 (tst-gettext3.out, tst-gettext5.out): Likewise.
20046 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20047 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20048 * intl/tst-codeset.sh: Remove.
20049 * intl/tst-gettext3.sh: Likewise.
20050 * intl/tst-gettext5.sh: Likewise.
20051
2ae1ae5c
RM
200522012-08-17 Roland McGrath <roland@hack.frob.com>
20053
c31fdb83
RM
20054 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20055 * sysdeps/unix/syscalls.list: ... here.
20056
a0844057
RM
20057 * sysdeps/posix/getaddrinfo.c
20058 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20059 (gaiconf_init, gaiconf_reload): Use them.
20060 [!_STATBUF_ST_NSEC]
20061 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20062 Define using time_t rather than struct timespec.
20063
750c1f2a
RM
20064 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20065 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20066 Macros removed.
20067 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20068 [!NO_THREADS].
20069 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20070 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20071 Likewise.
20072
2ae1ae5c
RM
20073 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20074 __libc_cleanup_push argument.
20075
e66a42f5
RM
20076 * bits/param.h: New file.
20077 * misc/sys/param.h: New file.
20078 * include/sys/param.h: New file.
20079 * misc/Makefile (headers): Add bits/param.h.
20080 * sysdeps/generic/sys/param.h: File removed.
20081 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20082 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20083 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20084 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20085
b7c08a66
RM
20086 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20087 last change.
20088
b2e1c562
RM
20089 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20090 [_IO_MTSAFE_IO].
20091 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20092 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20093 New macros.
20094
c75ccd4c
RM
20095 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20096 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20097 rather than -D_IO_MTSAFE_IO conditionally.
20098 * stdio-common/Makefile (CPPFLAGS): Likewise.
20099 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20100 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20101 Use $(libio-mtsafe).
20102 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20103 of -D_IO_MTSAFE_IO.
20104 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20105 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20106 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20107 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20108 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20109 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20110 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20111 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20112 (CFLAGS-fread_u_chk.c): Likewise.
20113 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20114 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20115 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20116 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20117 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20118 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20119 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20120 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20121 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20122
20123 * libio/Makefile: Test [$(libc-reentrant) = yes]
20124 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20125
20126 * Makeconfig
20127 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20128 * sysdeps/pthread/configure: File removed.
20129 * sysdeps/pthread/Makeconfig: New file.
20130 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20131 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20132
d9195db8
GB
201332012-08-16 Gary Benson <gbenson@redhat.com>
20134
20135 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20136 unmapping the first object in a namespace.
20137
86466cd9
RM
201382012-08-16 Roland McGrath <roland@hack.frob.com>
20139
20140 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20141 (__internal_setnetgrent): ... this. Add internal_function to
20142 definition. Add libc_hidden_def.
20143 (setnetgrent): Update caller.
20144 (internal_endnetgrent): Renamed to ...
20145 (__internal_endnetgrent): ... this. Add internal_function to
20146 definition. Add libc_hidden_def.
20147 (endnetgrent): Update caller.
20148 (internal_getnetgrent_r): Renamed to ...
20149 (__internal_getnetgrent_r): ... this. Add internal_function to
20150 definition. Add libc_hidden_def.
20151 (__getnetgrent_r): Update caller.
20152 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20153
c3c8283c
JM
201542012-08-16 Joseph Myers <joseph@codesourcery.com>
20155
20156 * stdlib/longlong.h: Update from GCC.
20157
db1ee0a8
RM
201582012-08-16 Roland McGrath <roland@hack.frob.com>
20159
20160 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20161 on _QL, which is set by umul_ppmm but never used.
20162 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20163 variables, which are set by GMP macros but never used.
20164 * stdio-common/_itowa.c (_itowa): Likewise.
20165 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20166 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20167
30f69637
CD
201682012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20169
20170 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20171 struct La_sh_regs is not constant.
20172 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20173 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20174 and struct La_sparc64_regs are not constant.
20175
93a78ac4
JM
201762012-08-16 Joseph Myers <joseph@codesourcery.com>
20177
20178 * sysdeps/unix/sysv/linux/kernel-features.h
20179 (__ASSUME_POSIX_TIMERS): Remove.
20180 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20181 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20182 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20183 Make code unconditional.
20184 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20185 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20186 Make code unconditional.
20187 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20188 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20189 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20190 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20191 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20192 Make code unconditional.
20193 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20194 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20195 (__libc_missing_posix_timers): Remove.
20196
dd924cd7
RM
201972012-08-15 Roland McGrath <roland@hack.frob.com>
20198
4b4f2771
RM
20199 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20200 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20201
601c888b
RM
20202 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20203
176790a7
RM
20204 * elf/dl-sym.c: Include <stdlib.h>.
20205
329bc018
RM
20206 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20207 constants, which avoids warnings in 32-bit builds.
20208
e04e272d
RM
20209 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20210 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20211
952bf94a
RM
20212 * misc/lseek.c: File moved to ...
20213 * io/lseek.c: ... here.
20214
7c99b50a
RM
20215 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20216
dd924cd7
RM
20217 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20218 shifting LEN more than 31 bits at once.
20219
b3f479a8
LD
202202012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20221
20222 [BZ #14195]
8c4ae0d4
RM
20223 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20224 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20225 * string/test-strncasecmp.c (check1): Renamed to...
20226 (bz12205): ...this.
20227 (bz14195): Add new testcase for two empty input strings and N > 0.
20228 (test_main): Call new testcase, adapt for renamed function.
20229
9c55864e
AJ
202302012-08-15 Andreas Jaeger <aj@suse.de>
20231
20232 [BZ #14090]
20233 * crypt/md5test2.c: New test, based on test supplied by Serge
20234 Belyshev <belyshev@depni.sinp.msu.ru>.
20235 * crypt/Makefile (xtests): Add md5test-giant..
20236 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20237
02dcb6c5
PE
202382012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20239
20240 [BZ #14090]
20241 * crypt/md5.c (md5_process_block): Don't assume the buffer
20242 length is less than 2**32.
20243 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20244 length is less than 2**64.
20245
a3f95dcc
RM
202462012-08-15 Roland McGrath <roland@hack.frob.com>
20247
be75d758
RM
20248 * string/str-two-way.h: Include <sys/param.h>.
20249 (MAX): Macro removed.
20250
7312ca90
RM
20251 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20252 Move #define and #undef of memmove to just before and after
20253 including <string.h>.
20254
9a0a5486
RM
20255 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20256 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20257 and after including <string.h>. Move declarations of
20258 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20259 to before #include "string/memmove.c".
20260
67cc348d
RM
20261 * include/dirent.h: Declare __getdirentries.
20262
a3f95dcc
RM
20263 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20264 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20265
ca98e171
MF
202662012-08-14 Mike Frysinger <vapier@gentoo.org>
20267
20268 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20269 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20270 * sysdeps/i386/configure: Regenerated.
20271 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20272 STABS_CURRENT_FILE, and STABS_FUN.
20273 (END): Remove call to STABS_FUN_END.
20274 (STABS_CURRENT_FILE1): Delete.
20275 (STABS_CURRENT_FILE): Likewise.
20276 (STABS_FUN): Likewise.
20277 (STABS_FUN_END): Likewise.
20278 (STABS_FUN2): Likewise.
20279 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20280 * sysdeps/x86_64/configure: Regenerated.
20281
5908bf46
RM
202822012-08-14 Roland McGrath <roland@hack.frob.com>
20283
20284 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20285 * elf/dl-lookup.c: Likewise.
5908bf46 20286
f2c05b9e
JM
202872012-08-14 Joseph Myers <joseph@codesourcery.com>
20288
20289 * sysdeps/unix/sysv/linux/kernel-features.h
20290 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20291 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20292 unconditionally.
20293 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20294 unconditionally.
20295 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20296 condition on __ASSUME_CLONE_THREAD_FLAGS.
20297
e11f5155
AJ
202982012-08-14 Andreas Jaeger <aj@suse.de>
20299
20300 * sysdeps/i386/fpu/libm-test-ulps: Update.
20301
51a9ba86
MK
203022012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20303
2fdd4f78
AJ
20304 * include/atomic.h (atomic_exchange_and_add): Split into ...
20305 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20306 New atomic macros.
51a9ba86 20307
ba6cba9e
MT
203082012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20309
20310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20311
42443a47
JL
203122012-08-13 Jeff Law <law@redhat.com>
20313
20314 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20315 null byte in the output string.
20316
121dce05
JM
203172012-08-10 Joseph Myers <joseph@codesourcery.com>
20318
20319 * sysdeps/unix/sysv/linux/kernel-features.h
20320 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20321 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20322 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20324 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20325 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20326 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20327
bf51f568
JL
203282012-08-09 Jeff Law <law@redhat.com>
20329
20330 [BZ #13939]
20331 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20332 When avoid_arena is set, don't retry in the that arena. Pick the
20333 next one, whatever it might be.
20334 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20335 (arena_lock): Pass in new parameter to arena_get2.
20336 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20337 arena_get2.
20338 (__libc_malloc): Unify retrying after main arena failure with
20339 __libc_memalign version.
20340 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20341
f85fa270
L
203422012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20343
20344 [BZ #14166]
20345 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20346 to __redirect_strstr.
20347 (__strstr_sse42): Use typeof __redirect_strstr.
20348 (__strstr_ia32): Likewise.
20349 (__libc_strstr): New prototype.
20350 (strstr): Renamed to ...
20351 (__libc_strstr): This.
20352 (strstr): New strong alias of __libc_strstr.
20353 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20354 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20355 __redirect_time.
20356 Include <time.h>.
20357 (__libc_time): New prototype.
20358 (time_ifunc): Replace time with __libc_time.
20359 (time): New strong alias and hidden definition of __libc_time.
20360 (__GI_time): Remove strong alias.
20361 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20362 Include <stddef.h>.
20363 (memmove): Redefined to __redirect_memmove.
20364 (__memmove_sse2): Use typeof __redirect_memmove.
20365 (__memmove_ssse3): Likewise.
20366 (__memmove_ssse3_back): Likewise.
20367 (__libc_memmove): New prototype.
20368 (memmove): Renamed to ...
20369 (__libc_memmove): This.
20370 (memmove): New strong alias of __libc_memmove.
20371
33b4a91e
MS
203722012-08-08 Mark Salter <msalter@redhat.com>
20373
20374 * elf/elf.h
20375 (R_MN10300_TLS_GD): Define.
20376 (R_MN10300_TLS_LD): Likewise.
20377 (R_MN10300_TLS_LDO): Likewise.
20378 (R_MN10300_TLS_GOTIE): Likewise.
20379 (R_MN10300_TLS_IE): Likewise.
20380 (R_MN10300_TLS_LE): Likewise.
20381 (R_MN10300_TLS_DTPMOD): Likewise.
20382 (R_MN10300_TLS_DTPOFF): Likewise.
20383 (R_MN10300_TLS_TPOFF): Likewise.
20384 (R_MN10300_SYM_DIFF): Likewise.
20385 (R_MN10300_ALIGN): Likewise.
20386 (R_MN10300_NUM): Update.
20387
b36137f1
JM
203882012-08-08 Joseph Myers <joseph@codesourcery.com>
20389
20390 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20391 Remove.
20392
cdd915fd
RM
203932012-08-08 Roland McGrath <roland@hack.frob.com>
20394
a2433aac
RM
20395 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20396
cdd915fd
RM
20397 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20398 sysdeps/unix -> sysdeps/posix move.
20399 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20400
bf9b740a
AM
204012012-08-07 Allan McRae <allan@archlinux.org>
20402
20403 [BZ #14303]
20404 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20405 (SUNOS_CPP): Likewise.
20406 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20407 not found.
20408 (open_input): Call CPP using execvp.
20409
93df14ee
JM
204102012-08-07 Joseph Myers <joseph@codesourcery.com>
20411
20412 * sysdeps/unix/sysv/linux/kernel-features.h
20413 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20414 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20415 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20416 (__ASSUME_WAITID_SYSCALL): Likewise.
20417 * sysdeps/unix/sysv/linux/dl-execstack.c
20418 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20419 code unconditional.
20420 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20421 conditional code.
20422 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20423 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20424 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20425 code.
20426 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20427 unconditional.
20428 [__ASSUME_WAITID_SYSCALL]: Likewise.
20429 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20430
d34689de
RM
204312012-08-07 Roland McGrath <roland@hack.frob.com>
20432
a281decc
RM
20433 * sysdeps/unix/closedir.c: Renamed to ...
20434 * sysdeps/posix/closedir.c: ... here.
20435 * sysdeps/unix/dirfd.c: Renamed to ...
20436 * sysdeps/posix/dirfd.c: ... here.
20437 * sysdeps/unix/dirstream.h: Renamed to ...
20438 * sysdeps/posix/dirstream.h: ... here.
20439 * sysdeps/unix/fdopendir.c: Renamed to ...
20440 * sysdeps/posix/fdopendir.c: ... here.
20441 * sysdeps/unix/opendir.c: Renamed to ...
20442 * sysdeps/posix/opendir.c: ... here.
20443 * sysdeps/unix/readdir.c: Renamed to ...
20444 * sysdeps/posix/readdir.c: ... here.
20445 * sysdeps/unix/readdir_r.c: Renamed to ...
20446 * sysdeps/posix/readdir_r.c: ... here.
20447 * sysdeps/unix/rewinddir.c: Renamed to ...
20448 * sysdeps/posix/rewinddir.c: ... here.
20449 * sysdeps/unix/seekdir.c: Renamed to ...
20450 * sysdeps/posix/seekdir.c: ... here.
20451 * sysdeps/unix/telldir.c: Renamed to ...
20452 * sysdeps/posix/telldir.c: ... here.
20453 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20454 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20455 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20456 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20457
22895b47
RM
20458 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20459 * bits/fcntl.h: ... here.
20460
707a53b6
RM
20461 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20462 not 0.
20463 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20464 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20465 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20466 (struct flock): Move l_start, l_len to the beginning.
20467 Use __pid_t for l_pid.
20468 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20469 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20470 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20471 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20472 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20473 [__USE_LARGEFILE64] (struct flock64): New type.
20474 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20475
f0bd3e25
RM
20476 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20477 * bits/dirent.h: ... here.
20478
d34689de
RM
20479 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20480 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20481
6dad2c06
JM
204822012-08-07 Joseph Myers <joseph@codesourcery.com>
20483
20484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20485 Change from 2.6.0 to 2.6.16.
20486 * sysdeps/unix/sysv/linux/configure: Regenerated.
20487 * sysdeps/unix/sysv/linux/kernel-features.h
20488 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20489 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20490 version.
20491 (__ASSUME_UTIMES): Likewise.
20492 (__ASSUME_CLONE_STOPPED): Remove.
20493 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20494 architectures, not kernel version.
20495 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20496 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20497 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20498 (__ASSUME_WAITID_SYSCALL): Likewise.
20499 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20500 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20501 * README: State 2.6.16 as minimum Linux kernel version. Do not
20502 refer to older versions.
20503
03af9520
RM
205042012-08-06 Roland McGrath <roland@hack.frob.com>
20505
8e49df1d
RM
20506 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20507 Define alphasort64 as an alias.
20508 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20509 Define versionsort64 as an alias.
20510 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20511 Define scandir64 as an alias.
20512 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20513 Define scandirat64 as an alias.
20514 * dirent/alphasort64.c (alphasort64):
20515 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20516 * dirent/versionsort64.c: Likewise.
20517 * dirent/scandir64.c: Likewise.
20518 * dirent/scandirat64.c: Likewise.
20519 * sysdeps/wordsize-64/alphasort.c: File removed.
20520 * sysdeps/wordsize-64/alphasort64.c: File removed.
20521 * sysdeps/wordsize-64/scandir.c: File removed.
20522 * sysdeps/wordsize-64/scandir64.c: File removed.
20523 * sysdeps/wordsize-64/scandirat.c: File removed.
20524 * sysdeps/wordsize-64/scandirat64.c: File removed.
20525 * sysdeps/wordsize-64/versionsort.c: File removed.
20526 * sysdeps/wordsize-64/versionsort64.c: File removed.
20527 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20528 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20529 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20530 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20531 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20532 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20533 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20534 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20535
20536 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20538 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20540 [defined __arch64__ || defined __sparcv9]
20541 (__INO_T_MATCHES_INO64_T): New macro.
20542 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20543 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20544 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20545 * sysdeps/unix/sysv/linux/bits/dirent.h
20546 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20547 (_DIRENT_MATCHES_DIRENT64): New macro.
20548
03af9520
RM
20549 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20550 Define lockf64 as an alias.
20551 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20552 Define fseeko64 as an alias.
20553 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20554 Define ftello64 as an alias.
20555 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20556 Define _IO_fgetpos64 and fgetpos64 as aliases.
20557 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20558 Define _IO_fsetpos64 and fsetpos64 as aliases.
20559 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20560 Conditionalize body on this.
20561 * libio/fseeko64.c: Likewise.
20562 * libio/ftello64.c: Likewise.
20563 * libio/iofgetpos64.c: Likewise.
20564 * libio/iofsetpos64.c: Likewise.
20565 * sysdeps/wordsize-64/lockf.c: File removed.
20566 * sysdeps/wordsize-64/lockf64.c: File removed.
20567 * sysdeps/wordsize-64/fseeko.c: File removed.
20568 * sysdeps/wordsize-64/fseeko64.c: File removed.
20569 * sysdeps/wordsize-64/ftello.c: File removed.
20570 * sysdeps/wordsize-64/ftello64.c: File removed.
20571 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20572 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20573 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20574 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20575 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20576 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20577 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20578 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20579 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20580 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20585
20586 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20588 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20590 [defined __arch64__ || defined __sparcv9]
20591 (__OFF_T_MATCHES_OFF64_T): New macro.
20592 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20593 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20595 (__OFF_T_MATCHES_OFF64_T): New macro.
20596
c5757acd
L
205972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20598
20599 * stdlib/secure-getenv.c (__secure_getenv): Replace
20600 GLIBC_2_16 with GLIBC_2_17.
20601
3a31811e
L
206022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20603
20604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20605 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20606
faa2bccb
DM
206072012-08-03 David S. Miller <davem@davemloft.net>
20608
20609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20610
85fe1997
JM
206112012-08-03 Joseph Myers <joseph@codesourcery.com>
20612
20613 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20614 Remove.
20615 (__ASSUME_CORRECT_SI_PID): Likewise.
20616 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20617 (__ASSUME_TMPFS_NAME): Likewise.
20618 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20619 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20620 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20621 (HAVE_AUX_SECURE): Make definition unconditional.
20622 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20623 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20624
4f75b7a0
RM
206252012-08-03 Roland McGrath <roland@hack.frob.com>
20626
20627 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20628 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20629 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20630 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20631 __eloop_threshold instead of SYMLOOP_MAX.
20632
20633 * sysdeps/generic/eloop-threshold.h: New file.
20634 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20635 of MAXSYMLINKS.
20636 * elf/chroot_canon.c (chroot_canon): Likewise.
20637
7aab07e4
JM
206382012-08-03 Joseph Myers <joseph@codesourcery.com>
20639
20640 [BZ #13717]
20641 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20642 Change to 2.6.0 everywhere.
20643 * sysdeps/unix/sysv/linux/configure: Regenerated.
20644 * sysdeps/unix/sysv/linux/kernel-features.h
20645 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20646 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20647 kernel versions.
20648 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20649 (__ASSUME_FUTEX_REQUEUE): Remove.
20650 (__ASSUME_STATFS64): Define unconditionally.
20651 (__ASSUME_AT_SECURE): Likewise.
20652 (__ASSUME_CORRECT_SI_PID): Likewise.
20653 (__ASSUME_TGKILL): Define without depending on kernel version for
20654 i386.
20655 (__ASSUME_UTIMES): Likewise.
20656 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20657 kernel version.
20658 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20659 (__ASSUME_TMPFS_NAME): Likewise.
20660 * README: Update reference to Linux kernel versions.
20661
b67e9372
MP
206622012-08-02 Marek Polacek <polacek@redhat.com>
20663
1f529f7d 20664 [BZ# 14150]
b67e9372
MP
20665 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20666 libc_cv_asm_type_prefix with %.
20667 * configure: Regenerated.
d2441631
RM
20668 * include/libc-symbols.h: Remove comment about
20669 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20670 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20671 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20672 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20673 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20674 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20675 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20676 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20677 * elf/tst-unique2mod1.c: Likewise.
20678 * elf/tst-unique1mod2.c: Likewise.
20679 * elf/tst-unique1mod1.c: Likewise.
20680 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20681 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20682 Replace ASM_TYPE_DIRECTIVE with .type.
20683 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20684 * sysdeps/i386/sysdep.h: Likewise.
20685 * sysdeps/x86_64/sysdep.h: Likewise.
20686 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20688 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20689 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20690 * sysdeps/powerpc/powerpc32/sysdep.h:
20691 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20692 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20693 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20694 * sysdeps/i386/fpu/e_powf.S: Likewise.
20695 * sysdeps/i386/fpu/e_expl.S: Likewise.
20696 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20697 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20698 * sysdeps/i386/fpu/e_pow.S: Likewise.
20699 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20700 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20701 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20702 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20703 * sysdeps/i386/fpu/e_log2.S: Likewise.
20704 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20705 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20706 * sysdeps/i386/fpu/e_powl.S: Likewise.
20707 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20708 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20709 * sysdeps/i386/fpu/e_logl.S: Likewise.
20710 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20711 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20712 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20713 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20715 * sysdeps/i386/fpu/e_log.S: Likewise.
20716 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20717 * sysdeps/i386/fpu/e_logf.S: Likewise.
20718 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20719 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20720 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20721 * sysdeps/i386/fpu/e_log10.S: Likewise.
20722 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20723 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20724 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20725 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20726 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20727 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20728 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20729 * sysdeps/i386/i686/strtok.S: Likewise.
20730 * sysdeps/i386/i386-mcount.S: Likewise.
20731 * sysdeps/i386/strtok.S: Likewise.
20732 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20736 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20737 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20738 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20739 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20740 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20741 * sysdeps/x86_64/_mcount.S: Likewise.
20742 * sysdeps/x86_64/strtok.S: Likewise.
20743 * sysdeps/sh/_mcount.S: Likewise.
20744
2747bf9a
RM
207452012-08-01 Roland McGrath <roland@hack.frob.com>
20746
20747 * libio/iofopen.c: Include <fcntl.h>.
20748 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20749 (_IO_fopen64, fopen64): Define as aliases.
20750 * libio/iofopen64.c: Include <fcntl.h>.
20751 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20752 Conditionalize body on this.
20753 * sysdeps/wordsize-64/iofopen.c: File removed.
20754 * sysdeps/wordsize-64/iofopen64.c: File removed.
20755
3fb791b8
MP
207562012-08-01 Marek Polacek <polacek@redhat.com>
20757
20758 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20759 Use dlfcn directly instead of a variable.
20760 (binfmt-subdir): Do not define.
20761 (dlfcn): Likewise.
20762
a9f1039f
JM
207632012-08-01 Joseph Myers <joseph@codesourcery.com>
20764
23bddc06
JM
20765 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20766 Remove all definitions.
20767 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20768 <kernel-features.h>.
20769 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20770 (miss_F_GETOWN_EX): Remove all definitions.
20771 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20772 macro definition.
20773 [!__ASSUME_FCNTL64]: Remove conditional code.
20774 [__ASSUME_FCNTL64]: Make code unconditional.
20775 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20776 <kernel-features.h>.
20777 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20778 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20779 (lockf64) [__NR_fcntl64]: Make code unconditional.
20780 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20781
a9f1039f
JM
20782 * sysdeps/unix/sysv/linux/kernel-features.h
20783 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20784 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20785 Make code unconditional.
20786 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20787 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20789 [__NR_vfork]: Make code unconditional.
20790 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20791 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20793 [__NR_vfork]: Make code unconditional.
20794 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20795 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20796
09c0ee5f
RM
207972012-08-01 Roland McGrath <roland@hack.frob.com>
20798
48aec5b9
RM
20799 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20800 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20801
cd97c966
RM
20802 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20803 Define mkstemp64 as an alias.
3f55550c
RM
20804 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20805 Define mkstemps64 as an alias.
cd97c966
RM
20806 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20807 Define mkostemp64 as an alias.
b8625cfc
RM
20808 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20809 Define mkostemps64 as an alias.
cd97c966
RM
20810 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20811 Conditionalize body on this.
20812 * misc/mkostemp64.c: Likewise.
b8625cfc 20813 * misc/mkostemps64.c: Likewise.
3f55550c 20814 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20815 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20816 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20817 * sysdeps/wordsize-64/mkostemp.c: File removed.
20818 * sysdeps/wordsize-64/mkstemp.c: File removed.
20819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20820 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20821 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20822 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20823
09c0ee5f
RM
20824 [BZ #14138]
20825 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20826 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20827 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20828 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20829
20830 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20831 compat_symbol macros from <shlib-compat.h> rather than the underlying
20832 default_symbol_version and symbol_version macros, so that DEFAULT
20833 lines in shlib-versions are respected.
20834 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20835
7e66ee51
FW
208362012-08-01 Florian Weimer <fweimer@redhat.com>
20837
20838 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20839 Declare with warn_unused_result.
20840 (setgid, setregid, setegid, setresgid): Likewise.
20841 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20842 Likewise.
20843 * WUR-REPORT: Remove set*id functions.
20844
d2a54255
PT
208452012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20846
20847 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20848
7ecdb005
RM
208492012-07-31 Roland McGrath <roland@hack.frob.com>
20850
b4180a5e 20851 [BZ #10191]
789bd351
RM
20852 * include/sys/socket.h (__libc_accept, __libc_accept4):
20853 Add attribute_hidden.
20854 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20855
40ce302d
RM
20856 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20857 use of PTR_MANGLE.
20858 * inet/getnetgrent_r.c (setup): Likewise.
20859
7ecdb005
RM
20860 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20861
e2eabb2c
DM
208622012-07-31 David S. Miller <davem@davemloft.net>
20863
20864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20865
d0419dbf
JM
208662012-07-31 Joseph Myers <joseph@codesourcery.com>
20867
20868 [BZ #13629]
20869 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20870 value between 1.0 and 2.0 and smaller part has absolute value less
20871 than 1.0.
20872 * math/s_clog10.c (__clog10): Likewise.
20873 * math/s_clog10f.c (__clog10f): Likewise.
20874 * math/s_clog10l.c (__clog10l): Likewise.
20875 * math/s_clogf.c (__clogf): Likewise.
20876 * math/s_clogl.c (__clogl): Likewise.
20877 * math/libm-test.inc (clog_test): Add more tests.
20878 (clog10_test): Likewise.
20879 * sysdeps/i386/fpu/libm-test-ulps: Update.
20880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20881
2bc13872
FW
208822012-07-31 Florian Weimer <fweimer@redhat.com>
20883
20884 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20885 Exit with zero in case no suitable GID is found, and write a
20886 message to standard error.
20887
bea9b193
RM
208882012-07-30 Roland McGrath <roland@hack.frob.com>
20889
20890 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20891 rather than to 1.
20892 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20893 (MAXPATHLEN): Removed.
20894 (NOGROUP, NODEV): New macros.
20895 (setbit, clrbit, isset, isclr): New macros.
20896 (howmany, roundup, powerof2): New macros.
20897 (DEV_BSIZE): New macro.
20898
20899 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20900 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20901
20902 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20903 definition on [!__NO_LONG_DOUBLE_MATH].
20904
20905 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20906 PTR_MANGLE and PTR_DEMANGLE.
20907
20908 * socket/accept4.c (accept4): Rename to __libc_accept4.
20909 Define accept4 as a weak alias.
20910
20911 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20912 on [_DIRENT_HAVE_D_TYPE].
20913 * io/ftw.c (ftw_dir): Likewise.
20914
20915 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20916
20917 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20918
20919 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20920 Use the BSD numbers rather than the arbitrary ones we had.
20921 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20922 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20923 (SIGXCPU, SIGXFSZ): New macros.
20924 (_NSIG): Now 32.
20925
20926 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20927 initializer on [_LIBC_REENTRANT].
20928
20929 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20930 definitions inside [_POSIX_MAPPED_FILES].
20931
20932 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20933
20934 * dirent/opendir.c: Include <fcntl.h>.
20935
20936 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20937 (__libc_getspecific): Likewise.
20938 (__libc_key_create): Likewise.
20939
20940 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20941 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20942 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20943 (tmpfile64): Define as alias.
20944 * sysdeps/wordsize-64/tmpfile.c: File removed.
20945 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20946 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20947 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20948
20949 * stdio-common/vfscanf.c: Include <stdbool.h>.
20950 * nss/makedb.c: Likewise.
20951 * stdio-common/_i18n_number.h: Likewise.
20952 * argp/argp-help.c: Likewise.
20953 * posix/wordexp.c: Likewise.
20954 * sysdeps/posix/spawni.c: Likewise.
20955 * nss/nss_files/files-initgroups.c: Likewise.
20956 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20957 * nss/nss_files/files-initgroups.c: Likewise.
20958 * nss/nss_db/db-netgrp.c: Likewise.
20959 * nss/nss_db/db-initgroups.c: Likewise.
20960 * io/fchmodat.c: Include <sys/stat.h>.
20961
20962 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20963 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20964
20965 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20966 [HAVE_MMAP].
20967
20968 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20969 Add multiple inclusion protection.
20970
e5abc686
DM
209712012-07-27 David S. Miller <davem@davemloft.net>
20972
20973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20974
815e6fa3
GB
209752012-07-27 Gary Benson <gbenson@redhat.com>
20976
20977 [BZ #14298]
20978 * elf/rtld.c: Include <stap-probe.h>.
20979 (dl_main): Added static probes "init_start" and "init_complete".
20980 * elf/dl-load.c: Include <stap-probe.h>.
20981 (lose): Take new parameter "nsid".
20982 Added static probe "map_failed".
20983 (_dl_map_object_from_fd): Pass namespace id to lose.
20984 Added static probe "map_start".
20985 (open_verify): Pass namespace id to lose.
20986 * elf/dl-open.c: Include <stap-probe.h>.
20987 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20988 and "reloc_complete".
20989 * elf/dl-close.c: Include <stap-probe.h>.
20990 (_dl_close_worker): Added static probes "unmap_start" and
20991 "unmap_complete".
20992 * elf/rtld-debugger-interface.txt: New file documenting the above.
20993
9f98c16c
RM
209942012-07-26 Roland McGrath <roland@hack.frob.com>
20995
20996 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20997 rather than a string variable.
20998 * sunrpc/rpc_main.c (h_output): Likewise.
20999 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21000
f3c22df3
PT
210012012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21002
21003 * inet/check_native.c: New file.
21004
3129cfc6
JM
210052012-07-26 Joseph Myers <joseph@codesourcery.com>
21006
da865e95
JM
21007 [BZ #13629]
21008 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21009 if larger part has absolute value 1.0.
21010 * math/s_clog10.c (__clog10): Likewise.
21011 * math/s_clog10f.c (__clog10f): Likewise.
21012 * math/s_clog10l.c (__clog10l): Likewise.
21013 * math/s_clogf.c (__clogf): Likewise.
21014 * math/s_clogl.c (__clogl): Likewise.
21015 * math/libm-test.inc (clog_test): Add more tests.
21016 (clog10_test): Likewise.
21017 * sysdeps/i386/fpu/libm-test-ulps: Update.
21018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21019
3129cfc6
JM
21020 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21021 (pltexit): Likewise.
21022 (La_regs): Likewise.
21023 (La_retval): Likewise.
21024 (int_retval): Likewise.
21025 Update #error for removed macros to refer only to definitions in
21026 tst-audit.h.
21027 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21028 macro.
21029 (pltexit): Likewise.
21030 (La_regs): Likewise.
21031 (La_retval): Likewise.
21032 (int_retval): Likewise.
21033 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21034 macro.
21035 (pltexit): Likewise.
21036 (La_regs): Likewise.
21037 (La_retval): Likewise.
21038 (int_retval): Likewise.
21039 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21040 macro.
21041 (pltexit): Likewise.
21042 (La_regs): Likewise.
21043 (La_retval): Likewise.
21044 (int_retval): Likewise.
21045 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21046 macro.
21047 (pltexit): Likewise.
21048 (La_regs): Likewise.
21049 (La_retval): Likewise.
21050 (int_retval): Likewise.
21051 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21052 macro.
21053 (pltexit): Likewise.
21054 (La_regs): Likewise.
21055 (La_retval): Likewise.
21056 (int_retval): Likewise.
21057 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21058 macro.
21059 (pltexit): Likewise.
21060 (La_regs): Likewise.
21061 (La_retval): Likewise.
21062 (int_retval): Likewise.
21063 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21064 macro definitions in tst-audit.h.
21065 * sysdeps/i386/tst-audit.h: New file.
21066 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21067 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21068 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21069 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21070 * sysdeps/sh/tst-audit.h: Likewise.
21071 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21072 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21073 * sysdeps/x86_64/tst-audit.h: Likewise.
21074
bfc07087
AJ
210752012-07-26 Andreas Jaeger <aj@suse.de>
21076
b1b2aaf8
AJ
21077 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21078 ptrace.
21079
21080 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21081 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21082 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21083 PTRACE_O_MASK.
21084 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21085 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21086 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21087
bfc07087
AJ
21088 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21089 value.
21090
21091 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21092 _sigsys.
21093 (si_call_addr, si_syscall, si_arch): Define new macro.
21094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21095 _sigsys.
21096 (si_call_addr, si_syscall, si_arch): Define new marcro.
21097 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21098 _sigsys.
21099 (si_call_addr, si_syscall, si_arch): Define new macro.
21100 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21101 _sigsys.
21102 (si_call_addr, si_syscall, si_arch): Define new macro.
21103
89b4b02f
JM
211042012-07-25 Joseph Myers <joseph@codesourcery.com>
21105
21106 [BZ #13717]
21107 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21108 Change to 2.4.21 where previously 2.4.1.
21109 * sysdeps/unix/sysv/linux/configure: Regenerated.
21110 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21111 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21112 Linux kernel version.
21113 (__ASSUME_STD_AUXV): Remove.
21114 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21115 kernel version.
21116 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21117 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21118 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21119 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21120 (__ASSUME_NETLINK_SUPPORT): Likewise.
21121 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21122 (__no_netlink_support): Remove conditional definition.
21123 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21124 Remove.
21125 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21126 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21127 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21128 (if_nameindex_ioctl): Remove.
21129 (if_nameindex_netlink): Do not handle __no_netlink_support.
21130 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21131 code.
21132 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21133 Remove conditional code.
21134 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21135 code.
21136 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21137 unconditional.
21138 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21139 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21140 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21141 Remove.
21142 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21143 [!__ASSUME_STD_AUXV]: Remove conditional code.
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21145 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21146 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21148 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21149 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21150 code.
21151 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21153 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21154 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21155 conditional code.
21156 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21158 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21159 code.
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21161 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21162 conditional code.
21163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21164 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21165 code unconditional.
21166 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21167 conditional code.
21168 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21169 unconditional.
21170 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21171 conditional code.
21172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21173 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21174 unconditional.
21175 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21176 conditional code.
21177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21178 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21179 code unconditional.
21180 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21181 conditional code.
21182 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21183 unconditional.
21184 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21185 conditional code.
21186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21187 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21188 code unconditional.
21189 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21190 conditional code.
21191 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21192 unconditional.
21193 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21194 conditional code.
21195
842a39cd
AS
211962012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21197
21198 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21199 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21200 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21201 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21202 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21203 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21204 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21205 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21206 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21207 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21208 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21209 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21210 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21211 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21212 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21213 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21214 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21215 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21216 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21218 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21219 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21220 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21221
84b3fd84
FW
212222012-07-25 Florian Weimer <fweimer@redhat.com>
21223
21224 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21225 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21226 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21227 Introduce __libc_secure_getenv.
0c7936d5
FW
21228 * stdlib/Versions (2.17): Add secure_getenv
21229 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21230 * stdlib/secure-getenv.c: Rename __secure_getenv to
21231 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21232 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21233 * stdlib/tst-secure-getenv.c: New.
21234 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21235 * manual/startup.texi (Environment Access): Document
21236 secure_getenv.
84b3fd84
FW
21237 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21238 __libc_secure_getenv.
21239 * inet/ruserpass.c (ruserpass): Likewise.
21240 * malloc/mtrace.c (mtrace): Likewise.
21241 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21242 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21243 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21244 * sysdeps/posix/tempname.c: Likewise. Evaluate
21245 HAVE_SECURE_GETENV.
21246 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21247 __secure_getenv to __libc_secure_getenv.
84b3fd84 21248 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21250 Likewise.
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21252 Likewise.
21253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21260
56e49b71
JM
212612012-07-25 Joseph Myers <joseph@codesourcery.com>
21262
21263 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21264 (struct La_i86_retval): Likewise.
21265 (struct La_x86_64_regs): Likewise.
21266 (struct La_x86_64_retval): Likewise.
21267 (struct La_x32_regs): Likewise.
21268 (struct La_x32_retval): Likewise.
21269 (struct La_ppc32_regs): Likewise.
21270 (struct La_ppc32_retval): Likewise.
21271 (struct La_ppc64_regs): Likewise.
21272 (struct La_ppc64_retval): Likewise.
21273 (struct La_sh_regs): Likewise.
21274 (struct La_sh_retval): Likewise.
21275 (struct La_s390_32_regs): Likewise.
21276 (struct La_s390_32_retval): Likewise.
21277 (struct La_s390_64_regs): Likewise.
21278 (struct La_s390_64_retval): Likewise.
21279 (struct La_sparc32_regs): Likewise.
21280 (struct La_sparc32_retval): Likewise.
21281 (struct La_sparc64_regs): Likewise.
21282 (struct La_sparc64_retval): Likewise.
21283 (struct audit_ifaces): Remove architecture-specific pltenter and
21284 pltexit members.
21285 * sysdeps/i386/ldsodefs.h: New file.
21286 * sysdeps/powerpc/ldsodefs.h: Likewise.
21287 * sysdeps/s390/ldsodefs.h: Likewise.
21288 * sysdeps/sh/ldsodefs.h: Likewise.
21289 * sysdeps/sparc/ldsodefs.h: Likewise.
21290 * sysdeps/x86_64/ldsodefs.h: Likewise.
21291
354691b7
MP
212922012-07-25 Marek Polacek <polacek@redhat.com>
21293
21294 [BZ #6808]
21295 * math/libm-test.inc (yn_test): Add another test.
21296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21297 to ERANGE when the result is +-Inf.
21298 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21299 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21300 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21301 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21302
bf9e2071
JM
213032012-07-24 Joseph Myers <joseph@codesourcery.com>
21304
21305 * conform/data/time.h-data (NULL): Use macro-constant. Require
21306 equal to 0.
21307 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21308 clock_t.
21309 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21310
57633811
TS
213112012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21312
21313 * configure.in <sysdeps resolving>: Correct printing
21314 Implies_before.
21315 * configure: Regenerate.
21316
c23c33b0
TS
213172012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21318
21319 * math/w_ilogb.c: Include <limits.h>.
21320 * math/w_ilogbl.c: Likewise.
21321
b5982523
JM
213222012-07-20 Joseph Myers <joseph@codesourcery.com>
21323
21324 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21325 va_copy. Document allowing for unavailable va_copy only as
21326 pre-C99 compatibility.
21327 * manual/string.texi (Copying and Concatenation): Use va_copy
21328 instead of __va_copy in concat example.
21329
ac4ea442
PT
213302012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21331
21332 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21333 (__sendto): Use create_address_port. Initialize APORT and deallocate
21334 it if not null.
21335
f98eafbd
PT
21336 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21337 with O_NOLINK passed to __file_name_lookup.
21338
898c7aab
PT
21339 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21340 with O_NOLINK passed to __file_name_lookup.
21341
0ced335a
PT
21342 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21343 negative N or less than NGIDS.
21344
b3404dbd
PT
21345 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21346 type to string_t. Set ERANGE as errno and return it if NAME is not big
21347 enough. Use memcpy instead of strncpy.
21348
0f48659e
JM
213492012-07-20 Joseph Myers <joseph@codesourcery.com>
21350
21351 * elf/Makefile (check-data): Remove.
21352 (localplt.data): New vpath directive.
21353 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21354 instead of $(check-data).
21355 * scripts/data/localplt-generic.data: Move to ...
21356 * sysdeps/generic/localplt.data: ... here.
21357 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21358 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21359 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21361 ... here.
21362 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21364 ... here.
21365 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21367 ... here.
21368 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21370 ... here.
21371 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21373 ... here.
21374 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21376 ... here.
21377
d37cbdaa
AZ
213782012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21379
21380 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21381 PPC32 and PPC64 files.
21382 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21383 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21384
46f85fc2
AK
213852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21386
21387 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21388 __makecontext_ret to ...
21389 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21390 ... here and call exit if uc_link is NULL. New file.
21391 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21392 __makecontext_ret.S.
21393 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21394 __makecontext_ret to ...
21395 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21396 ... here and call exit if uc_link is NULL. New file.
21397 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21398 __makecontext_ret.S.
21399
08f43f9b
AK
214002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21401
21402 * elf/elf.h (R_390_IRELATIVE): New definition.
21403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21404 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21405 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21406 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21407 (elf_machine_lazy_rel): Likewise.
21408 * sysdeps/s390/dl-irel.h: New file.
21409 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21410 * sysdeps/s390/s390-64/memset.S: New asm code.
21411 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21412 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21413 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21414 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21415 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21416 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21417 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21418 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21419 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21420 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21421 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21422 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21423 * sysdeps/s390/s390-32/memset.S: New asm code.
21424 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21425
3b05db33
MP
214262012-07-17 Marek Polacek <polacek@redhat.com>
21427
21428 [BZ #14349]
21429 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21430 * sysdeps/s390/s390-64/configure.in: Likewise.
21431 * sysdeps/sparc/configure.in: Likewise.
21432 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21433 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21434 * sysdeps/i386/configure.in: Likewise.
21435 * sysdeps/x86_64/configure.in: Likewise.
21436 * sysdeps/sh/configure.in: Likewise.
21437 * sysdeps/s390/s390-32/configure: Regenerated.
21438 * sysdeps/s390/s390-64/configure: Likewise.
21439 * sysdeps/x86_64/configure: Likewise.
21440 * sysdeps/sh/configure: Likewise.
21441 * sysdeps/powerpc/powerpc64/configure: Likewise.
21442 * sysdeps/powerpc/powerpc32/configure: Likewise.
21443 * sysdeps/sparc/configure: Likwise.
21444 * sysdeps/i386/configure: Likewise.
21445
a66877c6
MP
21446 * elf/dl-open.c: Comment fixes.
21447
cfc82fd8
JM
214482012-07-17 Joseph Myers <joseph@codesourcery.com>
21449
bd29910a
JM
21450 * Makefile [CXX] (check-data): Remove.
21451 [CXX] (c++-types.data): New vpath directive.
21452 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21453 vpath. Do not allow for C++ type data being missing.
21454 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21455 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21456 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21457 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21458 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21459 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21460 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21462 ... here.
21463 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21465 ... here.
21466 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21468 ... here.
21469 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21471 ... here.
21472 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21474 ... here.
21475 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21477 ... here.
21478 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21480 ... here.
21481 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21483
cfc82fd8
JM
21484 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21485 definitions to architecture-specific files.
21486 (TLS_IE): Likewise.
21487 (TLS_LD): Likewise.
21488 (TLS_GD): Likewise.
21489 * sysdeps/i386/tls-macros.h: New file.
21490 * sysdeps/powerpc/tls-macros.h: Likewise.
21491 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21492 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21493 * sysdeps/sh/tls-macros.h: Likewise.
21494 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21495 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21496 * sysdeps/x86_64/tls-macros.h: Likewise.
21497
f7db3170
TS
214982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21499
07cbfc23
TS
21500 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21501 zero value for regular exit case.
21502
f7db3170
TS
21503 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21504 (__start_context): Preserve zero value for regular exit case.
21505
dc97c227
TS
215062012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21507 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21508
21509 * manual/setjmp.texi (setcontext): Clarify normal process
21510 termination when uc_link is the null pointer.
21511 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21512 exit call.
21513
d0cd7d02
AS
215142012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21515
21516 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21517 preprocessor. Test for each exception mask separately.
21518
dd318934
AJ
215192012-07-16 Andreas Jaeger <aj@suse.de>
21520
21521 * po/ru.po: Update from translation team.
21522
8048311a
JM
215232012-07-15 Joseph Myers <joseph@codesourcery.com>
21524
21525 * conform/data/string.h-data (NULL): Use macro-constant. Require
21526 equal to 0.
21527 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21528 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21529 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21530 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21532
b637d46e
AJ
215332012-07-13 Andreas Jaeger <aj@suse.de>
21534
21535 * po/fr.po: Update from translation team.
21536
541428fe
MP
215372012-07-12 Marek Polacek <polacek@redhat.com>
21538
21539 [BZ #14173]
21540 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21541 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21542 loop condition.
21543
ec332e94
JM
215442012-07-12 Joseph Myers <joseph@codesourcery.com>
21545
21546 [BZ #13717]
21547 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21548 Change to 2.4.1 where previously 2.4.0.
21549 * sysdeps/unix/sysv/linux/configure: Regenerated.
21550 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21551 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21552 version.
21553 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21554 (__ASSUME_AT_CLKTCK): Remove.
21555 (__ASSUME_AT_PAGESIZE): Likewise.
21556 (__ASSUME_AT_XID): Likewise.
21557 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21558 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21559 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21560 unconditionally.
21561 (HAVE_AUX_PAGESIZE): Likewise.
21562 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21563 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21564 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21565
7b6e99be
JB
215662012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21567
21568 [BZ #14307]
21569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21570 the temporary buffer used to invoke __gethostbyname2_r,
21571 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21572 host_data / struct gaih_addrtuple.
21573 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21574 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21575 header file nss/nsswitch.h.
21576 * nss/nsswitch.h (global scope): Add definition of implementation
21577 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21578 resolv/nss_dns/dns-host.c).
21579
608404eb
AJ
215802012-07-11 Andreas Jaeger <aj@suse.de>
21581
21582 * po/fr.po: Update from translation team.
21583
71220aca
AJ
21584 * po/sv.po: Update from translation team
21585 * po/fr.po: Another update from translation team.
21586
28cfe843
AZ
215872012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21588
21589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21590 for subnormals or multiply small sinh result by itself.
21591 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21593
6b90f981
DM
215942012-07-11 David S. Miller <davem@davemloft.net>
21595
21596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21597
c6825772
AS
215982012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21599
21600 [BZ #14347]
21601 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21602 (INTERNAL_MARK): Shift it here.
21603
7b8e0d49
MP
216042012-07-10 Marek Polacek <polacek@redhat.com>
21605
21606 [BZ #14151]
21607 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21608 libc_cv_asm_global_directive with .globl.
21609 * configure: Regenerated.
21610 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21611 with .globl.
21612 * sysdeps/i386/configure: Regenerated.
21613 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21614 with .globl.
21615 * sysdeps/x86_64/configure: Regenerated.
21616 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21617 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21618 * elf/tst-unique2mod2.c: Likewise.
21619 * elf/tst-unique2mod1.c: Likewise.
21620 * elf/tst-unique1mod2.c: Likewise.
21621 * elf/tst-unique1mod1.c: Likewise.
21622 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21623 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21624 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21625 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21626 * sysdeps/mach/sysdep.h: Likewise.
21627 * sysdeps/i386/sysdep.h: Likewise.
21628 * sysdeps/i386/i386-mcount.S: Likewise.
21629 * sysdeps/x86_64/_mcount.S: Likewise.
21630 * sysdeps/x86_64/sysdep.h: Likewise.
21631 * sysdeps/sh/_mcount.S: Likewise.
21632 * sysdeps/sh/sysdep.h: Likewise.
21633 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21634 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21635 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21636 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21637 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21638 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21639 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21640 * locale/localeinfo.h: Likewise.
21641 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21642 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21643
6c55cda3
RM
216442012-07-09 Roland McGrath <roland@hack.frob.com>
21645
21646 [BZ #14336]
21647 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21648 system".
21649 * manual/message.texi (The Uniforum approach): Likewise.
21650 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21651 (glibc iconv Implementation): Likewise.
21652
638a572e
JM
216532012-07-09 Joseph Myers <joseph@codesourcery.com>
21654
21655 [BZ #14337]
21656 * math/s_clog.c (__clog): Avoid scaling a value down where that
21657 could result in underflow.
21658 * math/s_clog10.c (__clog10): Likewise.
21659 * math/s_clog10f.c (__clog10f): Likewise.
21660 * math/s_clog10l.c (__clog10l): Likewise.
21661 * math/s_clogf.c (__clogf): Likewise.
21662 * math/s_clogl.c (__clogl): Likewise.
21663 * math/libm-test.inc (clog_test): Add more tests.
21664 (clog10_test): Likewise.
21665 * sysdeps/i386/fpu/libm-test-ulps: Update.
21666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21667
261f4859
AS
216682012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21669
0abaf3e4
AS
21670 [BZ #14283]
21671 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21672 by 7 not 8 to examine high bit of fractional part.
21673
261f4859
AS
21674 [BZ #14042]
21675 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21676 for call to __mcount_internal.
21677 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21678 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21679 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21680
f17ac40d
JM
216812012-07-06 Joseph Myers <joseph@codesourcery.com>
21682
9ad63c23
JM
21683 [BZ #14154]
21684 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21685 approximation for values within 0x1p-13f of an odd multiple of
21686 pi/4.
21687 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21688 exception. Add more tests.
21689 * sysdeps/i386/fpu/libm-test-ulps: Update.
21690
f17ac40d
JM
21691 [BZ #6778]
21692 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21693 inputs and return -1 for them. Do not check for +Inf in case not
21694 reachable for +Inf.
21695 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21696 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21697 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21698 and return -1 for them. Do not check for +Inf in case not
21699 reachable for +Inf.
21700 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21701 define.
21702 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21703 and return -1 for them. Do not check for +Inf in case not
21704 reachable for +Inf.
21705 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21706 spurious underflow.
21707 * sysdeps/i386/fpu/libm-test-ulps: Update.
21708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21709
fb21f89b
MF
217102012-07-06 Mike Frysinger <vapier@gentoo.org>
21711
21712 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21713
cdfe2c5e
JM
217142012-07-05 Joseph Myers <joseph@codesourcery.com>
21715
21716 [BZ #14157]
21717 [BZ #14331]
21718 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21719 could result in spurious underflow. Scale down values above
21720 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21721 * math/s_csqrtf.c (__csqrtf): Likewise.
21722 * math/s_csqrtl.c (__csqrtl): Likewise.
21723 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21724 spurious underflow.
21725 * sysdeps/i386/fpu/libm-test-ulps: Update.
21726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21727
70d35b67
AS
217282012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21729
704bc459
AS
21730 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21731 xopen-msg.sed.
21732 * catgets/xopen-msg.awk: New file.
21733 * catgets/xopen-msg.sed: Removed.
21734
70d35b67
AS
21735 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21736 po2text.sed.
21737 * intl/po2test.awk: New file.
21738 * intl/po2test.sed: Removed.
21739
ca61cf32
JM
217402012-07-04 Joseph Myers <joseph@codesourcery.com>
21741
21742 [BZ #14328]
21743 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21744 or multiply small sinh result by itself.
21745 * math/s_ctanf.c (__ctanf): Likewise.
21746 * math/s_ctanh.c (__ctanh): Likewise.
21747 * math/s_ctanhf.c (__ctanhf): Likewise.
21748 * math/s_ctanhl.c (__ctanhl): Likewise.
21749 * math/s_ctanl.c (__ctanl): Likewise.
21750 * math/libm-test.inc (ctan_test_tonearest): New function.
21751 (ctan_test_towardzero): Likewise.
21752 (ctan_test_downward): Likewise.
21753 (ctan_test_upward): Likewise.
21754 (ctanh_test_tonearest): Likewise.
21755 (ctanh_test_towardzero): Likewise.
21756 (ctanh_test_downward): Likewise.
21757 (ctanh_test_upward): Likewise.
21758 (main): Call these new functions.
21759 * sysdeps/i386/fpu/libm-test-ulps: Update.
21760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21761
ca48a46a
MF
217622012-07-03 Mike Frysinger <vapier@gentoo.org>
21763
21764 * .gitignore: Delete /ports entry.
21765
9d63d37d
AJ
217662012-07-03 Andreas Jaeger <aj@suse.de>
21767
21768 * po/bg.po: Update from translation team.
21769 * po/cs.po: Likewise.
21770 * po/de.po: Likewise.
21771 * po/hr.po: Likewise.
21772 * po/nl.pl: Likewise.
21773 * po/pl.po: Likewise.
21774 * po/vi.po: Likewise.
21775
370ca3d2
JM
217762012-07-03 Joseph Myers <joseph@codesourcery.com>
21777
95f5a9a8
JM
21778 * Makeconfig [!+link] (+link-before-libc): New variable.
21779 [!+link] (+link-after-libc): Likewise.
21780 [!+link] (+link-tests): Likewise.
21781 [!+link] (+link): Define in terms of $(+link-before-libc) and
21782 $(+link-after-libc).
21783 [!+link-static] (+link-static-before-libc): New variable.
21784 [!+link-static] (+link-static-after-libc): Likewise.
21785 [!+link-static] (+link-static-tests): Likewise.
21786 [!+link-static] (+link-static): Define in terms of
21787 $(+link-static-before-libc) and $(+link-static-after-libc).
21788 [build-shared] (link-libc-before-gnulib): New variable.
21789 [build-shared] (link-libc-tests): Likewise.
21790 [build-shared] (link-libc): Define in terms of
21791 $(link-libc-before-gnulib).
21792 [!build-shared] (link-libc-tests): New variable.
21793 (link-libc-static-tests): New variable.
21794 [!gnulib] (gnulib-arch): New variable.
21795 [!gnulib] (gnulib-tests): Likewise.
21796 [!gnulib] (static-gnulib-arch): Likewise.
21797 [!gnulib] (static-gnulib-tests): Likewise.
21798 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21799 Define with "=" instead of ":=".
21800 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21801 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21802 * Rules (binaries-all-notests): New variable.
21803 (binaries-all-tests): Likewise.
21804 (binaries-static-notests): Likewise.
21805 (binaries-static-tests): Likewise.
21806 (binaries-all): Define using $(binaries-all-notests) and
21807 $(binaries-all-tests).
21808 (binaries-static): Define using $(binaries-static-notests) and
21809 $(binaries-static-tests).
21810 (binaries-shared-tests): New variable.
21811 (binaries-shared-notests): Likewise.
21812 (binaries-shared): Remove variable.
21813 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21814 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21815 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21816 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21817 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21818 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21819 * elf/Makefile (sln-modules): New variable.
21820 (extra-objs): Add $(sln-modules:=.o).
21821 (ldconfig-modules): Add static-stubs.
21822 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21823 * elf/static-stubs.c: New file.
21824
7a845b2c
JM
21825 [BZ #14283]
21826 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21827 by 7 not 8 to examine high bit of fractional part. Use volatile
21828 variables when splitting into final array of floats if
21829 __FLT_EVAL_METHOD__ != 0.
21830 * math/libm-test.inc (cos_test): Add another test.
21831 (sin_test): Likewise.
21832 * sysdeps/i386/fpu/libm-test-ulps: Update.
21833
e2283f38
JM
21834 [BZ #14273]
21835 * math/libm-test.inc (cosh_test): Add more tests.
21836
370ca3d2
JM
21837 * version.h (RELEASE): Set to "development".
21838 (VERSION): Set to "2.16.90".
21839
ee9247c3
CD
218402012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21841
21842 * NEWS: Update copyright. Remove last-updated date.
21843 Mention math library bug fixes and timezone data changes.
21844 * README: Mention GNU/Hurd, x32, and HPPA support status.
21845
4648c381
TS
218462012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21847
21848 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21849
aac78a43
AJ
218502012-06-27 Andreas Jaeger <aj@suse.de>
21851
21852 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21853
ed3dbfad
AJ
218542012-06-25 Andreas Jaeger <aj@suse.de>
21855
21856 * sysdeps/s390/fpu/libm-test-ulps: Update.
21857
4d0ee855
AS
218582012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21859 Thomas Schwinge <thomas@codesourcery.com>
21860
21861 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21862 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21864 fanotify_mark.
21865
af1bce34
TS
218662012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21867
a9fa33ba
TS
21868 * sysdeps/mach/start.c: Remove file.
21869 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21870 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21871 * sysdeps/sh/init-first.c: Likewise.
21872
58f902b8
TS
21873 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21874 registers for frame unwinding purposes, add CFI directives.
21875 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21877 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21878 Likewise.
21879
1518f58b
TS
21880 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21881 __fortify_fail returning.
21882 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21883
db9b5059
TS
21884 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21885 sysdeps/sh/____longjmp_chk.S.
21886 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21887 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21888 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21889 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21890
967705fe
TS
21891 * sysdeps/sh/abort-instr.h: New file.
21892 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21893 process in case exit returns.
21894
a9def8c4
TS
21895 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21896 initialize the GOT register before use.
21897
2a649725
TS
21898 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21899 calculation of ARGC > 4.
21900
af1bce34
TS
21901 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21902 meaningful names to some local labels.
21903
d230f50a
KK
219042012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21905 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21906
21907 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21908 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21909 (__arch_compare_and_exchange_val_16_acq): Likewise.
21910 (__arch_compare_and_exchange_val_32_acq): Likewise.
21911 (atomic_exchange_and_add): Fix gUSA sequence.
21912 (atomic_add): Likewise.
21913 (atomic_add_negative): Likewise.
21914 (atomic_add_zero): Likewise.
21915 (atomic_bit_test_set): Likewise.
21916
0479b305
AS
219172012-06-22 Andreas Schwab <schwab@redhat.com>
21918
21919 [BZ #13579]
21920 * include/link.h (struct link_map): Add l_free_initfini.
21921 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21922 l_initfini.
21923 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21924 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21925 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21926 set.
21927
0e3933b9
CD
219282012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21929
21930 * configure.in: Use AC_LANG_SOURCE.
21931 * configure: Regenerate.
21932
4248b1b1
RM
219332012-06-22 Roland McGrath <roland@hack.frob.com>
21934
21935 * configure.in (libc_cv_localstatedir): New substituted variable.
21936 * configure: Regenerated.
21937 * config.make.in (localstatedir): New variable, substituted from
21938 libc_cv_localstatedir.
21939 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21940 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21941 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21942 * sysdeps/gnu/configure: Regenerated.
21943
006dd861
JL
219442012-06-21 Jeff Law <law@redhat.com>
21945
21946 [BZ #14277]
21947 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21948 free. Simplify list management for _LIBC case.
21949
79662d42
JM
219502012-06-21 Joseph Myers <joseph@codesourcery.com>
21951
b7abb4bf
JM
21952 [BZ #14273]
21953 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21954 Clear sign bit of 64-bit integer value before comparing against
21955 overflow value.
21956
79662d42
JM
21957 * sysdeps/mach/configure: Regenerated.
21958
1f150908
L
219592012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 [BZ #14278]
21962 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21963
28363bbf
JL
219642012-06-21 Jeff Law <law@redhat.com>
21965
21966 [BZ #13882]
21967 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21968 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21969 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21970 * elf/dl-open.c (dl_open_worker): Likewise.
21971
09615db4
CD
219722012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21973
21974 * scripts/list-sources.sh: Scan PORTS for translations.
21975 * po/libc.pot: Regenerated.
21976
2174c6dd
AJ
219772012-06-21 Andreas Jaeger <aj@suse.de>
21978
21979 [BZ #12194]
21980 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21981 warning.
21982 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21983 * bits/byteswap-16.h (__bswap_16): Likewise.
21984 * bits/byteswap.h (__bswap_constant_16): Likewise.
21985
3ee947b1
L
219862012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21987
21988 [BZ #14117]
a2f34833
L
21989 * sysdeps/i386/fpu_control.h: Removed.
21990 * sysdeps/x86_64/fpu_control.h: Moved to ...
21991 * sysdeps/x86/fpu_control.h: Here.
21992
3ee947b1
L
21993 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21994 (_FPU_SETCW): Likewise.
21995
ed1825f8
L
219962012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21997
25f1282a
L
21998 [BZ #14117]
21999 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22000 * sysdeps/x86/fpu/bits/mathinline.h: This.
22001 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22002
ed1825f8
L
22003 [BZ #14050]
22004 [BZ #14117]
22005 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22006 functions if __x86_64__ is defined.
22007
36d54b74
CLT
220082012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22009
22010 * string/endian.h: Add !__ASSEMBLER__ condition for including
22011 conversion interfaces.
22012
10285c21
JM
220132012-06-15 Joseph Myers <joseph@codesourcery.com>
22014
22015 [BZ #14241]
22016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22017 of ABS(x) in calculating zero to negative powers other than odd
22018 integers.
22019 * math/libm-test.inc (pow_test): Add more tests.
22020
06c5abbd
AJ
220212012-06-15 Andreas Jaeger <aj@suse.de>
22022
22023 * manual/contrib.texi (Contributors): Update entry of Liubov
22024 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22025 Machado Filho.
22026
a3aeac40
CH
220272012-06-15 Cyril Hrubis <metan@ucw.cz>
22028
22029 * string/string.h: Add __wur to GNU version of strerror_r.
22030
49bdf4c1
L
220312012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22032
22033 [BZ #14229]
22034 * string/Makefile (tests): Add tst-strtok_r.
22035 * string/tst-strtok_r.c: New file.
22036 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22037 RAX_LP/RDX_LP on SAVE_PTR.
22038
834f9b8d
RM
220392012-06-14 Roland McGrath <roland@hack.frob.com>
22040
22041 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22042
75fa1921
JM
220432012-06-14 Joseph Myers <joseph@codesourcery.com>
22044
22045 * libm_test.inc (csqrt_test): Allow more spurious underflow
22046 exceptions.
22047 (j0_test): Likewise.
22048 (j1_test): Likewise.
22049 (y0_test): Likewise.
22050 (y1_test): Likewise.
22051
771766df
CD
220522012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22053
22054 * po/Makefile (libc.pot): Use UTF-8 charset.
22055
ceb9e56b
PP
220562012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22057
22058 [BZ #14210]
22059 Suppress sign-conversion warning from FD_SET.
22060 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22061 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22062 not unsigned long int.
22063 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22064
ddb28975
L
220652012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22066
22067 [BZ #14050]
22068 [BZ #14117]
22069 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22070 __extern_always_inline instead of __extern_inline.
22071 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22072 (__signbit): Likewise.
22073 (__signbitl): Support C++ namespace.
22074 (lrintf): New inline function.
22075 (lrint): Likewise.
22076 (llrintf): Likewise.
22077 (llrint): Likewise.
22078 (fmaxf): Likewise.
22079 (fmax): Likewise.
22080 (fminf): Likewise.
22081 (fmin): Likewise.
22082 (rint): Likewise.
22083 (rintf): Likewise.
22084 (ceil): Likewise.
22085 (ceilf): Likewise.
22086 (floor): Likewise.
22087 (floorf): Likewise.
22088 (nearbyint): Likewise.
22089 (nearbyintf): Likewise.
22090
d7b4fb26
TS
220912012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22092
22093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22094 non-default versions.
22095
eb55f5c2
RM
220962012-06-11 Roland McGrath <roland@hack.frob.com>
22097
22098 [BZ #14218]
22099 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22100
366af02c
TS
221012012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22102
99ff6e5c
TS
22103 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22104 (FE_UPWARD, FE_DOWNWARD): Don't define.
22105 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22106 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22107
366af02c
TS
22108 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22109 reading it.
22110 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22111 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22112
793ea851
KK
221132012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22114
22115 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22117 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22118 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22119
a728a38f
L
221202012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22121
22122 [BZ #14117]
c08010c7
L
22123 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22124 * sysdeps/i386/fpu/Implies: New file.
22125 * sysdeps/x86_64/fpu/Implies: Likewise.
22126 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22127 * sysdeps/x86/fpu/bits/fenv.h: This.
22128
a728a38f
L
22129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22130 __SSE_MATH__.
22131
6e230d11
SP
221322012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22133
22134 [BZ #14134]
22135 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22136 character 0xffff that matches the last element of the
22137 conversion table.
22138
1b671feb
AZ
221392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22140
22141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22142 fmodl commit.
22143
6043738b
AZ
221442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22145
22146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22147 values higher than 25.6283.
22148
34ae0b32
AZ
221492012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22150
22151 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22152 subnormal exponent extraction and add some __builtin_expect.
22153 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22154 Fix for subnormal mantissa calculation.
22155
1214ec8f
MF
221562012-06-04 Mike Frysinger <vapier@gentoo.org>
22157
22158 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22159 cpu2 is -1 and errno is not ENOSYS.
22160
f3d1f93c
L
221612012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22162
22163 [BZ #14117]
0e4a3cd7
L
22164 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22165 * sysdeps/x86/bits/string.h: This.
22166 * sysdeps/x86_64/bits/string.h: Removed.
22167
6704c645
L
22168 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22169 if not compiling for x86-64, but compiling for >= i486.
22170
48495318
L
22171 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22172 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22173
14adcbfc
L
22174 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22175 New macro from Linux kernel 3.4.0.
22176 (FP_XSTATE_MAGIC2): Likewise.
22177 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22178 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22179 (struct _fpx_sw_bytes): New struct.
22180 (struct _xsave_hdr): Likewise.
22181 (struct _ymmh_state): Likewise.
22182 (struct _xstate): Likewise.
22183
68e408ab
L
22184 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22185 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22187 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22188 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22189 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22190
f3d1f93c
L
22191 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22192 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22193 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22194 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22195 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22196 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22197
d9dc34cd
TMQMF
221982012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22199
22200 [BZ #13743]
22201 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22202 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22203 (sysdep_headers): Include sys/platform/ppc.h.
22204 * sysdeps/powerpc/test-gettimebase.c: Test for
22205 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22206 * manual/Makefile (appendices): Include platform.texi.
22207 * manual/contrib.texi (Contributors): Update @node pointers.
22208 * manual/maint.texi (Maintenance): Likewise.
22209 (Platform): New node.
22210 * manual/platform.texi: New file. Document the new features.
22211
4af3879c
SP
222122012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22213 Jakub Jelinek <jakub@redhat.com>
22214
22215 [BZ #14188]
22216 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22217 where __builtin_expect is unavailable.
22218
2fd6ff13
DM
222192012-06-03 David S. Miller <davem@davemloft.net>
22220
22221 * stdlib/longlong.h: Updated from GCC.
22222
173f7220
AS
222232012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22224
22225 [BZ #14042]
22226 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22227 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22228 __mcount_internal.
22229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22230 (GLIBC_2.16): Likewise.
22231
f34a1c6f
L
222322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22233
22234 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22235
88a4576f
JM
222362012-06-01 Joseph Myers <joseph@codesourcery.com>
22237
ea32bcdd
JM
22238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22239 (default-abi): New variable.
22240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22241 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22242 variable.
22243 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22244 Likewise.
22245 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22246 Likewise.
22247 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22248 Likewise.
22249
88a4576f
JM
22250 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22251 definition. Document in comment.
22252
402fe938
DM
222532012-06-01 David S. Miller <davem@davemloft.net>
22254
22255 * stdlib/longlong.h: Updated from GCC.
22256
3553723f
L
222572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22258
22259 [BZ #14117]
3bd872c4
L
22260 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22261 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22262 sys/debugreg.h sys/io.h here.
22263 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22264 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22265 sys/io.h.
22266 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22267 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22268 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22269 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22270 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22271 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22272
3553723f
L
22273 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22274 Define only if __x86_64__ is defined.
22275
4842e4fe
JM
222762012-06-01 Joseph Myers <joseph@codesourcery.com>
22277
c5bfe3d5
JM
22278 [BZ #14048]
22279 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22280 Use int64_t for variable i.
22281 * math/libm-test.inc (fmod_test): Add more tests.
22282
4842e4fe
JM
22283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22284 z computation is not scheduled after fetestexcept.
22285 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22286 Use math_force_eval instead of asm to ensure calculation scheduled
22287 before exception test.
22288 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22289 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22290
efb73488
AJ
222912012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22292
22293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22294 computation is not scheduled after fetestexcept.
22295
29bcce7c
L
222962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22297
22298 [BZ #14117]
22299 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22300 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22301
73a68f94
AZ
223022012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22303
22304 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22305 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22306
67b6df78
L
223072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22308
edf2933a 22309 [BZ #14117]
ebc64a18
L
22310 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22311 <bits/wordsize.h>.
22312 (__WCHAR_MIN): Support __WORDSIZE == 64.
22313 (__WCHAR_MAX): Likewise.
22314
edf2933a
L
22315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22316 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22317
57c6cf40
L
22318 [BZ #14183]
22319 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22320 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22321
67b6df78 22322 [BZ #14117]
8eb6281e
L
22323 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22324 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22325
aac639f4
L
22326 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22327 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22328
67b6df78
L
22329 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22330 Defined to 1 if __x86_64__ isn't defined.
22331 (_STAT_VER_LINUX_OLD): New.
22332 (st_atime): Remove duplicate.
22333 (st_mtime): Likewise.
22334 (st_ctime): Likewise.
22335
1c2cfe81
DM
223362012-05-31 David S. Miller <davem@davemloft.net>
22337
22338 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22339 entries.
22340
5be8418c
AS
223412012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22342
e7725326
AS
22343 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22344 gen-libm-test.pl.
22345
5be8418c
AS
22346 [BZ #14132]
22347 * elf/dl-reloc.c: Include <_itoa.h>.
22348 (_dl_reloc_bad_type): Remove use of INTUSE.
22349 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22350 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22351 * stdio-common/psiginfo.c (psiginfo): Likewise.
22352 * stdio-common/psignal.c (psignal): Likewise.
22353 * string/strsignal.c (strsignal): Likewise.
22354 * include/signal.h (_sys_siglist): Declare hidden proto.
22355 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22356 INTVARDEF with libc_hidden_data_def.
22357 * stdio-common/itoa-udigits.c: Likewise.
22358 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22359 (_itoa_lower_digits_internal): Remove declaration.
22360 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22361 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22362 (_sys_sigabbrev_internal): Remove aliases.
22363 (_sys_siglist): Define hidden alias.
22364
507352f1
MT
223652012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22366
22367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22368 bits/sysctl.h.
22369
42bbb1c3
L
223702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22371
22372 [BZ #14117]
6bd784b6
L
22373 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22374 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22375
8bca20f0
L
22376 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22377 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22378 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22379 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22381 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22382
f9e890a9
L
22383 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22384 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22385 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22386
471101a1
L
22387 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22388 with __addr.
22389 (insw): Likewise.
22390 (insl): Likewise.
22391 (outsb): Likewise.
22392 (outsw): Likewise.
22393 (outsl): Likewise.
22394
6451c862
L
22395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22397 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22398
a254b8c9
L
22399 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22400 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22401 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22402 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22403 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22404 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22405
b8dfdd92
L
22406 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22407 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22408
578cd270
L
22409 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22410 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22411
de662f5f
L
22412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22414 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22415
25653439
L
22416 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22417 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22418 to ...
22419 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22420
6bad24a0
L
22421 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22422 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22423 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22424
42bbb1c3
L
22425 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22426 for x86-64.
22427 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22428
2d10d547
JM
224292012-05-31 Joseph Myers <joseph@codesourcery.com>
22430
22431 * math/math.h (M_El): Use two more decimal places.
22432 (M_LOG2El): Likewise.
22433 (M_LOG10El): Likewise.
22434 (M_LN2l): Likewise.
22435 (M_LN10l): Likewise.
22436 (M_PIl): Likewise.
22437 (M_PI_2l): Likewise.
22438 (M_PI_4l): Likewise.
22439 (M_1_PIl): Likewise.
22440 (M_2_PIl): Likewise.
22441 (M_2_SQRTPIl): Likewise.
22442 (M_SQRT2l): Likewise.
22443 (M_SQRT1_2l): Likewise.
22444
f230c29b
DM
224452012-05-31 David S. Miller <davem@davemloft.net>
22446
22447 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22448 values between float registers.
22449 * sysdeps/sparc/sparc64/memset.S: Likewise.
22450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22451
fed806c3
MF
224522012-05-31 Mike Frysinger <vapier@gentoo.org>
22453
22454 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22455 -D_FORTIFY_SOURCE=1.
22456 (CPPFLAGS-tst-longjmp_chk.c): Define.
22457 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22458 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22459 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22460 CFLAGS-tst-wchar-h.c.
22461
30917259
MP
224622012-05-31 Marek Polacek <polacek@redhat.com>
22463
22464 [BZ #14132]
22465 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22466 __endmntent_internal): Remove declaration.
22467 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22468 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22469 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22470
1c58d5dc
DM
224712012-05-30 David S. Miller <davem@davemloft.net>
22472
22473 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22474 (___Q_simulate_exceptions): Use real FP ops rather than writing
22475 into the %fsr.
22476 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22477 Likewise.
22478
7dc00e0d
L
224792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22480
22481 [BZ #14117]
0bd53985
L
22482 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22483 * sysdeps/x86/bits/xtitypes.h: This.
22484
3a257e66
L
22485 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22486 * sysdeps/x86/bits/wordsize.h: This.
22487
62f62904
L
22488 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22489 * sysdeps/x86/bits/huge_vall.h: This.
22490
404fe9d9
L
22491 * sysdeps/i386/bits/select.h: Removed.
22492 * sysdeps/x86_64/bits/select.h: Renamed to ...
22493 * sysdeps/x86/bits/select.h: This.
22494
d48d0446
L
22495 * sysdeps/i386/bits/setjmp.h: Removed.
22496 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22497 * sysdeps/x86/bits/setjmp.h: This.
22498
7dc00e0d
L
22499 * sysdeps/i386/bits/mathdef.h: Removed.
22500 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22501 * sysdeps/x86/bits/mathdef.h: This.
22502
03277f8f
AS
225032012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22504
22505 [BZ #14132]
22506 * include/sys/socket.h (__connect_internal)
22507 (__libc_sa_len_internal): Remove declaration.
22508 (__connect, __libc_sa_len): Declare hidden_proto.
22509 (SA_LEN): Remove use of INTUSE.
22510 * socket/connect.c: Add libc_hidden_def.
22511 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22512 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22513 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22514 alias.
22515 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22516 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22517 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22518 of adding _internal alias.
22519
13764867
L
225202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22521
22522 [BZ #14117]
6bd97696
L
22523 * sysdeps/i386/bits/link.h: Removed.
22524 * sysdeps/i386/bits/linkmap.h: Likewise.
22525 * sysdeps/x86_64/bits/link.h: Renamed to ...
22526 * sysdeps/x86/bits/link.h: This.
22527 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22528 * sysdeps/x86/bits/linkmap.h: This.
22529
f726f0bb
L
22530 * sysdeps/i386/bits/endian.h: Removed.
22531 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22532 * sysdeps/x86/bits/endian.h: This.
22533
13764867
L
22534 * sysdeps/i386/bits/byteswap.h: Removed.
22535 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22536 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22537 * sysdeps/x86/bits/byteswap.h: This.
22538 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22539 * sysdeps/x86/bits/byteswap-16.h: This.
22540 * sysdeps/i386/Implies: Add x86.
22541 * sysdeps/x86_64/Implies: Likewise.
22542
ae251b0b
DM
225432012-05-30 David S. Miller <davem@davemloft.net>
22544
22545 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22546 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22547 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22548 (FP_TRAPPING_EXCEPTIONS): Define.
22549 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22550 (FP_TRAPPING_EXCEPTIONS): Define.
22551 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22552 subnormals only when inexact has been signalled or underflow
22553 exceptions are enabled.
22554 (_FP_PACK_CANONICAL): Likewise.
22555
d5c90867
L
225562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22557
22558 [BZ #14183]
22559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22560 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22561
63f1549e
RH
225622012-05-30 Richard Henderson <rth@twiddle.net>
22563
8d8f2279
RH
22564 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22565 with #ifndef NOT_IN_libc.
22566
63f1549e
RH
22567 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22568 marked to avoid plt entry.
22569
0ab0291b
L
225702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22571
22572 [BZ #14112]
22573 * Makeconfig (default-abi): New macro.
22574 (abi-includes): Likewise.
22575 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22576 $(abi-$(default-abi)-lib-soname) for soname if defined.
22577 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22578 abi-variants.
22579 * Makefile (installed-stubs): Likewise.
22580 * include/stubs-biarch.h: Removed.
22581 * scripts/lib-names.awk: Only handle one library at a time.
22582 * scripts/soversions.awk: Remove WORDSIZE support.
22583 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22584 entries.
22585 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22586 Removed.
22587 (syscall-list-default-condition): Likewise.
22588 (syscall-list-default-condition): Likewise.
22589 (syscall-list-includes): Likewise.
22590 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22591 syscall-list-* with abi-*. Handle undefined abi-variants.
22592 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22593 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22594 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22595 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22596 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22597 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22598 Removed.
22599 (syscall-list-32-options): Likewise.
22600 (syscall-list-32-condition): Likewise.
22601 (syscall-list-64-options): Likewise.
22602 (syscall-list-64-condition): Likewise.
22603 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22604 macro.
22605 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22606 Renamed to ...
22607 (abi-*): This.
22608 (abi-64-ld-soname): New macro.
22609 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22610 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22611 Renamed to ...
22612 (abi-*): This.
22613 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22614 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22615
4da0431d
JM
226162012-05-30 Joseph Myers <joseph@codesourcery.com>
22617
3a85279c
JM
22618 * sysdeps/unix/sysv/linux/kernel-features.h
22619 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22620 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22621 include <kernel-features.h>.
22622 [!__NR_ftruncate64]: Remove conditional code.
22623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22624 [__NR_ftruncate64]: Make code unconditional.
22625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22626 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22627 include <kernel-features.h>.
22628 [!__NR_ftruncate64]: Remove conditional code.
22629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22630 [__NR_ftruncate64]: Make code unconditional.
22631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22633 include <kernel-features.h>.
22634 [!__NR_ftruncate64]: Remove conditional code.
22635 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22636 [__NR_ftruncate64]: Make code unconditional.
22637 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22639 include <kernel-features.h>.
22640 [!__NR_ftruncate64]: Remove conditional code.
22641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22642 [__NR_ftruncate64]: Make code unconditional.
22643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22644
4da0431d
JM
22645 * configure.in (libc_cv_fpie): Weaken to a compile test using
22646 LIBC_TRY_CC_OPTION.
22647 * configure: Regenerated.
22648
11ef492c
AK
226492012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22650
22651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22655 Refreshed.
22656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22662 Refreshed.
22663
d66ef399
DM
226642012-05-27 David S. Miller <davem@davemloft.net>
22665
22666 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22667 (___Q_zero): New.
22668 (__Q_simulate_exceptions): Return void. Change to simulate
22669 exceptions by writing into the %fsr.
22670 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22671 (__Qp_handle_exceptions): Likewise.
22672 (numbers): Delete.
22673 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22674 __Qp_handle_exceptions.
22675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22676 __Qp_handle_exceptions.
22677 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22678 as unused and give dummy FP_RND_NEAREST initializer.
22679 (FP_INHIBIT_RESULTS): Define.
22680 (___Q_simulate_exceptions): Update declaration.
22681 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22682 formatting.
22683 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22684 as unused and give dummy FP_RND_NEAREST initializer.
22685 (__Qp_handle_exceptions): Update declaration.
22686 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22687 formatting.
22688
04fb54b5
TS
226892012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22690
22691 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22692 the temporary FPU control word.
22693 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22694 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22695 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22696 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22697 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22698 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22699 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22700 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22701 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22702 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22704
3f99608f
KK
227052012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22706
22707 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22708 fields.
22709
65a4de4e
CLT
227102012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22711
22712 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22713 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22714 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22715 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22716 Likewise.
22717 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22718 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22719 Likewise.
22720
15749d40
UD
227212012-05-27 Ulrich Drepper <drepper@gmail.com>
22722
22723 * po/h.po: Update from translation team.
22724
25dbcb27
AS
227252012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22726
3d3f8e55
AS
22727 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22728
25dbcb27
AS
22729 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22730 handling of denormals.
22731 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22732 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22733 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22734 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22738 Likewise.
22739
7ad47a80 227402012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22741
22742 [BZ #14152]
22743 * math/libm-test.inc (fma_test): Don't always expect underflow
22744 exception.
22745
9c6ea9fa
SP
227462012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22747
22748 [BZ #12416]
22749 * elf/tst-execstack.c: Include stackinfo.h.
22750 (do_test): Adjust test case to ensure that pthread_getattr_np
22751 behaviour remains the same after marking stack executable.
22752
a8239222
JM
227532012-05-25 Joseph Myers <joseph@codesourcery.com>
22754
22755 * sysdeps/unix/sysv/linux/kernel-features.h
22756 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22757 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22758 kernel-features.h.
22759 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22760 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22761 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22762 kernel-features.h.
22763 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22764 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22765
918b5606
L
227662012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22767
22768 * configure.in: Define the default includes to being none.
22769 * configure: Regenerated.
22770
3a097cc7
RM
227712012-05-25 Roland McGrath <roland@hack.frob.com>
22772
8422c9a5
RM
22773 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22774 * sysdeps/x86_64/setjmp.S: Likewise.
22775 * sysdeps/i386/bsd-setjmp.S: Likewise.
22776 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22777 * sysdeps/i386/setjmp.S: Likewise.
22778 * sysdeps/i386/__longjmp.S: Likewise.
22779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22780 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22781
3a097cc7
RM
22782 * include/stap-probe.h: New file.
22783 * configure.in: Handle --enable-systemtap.
22784 * configure: Regenerated.
22785 * config.h.in (USE_STAP_PROBE): New #undef.
22786 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22787 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22788 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22789
21708942
JM
227902012-05-25 Joseph Myers <joseph@codesourcery.com>
22791
22792 [BZ #13717]
22793 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22794 to 2.4.0 where earlier.
22795 * sysdeps/unix/sysv/linux/configure: Regenerated.
22796 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22797 <kernel-features.h>.
22798 [__ASSUME_32BITUIDS]: Make code unconditional.
22799 [!__ASSUME_32BITUIDS]: Remove conditional code.
22800 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22801 <kernel-features.h>.
22802 [__ASSUME_32BITUIDS]: Make code unconditional.
22803 [!__ASSUME_32BITUIDS]: Remove conditional code.
22804 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22805 [__ASSUME_32BITUIDS]: Make code unconditional.
22806 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22807 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22808 <kernel-features.h>.
22809 [__ASSUME_32BITUIDS]: Make code unconditional.
22810 [!__ASSUME_32BITUIDS]: Remove conditional code.
22811 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22812 <kernel-features.h>.
22813 [__ASSUME_32BITUIDS]: Make code unconditional.
22814 [!__ASSUME_32BITUIDS]: Remove conditional code.
22815 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22816 <kernel-features.h>.
22817 [__ASSUME_32BITUIDS]: Make code unconditional.
22818 [!__ASSUME_32BITUIDS]: Remove conditional code.
22819 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22820 <kernel-features.h>.
22821 [__ASSUME_32BITUIDS]: Make code unconditional.
22822 [!__ASSUME_32BITUIDS]: Remove conditional code.
22823 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22824 <kernel-features.h>.
22825 [__ASSUME_32BITUIDS]: Make code unconditional.
22826 [!__ASSUME_32BITUIDS]: Remove conditional code.
22827 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22828 <kernel-features.h>.
22829 [__ASSUME_32BITUIDS]: Make code unconditional.
22830 [!__ASSUME_32BITUIDS]: Remove conditional code.
22831 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22832 <kernel-features.h>.
22833 [__ASSUME_32BITUIDS]: Make code unconditional.
22834 [!__ASSUME_32BITUIDS]: Remove conditional code.
22835 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22836 <kernel-features.h>.
22837 [__ASSUME_32BITUIDS]: Make code unconditional.
22838 [!__ASSUME_32BITUIDS]: Remove conditional code.
22839 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22840 <kernel-features.h>.
22841 [__ASSUME_32BITUIDS]: Make code unconditional.
22842 [!__ASSUME_32BITUIDS]: Remove conditional code.
22843 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22844 <kernel-features.h>.
22845 [__ASSUME_32BITUIDS]: Make code unconditional.
22846 [!__ASSUME_32BITUIDS]: Remove conditional code.
22847 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22848 <kernel-features.h>.
22849 [__NR_setresgid] (__setresgid): Do not declare.
22850 [__ASSUME_32BITUIDS]: Make code unconditional.
22851 [!__ASSUME_32BITUIDS]: Remove conditional code.
22852 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22853 <kernel-features.h>.
22854 [__NR_setresuid] (__setresuid): Do not declare.
22855 [__ASSUME_32BITUIDS]: Make code unconditional.
22856 [!__ASSUME_32BITUIDS]: Remove conditional code.
22857 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22858 <kernel-features.h>.
22859 [__ASSUME_32BITUIDS]: Make code unconditional.
22860 [!__ASSUME_32BITUIDS]: Remove conditional code.
22861 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22862 <kernel-features.h>.
22863 [__ASSUME_32BITUIDS]: Make code unconditional.
22864 [!__ASSUME_32BITUIDS]: Remove conditional code.
22865 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22866 <kernel-features.h>.
22867 [__ASSUME_32BITUIDS]: Make code unconditional.
22868 [!__ASSUME_32BITUIDS]: Remove conditional code.
22869 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22870 <kernel-features.h>.
22871 [__ASSUME_32BITUIDS]: Make code unconditional.
22872 [!__ASSUME_32BITUIDS]: Remove conditional code.
22873 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22874 <kernel-features.h>.
22875 [__ASSUME_32BITUIDS]: Make code unconditional.
22876 [!__ASSUME_32BITUIDS]: Remove conditional code.
22877 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22878 <kernel-features.h>.
22879 [__ASSUME_32BITUIDS]: Make code unconditional.
22880 [!__ASSUME_32BITUIDS]: Remove conditional code.
22881 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22882 <kernel-features.h>.
22883 [__ASSUME_32BITUIDS]: Make code unconditional.
22884 [!__ASSUME_32BITUIDS]: Remove conditional code.
22885 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22886 <kernel-features.h>.
22887 [__ASSUME_32BITUIDS]: Make code unconditional.
22888 [!__ASSUME_32BITUIDS]: Remove conditional code.
22889 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22890 <kernel-features.h>.
22891 [__ASSUME_32BITUIDS]: Make code unconditional.
22892 [!__ASSUME_32BITUIDS]: Remove conditional code.
22893 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22894 <kernel-features.h>.
22895 [__ASSUME_32BITUIDS]: Make code unconditional.
22896 [!__ASSUME_32BITUIDS]: Remove conditional code.
22897 * sysdeps/unix/sysv/linux/kernel-features.h
22898 (__ASSUME_SETRESUID_SYSCALL): Remove.
22899 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22900 (__ASSUME_32BITUIDS): Likewise.
22901 (__ASSUME_LDT_WORKS): Likewise.
22902 (__ASSUME_O_DIRECTORY): Likewise.
22903 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22904 architecture but not kernel version.
22905 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22906 (__ASSUME_MMAP2_SYSCALL): Likewise.
22907 (__ASSUME_STAT64_SYSCALL): Likewise.
22908 (__ASSUME_IPC64): Likewise.
22909 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22910 <kernel-features.h>.
22911 [__ASSUME_32BITUIDS]: Make code unconditional.
22912 [!__ASSUME_32BITUIDS]: Remove conditional code.
22913 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22914 <kernel-features.h>.
22915 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22916 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22917 132096]: Remove conditional code.
22918 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22919 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22920 <kernel-features.h>.
22921 [__ASSUME_32BITUIDS]: Make code unconditional.
22922 [!__ASSUME_32BITUIDS]: Remove conditional code.
22923 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22924 <kernel-features.h>.
22925 [__ASSUME_32BITUIDS]: Make code unconditional.
22926 [!__ASSUME_32BITUIDS]: Remove conditional code.
22927 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22928 <kernel-features.h>.
22929 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22930 unconditional.
22931 (__setresgid): Do not declare.
22932 [__ASSUME_32BITUIDS]: Make code unconditional.
22933 [!__ASSUME_32BITUIDS]: Remove conditional code.
22934 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22935 <kernel-features.h>.
22936 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22937 unconditional.
22938 (__setresuid): Do not declare.
22939 [__ASSUME_32BITUIDS]: Make code unconditional.
22940 [!__ASSUME_32BITUIDS]: Remove conditional code.
22941 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22942 <kernel-features.h>.
22943 [__ASSUME_32BITUIDS]: Make code unconditional.
22944 [!__ASSUME_32BITUIDS]: Remove conditional code.
22945 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22946 <kernel-features.h>.
22947 [__ASSUME_32BITUIDS]: Make code unconditional.
22948 [!__ASSUME_32BITUIDS]: Remove conditional code.
22949
a386f1cc
RH
229502012-05-25 Richard Henderson <rth@twiddle.net>
22951
22952 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22953 dl_hwcap to ifunc resolver.
22954 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22955 elf_ifunc_invoke.
22956 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22957 dl_hwcap to ifunc resolver.
22958 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22959
b6550497
JM
229602012-05-24 Joseph Myers <joseph@codesourcery.com>
22961
22962 [BZ #14153]
22963 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22964 for |x| <= 2**-26, not 2**-57.
22965 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22966 exception.
22967
b0bc23a1
JL
229682012-05-24 Jeff Law <law@redhat.com>
22969
22970 * stdio-common/Makefile (tests): Add bug25.
22971 * stdio-common/bug25.c: New test.
22972
347c92e9
L
229732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22974
22975 [BZ #13576]
22976 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22977 multiple of MALLOC_ALIGNMENT in size.
22978 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22979
6bcc8b3f
JM
229802012-05-24 Joseph Myers <joseph@codesourcery.com>
22981
22982 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22983 Require >= 256.
22984 (FILENAME_MAX): Use macro-int-constant.
22985 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22986 (_IOFBF): Use macro-int-constant.
22987 (_IOLBF): Likewise.
22988 (_IONBF): Likewise.
22989 (SEEK_CUR): Likewise.
22990 (SEEK_END): Likewise.
22991 (SEEK_SET): Likewise.
22992 (TMP_MAX): Likewise.
22993 (EOF): Use macro-int-constant. Require < 0.
22994 (NULL): Use macro-constant. Require == 0.
22995 (stdin): Require type to be FILE *.
22996 (stdout): Likewise.
22997 (stderr): Likewise.
22998 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22999 macro-int-constant.
23000 (EXIT_SUCCESS): Likewise.
23001 (NULL): Use macro-constant. Require == 0.
23002 (RAND_MAX): Use macro-int-constant.
23003 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23004 [C99-based standards] (strtof): Require function.
23005 [C99-based standards] (strtold): Likewise.
23006 [C99-based standards] (strtoll): Likewise.
23007 [C99-based standards] (strtoull): Likewise.
23008 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23009 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23010 [ISO || ISO99 || ISO11] (math.h): Likewise.
23011 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23012 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23014
d18ea0c5
AS
230152012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23016
23017 [BZ #14132]
56d25bb8
AS
23018 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23019 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23020 * intl/dgettext.c (DCGETTEXT): Likewise.
23021 * intl/gettext.c (DCGETTEXT): Likewise.
23022 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23023 * posix/regex_internal.h (gettext): Likewise.
23024 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23025 Remove declaration.
23026 * include/argz.h (__argz_count_internal)
23027 (__argz_stringify_internal): Remove declaration.
23028 (__argz_count, __argz_stringify): Declare hidden proto.
23029 * intl/dcgettext.c: Remove use of INTDEF.
23030 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23031 * string/argz-stringify.c: Likewise.
23032 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23033 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23034 Declare hidden proto.
d18ea0c5
AS
23035 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23036 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23037 Declare hidden proto.
23038 * include/stdio.h (__asprintf_internal): Don't declare.
23039 (__asprintf): Don't define as macro. Declare hidden proto.
23040 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23041 (__fsetlocking): Declare hidden proto.
23042 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23043 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23044 hidden proto.
23045 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23046 (_IO_setlinebuf): Remove use of INTUSE.
23047 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23048 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23049 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23050 Remove declaration.
23051 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23052 (_IO_do_flush): Remove use of INTUSE.
23053 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23054 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23055 (_IO_adjust_column, _IO_least_wmarker)
23056 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23057 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23058 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23059 (_IO_default_doallocate, _IO_wdefault_doallocate)
23060 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23061 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23062 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23063 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23064 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23065 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23066 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23067 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23068 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23069 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23070 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23071 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23072 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23073 proto.
23074 (_IO_flush_all_internal, _IO_adjust_column_internal)
23075 (_IO_default_uflow_internal, _IO_default_finish_internal)
23076 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23077 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23078 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23079 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23080 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23081 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23082 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23083 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23084 (_IO_file_close_internal, _IO_file_close_it_internal)
23085 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23086 (_IO_file_init_internal, _IO_file_attach_internal)
23087 (_IO_file_fopen_internal, _IO_file_read_internal)
23088 (_IO_file_sync_internal, _IO_file_seek_internal)
23089 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23090 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23091 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23092 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23093 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23094 (_IO_list_all_internal, _IO_link_in_internal)
23095 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23096 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23097 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23098 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23099 (_IO_do_write_internal, _IO_padn_internal)
23100 (_IO_getline_info_internal, _IO_getline_internal)
23101 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23102 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23103 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23104 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23105 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23106 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23107 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23108 with libc_hidden_ver, remove use of INTUSE.
23109 * libio/genops.c: Likewise.
23110 * libio/freopen.c: Likewise.
23111 * libio/freopen64.c: Likewise.
23112 * libio/iofclose.c: Likewise.
23113 * libio/iofdopen.c: Likewise.
23114 * libio/iofflush.c: Likewise.
23115 * libio/iofflush_u.c: Likewise.
23116 * libio/iofgets.c: Likewise.
23117 * libio/iofgets_u.c: Likewise.
23118 * libio/iofopen.c: Likewise.
23119 * libio/iofopncook.c: Likewise.
23120 * libio/iofread.c: Likewise.
23121 * libio/iofread_u.c: Likewise.
23122 * libio/ioftell.c: Likewise.
23123 * libio/iofwrite.c: Likewise.
23124 * libio/iogetline.c: Likewise.
23125 * libio/iogets.c: Likewise.
23126 * libio/iogetwline.c: Likewise.
23127 * libio/iopadn.c: Likewise.
23128 * libio/iopopen.c: Likewise.
23129 * libio/ioseekoff.c: Likewise.
23130 * libio/ioseekpos.c: Likewise.
23131 * libio/iosetbuffer.c: Likewise.
23132 * libio/iosetvbuf.c: Likewise.
23133 * libio/ioungetc.c: Likewise.
23134 * libio/ioungetwc.c: Likewise.
23135 * libio/iovdprintf.c: Likewise.
23136 * libio/iovsprintf.c: Likewise.
23137 * libio/iovsscanf.c: Likewise.
23138 * libio/memstream.c: Likewise.
23139 * libio/obprintf.c: Likewise.
23140 * libio/oldfileops.c: Likewise.
23141 * libio/oldiofclose.c: Likewise.
23142 * libio/oldiofdopen.c: Likewise.
23143 * libio/oldiofopen.c: Likewise.
23144 * libio/oldiopopen.c: Likewise.
23145 * libio/oldstdfiles.c: Likewise.
23146 * libio/putc.c: Likewise.
23147 * libio/setbuf.c: Likewise.
23148 * libio/setlinebuf.c: Likewise.
23149 * libio/stdfiles.c: Likewise.
23150 * libio/strops.c: Likewise.
23151 * libio/vasprintf.c: Likewise.
23152 * libio/vscanf.c: Likewise.
23153 * libio/vsnprintf.c: Likewise.
23154 * libio/vswprintf.c: Likewise.
23155 * libio/wfiledoalloc.c: Likewise.
23156 * libio/wfileops.c: Likewise.
23157 * libio/wgenops.c: Likewise.
23158 * libio/wmemstream.c: Likewise.
23159 * libio/wstrops.c: Likewise.
23160 * libio/__fpurge.c: Likewise.
23161 * libio/__fsetlocking.c: Likewise.
23162 * assert/assert.c: Likewise.
23163 * debug/fgets_chk.c: Likewise.
23164 * debug/fgets_u_chk.c: Likewise.
23165 * debug/fread_chk.c: Likewise.
23166 * debug/fread_u_chk.c: Likewise.
23167 * debug/gets_chk.c: Likewise.
23168 * debug/obprintf_chk.c: Likewise.
23169 * debug/vasprintf_chk.c: Likewise.
23170 * debug/vdprintf_chk.c: Likewise.
23171 * debug/vsnprintf_chk.c: Likewise.
23172 * debug/vsprintf_chk.c: Likewise.
23173 * malloc/mtrace.c: Likewise.
23174 * misc/error.c: Likewise.
23175 * misc/syslog.c: Likewise.
23176 * stdio-common/asprintf.c: Likewise.
23177 * stdio-common/fxprintf.c: Likewise.
23178 * stdio-common/getw.c: Likewise.
23179 * stdio-common/isoc99_fscanf.c: Likewise.
23180 * stdio-common/isoc99_scanf.c: Likewise.
23181 * stdio-common/isoc99_vfscanf.c: Likewise.
23182 * stdio-common/isoc99_vscanf.c: Likewise.
23183 * stdio-common/isoc99_vsscanf.c: Likewise.
23184 * stdio-common/printf-prs.c: Likewise.
23185 * stdio-common/printf_fp.c: Likewise.
23186 * stdio-common/printf_fphex.c: Likewise.
23187 * stdio-common/printf_size.c: Likewise.
23188 * stdio-common/putw.c: Likewise.
23189 * stdio-common/scanf.c: Likewise.
23190 * stdio-common/sprintf.c: Likewise.
23191 * stdio-common/tmpfile.c: Likewise.
23192 * stdio-common/vfprintf.c: Likewise.
23193 * stdio-common/vfscanf.c: Likewise.
23194 * stdlib/strfmon_l.c: Likewise.
23195 * sunrpc/openchild.c: Likewise.
23196 * sunrpc/xdr_stdio.c: Likewise.
23197 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23198 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23199
d6c33fda
RM
232002012-05-24 Roland McGrath <roland@hack.frob.com>
23201
c1487492
RM
23202 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23203
23204 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23205 in the third column, to generate for the shared library an IFUNC
23206 that uses _dl_vdso_vsym.
23207 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23208 * Makeconfig (object-suffixes-noshared): New variable.
23209
23210 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23211 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23212 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23213 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23214
d6c33fda
RM
23215 [BZ #14132]
23216 * include/sys/time.h (__gettimeofday): Remove macro.
23217 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23218 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23219 Remove INTDEF.
23220 (__gettimeofday): Add libc_hidden_def.
23221 (gettimeofday): Add libc_hidden_weak.
23222 * sysdeps/mach/gettimeofday.c: Likewise.
23223 * sysdeps/posix/gettimeofday.c: Likewise.
23224 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23225 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23227 (__gettimeofday_internal): Remove strong_alias.
23228 (__gettimeofday): Add libc_hidden_def.
23229 (gettimeofday): Add libc_hidden_weak.
23230 * sysdeps/unix/syscalls.list (gettimeofday):
23231 Remove __gettimeofday_internal alias.
23232
b5a2bbe6
L
232332012-05-24 Daniel Jacobowitz <drow@false.org>
23234 H.J. Lu <hongjiu.lu@intel.com>
23235
23236 [BZ #12495]
23237 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23238 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23239 (largebin_index_32_big): New.
23240 (largebin_index): Use it for 16-byte alignment.
23241 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23242 correction with front_misalign.
23243
cfba4fda
L
232442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23245
7f907421
L
23246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23248 Likewise.
23249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23250 Likewise.
23251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23252 Likewise.
23253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23254 Likewise.
23255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23256 Likewise.
23257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23258 Likewise.
23259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23260 Likewise.
23261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23262 Likewise.
23263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23264 Likewise.
23265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23266 Likewise.
23267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23268 Likewise.
23269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23270 Likewise.
23271
cfba4fda
L
23272 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23273 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23274
80bad0cc
JM
232752012-05-24 Joseph Myers <joseph@codesourcery.com>
23276
7a25eb06
JM
23277 [BZ #10846]
23278 [BZ #14036]
23279 * math/libm-test.inc (exp_test): Add test from bug 14036.
23280 (pow_test): Add test from bug 10846.
23281
795405f9
JM
23282 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23283 and other flags.
23284 (special_function): Do not include flags in test name.
23285 (parse_args): Likewise.
23286 * sysdeps/i386/fpu/libm-test-ulps: Update.
23287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23289 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23291
80bad0cc
JM
23292 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23293 exceptions.
23294 * math/libm-test.inc ("Philosophy"): Update comment about
23295 exception testing.
23296 (UNDERFLOW_EXCEPTION): New macro.
23297 (UNDERFLOW_EXCEPTION_OK): Likewise.
23298 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23299 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23300 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23301 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23302 (INVALID_EXCEPTION_OK): Update value.
23303 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23304 (OVERFLOW_EXCEPTION_OK): Likewise.
23305 (IGNORE_ZERO_INF_SIGN): Likewise.
23306 (test_exceptions): Handle underflow exceptions.
23307 (acos_test): Update for underflow exception expectations.
23308 (cexp_test): Likewise.
23309 (clog_test): Likewise.
23310 (clog10_test): Likewise.
23311 (csqrt_test): Likewise.
23312 (ctan_test): Likewise.
23313 (ctanh_test): Likewise.
23314 (exp_test): Likewise.
23315 (exp10_test): Likewise.
23316 (exp2_test): Likewise.
23317 (expm1_test): Likewise.
23318 (fma_test): Likewise.
23319 (j0_test): Likewise.
23320 (jn_test): Likewise.
23321 (nexttoward_test): Likewise.
23322 (pow_test): Likewise.
23323 (scalbn_test): Likewise.
23324 (scalbln_test): Likewise.
23325 (tan_test): Likewise.
23326 (y1_test): Likewise.
23327 * sysdeps/i386/fpu/libm-test-ulps: Update.
23328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23329
9e0e3d0b
DM
233302012-05-23 David S. Miller <davem@davemloft.net>
23331
23332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23333 (__libc_sigaction): Remove unused local variables.
23334
ccd0a08f
L
233352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23336
23337 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23338
62bdf9a6
PE
233392012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23340
f8591f80
PE
23341 mktime: avoid signed integer overflow
23342 * time/mktime.c (__mktime_internal): Do not mishandle the case
23343 where diff == INT_MIN.
23344
94c7d826
PE
23345 mktime: simplify computation of average
23346 * time/mktime.c (ranged_convert): Use new time_t_avg function
23347 instead of rolling our own (probably-slower) code.
23348
ce73d683
PE
23349 mktime: do not assume signed right shift propagates sign bit
23350 * time/mktime.c (isdst_differ): New static function.
23351 (__mktime_internal): No need to normalize tm_isdst now.
23352 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23353 tm_isdst values.
23354
72a22e59
PE
23355 mktime: merge another wrapv change from gnulib
23356 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23357 from some compilers.
23358
68605433
PE
23359 mktime: remove incorrect attempt at unusual arithmetics
23360 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23361 The code didn't really work on such machines anyway.
23362 (TYPE_MINIMUM): Assume two's complement.
23363 (twos_complement_arithmetic): Verify that long_int and time_t
23364 are two's complement (or unsigned, in the latter case).
23365
03cf7fe3
PE
23366 mktime: check signed shifts on long_int and time_t, too
23367 * time/mktime.c (SHR): Check that shifts work as desired
23368 on the types long_int and time_t too, as SHR is used on
23369 such types.
23370
f04dfbc2
PE
23371 mktime: do not assume 'long' is wide enough
23372 * time/mktime.c (verify): Move decl up.
23373 (long_int): New type.
23374 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23375 to remove assumption in the code that 'long' is wide enough to
23376 store year values. This assumption is not true on x32 and on
23377 some non-glibc platforms.
23378
62bdf9a6
PE
23379 mktime: merge wrapv change from gnulib
23380 * time/mktime.c (WRAPV): New macro.
23381 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23382 (guess_time_tm, __mktime_internal): Do not assume that signed
23383 integer overflow wraps around; modern compilers generate code
23384 where this assumption is no longer valid.
23385
5e292e4f
L
233862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23387
23388 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23389 Replace "jmp L(pseudo_end)" with "ret".
23390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23391 Likewise.
23392
8caf8c87
AJ
233932012-05-23 Andreas Jaeger <aj@suse.de>
23394
23395 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23396 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23397
1a09dc56
AJ
233982012-05-23 Andreas Jaeger <aj@suse.de>
23399 Maximilian Attems <max@stro.at>
23400
23401 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23402 New macros.
23403
1c87aba0
L
234042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23405
23406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23407 code so that pseudo_end is just ret and the stack pointer is
23408 correct also for static library in error case.
23409
40e45bd5
JM
234102012-05-23 Joseph Myers <joseph@codesourcery.com>
23411
c2670533
JM
23412 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23413 move to syscalls.list.
23414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23418
40e45bd5
JM
23419 * manual/install.texi (Running make install): Do not mention Linux
23420 kernel version for which pt_chown is not needed.
23421 (Linux): Do not mention problems with nscd with 2.0 kernels.
23422 * INSTALL: Regenerated.
23423
be08eda5
AJ
234242012-05-23 Andreas Jaeger <aj@suse.de>
23425
23426 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23427 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23428 macro.
23429 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23431 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23433 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23435 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23436 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23437 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23438 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23439 * sysdeps/unix/sysv/linux/bits/in.h
23440 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23441
a6a056bb
RM
234422012-05-22 Roland McGrath <roland@hack.frob.com>
23443
23444 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23445 (PREPARE_VERSION): Just use assert instead, it will be elided
23446 under [NDEBUG] anyway.
23447
c9009328
L
234482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23449
23450 * sysdeps/unix/sysv/linux/Makefile: Include
23451 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23452 (sysdep_routines): Remove sysctl.
c9009328
L
23453 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23454 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23455 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23456 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23457 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23458
73338355
AJ
234592012-05-22 Andreas Jaeger <aj@suse.de>
23460
23461 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23462 that pseudo_end is just ret and the stack pointer is correct also
23463 for static library in error case.
23464
d44638b0
PP
234652012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23466
23467 [BZ #14122]
23468 * nss/nsswitch.c (defconfig_entries): New variable.
23469 (__nss_database_lookup): Don't leak defconfig entries.
23470 (nss_parse_service_list): Don't leak on error paths.
23471 (free_database_entries): New function.
23472 (free_defconfig): New function.
23473 (free_mem): Move common code to free_database_entries.
23474
31a39bd8
L
234752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23476
da0331a8
L
23477 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23478 Add arch_prctl.
23479 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23480
31a39bd8
L
23481 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23482 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23484 New macro.
23485 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23486 (INTERNAL_SYSCALL_TYPES): Likewise.
23487 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23488 (LOAD_REGS_TYPES_[1-6]): Likewise.
23489 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23490 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23491
45470df3
AZ
234922012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23493
23494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23495 copysignl for GLIBC_2_0.
23496 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23497 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23499 logbl for GLIBC_2_0.
23500 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23501 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23502
98a61bcb
L
235032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23504
a4f6e481
L
23505 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23506 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23507
f63d5db6
L
23508 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23509 Use "neg %eax".
23510
98a61bcb
L
23511 * time/mktime.c: Update copyright years.
23512
95770f14
PE
235132012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23514
6226efbd
PE
23515 mktime: merge comment-quoting-style change from gnulib
23516 * time/mktime.c: Quote 'like this' in comments.
23517 The GNU coding standards suggest that we no longer quote `like this',
23518 as "`" and "'" are typically rendered asymmetrically nowadays.
23519 The typical gnulib style is to quote 'like this' when quoting
23520 code, and "like this" when quoting English.
23521
b99e4f78
PE
23522 * time/mktime.c (compile-command): Add "-I.".
23523
643e01e6
PE
23524 mktime: merge mktime-internal.h change from gnulib
23525 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23526
2554247d
PE
23527 mktime: merge time_r change from gnulib
23528 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23529
826dd0ab
PE
23530 mktime: merge DEBUG change from gnulib
23531 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23532 case system <time.h> has a #define.
23533
bd83aabe
PE
23534 mktime: merge <sys/types.h> change from gnulib
23535 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23536 since <time.t> is now guaranteed to define time_t.
23537
95770f14
PE
23538 mktime: merge HAVE_CONFIG_H change from gnulib
23539 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23540
5e1a27a9
L
235412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23542
0e44a77e
L
23543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23544 Use "neg %eax".
23545
5e1a27a9
L
23546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23547 __rlim_t cast.
23548 (struct rusage): Use anonymous union to pad each field to
23549 __syscall_slong_t.
23550
46259bec
DM
235512012-05-21 David S. Miller <davem@davemloft.net>
23552
23553 * Makefules (o-iterator): Remove .s cases.
23554 (compile-command.s): Delete.
23555 (COMPILE.s): Delete.
23556 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23557
59f0c22e
JM
235582012-05-21 Joseph Myers <joseph@codesourcery.com>
23559
23560 * configure.in (libc_cv_predef_stack_protector): Only consider
23561 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23562 * configure: Regenerated.
23563
20c07380
L
235642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23565
bbb3154b
L
23566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23567 New macro. Use R*LP on int and pointer.
23568 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23569 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23570 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23571 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23572
20c07380
L
23573 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23574 [__WORDSIZE_TIME64_COMPAT32] instead of
23575 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23576 (struct utmp): Likewise.
23577 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23578 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23579 Renamed to ...
23580 (__WORDSIZE_TIME64_COMPAT32): This.
23581 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23582 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23583 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23584 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23585 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23586 (__WORDSIZE_TIME64_COMPAT32): New macro.
23587
d8d1017e
AJ
235882012-05-21 Andreas Jaeger <aj@suse.de>
23589
23590 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23591 only if [SHARED]. Add prototype for __wcschr_ia32.
23592
6c7fb145
RM
235932012-05-21 Roland McGrath <roland@hack.frob.com>
23594
23595 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23596 of %rbp unmolested in the jmp_buf while mangling the low bits.
23597 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23598 unmolested high bits of %rbp while demangling the low bits.
23599 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23600
66274218
AJ
236012012-05-21 Andreas Jaeger <aj@suse.de>
23602
07c58f8f
AJ
23603 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23604 * sunrpc/svc_simple.c: Use it for registerrpc.
23605 * sunrpc/xcrypt.c: Use it for passwd2des.
23606
66274218
AJ
23607 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23608
61f65140
L
236092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23610
23611 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23612 Don't define if [__SYSCALL_WORDSIZE != 32].
23613 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23614 New macro.
23615
5fefb436
AJ
236162012-05-21 Bruno Haible <bruno@clisp.org>
23617 Andreas Jaeger <aj@suse.de>
23618
23619 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23620 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23621 inptr and inend for must_buffer_ch.
23622 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23623 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23624 * stdio-common/Makefile (tests): Remove bug15.
23625 (bug15-ENV): Remove macro.
23626 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23627 anymore.
23628
d8e272ab
AJ
236292012-05-19 Andreas Jaeger <aj@suse.de>
23630 Roland McGrath <roland@hack.frob.com>
23631
23632 * manual/contrib.texi: Completely rewritten. It contains now an
23633 alphabetical list of contributors and their contributions.
23634
4a56a162
RH
236352012-05-21 Richard Henderson <rth@twiddle.net>
23636
23637 * misc/getauxval.c (__getauxval): Use unsigned long int.
23638 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23639 (getauxval): Use unsigned long int.
23640
d024d23c
L
236412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23642
23643 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23644
cbc00a03
RM
236452012-05-21 Roland McGrath <roland@hack.frob.com>
23646
23647 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23648 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23649 __alignof__ (long double).
23650
478143fa
AZ
236512012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23652
23653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23654
c7683a6d
RH
236552012-05-20 Richard Henderson <rth@twiddle.net>
23656
23657 * misc/getauxval.c: New file.
23658 * misc/sys/auxv.h: New file.
23659 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23660 (routines): Add getauxval.
23661 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23662 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23663 * elf/dl-sysdep.c (_dl_auxv): Remove.
23664 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23665 * elf/dl-support.c (_dl_auxv): New variable.
23666 (_dl_aux_init): Initialize it.
23667 * manual/startup.texi (Auxiliary Vector): New node.
23668 * sysdeps/generic/bits/hwcap.h: New file.
23669 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23670 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23671 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23672 * sysdeps/sparc/sysdep.h: ... here. Include it.
23673 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23674 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23676 Update.
c7683a6d
RH
23677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23685
a6f1845d
AZ
236862012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23687
23688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23689
cbcbe830
DM
236902012-05-19 David S. Miller <davem@davemloft.net>
23691
23692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23693
e0b16cc2
JM
236942012-05-19 Joseph Myers <joseph@codesourcery.com>
23695
23696 [BZ #14123]
23697 * math/s_ccosh.c: Include <float.h>
23698 (__ccosh): Avoid internal overflow calculating sinh and cosh
23699 values before multiplying by sin and cos values.
23700 * math/s_ccoshf.c: Likewise.
23701 * math/s_ccoshl.c: Likewise.
23702 * math/s_csin.c: Likewise.
23703 * math/s_csinf.c: Likewise.
23704 * math/s_csinl.c: Likewise.
23705 * math/s_csinh.c: Likewise.
23706 * math/s_csinhf.c: Likewise.
23707 * math/s_csinhl.c: Likewise.
23708 * math/libm-test.inc (ccos_test): Add more tests.
23709 (ccosh_test): Likewise.
23710 (csin_test): Likewise.
23711 (csinh_test): Likewise.
23712 * sysdeps/i386/fpu/libm-test-ulps: Update.
23713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23714
6ad13e08
L
237152012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23716
f66f0ce8
L
23717 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23718 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23719
6ad13e08
L
23720 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23721
b1d072a7
JM
237222012-05-19 Joseph Myers <joseph@codesourcery.com>
23723
23724 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23725 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23726 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23727 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23728 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23729 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23730 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23731 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23732 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23733 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23734 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23735 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23736 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23737 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23738 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23739 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23740 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23741 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23742 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23743 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23744 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23745 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23746 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23747 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23748 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23749 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23750 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23751 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23752 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23753 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23754 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23755
9eae47cb
AJ
237562012-05-18 Andreas Jaeger <aj@suse.de>
23757
23758 * csu/.gitignore: Delete.
23759
bb07f69f
L
237602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23761
23762 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23763 (timex): Use __syscall_slong_t.
23764
e6bdb741
AJ
237652012-05-18 Andreas Jaeger <aj@suse.de>
23766 Carlos O'Donell <carlos_odonell@mentor.com>
23767
23768 * manual/install.texi (Configuring and compiling): Update
23769 description about files modified in the source directory.
d6c33fda 23770 * INSTALL: Regenerated.
e6bdb741 23771
1b74487e
L
237722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23773
23774 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23775 value. Use "or" to set return value to -1.
23776 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23777 negate return value.
23778
a88b64b9
TMQMF
237792012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23780
23781 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23782 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23783 failure if the compiler has Graphite support disabled.
23784 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23785 Likewise.
23786 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23787 CFLAGS-memmove.c): Likewise.
23788 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23789 Likewise.
23790
3707636e
L
237912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23792
610b8622
L
23793 * sysdeps/x86_64/x32/_itoa.h: New file.
23794
7cd195df
L
23795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23796 getdents system call only if kernel and user dirents have the
23797 same d_ino and d_off.
23798
94b07d20
L
23799 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23800 LLONG_MAX != LONG_MAX.
23801 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23802 (_fitoa_word): Likewise.
23803
18298070
L
23804 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23805 years.
23806 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23807 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23808 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23809
553c7ea4
L
23810 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23811 include <bits/wordsize.h>. Check __x86_64__ instead of
23812 __WORDSIZE.
23813 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23814 if __x86_64__ is defined. Use anonymous union on fpstate.
23815
3707636e
L
23816 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23817 anonymous union.
23818
b53ef01a
AS
238192012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23820
37fb1dc0
AS
23821 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23822 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23823 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23824 Refer to _rtld_local_ro instead of _rtld_global_ro.
23825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23826 Likewise.
23827 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23828 Likewise.
23829 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23830 Likewise.
23831 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23832 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23833 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23834
b53ef01a
AS
23835 * sysdeps/powerpc/powerpc32/dl-machine.c
23836 (__elf_machine_runtime_setup) [PROF]: Don't reference
23837 _dl_prof_resolve.
23838
7a185db2
AJ
238392012-05-18 Andreas Jaeger <aj@suse.de>
23840
23841 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23842 function only available for GCCs before 3.4 since GCC 3.4
23843 introduced a builtin.
23844 (lrint): Likewise.
23845 (llrintf): Likewise.
23846 (llrint): Likewise.
23847 (fmaxf): Likewise.
23848 (fmax): Likewise.
23849 (fminf): Likewise.
23850 (fmin): Likewise.
23851 (rint): Likewise.
23852 (rintf): Likewise.
23853 (nearbyint): Likewise.
23854 (nearbyintf): Likewise.
23855 (ceil): Likewise.
23856 (ceilf): Likewise.
23857 (floor): Likewise.
23858 (floorf): Likewise.
23859
3e5aef87
L
238602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23861
428bd707
L
23862 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23863 on both fields and cast pointer to __syscall_ulong_t.
23864
3e5aef87
L
23865 * bits/types.h (__fsword_t): New type.
23866 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23867 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23869 (__FSWORD_T_TYPE): Likewise.
23870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23871 (__FSWORD_T_TYPE): Likewise.
23872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23873 (__FSWORD_T_TYPE): Likewise.
23874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23875 (__FSWORD_T_TYPE): Likewise.
23876 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23877 __SWORD_TYPE with __fsword_t.
23878 (statfs64): Likewise.
23879
1ba7c3dc
DM
238802012-05-17 David S. Miller <davem@davemloft.net>
23881
23882 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23883
59910343
AJ
238842012-05-17 Andreas Jaeger <aj@suse.de>
23885
23886 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23887 warning.
23888
2e4c1e9e
L
238892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23890
23891 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23892
de7f5ce7
AJ
238932012-05-17 Andreas Jaeger <aj@suse.de>
23894
23895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23896 when it is used.
23897
286abc3d
CM
238982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23899
23900 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23901
477cc68e
L
239022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23903
23904 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23905 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23906
1a0994f5
CD
239072012-05-17 Andreas Jaeger <aj@suse.de>
23908 Carlos O'Donell <carlos_odonell@mentor.com>
23909
23910 [BZ #14059]
23911 * sysdeps/x86_64/multiarch/init-arch.h
23912 (bit_YMM_Usable): Rename to...
23913 (bit_AVX_Usable): ... this.
23914 (bit_FMA4_Usable): New macro.
23915 (bit_XMM_state): New macro.
23916 (bit_YMM_state): New macro.
23917 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23918 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23919 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23920 (CPUID_OSXSAVE): New macro.
23921 (CPUID_AVX): New macro.
23922 (CPUID_FMA4): New macro.
23923 (index_YMM_Usable): Rename to...
23924 (index_AVX_Usable): ... this.
23925 (HAS_AVX): Use HAS_ARCH_FEATURE.
23926 (HAS_FMA4): Likewise.
23927 (HAS_YMM_USABLE): Remove.
23928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23929 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23930 are present.
23931 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23932 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23933 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23934 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23935 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23936
0af797de
CM
239372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23938
23939 * math/libm-test.c: Support platforms without multiple rounding modes.
23940 * math/bug-nextafter.c: Support platforms without FP exceptions.
23941 * math/bug-nexttoward.c: Likewise.
23942 * math/test-fenv.c: Likewise.
23943 * math/test-misc.c: Likewise.
23944 * stdlib/bug-getcontext.c: Likewise.
23945
e39745ff
AJ
239462012-05-17 Andreas Jaeger <aj@suse.de>
23947
23948 * manual/examples/search.c (critter_cmp): Change signature to
23949 avoid warnings.
23950 * manual/string.texi (Collation Functions): Likewise.
23951
48970aba
L
239522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23953
23954 * bits/types.h: Fold copyright years.
23955 * bits/typesizes.h: Likewise.
23956 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23960 * time/time.h: Likewise.
23961
bedee953
PP
239622012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23963
23964 [BZ #208]
23965 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23966 in instead of returning them. Return void.
23967 (__libc_mallinfo): Accumulate over all arenas.
23968 (__malloc_stats): Adjust for change in int_mallinfo interface.
23969
61653dfb
RM
239702012-05-16 Roland McGrath <roland@hack.frob.com>
23971
30b99d79
RM
23972 [BZ #10375]
23973 * configure.in (NM): Add AC_CHECK_TOOL for it.
23974 (libc_extra_cflags): New substituted variable.
23975 Check for -fstack-protector being used implicitly.
23976 * configure: Regenerated.
23977 * config.make.in (config-extra-cflags): New variable,
23978 gets @libc_extra_cflags@.
23979 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23980
61653dfb
RM
23981 [BZ #10375]
23982 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23983 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23984 * configure: Regenerated.
23985 * config.make.in (CPPUNDEFS): New substituted variable.
23986 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23987 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23988 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23989
661768bb
L
239902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23991
23992 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23993 (mq_attr): Use __syscall_slong_t.
23994
d4261567
L
239952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23996
23997 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23998 Check __x86_64__ instead of __WORDSIZE.
23999 (_STAT_VER_LINUX): Likewise.
24000 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24001 __syscall_ulong_t and __syscall_slong_t.
24002 (stat64): Likewise.
24003
cf3ff365
L
240042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24005
24006 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24007
76cf3e4d
L
240082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24009
24010 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24011
a637753a
L
240122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24013
24014 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24015 __syscall_ulong_t.
24016
d5e05119
L
24017 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24018 include <bits/wordsize.h>. Check __x86_64__ instead of
24019 __WORDSIZE.
24020 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24021 defined.
24022 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24023
f62ee380
L
24024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24025 include <bits/wordsize.h>. Check __x86_64__ instead of
24026 __WORDSIZE.
24027 (user_regs_struct): Use "__extension__ unsigned long long"
24028 instead of "unsigned long" if __x86_64__ is defined.
24029 (user): Likewise. Pad after pointer field if __ILP32__ is
24030 defined.
24031
4e124ced
JM
240322012-05-16 Joseph Myers <joseph@codesourcery.com>
24033
6a3951a0
JM
24034 * configure.in (makeinfo): Require version 4.5 or later. Allow
24035 versions 5 to 9.
24036 * configure: Regenerated.
24037 * manual/install.texi (texinfo): Increase version requirement to
24038 4.5 or later.
24039 * INSTALL: Regenerated.
24040
4e124ced
JM
24041 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24042
953ca31a
L
240432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24044
24045 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24046
617aca05
L
24047 * sysdeps/x86_64/x32/ffs.c: New file.
24048
5762f7ae
L
24049 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24050 __syscall_ulong_t.
24051 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24052 defined. Use __syscall_ulong_t.
24053 (shminfo): Use __syscall_ulong_t.
24054 (shm_info): Likewise.
24055
a26b6856
L
24056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24057 __syscall_ulong_t.
24058
cb2b9ef7
L
24059 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24060 <bits/wordsize.h>.
24061 (msgqnum_t): Use __syscall_ulong_t.
24062 (msglen_t): Likewise.
24063 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24064 __syscall_ulong_t.
24065
34683bb0
L
24066 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24067 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24068
84a68786
L
24069 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24070
48baa5f1
L
24071 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24072 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24073
180be88b
L
24074 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24075 __syscall_slong_t.
24076
5e90c8ad
L
24077 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24078 include <bits/wordsize.h>. Check __x86_64__ instead of
24079 __WORDSIZE.
24080
23dfb58b
L
24081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24082 "unsigned long long int" if __x86_64__ is defined.
24083 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24084
ce5d54b0
L
24085 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24086 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24087 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24088
13dc9eac
L
24089 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24090 <stdint.h>.
24091 (GET_PC): Cast to uintptr_t first.
24092 (GET_FRAME): Likewise.
24093 (GET_STACK): Likewise.
24094
a7895d15
L
24095 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24097 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24098 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24099 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24100 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24101 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24102 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24103 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24104 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24106 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24108 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24109 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24110 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24111 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24112 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24113 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24114 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24115 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24117 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24119 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24120 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24121 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24122 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24123 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24124
656416c9
AS
241252012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24126
5bd66283
AS
24127 * Makerules (+depfiles): Also collect depfiles from .oS in
24128 $(extra-objs).
24129 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24130 .oS, $(libnldbl-routines)).
24131
656416c9
AS
24132 * Makerules (native-compile-mkdep-flags): Define.
24133 * sunrpc/Makefile (extra-objs): Add $(addprefix
24134 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24135 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24136 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24137 calling $(make-target-directory).
24138
a46f2169
L
241392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24140
24141 * bits/types.h (__snseconds_t): Removed.
24142 * time/time.h (struct timespec): Replace __snseconds_t with
24143 __syscall_slong_t.
24144 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24145 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24146 Likewise.
24147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24148 (__SNSECONDS_T_TYPE): Likewise.
24149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24150 (__SNSECONDS_T_TYPE): Likewise.
24151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24152 (__SNSECONDS_T_TYPE): Likewise.
24153
6af6528b
L
241542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24155
24156 * sysdeps/mach/hurd/bits/typesizes.h
24157 (__SYSCALL_SLONG_TYPE): New macro.
24158 (__SYSCALL_ULONG_TYPE): Likewise.
24159
de986b56
L
241602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24161
24162 * bits/types.h (__syscall_slong_t): New type.
24163 (__syscall_ulong_t): Likewise.
24164
24165 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24166 (__SYSCALL_ULONG_TYPE): Likewise.
24167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24168 (__SYSCALL_SLONG_TYPE): Likewise.
24169 (__SYSCALL_ULONG_TYPE): Likewise.
24170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24171 (__SYSCALL_SLONG_TYPE): Likewise.
24172 (__SYSCALL_ULONG_TYPE): Likewise.
24173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24174 (__SYSCALL_SLONG_TYPE): Likewise.
24175 (__SYSCALL_ULONG_TYPE): Likewise.
24176
85736dc7
L
241772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24178
24179 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24180 Add sigaltstack-offsets.sym.
24181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24182 <sigaltstack-offsets.h>.
24183 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24184 longjmp_msg pointer.
24185 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24186 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24187 signal stack.
24188 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24189
cc03b296
JM
241902012-05-15 Joseph Myers <joseph@codesourcery.com>
24191
a9538892
JM
24192 * elf/stackguard-macros.h: Remove file.
24193 * sysdeps/generic/stackguard-macros.h: New file.
24194 * sysdeps/i386/stackguard-macros.h: Likewise.
24195 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24196 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24197 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24198 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24199 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24200 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24201 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24202 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24203 <elf/stackguard-macros.h>.
24204
cc03b296
JM
24205 [BZ #14109]
24206 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24207 __aligned__ in attribute.
24208 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24209 (gregset_t): Likewise.
24210
93171016
L
242112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24212
24213 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24214 * sysdeps/x86_64/64/Implies-after: Here. New file.
24215 * sysdeps/x86_64/x32/Implies-after: New file.
24216
d86813a0
L
242172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24218
24219 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24220 and access return value for _dl_profile_fixup. Use R10_LP to
24221 load frame size.
24222
2953ec75
L
242232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24224
24225 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24226
3b550e9e
L
242272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24228
24229 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24230 * sysdeps/x86_64/x32/sysdep.h: New file.
24231
eda41706
L
242322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24233
24234 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24235 * sysdeps/x86_64/setjmp.S: Likewise.
24236
9ea01d93
AZ
242372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24238
24239 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24241 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24242 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24243 remove unused global constant.
24244
02a91938
CM
242452012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24246
24247 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24248 include of <not-cancel.h>.
24249
6540185f
RM
242502012-05-15 Roland McGrath <roland@hack.frob.com>
24251
24252 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24253
509072a0
AJ
242542012-05-15 Jeff Law <law@redhat.com>
24255 Andreas Jaeger <aj@suse.de>
24256
24257 [BZ #13594]
24258 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24259 out from...
24260 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24261 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24262 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24263 code changing __hst_map_handle.map.
24264
ba75122d
RM
242652012-05-15 Roland McGrath <roland@hack.frob.com>
24266
24267 * configure.in (sysnames): Look for Implies-before and Implies-after
24268 files.
24269 * configure: Regenerated.
24270
890d8bd8
L
242712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24272
24273 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24274 8-byte data alignment with LP_SIZE alignment.
24275
f6ee6623
L
242762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24277
24278 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24279 into R10_LP.
24280
ea2626f6
L
242812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24282
24283 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24284
085f715e
L
242852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24286
24287 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24288 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24289 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24290 Likewise.
24291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24292
be8498fc
L
242932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24294
24295 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24296 (stackinfo_sub_sp): Likewise.
24297
70bc83b9
L
242982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24301 RAX_LP.
24302
9bc0b730
L
243032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24304
24305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24306 into R*_LP.
24307
6d2850e7
L
243082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24309
24310 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24311 sizes into R*_LP.
24312
3cb84561
L
243132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24314
24315 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24316
54e2ed81
L
243172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24318
24319 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24320 into R11_LP and load __x86_64_shared_cache_size_half into
24321 R8_LP.
24322
8a17f349
L
243232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24324
24325 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24326 R8_LP.
24327
777b1eea
AZ
243282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24329
24330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24331 logb for POWER7.
24332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24333 logbf for POWER7.
24334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24335 logbl for POWER7.
24336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24337 powerpc32/power7/fpu/s_logb.c via #include.
24338 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24339 powerpc32/power7/fpu/s_logbf.c via #include.
24340 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24341 powerpc32/power7/fpu/s_logbl.c via #include.
24342
d20d4ac2
JM
243432012-05-15 Joseph Myers <joseph@codesourcery.com>
24344
24345 * README.libm: Remove file.
24346
6cdef1ab
L
243472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24348
24349 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24350 count for x32. Use R*_LP and omit operand-size suffix.
24351
0b254d8f
L
243522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24353
24354 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24355 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24356 * sysdeps/x86_64/x32/shlib-versions: New file.
24357
ceb809dc
RM
243582012-05-14 Roland McGrath <roland@hack.frob.com>
24359
24360 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24361 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24362 Use _dl_fatal_printf instead.
24363
37f1abd4
JM
243642012-05-14 Joseph Myers <joseph@codesourcery.com>
24365
24366 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24367 set if not set by the user. Do not allow for being unset.
24368 * sysdeps/unix/sysv/linux/configure: Regenerated.
24369
11de3a33
L
243702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24371
24372 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24373 the `q' suffix from lea and replace .quad with ASM_ADDR.
24374
e02f153a
L
243752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24376
24377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24378 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24379 instead of $17.
24380 (PTR_DEMANGLE): Likewise.
24381
520ae0fd
L
243822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24383
24384 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24385 (LP_OP): Likewise.
24386 (ASM_ADDR): Likewise.
24387 (RAX_LP): Likewise.
24388 (RBP_LP): Likewise.
24389 (RBX_LP): Likewise.
24390 (RCX_LP): Likewise.
24391 (RDI_LP): Likewise.
24392 (RSI_LP): Likewise.
24393 (RSP_LP): Likewise.
24394 (R8_LP): Likewise.
24395 (R9_LP): Likewise.
24396 (R10_LP): Likewise.
24397 (R10_LP): Likewise.
24398 (R11_LP): Likewise.
24399 (R12_LP): Likewise.
24400 (R13_LP): Likewise.
24401 (R14_LP): Likewise.
24402 (R15_LP): Likewise.
24403
b985be81
L
244042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24405
24406 * sysdeps/x86_64/x32/dl-machine.h: New file.
24407
6a4888ff
AJ
244082012-05-14 Andreas Jaeger <aj@suse.de>
24409
24410 * manual/Makefile (subdir): Remove export of subdir.
24411 (all): Remove target.
24412 (.PHONY): Remove all from list.
24413 (mkinstalldirs): Remove.
24414 (.PHONY): Remove installdirs from list.
24415 ($(inst_infodir)/libc.info): Use make-target-directory.
24416 (installdirs): Remove.
24417 (subdir_%): Remove.
24418 (glibc-targets): Remove.
24419 (lib): Remove.
24420 (stubs): Remove.
24421 ($(objpfx)stubs ../po/manual.pot): Remove.
24422 ($(objpfx)stamp%): Remove.
24423 (make-target-directory): Remove.
24424 (subdir_install): Remove.
24425 (routines): Remove.
24426 (aux): Remove.
24427 (sources): Remove.
24428 (objects): Remove.
24429 (headers): Remove.
24430
24431 [BZ #13750]
24432 * manual/.gitignore: Remove, it's not needed anymore.
24433 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24434 all files in it.
24435 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24436 directory.
24437 (texis): Renamed to $(objpfx)texis.
24438 (texis-path): New, contains path to generated files.
24439 (chapters.%): Use texis-path for complete path, add extra argument
24440 libc-texinfo.sh.
24441 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24442 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24443 (summary,texi, stamp-summary): Use complete path of
24444 files. Generate files in build dir.
24445 (dir-add.texi): Build in build dir.
24446 (libm-err.texi,stamp-libm-err): Likewise.
24447 (version.texi, stamp-version): Likewise.
24448 (.%c.texi): Likewise.
24449 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24450 (mostlyclean): Remove target.
24451 (realclean): Remove target.
24452 (generated): Add new variable with contents from mostlyclean and
24453 realclean, remove entries duplicated in common-mostlyclean, add
24454 stamp-libm-err and stamp-version.
24455 (generated-dirs): Add libc directory.
24456 ($(inst_infodir)/libc.info): Install files from build dir.
24457
24458 * manual/install.texi (Configuring and compiling): Adjust since
24459 the info files are not part of the tar ball anymore.
24460
7ac77294
AJ
244612012-05-14 Andreas Jaeger <aj@suse.de>
24462
24463 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24464 variable.
24465
ffb7875d
JM
244662012-05-14 Joseph Myers <joseph@codesourcery.com>
24467
24468 [BZ #13717]
24469 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24470 to 2.2.0 where earlier.
24471 * sysdeps/unix/sysv/linux/configure: Regenerated.
24472 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24473 Remove conditional code.
24474 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24475 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24476 Remove conditional code.
24477 [!__NR_lchown]: Likewise.
24478 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24479 [__NR_lchown]: Likewise.
24480 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24481 comment referencing __ASSUME_LCHOWN_SYSCALL.
24482 * sysdeps/unix/sysv/linux/i386/sigaction.c
24483 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24484 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24485 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24486 Remove conditional code.
24487 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24488 (__protocol_available): Remove #if 0 code.
24489 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24490 conditional code.
24491 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24492 * sysdeps/unix/sysv/linux/kernel-features.h
24493 (__ASSUME_GETCWD_SYSCALL): Don't define.
24494 (__ASSUME_REALTIME_SIGNALS): Likewise.
24495 (__ASSUME_PREAD_SYSCALL): Likewise.
24496 (__ASSUME_PWRITE_SYSCALL): Likewise.
24497 (__ASSUME_POLL_SYSCALL): Likewise.
24498 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24499 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24500 non-SPARC.
24501 (__ASSUME_SIOCGIFNAME): Don't define.
24502 (__ASSUME_MSG_NOSIGNAL): Likewise.
24503 (__ASSUME_SENDFILE): Define unconditionally.
24504 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24505 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24506 conditional code.
24507 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24508 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24509 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24510 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24511 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24512 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24513 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24518 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24530 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24538 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24539 Remove conditional code.
24540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24541 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24542 Remove conditional code.
24543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24544 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24545 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24546 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24547 Remove conditional code.
24548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24549 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24550 Remove conditional code.
24551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24552 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24553 Remove conditional code.
24554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24555 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24556 Remove conditional code.
24557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24558 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24559 Remove conditional code.
24560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24561 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24562 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24564 * sysdeps/unix/sysv/linux/sigaction.c
24565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24567 * sysdeps/unix/sysv/linux/sigpending.c
24568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24570 * sysdeps/unix/sysv/linux/sigprocmask.c
24571 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24572 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24573 * sysdeps/unix/sysv/linux/sigsuspend.c
24574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24576 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24577 (__libc_missing_rt_sigs): Remove.
24578 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24579 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24580 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24581 Remove conditional code.
24582 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24583 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24584 return 1.
24585 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24586 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24587 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24588 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24589
1bfb7291
AJ
245902012-05-14 Andreas Jaeger <aj@suse.de>
24591
caae5a81
AJ
24592 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24593 it's not used in glibc.
24594 (__coshm1): Likewise.
24595 (__acosh1p): Likewise.
24596 (__sgn): Likewise.
24597
1bfb7291
AJ
24598 * manual/string.texi (Copying and Concatenation): Add missing
24599 variable in concat example.
24600 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24601
c044d724
L
246022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24603
144c5467 24604 [BZ #14103]
c044d724
L
24605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24606 __builtin_clzl with __builtin_clzll.
24607
2523c62b
L
246082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24609
24610 [BZ #14104]
24611 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24612 libc_freeres_ptr.
24613
d7bb4c42
LD
246142012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24615
24616 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24617 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24618 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24619 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24620
9dc4e1fb
MF
246212012-05-14 Mike Frysinger <vapier@gentoo.org>
24622
24623 * NEWS: Update ia64 info.
24624
c7df0112
AS
246252012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24626
24627 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24628 used as bcopy.
24629
dc70356c
TS
246302012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24631
24632 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24633 * sysdeps/unix/syscalls.list (dup3): Likewise.
24634 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24635 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24636
9fb1a21f
L
246372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24638
24639 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24640 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24641
4822a2a5
L
246422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24643
24644 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24645 thread pointer.
24646 (TLS_IE): Use mov/add instead of movq/addq to load thread
24647 pointer.
24648 (TLS_GD_PREFIX): New.
24649 (TLS_GD): Use it.
24650
842b81d6
DM
246512012-05-11 David S. Miller <davem@davemloft.net>
24652
24653 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24654 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24655 (_FPU_SETCW): Likewise.
24656
1cf463cd
L
246572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24658
24659 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24660 is 32-byte aligned.
24661
60cc4a18
AS
246622012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24663
24664 [BZ #11837]
24665 * iconvdata/gb18030.c: Update tables.
24666 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24667 characters specially.
24668 (BODY for TO_LOOP): Add encoding of missing ranges.
24669
febb44a4
TS
246702012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24671
24672 [BZ #13673]
24673 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24674 * sysdeps/mach/hurd/dup3.c: Likewise.
24675 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24676 * sysdeps/powerpc/memmove.c:: Likewise.
24677
0a10fb9e
L
246782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24679
24680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24681 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24682
df8a552f
L
246832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24684
24685 * elf/elf.h (R_X86_64_RELATIVE64): New.
24686 (R_X86_64_NUM): Updated.
24687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24688 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24689 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24690 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24691 tst-quad1pie tst-quad2pie
24692 (modules-names): Add tst-quadmod1 tst-quadmod2.
24693 ($(objpfx)tst-quad1): New dependency.
24694 ($(objpfx)tst-quad2): Likewise.
24695 ($(objpfx)tst-quad1pie): Likewise.
24696 ($(objpfx)tst-quad2pie): Likewise.
24697 * sysdeps/x86_64/tst-quad1.c: New file.
24698 * sysdeps/x86_64/tst-quad1pie.c: New file.
24699 * sysdeps/x86_64/tst-quad2.c: Likewise.
24700 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24701 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24702 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24703 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24704 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24705
f34d6f84
ST
247062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24707
f42d41d1
ST
24708 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24709 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24710 * streams/stropts.h (t_scalar_t): Define type.
24711
3c3571fc
ST
24712 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24713 (_PATH_PRESERVE): Set to "/var/lib".
24714 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24715
61f06bd3
ST
24716 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24717 instead of int.
24718
918d4d71
ST
24719 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24720 if __dir_mkfile succeeded.
24721
f34d6f84
ST
24722 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24723 checking for _hurd_dtablesize. Unlock it right after having
24724 finished _hurd_dtable allocation.
24725
10589b4a
TS
247262012-05-10 Thomas Schwinge <thomas@schwinge.name>
24727
674cdbc7
TS
24728 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24729 * sysdeps/mach/hurd/configure: Regenerated.
24730 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24731 special-casing to...
24732 * sysdeps/gnu/configure.in: ... this new file.
24733 * sysdeps/unix/sysv/linux/configure: Regenerated.
24734 * sysdeps/gnu/configure: New generated file.
24735
8e41b99f
TS
24736 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24737 for Linux: use nsec instead of usec, as well as:
24738 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24739 members of type struct timespec.
24740 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24741 New macros.
24742 (struct stat64): Likewise.
24743 (_STATBUF_ST_NSEC): New macro.
24744 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24745
10589b4a
TS
24746 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24747 __strtoul_internal rather than strtoul.
24748
63643c85
PT
247492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24750
24751 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24752 and reject them.
24753
3faebe6a
ST
247542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24755
24756 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24757 which preserves existing values.
24758 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24759
c6474b07
PT
247602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24761
24762 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24763 TIMEOUT values. Return EINVAL for NFDS values either negative or
24764 greater than FD_SETSIZE.
24765
1043890b
ST
247662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24767
24768 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24769 allocated, call __vm_protect to finish enabling the existing space, and
24770 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24771 allocate the remainder.
24772
37ed8b9b
PT
247732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24774
24775 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24776 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24777
db653660
ST
247782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24779
37ed8b9b
PT
24780 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24781 sysdeps/mach/hurd/readlink.c.
b29d4053 24782
db653660
ST
24783 * posix/tst-sysconf.c (posix_options): Only use
24784 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24785 _POSIX_SYNCHRONIZED_IO when they are defined
24786 * sysdeps/mach/hurd/bits/posix_opt.h:
24787 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24788 (_XOPEN_REALTIME): Undefine macro.
24789 (_XOPEN_REALTIME_THREADS): Undefine macro.
24790 (_XOPEN_SHM): Undefine macro.
24791 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24792 macro to -1.
24793 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24794 macro to -1.
24795 (_POSIX_ASYNC_IO): Undefine macro.
24796 (_POSIX_PRIORITIZED_IO): Undefine macro.
24797 (_POSIX_SPIN_LOCKS): Define macro to -1.
24798
ee16e894
ST
24799 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24800 SA_NODEFER, SA_RESETHAND.
24801 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24802 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24803 F_DUPFD_CLOEXEC.
24804
6103ae3b
TS
248052012-05-10 Thomas Schwinge <thomas@schwinge.name>
24806
24807 * elf/Makefile (pldd-modules): Define unconditionally.
24808
80b4e5f3
TS
248092012-05-10 Thomas Schwinge <thomas@schwinge.name>
24810
24811 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24812
edadcbd6
ST
248132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24814
24815 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24816 Return ENOENT when name is empty.
24817 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24818
80694780
TS
248192012-05-10 Thomas Schwinge <thomas@schwinge.name>
24820
1792c087
TS
24821 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24822
80694780
TS
24823 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24824
6b645f0d
ST
248252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24826
80694780
TS
24827 Fix mlock in all cases except non-readable pages.
24828 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24829 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24830
6b645f0d
ST
24831 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24832 (__mkdir): When path is `/', just fail with EEXIST.
24833 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24834
e468f8a3
TS
248352012-05-10 Thomas Schwinge <thomas@schwinge.name>
24836
24837 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24838 <sys/uio.h> (for writev).
24839 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24840 and <sys/param.h> (for MIN).
24841
a4186cff
PT
248422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24843
24844 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24845 REQUESTED_TIME. Properly set the remaining time and return EINTR
24846 if interrupted.
24847
510bbf14
TS
248482012-05-10 Thomas Schwinge <thomas@schwinge.name>
24849
24850 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24851 Depend on against $(link-rpcuserlibs).
24852
5d5722e8
ST
248532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24854
a4186cff
PT
24855 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24856 (__libc_stack_end): Do not use attribute_relro.
24857 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24858 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24859 to libthread-provided value.
a4186cff
PT
24860 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24861 attribute_relro.
5d5722e8 24862
37233df9
TS
248632012-05-10 Thomas Schwinge <thomas@schwinge.name>
24864
be971a2b
TS
24865 [BZ #3748]
24866 * bits/libc-lock.h (__libc_once_get): New macro.
24867 * sysdeps/mach/bits/libc-lock.h: Likewise.
24868 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24870 instead of using implementation details.
24871
37233df9
TS
24872 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24873 * libio/freopen.c: Likewise.
24874 * libio/freopen64.c: Likewise.
24875 * misc/syslog.c: Likewise.
24876 * nscd/connections.c: Likewise.
24877 * nscd/netgroupcache.c: Likewise.
24878 * sysdeps/posix/getcwd.c: Likewise.
24879
38de94a5
RM
248802012-05-10 Roland McGrath <roland@hack.frob.com>
24881
24882 * math/w_ilogbf.c: Add #include <limits.h>.
24883
67530489
ST
248842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24885
a4186cff 24886 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24887 path instead of returning without unlocking.
24888
67530489
ST
24889 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24890 immediate-write ioctls.
24891 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24892
5aa3a74a
TS
248932012-05-10 Thomas Schwinge <thomas@schwinge.name>
24894
18bad2ae
TS
24895 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24896 __builtin_frame_address instead of making assumptions about the
24897 location of the return address relative to DATA. Force early load of
24898 the return address.
24899 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24900 __builtin_frame_address.
24901
5aa3a74a
TS
24902 dup3 for GNU Hurd.
24903 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24904 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24905 implement dup3 and do some further code clean-ups.
24906 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24907 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24908
ecd0de9a
ST
249092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24910
cd9fa985
ST
24911 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24912
a4186cff
PT
24913 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24914 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24915 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24916 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24917 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24918 d->port.lock.
802ca5a5 24919
a4186cff
PT
24920 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24921 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24922 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24923
bcf55240
TS
249242012-05-10 Thomas Schwinge <thomas@schwinge.name>
24925
6960eb42
TS
24926 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24927 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24928 definitions.
24929
eb43375f
TS
24930 accept4 for GNU Hurd.
24931 * include/sys/socket.h (__libc_accept4): New prototype.
24932 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24933 to implement __libc_accept4.
24934 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24935 __libc_accept4.
24936 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24937
bcf55240
TS
24938 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24939 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24940 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24941 signal-defines.sym.
24942
6178c55b
ST
249432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24944
a4186cff 24945 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24946
6f080c2f
TS
249472012-05-10 Thomas Schwinge <thomas@schwinge.name>
24948
24949 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24950 assertion on O_CLOEXEC flag.
24951 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24952 * hurd/intern-fd.c: Likewise.
24953 * hurd/port2fd.c: Likewise.
24954
bcfe3a54
ST
249552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24956
24957 [BZ #3906]
24958 * bits/in.h (IPV6_PKTINFO): Define new macro.
24959 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24960
89c9aa49
AZ
249612012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24962
24963 [BZ #13954]
24964 [BZ #13955]
24965 [BZ #13956]
24966 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24968 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24969 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24971 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24972 * math/libm-test.inc (logb_test) : Additional logb tests.
24973
021db4be
AJ
249742012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24975 Andreas Jaeger <aj@suse.de>
24976
24977 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24978 * configure: Regenerated.
24979 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24980 * config.make.in (link-obsolete-rpc): New substituted variable.
24981 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24982 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24983 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24984 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24985 so that libc.a contains the symbols.
24986 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24987 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24988 * sunrpc/auth_none.c: Likewise.
24989 * sunrpc/auth_unix.c: Likewise.
24990 * sunrpc/authdes_prot.c: Likewise.
24991 * sunrpc/authuxprot.c: Likewise.
24992 * sunrpc/clnt_gen.c: Likewise.
24993 * sunrpc/clnt_perr.c: Likewise.
24994 * sunrpc/clnt_raw.c: Likewise.
24995 * sunrpc/clnt_simp.c: Likewise.
24996 * sunrpc/clnt_tcp.c: Likewise.
24997 * sunrpc/clnt_udp.c: Likewise.
24998 * sunrpc/clnt_unix.c: Likewise.
24999 * sunrpc/des_crypt.c: Likewise.
25000 * sunrpc/des_soft.c: Likewise.
25001 * sunrpc/get_myaddr.c: Likewise.
25002 * sunrpc/key_call.c: Likewise.
25003 * sunrpc/key_prot.c: Likewise.
25004 * sunrpc/netname.c: Likewise.
25005 * sunrpc/pm_getmaps.c: Likewise.
25006 * sunrpc/pm_getport.c: Likewise.
25007 * sunrpc/pmap_clnt.c: Likewise.
25008 * sunrpc/pmap_prot.c: Likewise.
25009 * sunrpc/pmap_prot2.c: Likewise.
25010 * sunrpc/pmap_rmt.c: Likewise.
25011 * sunrpc/publickey.c: Likewise.
25012 * sunrpc/rpc_cmsg.c: Likewise.
25013 * sunrpc/rpc_common.c: Likewise.
25014 * sunrpc/rpc_dtable.c: Likewise.
25015 * sunrpc/rpc_prot.c: Likewise.
25016 * sunrpc/rpc_thread.c: Likewise.
25017 * sunrpc/rtime.c: Likewise.
25018 * sunrpc/svc.c: Likewise.
25019 * sunrpc/svc_auth.c: Likewise.
25020 * sunrpc/svc_raw.c: Likewise.
25021 * sunrpc/svc_run.c: Likewise.
25022 * sunrpc/svc_tcp.c: Likewise.
25023 * sunrpc/svc_udp.c: Likewise.
25024 * sunrpc/svc_unix.c: Likewise.
25025 * sunrpc/svcauth_des.c: Likewise.
25026 * sunrpc/xcrypt.c: Likewise.
25027 * sunrpc/xdr.c: Likewise.
25028 * sunrpc/xdr_array.c: Likewise.
25029 * sunrpc/xdr_float.c: Likewise.
25030 * sunrpc/xdr_intXX_t.c: Likewise.
25031 * sunrpc/xdr_mem.c: Likewise.
25032 * sunrpc/xdr_rec.c: Likewise.
25033 * sunrpc/xdr_ref.c: Likewise.
25034 * sunrpc/xdr_sizeof.c: Likewise.
25035 * sunrpc/xdr_stdio.c: Likewise.
25036
b5c086a2
RM
250372012-05-10 Roland McGrath <roland@hack.frob.com>
25038
25039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25040 change. Update copyright years.
25041
6d74dd09
JM
250422012-05-10 Joseph Myers <joseph@codesourcery.com>
25043
25044 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25045
28e72501
MK
250462012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25047 Joseph Myers <joseph@codesourcery.com>
25048 Paul Pluzhnikov <ppluzhnikov@google.com>
25049
25050 [BZ #14012]
25051 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25052 requiring rpcgen.
25053 [cross-compiling] (extra-libs): Likewise.
25054 [cross-compiling] (extra-libs-others): Likewise.
25055 [cross-compiling] (librpcsvc-routines): Likewise.
25056 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25057 [cross-compiling] (omit-deps): Likewise.
25058 (sunrpc-CPPFLAGS): New variable.
25059 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25060 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25061 (cross-rpcgen-objs): New variable.
25062 (extra-objs): Append $(cross-rpcgen-objs).
25063 ($(cross-rpcgen-objs)): New rule.
25064 ($(objpfx)cross-rpcgen): Likewise.
25065 (rpcgen-cmd): Define to use $(built-program-file). Expand
25066 comment.
25067 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25068 ($(objpfx)x%.stmp): Likewise.
25069 * sunrpc/proto.h [IS_IN_build] (_): Define.
25070 [IS_IN_build] (_libc_intl_domainname): Likewise.
25071
c8c59454
L
250722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25073
25074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25075 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25076 and R_X86_64_TPOFF64.
25077
6f27cd16
JM
250782012-05-10 Joseph Myers <joseph@codesourcery.com>
25079
25080 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25081 sysdeps/unix/sysv/syscalls.list.
25082 (stime): Likewise.
25083 (utime): Likewise.
25084 * sysdeps/unix/sysv/syscalls.list: Remove file.
25085
02467e1c
PE
250862012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25087
25088 [BZ #3440]
25089 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25090 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25091 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25092 (__LC_IDENTIFICATION): Make these macros useful in #if
25093 expressions, as required by C99.
25094
da392631
AS
250952012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25096
25097 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25098 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25099 after this.
25100
8115f29b
L
251012012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25102
25103 * stdlib/longlong.h: Updated from GCC.
25104
bdd74070
AJ
251052012-05-09 Andreas Jaeger <aj@suse.de>
25106
edfe0dbe
AJ
25107 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25108 default is first entry.
25109 (run_mode): Set type.
25110 (main): Remove informal message about syslog.
25111 (options): Fix typo.
25112
bcfe3a54
ST
25113 [BZ #14053]
25114 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25115 to asm.
bcfe3a54
ST
25116 (lrint): Likewise.
25117 (llrintf): Likewise.
25118 (llrint): Likewise.
25119 (rint): Likewise.
25120 (rintf): Likewise.
25121 (nearbyint): Likewise.
25122 (nearbyintf): Likewise.
bdd74070 25123
91d8d69e
AJ
251242012-05-09 Andreas Jaeger <aj@suse.de>
25125 Pedro Alves <palves@redhat.com>
25126
25127 * nscd/nscd.c (run_mode): Use enum.
25128 (main): Cleanup coding style issue.
25129
bb90b80b
AJ
251302012-05-09 Alexandre Oliva <aoliva@redhat.com>
25131 Andreas Jaeger <aj@suse.de>
25132
bcfe3a54
ST
25133 * nscd/nscd.c (go_background): Replaced with...
25134 (run_mode): ... this.
bb90b80b 25135 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25136 (options): Add -F --foreground.
25137 (main): Implement it.
25138 (parse_opt): Parse it.
bb90b80b 25139
1a4b75a1
AJ
251402012-05-09 Andreas Jaeger <aj@suse.de>
25141
25142 [BZ #14083]
25143 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25144 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25145 -Wconversion warning.
25146 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25147 Likewise.
25148
b1cc2472
JM
251492012-05-09 Joseph Myers <joseph@codesourcery.com>
25150
25151 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25152 == 0.
25153 (LC_ALL): Use macro-int-constant.
25154 (LC_COLLATE): Likewise.
25155 (LC_CTYPE): Likewise.
25156 (LC_MESSAGES): Likewise.
25157 (LC_MONETARY): Likewise.
25158 (LC_NUMERIC): Likewise.
25159 (LC_TIME): Likewise.
25160 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25161 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25163 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25164 Specify type.
25165 [C99-based standards] (float_t): Expect type.
25166 [C99-based standards] (double_t): Expect type.
25167 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25168 type.
25169 [C99-based standards] (HUGE_VALL): Likewise.
25170 [C99-based standards] (INFINITY): Likewise.
25171 [C99-based standards] (NAN): Likewise.
25172 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25173 [C99-based standards] (FP_NAN): Likewise.
25174 [C99-based standards] (FP_NORMAL): Likewise.
25175 [C99-based standards] (FP_SUBNORMAL): Likewise.
25176 [C99-based standards] (FP_ZERO): Likewise.
25177 [C99-based standards] (FP_FAST_FMA): Use
25178 optional-macro-int-constant. Specify type. Require == 1.
25179 [C99-based standards] (FP_FAST_FMAF): Likewise.
25180 [C99-based standards] (FP_FAST_FMAL): Likewise.
25181 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25182 [C99-based standards] (FP_ILOGBNAN): Likewise.
25183 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25184 Specify type.
25185 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25186 [C99-based standards] (math_errhandling): Specify type.
25187 [ISO99 || ISO11] (signgam): Do not allow.
25188 [non-C99-based standards] (copysignf): Do not allow.
25189 [non-C99-based standards] (exp2f): Likewise.
25190 [non-C99-based standards] (log2f): Likewise.
25191 [non-C99-based standards] (modff): Allow.
25192 [non-C99-based standards] (erff): Do not allow.
25193 [non-C99-based standards] (erfcf): Likewise.
25194 [non-C99-based standards] (gammaf): Likewise.
25195 [non-C99-based standards] (hypotf): Likewise.
25196 [non-C99-based standards] (j0f): Likewise.
25197 [non-C99-based standards] (j1f): Likewise.
25198 [non-C99-based standards] (jnf): Likewise.
25199 [non-C99-based standards] (lgammaf): Likewise.
25200 [non-C99-based standards] (tgammaf): Likewise.
25201 [non-C99-based standards] (y0f): Likewise.
25202 [non-C99-based standards] (y1f): Likewise.
25203 [non-C99-based standards] (ynf): Likewise.
25204 [non-C99-based standards] (isnanf): Likewise.
25205 [non-C99-based standards] (acoshf): Likewise.
25206 [non-C99-based standards] (asinhf): Likewise.
25207 [non-C99-based standards] (atanhf): Likewise.
25208 [non-C99-based standards] (cbrtf): Likewise.
25209 [non-C99-based standards] (expm1f): Likewise.
25210 [non-C99-based standards] (ilogbf): Likewise.
25211 [non-C99-based standards] (log1pf): Likewise.
25212 [non-C99-based standards] (logbf): Likewise.
25213 [non-C99-based standards] (nextafterf): Likewise.
25214 [non-C99-based standards] (remainderf): Likewise.
25215 [non-C99-based standards] (rintf): Likewise.
25216 [non-C99-based standards] (scalbf): Likewise.
25217 [non-C99-based standards] (copysignl): Likewise.
25218 [non-C99-based standards] (exp2l): Likewise.
25219 [non-C99-based standards] (log2l): Likewise.
25220 [non-C99-based standards] (modfl): Allow.
25221 [non-C99-based standards] (erfl): Do not allow.
25222 [non-C99-based standards] (erfcl): Likewise.
25223 [non-C99-based standards] (gammal): Likewise.
25224 [non-C99-based standards] (hypotl): Likewise.
25225 [non-C99-based standards] (j0l): Likewise.
25226 [non-C99-based standards] (j1l): Likewise.
25227 [non-C99-based standards] (jnl): Likewise.
25228 [non-C99-based standards] (lgammal): Likewise.
25229 [non-C99-based standards] (tgammal): Likewise.
25230 [non-C99-based standards] (y0l): Likewise.
25231 [non-C99-based standards] (y1l): Likewise.
25232 [non-C99-based standards] (ynl): Likewise.
25233 [non-C99-based standards] (isnanl): Likewise.
25234 [non-C99-based standards] (acoshl): Likewise.
25235 [non-C99-based standards] (asinhl): Likewise.
25236 [non-C99-based standards] (atanhl): Likewise.
25237 [non-C99-based standards] (cbrtl): Likewise.
25238 [non-C99-based standards] (expm1l): Likewise.
25239 [non-C99-based standards] (ilogbl): Likewise.
25240 [non-C99-based standards] (log1pl): Likewise.
25241 [non-C99-based standards] (logbl): Likewise.
25242 [non-C99-based standards] (nextafterl): Likewise.
25243 [non-C99-based standards] (remainderl): Likewise.
25244 [non-C99-based standards] (rintl): Likewise.
25245 [non-C99-based standards] (scalbl): Likewise.
25246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25247 [non-C99-based standards] (FP_*): Do not allow.
25248 [C99-based standards] (FP_*): Change to
25249 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25250 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25251 allow.
25252 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25253 (SIG_ERR): Likewise.
25254 [X/Open-based standards] (SIG_HOLD): Likewise.
25255 (SIG_IGN): Likewise.
25256 (SIGABRT): Use macro-int-constant. Specify type. Require
25257 positive value.
25258 (SIGFPE): Likewise.
25259 (SIGILL): Likewise.
25260 (SIGINT): Likewise.
25261 (SIGSEGV): Likewise.
25262 (SIGTER): Likewise.
25263 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25264 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25265 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25266 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25267 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25268 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25269 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25270 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25271 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25272 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25273 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25274 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25275 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25276 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25277 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25278 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25279 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25280 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25281 [X/Open-based standards] (SIGTRAP): Likewise.
25282 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25283 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25284 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25285 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25286 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25287 allow.
25288
b9f1922d
IW
252892012-05-08 Ian Wienand <ianw@vmware.com>
25290
25291 [BZ #14080]
25292 * time/tzset.c (__tzset_parse_tz): Update default rules for
25293 daylight time changes in the Energy Policy Act of 2005.
25294
1db86e88
AJ
252952012-05-09 Andreas Jaeger <aj@suse.de>
25296
25297 [BZ #13983]
25298 * elf/ldconfig.c (parse_conf): Change string to make clear that
25299 ldconfig only issued a warning if ld.so.conf does not exist.
25300
dee4a4e3
DM
253012012-05-08 David S. Miller <davem@davemloft.net>
25302
ee0db190
DM
25303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25304 movxtod instead of popping the value on the stack.
25305
dee4a4e3
DM
25306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25307
6a43ec98
CD
253082012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25309
25310 * config.h.in: Add HAVE_ARM_PCS_VFP.
25311
05c2c961
RMG
253122012-05-08 Roland Mc Grath <roland@hack.frob.com>
25313
bcfe3a54
ST
25314 [BZ #13979]
25315 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25316 checking but the checks are disabled for any reason.
05c2c961 25317
4b30f61a
L
253182012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25319
25320 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25321 and ELF64_R_TYPE with ELFW(R_TYPE).
25322
eee2bc67
JM
253232012-05-08 Joseph Myers <joseph@codesourcery.com>
25324
7ea5391a
JM
25325 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25326 (ulimit): Likewise.
25327
eee2bc67
JM
25328 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25329 (settimeofday): Likewise.
25330
abb66a67
MF
253312012-05-08 Mike Frysinger <vapier@gentoo.org>
25332
25333 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25334 a struct th_u2 inside the union, and move tu_block/tu_code into
25335 a new th_u3 union of tu_block/tu_code inside of that. Move
25336 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25337 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25338 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25339 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25340 (th_stuff): Change to th_u1.tu_stuff.
25341 (th_data): Define.
25342 (th_msg): Change to th_u1.th_u2.tu_data.
25343
7f18b530
DM
253442012-05-07 David S. Miller <davem@davemloft.net>
25345
05760585
DM
25346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25347
7f18b530
DM
25348 [BZ #14074]
25349 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25350 (SETUP_PIC_REG): Use it.
25351 (SETUP_PIC_REG_LEAF): Use it.
25352
495fd99f
JM
253532012-05-07 Joseph Myers <joseph@codesourcery.com>
25354
25355 [BZ #13885]
25356 [BZ #13923]
25357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25358 USE_AS_EXPM1L.
25359 (EXPL_FINITE): Likewise.
25360 (FLDLOG): Likewise.
25361 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25362 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25363 e_expl.S.
25364 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25365 USE_AS_EXPM1L.
25366 (EXPL_FINITE): Likewise.
25367 (FLDLOG): Likewise.
25368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25369 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25370 e_expl.S.
25371 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25372 test of -max_value argument for long double.
25373 * sysdeps/i386/fpu/libm-test-ulps: Update.
25374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25375
6693d694
DM
253762012-05-06 David S. Miller <davem@davemloft.net>
25377
25378 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25379 quad soft-float symbols whose references which are compiler
25380 generated.
25381 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25382
6c23e11c
JM
253832012-05-06 Joseph Myers <joseph@codesourcery.com>
25384
d8b82cad
JM
25385 [BZ #13884]
25386 [BZ #13914]
25387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25388 USE_AS_EXP10L.
25389 (EXPL_FINITE): Likewise.
25390 (FLDLOG): Likewise.
25391 (c0): Likewise.
25392 (c1): Likewise.
25393 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25394 Adjust comments for base varying.
25395 (__expl_finite): Change alias to EXPL_FINITE.
25396 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25397 e_expl.S.
25398 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25399 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25401 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25402 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25403 USE_AS_EXP10L.
25404 (EXPL_FINITE): Likewise.
25405 (FLDLOG): Likewise.
25406 (c0): Likewise.
25407 (c1): Likewise.
25408 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25409 Adjust comments for base varying.
25410 (__expl_finite): Change alias to EXPL_FINITE.
25411 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25412 tests for bugs.
25413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25414
6c23e11c
JM
25415 [BZ #14064]
25416 * math/libm-test.inc (check_float_internal): Correct ulp
25417 calculation for subnormal expected results.
25418
29ba805c
AJ
254192012-05-06 Andreas Jaeger <aj@suse.de>
25420
25421 * Makeconfig (+math-flags): New, set to -frounding-math.
25422 (+cflags): Add +math-flags so that all of glibc gets compiled with
25423 it.
25424
25425 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25426
7b17aeda
JM
254272012-05-05 Joseph Myers <joseph@codesourcery.com>
25428
5779f134
JM
25429 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25430 Disable one test.
25431
41498f4d
JM
25432 [BZ #13787]
25433 [BZ #13922]
25434 [BZ #14036]
25435 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25436 (__ieee754_expl): Allow for and saturate large arguments.
25437 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25438 (u_threshold): Likewise.
25439 (__exp): Call __ieee754_exp before checking for overflow and
25440 underflow.
25441 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25442 (u_threshold): Likewise.
25443 (__expf): Call __ieee754_expf before checking for overflow and
25444 underflow.
25445 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25446 (u_threshold): Likewise.
25447 (__expl): Call __ieee754_expl before checking for overflow and
25448 underflow.
25449 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25450 (__ieee754_expl): Allow for and saturate large arguments.
25451 * math/libm-test.inc (exp_test): Add another test. Do not allow
25452 missing overflow exception on overflow.
25453 (expm1_test): Do not allow missing overflow exception on overflow.
25454
6698b8bf
JM
25455 * sysdeps/i386/fpu/e_expl.c: Move to ...
25456 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25457 rather than using inline asm.
25458 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25459 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25460 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25461
7b17aeda
JM
25462 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25463 (nice): Likewise.
25464 (poll): Likewise.
25465 (signal): Likewise.
25466 (time): Likewise.
25467 (times): Likewise.
25468
f7c85819
JM
254692012-05-04 Joseph Myers <joseph@codesourcery.com>
25470
25471 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25472 sysdeps/unix/common/syscalls.list.
25473 (fchmod): Likewise.
25474 (fchown): Likewise.
25475 (ftruncate): Likewise.
25476 (getrusage): Likewise.
25477 (gettimeofday): Likewise.
25478 (setpgid): Likewise.
25479 (setregid): Likewise.
25480 (setreuid): Likewise.
25481 (sigaction): Likewise.
25482 (truncate): Likewise.
25483 (vhangup): Likewise.
25484 * sysdeps/unix/common/syscalls.list: Remove file.
25485 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25486 * sysdeps/unix/sysv/linux/Implies: Likewise.
25487
336270d0
L
254882012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25489
25490 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25492 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25493 Moved to ...
25494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25495 Here.
25496 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25497 to ...
25498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25499 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25500 to ...
25501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25502 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25503 to ...
25504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25505 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25506 to ...
25507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25508 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25509 to ...
25510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25511 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25512 to ...
25513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25514 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25515 to ...
25516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25517 Here.
25518 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25519 to ...
25520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25521 Here.
25522 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25523 to ...
25524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25525 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25526 Moved to ...
25527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25528 Here.
25529 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25530 to ...
25531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25532
d128e450
JM
255332012-05-04 Joseph Myers <joseph@codesourcery.com>
25534
fa8ee516
JM
25535 * sysdeps/unix/common/bits/dirent.h: Remove file.
25536 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25537
d128e450
JM
25538 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25539 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25540 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25541 * sysdeps/unix/bsd/isatty.c: Likewise.
25542 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25543 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25544 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25545
ff8faaf0 255462012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25547
62881be4 25548 [BZ #13563]
31dc8730
AZ
25549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25550 long double comparison inaccuracies.
25551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25553
6fef930c
AS
255542012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25555
25556 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25558
8f203e6c
JM
255592012-05-04 Joseph Myers <joseph@codesourcery.com>
25560
25561 [BZ #14049]
25562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25563 nonzero digits before rounding a hex value.
25564 * stdlib/tst-strtod.c (tests): Add another test.
25565
5197d9c2
AK
255662012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25567
25568 * sysdeps/s390/fpu/libm-test-ulps: Update.
25569
f0c1dedf
AJ
255702012-05-03 Andreas Jaeger <aj@suse.de>
25571
25572 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25573 does not get optimized out.
25574 (malloc_opt_barrier): New.
25575
a65ef2ae 255762012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25577 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25578
2b942cb7 25579 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25580 intermediate file deletion.
2b942cb7 25581 (generated): Add .symlist files.
a65ef2ae 25582
54b71e02
JM
255832012-05-03 Joseph Myers <joseph@codesourcery.com>
25584
25585 [BZ #13775]
25586 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25587 Redirect under this condition.
25588 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25589 [__USE_GNU] (__dprintf_chk): Not under this condition.
25590 [__USE_GNU] (__vdprintf_chk): Likewise.
25591 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25592 under this condition.
25593 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25594 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25595 [__USE_XOPEN2K8] (vdprintf): Likewise.
25596 [__USE_GNU] (__dprintf_chk): Not under this condition.
25597 [__USE_GNU] (__vdprintf_chk): Likewise.
25598 [__USE_GNU] (dprintf): Likewise.
25599 [__USE_GNU] (vdprintf): Likewise.
25600
d3dfcc41
RM
256012012-05-03 Roland McGrath <roland@hack.frob.com>
25602
25603 * elf/Makefile (common-generated): Set this instead of generated for
25604 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25605 $(all-built-dso)-derived lists.
25606
7ac30cc5
AJ
256072012-05-03 Andreas Jaeger <aj@suse.de>
25608
0c51e550
AJ
25609 * sysdeps/i386/fpu/libm-test-ulps: Update.
25610
7ac30cc5
AJ
25611 * FAQ: Removed.
25612 * FAQ.in: Likewise.
25613 * scripts/gen-FAQ.pl: Likewise.
25614 * manual/install.texi (Installation): Point to online location of
25615 FAQ.
25616 * Makefile (files-for-dist): Remove FAQ.
25617 (FAQ): Remove.
25618
d4c2917f
AM
256192012-05-02 Allan McRae <allan@archlinux.org>
25620
25621 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25622 (LDFLAGS-reldepmod5.so): Likewise.
25623 (LDFLAGS-reldep6mod1.so): Likewise.
25624 (LDFLAGS-reldep6mod4.so): Likewise.
25625 (LDFLAGS-reldep8mod3.so): Likewise.
25626 (LDFLAGS-unload4mod1.so): Likewise.
25627 (LDFLAGS-unload4mod2.so): Likewise.
25628 (LDFLAGS-tst-initorder): Likewise.
25629 (LDFLAGS-tst-initordera2.so): Likewise.
25630 (LDFLAGS-tst-initordera3.so): Likewise.
25631 (LDFLAGS-tst-initordera4.so): Likewise.
25632 (LDFLAGS-tst-initorderb2.so): Likewise.
25633 (LDFLAGS-noload): Likewise.
25634 (LDFLAGS-next): Likewise.
25635 (LDFLAGS-order2mod1.so): Likewise.
25636 (LDFLAGS-order2mod2.so): Likewise.
25637 (LDFLAGS-tst-initorder2): Likewise.
25638 (LDFLAGS-tst-initorder2a.so): Likewise.
25639 (LDFLAGS-tst-initorder2b.so): Likewise.
25640 (LDFLAGS-tst-initorder2c.so): Likewise.
25641 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25642
d77f993f
DM
256432012-05-02 David S. Miller <davem@davemloft.net>
25644
25645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25646
171a70b4
PP
256472012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25648
25649 [BZ #14055]
25650 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25651
0be196ad
AJ
256522012-05-02 Andreas Jaeger <aj@suse.de>
25653
25654 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25655 since we manipulate rounding mode.
25656 (CPPFLAGS-test-idouble.c): Likewise.
25657 (CPPFLAGS-test-ifloat.c): Likewise.
25658 (CFLAGS-test-ldouble.c): Likewise.
25659 (CFLAGS-test-double.c): Likewise.
25660 (CFLAGS-test-float.c): Likewise.
25661 (CFLAGS-test-misc.c): Likewise.
25662 (CFLAGS-test-test-fenv.c): Likewise.
25663
4f9d04aa
AZ
256642012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25665
2b942cb7
RM
25666 [BZ #2550]
25667 [BZ #2570]
25668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25669 comparisons to determine direction to adjust input.
4f9d04aa 25670
82a79e7d
RM
256712012-05-01 Roland McGrath <roland@hack.frob.com>
25672
f5a01ca9
RM
25673 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25674 output to the target.
25675
90fe4186
RM
25676 * scripts/localplt.awk: New file.
25677 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25678 (check-localplt-CFLAGS): Variable removed.
25679 ($(all-built-dso:=.jmprel)): New static pattern rule.
25680 (generated): Add those targets.
25681 (localplt-built-dso): New variable.
25682 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25683
25684 * elf/check-localplt.c: File removed.
25685
82397ed6
RM
25686 * scripts/check-execstack.awk: New file.
25687 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25688 (check-execstack-CFLAGS): Variable removed.
25689 ($(objpfx)check-execstack.h): Target removed.
25690 ($(objpfx)execstack-default): New target.
25691 (generated): Add that instead of check-execstack.h.
25692 ($(all-built-dso:=.phdr)): New static pattern rule.
25693 (generated): Add those targets.
25694 * elf/check-execstack.c: File removed.
25695
82a79e7d
RM
25696 * scripts/check-textrel.awk: New file.
25697 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25698 (check-textrel-CFLAGS): Variable removed.
25699 (all-built-dso): Use := to define.o
25700 ($(all-built-dso:=.dyn)): New static pattern rule.
25701 (generated): Add those targets.
25702 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25703 * config.make.in (READELF): New substituted variable.
25704 * elf/check-textrel.c: File removed.
25705
62fde54f 257062012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25707
615605c9
JM
25708 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25709 allow.
25710 * conform/data/ctype.h-data [C99-based standards] (isblank):
25711 Expect function.
25712 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25713 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25715 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25716 Specify type. Require positive value.
25717 (EILSEQ): Likewise.
25718 (ERANGE): Likewise.
25719 [ISO || POSIX] (EILSEQ): Do not expect.
25720 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25721 Specify type. Require positive value.
25722 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25723 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25724 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25725 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25726 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25728 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25730 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25731 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25732 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25733 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25734 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25737 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25738 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25739 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25740 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25743 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25744 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25746 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25747 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25748 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25749 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25750 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25751 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25752 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25753 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25755 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25756 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25757 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25758 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25759 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25760 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25761 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25762 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25763 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25764 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25765 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25766 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25767 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25768 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25769 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25770 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25771 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25772 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25773 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25774 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25775 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25776 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25777 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25778 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25779 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25780 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25781 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25782 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25783 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25784 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25785 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25786 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25787 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25788 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25789 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25790 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25791 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25792 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25793 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25794 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25795 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25796 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25797 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25798 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25799 Require >= 2.
25800 (FLT_ROUNDS): Expect as macro, not constant.
25801 (FLT_MANT_DIG): Use macro-int-constant.
25802 (DBL_MANT_DIG): Likewise.
25803 (LDBL_MANT_DIG): Likewise.
25804 (FLT_DIG): Likewise.
25805 (DBL_DIG): Likewise.
25806 (LDBL_DIG): Likewise.
25807 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25808 (DBL_MIN_EXP): Likewise.
25809 (LDBL_MIN_EXP): Likewise.
25810 (FLT_MAX_EXP): Use macro-int-constant.
25811 (DBL_MAX_EXP): Likewise.
25812 (LDBL_MAX_EXP): Likewise.
25813 (FLT_MAX_10_EXP): Likewise.
25814 (DBL_MAX_10_EXP): Likewise.
25815 (LDBL_MAX_10_EXP): Likewise.
25816 (FLT_MAX): Use macro-constant.
25817 (DBL_MAX): Likewise.
25818 (LDBL_MAX): Likewise.
25819 (FLT_EPSILON): Use macro-constant. Give upper bound.
25820 (DBL_EPSILON): Likewise.
25821 (LDBL_EPSILON): Likewise.
25822 (FLT_MIN): Likewise.
25823 (DBL_MIN): Likewise.
25824 (LDBL_MIN): Likewise.
25825 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25826 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25827 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25828 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25829 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25830 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25831 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25832 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25833 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25834 [ISO11] (FLT_TRUE_MIN): Likewise.
25835 [ISO11] (LDBL_TRUE_MIN): Likewise.
25836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25837 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25838 (SCHAR_MIN): Use macro-int-constant. Specify type.
25839 (SCHAR_MAX): Likewise.
25840 (UCHAR_MAX): Likewise.
25841 (CHAR_MIN): Likewise.
25842 (CHAR_MAX): Likewise.
25843 (MB_LEN_MAX): Use macro-int-constant.
25844 (SHRT_MIN): Use macro-int-constant. Specify type.
25845 (SHRT_MAX): Likewise.
25846 (USHRT_MAX): Likewise.
25847 (INT_MAX): Likewise.
25848 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25849 bound negative.
25850 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25851 bound with "U".
25852 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25853 bound with "L".
25854 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25855 bound negative. Suffix upper bound with "L".
25856 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25857 bound with "UL".
25858 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25859 Specify type.
25860 [C99-based standards] (LLONG_MAX): Likewise.
25861 [C99-based standards] (ULLONG_MAX): Likewise.
25862 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25863 == 0.
25864 [ISO11] (max_align_t): Require type.
25865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25866
c9140a62
JM
25867 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25868 from $CFLAGS, without defining away __attribute__ calls.
25869 (checknamespace): Use $CFLAGS_namespace.
25870
9af0bf29
JM
25871 * conform/conformtest.pl (@keywords): Only include C99 keywords
25872 for standards based on C99 or C11.
25873
343222a2
JM
25874 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25875 Disable tests.
25876 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25877 UNIX98]: Likewise.
25878
661f8cf0
JM
25879 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25880 usability of symbols in #if.
25881
ee74b9cb
JM
25882 * conform/conformtest.pl: If macro or constant types start
25883 "promoted:", expect the symbol to be of the following type
25884 promoted by the integer promotions.
62fde54f 25885
aafc49b3
JM
25886 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25887 in one place. Also handle "macro-constant".
25888
fefdf574
JM
25889 * conform/conformtest.pl: Only accept expected macro values with
25890 "==". Parse all "macro" lines in one place.
25891 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25892
f2d922fe
JM
25893 * conform/conformtest.pl: Handle braced types on "constant" lines
25894 instead of handling "typed-constant".
25895 * conform/data/signal.h-data: Use "constant" instead of
25896 "typed-constant".
25897
d22956c9
JM
25898 * conform/conformtest.pl: Handle "optional-" at start of lines in
25899 one place rather than duplicating several cases. Handle each
25900 format of "macro" line with initial "optional-".
25901
028e2e38
JM
25902 * conform/conformtest.pl: Only accept expected constant or
25903 optional-constant values with "==". Parse all "constant" lines in
25904 one place. Parse all "optional-constant" lines in one place.
25905 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25906 * conform/data/fmtmsg.h-data: Likewise.
25907 * conform/data/netinet/in.h-data: Likewise.
25908 * conform/data/tar.h-data: Likewise.
25909 * conform/data/limits.h-data: Use "==" form on "constant" and
25910 "optional-constant" lines.
25911
1b8f2850
JM
25912 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25913 Use -std=c99 for XOPEN2K.
25914 (@knownproblems): Remove.
25915 (newtoken): Don't check %isknown.
25916
a05a144b
JM
25917 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25918 Do not expect macro.
25919 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25930 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25931 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25932 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25949 [XPG3] (acosh): Likewise.
25950 [XPG3] (asinh): Likewise.
25951 [XPG3] (atanh): Likewise.
25952 [XPG3] (cbrt): Likewise.
25953 [XPG3] (expm1): Likewise.
25954 [XPG3] (ilogb): Likewise.
25955 [XPG3] (log1p): Likewise.
25956 [XPG3] (logb): Likewise.
25957 [XPG3] (nextafter): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25960 [XPG3] (remainder): Likewise.
25961 [XPG3] (rint): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25967 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25968 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25969 [UNIX98 || XOPEN2K] (scalb): Expect.
25970 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25971 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25973 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25974 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25977 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25980 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25981 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25986 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25988 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25998 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25999 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26000 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26001 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26002 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26003 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26004 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26005 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26006 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26009 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26010 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26011 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26012 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26013 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26014 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26015 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26016 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26017 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26018 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26019 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26020 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26021 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26022 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26023 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26024 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26025 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26026 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26027 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26028 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26029 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26030 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26031 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26032 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26033 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26034 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26035 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26036 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26037 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26038 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26039 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26040 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26041 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26042 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26043 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26044 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26045 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26046 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26047 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26048 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26049 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26050 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26051 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26052 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26053 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26054 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26058 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26059 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26062 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26063 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26066 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26067 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26068 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26069 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26070 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26071 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26072 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26073 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26074 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26075 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26076 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26077 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26078 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26079 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26080 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26081 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26082 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26083 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26084 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26085 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26086 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26087 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26088 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26089 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26090 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26091 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26092 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26093 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26094 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26095 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26096 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26097 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26098 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26099 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26100 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26103 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26104 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26107
73c5ebe3
JM
26108 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26109 _XOPEN_SOURCE_EXTENDED for XPG4.
26110
39c33b6c
JM
26111 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26112
62fde54f
JM
26113 * Makeconfig (localtime): Remove variable.
26114 (inst_localtime-file): Likewise.
26115
0741d64c
AS
261162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26117
26118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26119 Update.
26120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26121 Update.
26122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26123 Update.
26124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26125 Update.
26126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26127 Update.
26128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26129 Update.
26130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26131 Update.
26132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26133 Update.
26134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26135 Update.
26136
7cb029ee
JM
261372012-05-01 Joseph Myers <joseph@codesourcery.com>
26138
26139 [BZ #2550]
26140 [BZ #2570]
26141 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26142 comparisons to determine direction to adjust input.
26143 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26144 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26145 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26146 Likewise.
26147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26148 Likewise.
26149 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26150 Likewise.
26151 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26152 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26153 Likewise.
26154 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26155 Likewise.
26156 * math/libm-test.inc (nexttoward_test): Add more tests.
26157
412bd966
AS
261582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26159
26160 [BZ #14040]
26161 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26162 in version GLIBC_2.1, not GLIBC_2.0.
26163 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26164 Likewise.
26165
9568c0c2
JM
261662012-04-30 Joseph Myers <joseph@codesourcery.com>
26167
adfbc8ac
JM
26168 [BZ #13942]
26169 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26170 (1 - x) * (1 + x).
26171 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26172 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26173 * math/libm-test.inc (acos_test): Add more tests.
26174 (asin_test): Likewise.
26175 * sysdeps/i386/fpu/libm-test-ulps: Update.
26176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26177
5ba3cc69
JM
26178 [BZ #14034]
26179 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26180 of square root.
26181 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26182 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26183 * math/libm-test.inc (acos_test_tonearest): New function.
26184 (acos_test_towardzero): Likewise.
26185 (acos_test_downward): Likewise.
26186 (acos_test_upward): Likewise.
26187 (asin_test_tonearest): Likewise.
26188 (asin_test_towardzero): Likewise.
26189 (asin_test_downward): Likewise.
26190 (asin_test_upward): Likewise.
26191 (main): Call the new functions.
26192 * sysdeps/i386/fpu/libm-test-ulps: Update.
26193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26194
9568c0c2
JM
26195 [BZ #13884]
26196 [BZ #13924]
26197 * math/e_exp10.c: Include <float.h>.
26198 (__ieee754_exp10): Handle underflow here rather than multiplying
26199 large negative argument by M_LN10.
26200 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26201 of __ieee754_expf.
26202 * math/e_exp10l.c: Include <float.h>.
26203 (__ieee754_exp10l): Handle underflow here rather than multiplying
26204 large negative argument by M_LN10l.
26205 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26206 spurious overflow exception on underflow.
26207
5ac3ea17
MP
262082012-04-29 Marek Polacek <polacek@redhat.com>
26209
26210 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26211 (__fortify_function): New macro.
26212 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26213 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26214 __extern_always_inline.
26215 * libio/bits/stdio2.h: Likewise.
26216 * libio/bits/stdio.h: Likewise.
26217 * string/string.h: Likewise.
26218 * string/bits/string3.h: Likewise.
26219 * include/stdio.h: Likewise.
26220 * stdlib/bits/stdlib.h: Likewise.
26221 * stdlib/stdlib.h: Likewise.
26222 * rt/bits/mqueue2.h: Likewise.
26223 * rt/mqueue.h: Likewise.
26224 * posix/bits/unistd.h: Likewise.
26225 * posix/unistd.h: Likewise.
26226 * io/bits/poll2.h: Likewise.
26227 * io/bits/fcntl2.h: Likewise.
26228 * io/fcntl.h: Likewise.
26229 * io/sys/poll.h: Likewise.
26230 * misc/bits/syslog.h: Likewise.
26231 * misc/bits/syslog-ldbl.h: Likewise.
26232 * misc/sys/syslog.h: Likewise.
26233 * socket/bits/socket2.h: Likewise.
26234 * socket/sys/socket.h: Likewise.
26235 * debug/tst-chk1.c: Likewise.
26236 * wcsmbs/bits/wchar2.h: Likewise.
26237 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26238 * wcsmbs/wchar.h: Likewise.
26239
ecf0ebfb
AJ
262402012-04-29 Andreas Jaeger <aj@suse.de>
26241
26242 * Makerules (tests): Remove enable-check-abi protection.
26243 (check-abi-warn): Remove.
26244 (check-abi-%): Remove check-abi-warn usage.
26245
26246 * configure.in: Remove check-abi configure option.
26247 * configure: Regenerated.
26248 * config.make.in (enable-check-abi): Remove.
26249
6d5c57fa
AS
262502012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26251
24c5d07e 26252 [BZ #14033]
ded5180a
AS
26253 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26254 double functions to double *_finite functions.
26255
7e0d315d
AS
26256 [BZ #13941]
26257 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26258 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26259 LDBL_MIN_EXP.
26260 * stdio-common/Makefile (tests): Add tst-sprintf3.
26261 * stdio-common/tst-sprintf3.c: New file.
26262
6d5c57fa
AS
26263 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26264 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26265
0749ff8b
JM
262662012-04-28 Joseph Myers <joseph@codesourcery.com>
26267
26268 * conform/conformtest.pl: Remove duplicate typed-constant
26269 handling.
26270
8dbd5d7b
DM
262712012-04-28 David S. Miller <davem@davemloft.net>
26272
26273 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26274 (check-abi-%): Remove AWK script prerequisite and explicit
26275 abilist directory.
26276 (check-abi): Rewrite to just diff the symlist with the abilist.
26277 (config-tls, config-abi-config): Delete, no longer used.
26278 (update-abi-%): Remove AWK script and explicit abilist directory.
26279 (update-abi): Rewrite to simply compare and conditionally copy the
26280 symlist and the sysdep abilist file. Remove update-abi-config
26281 checks.
26282 * abilist/ld.abilist: Remove.
26283 * abilist/libBrokenLocale.abilist: Remove.
26284 * abilist/libanl.abilist: Remove.
26285 * abilist/libcrypt.abilist: Remove.
26286 * abilist/libdl.abilist: Remove.
26287 * abilist/librt.abilist: Remove.
26288 * abilist/libthread_db.abilist: Remove.
26289 * abilist/libutil.abilist: Remove.
26290 * scripts/extract-abilist.awk: Remove.
26291 * scripts/merge-abilist.awk: Remove.
26292 * sysdeps/generic/libcidn.abilist: New file.
26293 * sysdeps/generic/libnss_compat.abilist: New file.
26294 * sysdeps/generic/libnss_db.abilist: New file.
26295 * sysdeps/generic/libnss_dns.abilist: New file.
26296 * sysdeps/generic/libnss_files.abilist: New file.
26297 * sysdeps/generic/libnss_hesiod.abilist: New file.
26298 * sysdeps/generic/libnss_nis.abilist: New file.
26299 * sysdeps/generic/libnss_nisplus.abilist: New file.
26300 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26301 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26302 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26303 file.
26304 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26305 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26306 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26307 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26308 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26309 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26310 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26311 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26312 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26313 file.
26314 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26315 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26316 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26317 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26318 file.
26319 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26320 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26321 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26322 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26323 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26324 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26325 file.
26326 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26327 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26328 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26329 file.
26330 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26332 New file.
26333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26334 New file.
26335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26336 New file.
26337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26338 New file.
26339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26340 New file.
26341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26342 New file.
26343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26344 New file.
26345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26346 New file.
26347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26348 New file.
26349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26350 New file.
26351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26352 New file.
26353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26354 New file.
26355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26356 New file.
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26358 file.
26359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26360 New file.
26361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26362 New file.
26363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26364 file.
26365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26366 New file.
26367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26368 New file.
26369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26370 file.
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26372 New file.
26373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26374 New file.
26375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26376 New file.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26378 New file.
26379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26380 New file.
26381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26382 New file.
26383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26385 file.
26386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26387 New file.
26388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26389 file.
26390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26391 file.
26392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26393 file.
26394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26395 file.
26396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26397 file.
26398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26399 New file.
26400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26401 file.
26402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26403 file.
26404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26405 New file.
26406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26407 file.
26408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26410 file.
26411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26412 New file.
26413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26414 file.
26415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26416 file.
26417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26418 file.
26419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26420 file.
26421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26422 file.
26423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26424 New file.
26425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26426 file.
26427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26428 file.
26429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26430 New file.
26431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26432 file.
26433 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26434 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26435 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26436 file.
26437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26438 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26439 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26440 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26441 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26442 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26443 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26444 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26445 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26446 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26449 file.
26450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26451 New file.
26452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26453 file.
26454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26455 file.
26456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26457 file.
26458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26459 file.
26460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26461 file.
26462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26463 New file.
26464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26465 New file.
26466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26467 file.
26468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26469 New file.
26470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26471 file.
26472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26474 file.
26475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26476 New file.
26477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26478 file.
26479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26480 file.
26481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26482 file.
26483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26484 file.
26485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26486 file.
26487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26488 New file.
26489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26490 New file.
26491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26492 file.
26493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26494 New file.
26495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26496 file.
26497
41d73a1b
JM
264982012-04-28 Joseph Myers <joseph@codesourcery.com>
26499
26500 * conform/conformtest.pl: Fix typo in handling typed-constant from
26501 allow-header.
26502
28aeeda4
JM
265032012-04-27 Joseph Myers <joseph@codesourcery.com>
26504
adae8f5e
JM
26505 * README: Cut down references to pre-2.6 Linux kernels and
26506 Linuxthreads. Update lists of configurations in libc and ports
26507 and sort alphabetically. Say "or newer" with Linux kernel version
26508 requirements.
26509
28aeeda4
JM
26510 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26511
a462cb63
RA
265122012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26513
26514 [BZ #887]
26515 * math/libm-test.inc (logb_test_downward): New test to expose
26516 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26517 rounding mode.
26518
6ad3493e
JM
265192012-04-27 Joseph Myers <joseph@codesourcery.com>
26520
26521 [BZ #14027]
26522 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26523 to be done.
26524 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26525 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26526
2ce4f015
JM
265272012-04-26 Joseph Myers <joseph@codesourcery.com>
26528
5aeb141a
JM
26529 * sysdeps/unix/i386/brk.S: Remove file.
26530 * sysdeps/unix/i386/dl-brk.S: Likewise.
26531 * sysdeps/unix/i386/pipe.S: Likewise.
26532 * sysdeps/unix/i386/sigreturn.S: Likewise.
26533 * sysdeps/unix/i386/syscall.S: Likewise.
26534 * sysdeps/unix/i386/vfork.S: Likewise.
26535 * sysdeps/unix/i386/wait.S: Likewise.
26536
7143acae
JM
26537 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26538 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26539
2ce4f015
JM
26540 * configure.in (arm*-none*): Do not allow without
26541 --enable-hacker-mode.
26542 (netbsd*): Remove case setting base_os.
26543 (386bsd*): Likewise.
26544 (freebsd*): Likewise.
26545 (bsdi*): Likewise.
26546 (osf*): Likewise.
26547 (sunos*): Likewise.
26548 (ultrix*): Likewise.
26549 (newsos*): Likewise.
26550 (dynix*): Likewise.
26551 (*bsd*): Likewise.
26552 (sysv*): Likewise.
26553 (isc*): Likewise.
26554 (esix*): Likewise.
26555 (sco*): Likewise.
26556 (minix*): Likewise.
26557 (irix4*): Likewise.
26558 (irix6*): Likewise.
26559 (solaris[2-9]*): Likewise.
26560 (none): Likewise.
26561 * configure: Regenerated.
26562
0ac229c8
AZ
265632012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26564
26565 [BZ #11521]
26566 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26567 overflow or cancellation in calculating denominator.
26568 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26569 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26570 down expression to avoid unexpected rounding in newer GCCs.
26571 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26572
33f244f4
DM
265732012-04-26 David S. Miller <davem@davemloft.net>
26574
26575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26576 long-double compat symbols.
26577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26590
cfa1f3e8
DM
265912012-04-25 David S. Miller <davem@davemloft.net>
26592
26593 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26594 HWCAP_* values only after the memory barriers have been defined.
26595 (atomic_full_barrier): Define.
26596 (atomic_read_barrier): Define.
26597 (atomic_write_barrier): Define.
26598
6e236b92
SP
265992012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26600
26601 * shlib-versions: Add libgcc_s version information.
26602 * sysdeps/generic/libgcc_s.h: Remove.
26603 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26604 libgcc_s.h.
26605 * sysdeps/gnu/unwind-resume.c: Likewise.
26606 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26607
aab39a09
DM
266082012-04-25 David S. Miller <davem@davemloft.net>
26609
26610 * sysdeps/unix/sparc/brk.S: Delete.
26611 * sysdeps/unix/sparc/dl-brk.S: Delete.
26612 * sysdeps/unix/sparc/pipe.S: Delete.
26613 * sysdeps/unix/sparc/sysdep.S: Delete.
26614 * sysdeps/unix/sparc/sysdep.h: Delete.
26615 * sysdeps/unix/sparc/vfork.S: Delete.
26616 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26617 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26619 ret_ERRVAL, r0, r1, MOVE): Define.
26620 (JUMPTARGET): Remove.
26621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26622 sysdeps/unix/sparc/sysdep.h
26623 (ENTRY, END): Remove.
26624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26625
a3cc4f48
JM
266262012-04-25 Joseph Myers <joseph@codesourcery.com>
26627
2ed8cda2
JM
26628 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26629 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26630 -DIS_IN_build.
26631
35d76d59
JM
26632 * timezone/README: Update upstream location and email address for
26633 tzcode and tzdata.
26634 * timezone/zdump.c: Update from tzcode 2012b.
26635 * timezone/zic.c: Likewise.
26636
a3cc4f48
JM
26637 * configure.in (libc_cv_as_needed): Remove test.
26638 * configure: Regenerated.
26639 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26640 conditional definition.
26641 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26642 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26643 * config.make.in (have-as-needed): Remove variable.
26644
ceab42c3
SP
266452012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26646 Paul Pluzhnikov <ppluzhnikov@google.com>
26647
26648 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26649 strings correctly.
26650
3ce2865f
CLT
266512012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26652
26653 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26654 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26655 * sysdeps/sh/strlen.S: Likewise.
26656
f37e0d68
JM
266572012-04-24 Joseph Myers <joseph@codesourcery.com>
26658
ae186e9a
JM
26659 * sysdeps/unix/fork.S: Remove file.
26660 * sysdeps/unix/i386/fork.S: Likewise.
26661 * sysdeps/unix/sparc/fork.S: Likewise.
26662
b96914af
JM
26663 * sysdeps/unix/system.c: Remove file.
26664 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26665
f37e0d68
JM
26666 * sysdeps/unix/getegid.S: Remove file.
26667 * sysdeps/unix/geteuid.S: Likewise.
26668
87ef29ca
RM
266692012-04-24 Roland McGrath <roland@hack.frob.com>
26670
83bcd236
RM
26671 * scripts/check-localplt.awk: New file.
26672 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26673 of diff.
26674 * scripts/data/localplt-generic.data: Add a comment.
26675
87ef29ca
RM
26676 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26677 NODE when __dir_mkfile failed.
26678 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26679 Reported by Ludovic Courtès <ludo@gnu.org>.
26680
e5a6e567
AJ
266812012-04-24 Andreas Jaeger <aj@suse.de>
26682
26683 * Makerules (common-clean): Also remove gen-as-const-headers
26684 files.
26685
c1820385
JM
266862012-04-24 Joseph Myers <joseph@codesourcery.com>
26687
26688 * Makerules (native-compile): Do not change working directory for
26689 build. Use $(OUTPUT_OPTION) in command.
26690 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26691
94e02fc4
AZ
266922012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26693
26694 [BZ #13886]
26695 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26696 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26697 * math/libm-test.inc (floor_test): Add more tests.
26698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26699
3a533ca3
JM
267002012-04-24 Joseph Myers <joseph@codesourcery.com>
26701
940ab4b3
JM
26702 * sysdeps/unix/getdents.c: Remove file.
26703 * sysdeps/unix/sysv/getdents.c: Likewise.
26704 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26705
90e037bd
JM
26706 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26707 sysdeps/unix/mman/syscalls.list.
26708 (mmap): Likewise.
26709 (mprotect): Likewise.
26710 (msync): Likewise.
26711 (munmap): Likewise.
26712 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26713 * sysdeps/unix/mman/syscalls.list: Remove.
26714 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26715
3a533ca3
JM
26716 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26717 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26718 * configure: Regenerated.
26719 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26720 $(libgcc_s_suffix).
26721 * config.make.in (libgcc_s_suffix): Remove variable.
26722
1ad743de
JM
267232012-04-23 Joseph Myers <joseph@codesourcery.com>
26724
4ad451e2
JM
26725 * sysdeps/unix/sysv/gethostname.c: Move to ...
26726 * sysdeps/posix/gethostname.c: ... here.
26727
5e37ce39
JM
26728 * sysdeps/unix/execve.S: Remove file.
26729
1ad743de
JM
26730 * sysdeps/unix/_exit.S: Remove file.
26731
4e681b5b
AJ
267322012-04-23 Andreas Jaeger <aj@suse.de>
26733
26734 [BZ #13739]
26735 * manual/Makefile: Remove make dist support, there's no
26736 need for a stand-alone documentation tar ball.
26737 (TEXI2DVI): Define always, it's not in Makeconfig.
26738 (dist): Removed.
26739 (tar-it): Removed.
26740 (edition): Removed.
26741 (glibc-doc-$(edition).tar): Removed
26742 (%.Z): Removed.
26743 (%.gz): Removed.
26744 (%.uu): Removed.
26745 (ETAGS): Remove, it's in Makeconfig.
26746 (move-if-change): Remove, it's in Makeconfig.
26747
38686a03 267482012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26749
26750 [BZ #13970]
26751 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26752 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26753 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26754 (strtod_l, strtof_l, strtold_l): Remove __wur.
26755 It is not necessarily an error to ignore strtol's return value.
26756 One can reliably look at the stored endptr to decide whether
26757 the number had valid syntax.
26758
7c0616fa
AJ
267592012-04-21 Andreas Jaeger <aj@suse.de>
26760
803cb6b7 26761 [BZ #13739]
7c0616fa
AJ
26762 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26763
b0fe253f
JM
267642012-04-21 Joseph Myers <joseph@codesourcery.com>
26765
26766 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26767 * sysdeps/unix/sysv/Versions: Remove file.
26768
8280f22d
MT
267692012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26770
26771 [BZ #13927]
26772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26773
75ce411f 267742012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26775
26776 [BZ #7064]
26777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26778 version from __vm86.
26779
097d59fa
JM
267802012-04-20 Joseph Myers <joseph@codesourcery.com>
26781
a90f3bcb
JM
26782 * sysdeps/unix/common/lxstat.c: Remove file.
26783 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26784
edc7ea78
JM
26785 * sysdeps/unix/sysv/Makefile: Remove file.
26786
cb78c221
JM
26787 * sysdeps/unix/sysv/direct.h: Remove file.
26788
efa6a45f
JM
26789 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26790 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26791 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26792 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26793 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26794 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26795 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26796
9c9f2d0c
JM
26797 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26798
4541c83b
JM
26799 * sysdeps/unix/xmknod.c: Remove file.
26800 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26801
f5d153a0
JM
26802 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26803
aa746595
JM
26804 * sysdeps/unix/sysv/i386/time.S: Remove file.
26805
cce5905e
JM
26806 * sysdeps/unix/fxstat.c: Remove file.
26807 * sysdeps/unix/xstat.c: Likewise.
26808 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26809
37fa3841
JM
26810 * sysdeps/unix/sysv/sigaction.c: Remove file.
26811
ff1962a3
JM
26812 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26813 (sysdep_headers): Remove variable.
26814 [termio.h not in sysdep_headers] (generated): Likewise.
26815 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26816 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26817 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26818 * sysdeps/unix/sysv/tcflow.c: Likewise.
26819 * sysdeps/unix/sysv/tcflush.c: Likewise.
26820 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26821 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26822 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26823 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26824 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26825
e7740d31
JM
26826 * sysdeps/unix/siglist.c: Remove file.
26827
ee06f18b
JM
26828 * sysdeps/unix/getppid.S: Remove file.
26829
097d59fa
JM
26830 * sysdeps/unix/mkdir.c: Remove file.
26831 * sysdeps/unix/rmdir.c: Likewise.
26832
ff3d51ec
AS
268332012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26834
26835 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26836 ERR_MAX value.
26837 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26838 errlist-compat value.
26839
50f81fd7
DM
268402012-04-18 David S. Miller <davem@davemloft.net>
26841
26842 * sysdeps/generic/memcopy.h (reg_char): Delete.
26843 * debug/strcat_chk.c: Use char, not reg_char.
26844 * debug/strcpy_chk.c: Likewise.
26845 * debug/strncat_chk.c: Likewise.
26846 * debug/strncpy_chk.c: Likewise.
26847 * string/memchr.c: Likewise.
26848 * string/memrchr.c: Likewise.
26849 * string/rawmemchr.c: Likewise.
26850 * string/strcat.c: Likewise.
26851 * string/strchr.c: Likewise.
26852 * string/strchrnul.c: Likewise.
26853 * string/strcmp.c: Likewise.
26854 * string/strcpy.c: Likewise.
26855 * string/strncat.c: Likewise.
26856 * string/strncmp.c: Likewise.
26857 * string/strncpy.c: Likewise.
26858
8ff41c46
WS
268592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26860
26861 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26862 __builtin_memcopy is called when src and dest ranges are known to not
26863 overlap.
26864
6b652f46
WS
268652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26866
26867 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26868 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26869 fwd_align_merge macro call.
26870 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26871 bwd_align_merge macro call.
26872 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26873
b282631e
WS
268742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26875
26876 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26877 bwd_align_merge macros.
26878 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26879 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26880 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26881
95aa737c
DM
268822012-04-18 David S. Miller <davem@davemloft.net>
26883
26884 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26885
7a99a614
AJ
268862012-04-18 Andreas Jaeger <aj@suse.de>
26887
26888 [BZ# 6794]
26889 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26890 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26892
26893 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26894 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26895 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26896
26897 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26898 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26899 Adjust for changed ldbl-128 files.
26900
26901 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26902 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26903 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26904
e5270c23
DM
269052012-04-17 David S. Miller <davem@davemloft.net>
26906
26907 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26908
fb5e92c9
AS
269092012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26910
26911 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26912 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26913 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26914 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26915 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26916 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26917
76da7265
AZ
269182012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26919
26920 [BZ #6794]
26921 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26922 * math/libm-test.inc: Add ilogb errno and exception tests.
26923 * math/w_ilogb.c: New file: ilogb wrapper.
26924 * math/w_ilogbf.c: New file: ilogbf wrapper.
26925 * math/w_ilogbl.c: New file: ilogbl wrapper.
26926 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26927 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26928 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26929 exception being thrown with 0.0 as argument.
26930 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26931 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26932 exception being thrown with 0.0 as argument.
26933 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26934 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26935 exception being thrown with 0.0 as argument.
26936 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26937 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26938 exception being thrown with 0.0 as argument.
26939 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26940 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26941 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26942 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26943 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26944 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26945 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26946 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26947 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26948
0396e69d
PB
269492012-04-17 Petr Baudis <pasky@ucw.cz>
26950
26951 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26952 with altivec.
26953
750b5926
MP
269542012-04-16 Marek Polacek <polacek@redhat.com>
26955
26956 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26957
751728a1
MP
269582012-04-16 Marek Polacek <polacek@redhat.com>
26959
26960 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26961 operands of fdivp instruction.
26962
34a27407
L
269632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26964
26965 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26966 * elf/tst-auditmod3b.c: Likewise.
26967 * elf/tst-auditmod4b.c: Likewise.
26968 * elf/tst-auditmod5b.c: Likewise.
26969 * elf/tst-auditmod6b.c: Likewise.
26970 * elf/tst-auditmod6c.c: Likewise.
26971 * elf/tst-auditmod7b.c: Likewise.
26972 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26973 * sysdeps/x86_64/preconfigure.in: Likewise.
26974 * sysdeps/x86_64/preconfigure: Regenerated.
26975
7e73e17d
L
269762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26977
26978 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26979 __ILP32__.
26980
c7a6ab72
AB
269812012-04-13 Antoine Balestrat <merkil33@gmail.com>
26982
26983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26984 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26985
a9e8e0e0
CL
269862012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26987
26988 [BZ #13973]
26989 * locale/iso-639.def: Fix gl language name. Spotted by
26990 Yaron Shahrabani.
26991
ec98af7d
RM
269922012-04-12 Roland McGrath <roland@hack.frob.com>
26993
26994 [BZ #2074]
26995 * libio/libio.h (__io_write_fn): Update comment.
26996
247c3ede
PB
269972012-04-12 Petr Baudis <pasky@ucw.cz>
26998
26999 [BZ #2074]
27000 * stdio.texi (Hook Functions): The user provided writer function
27001 is not allowed to return -1.
27002
55939d6d
DM
270032012-04-11 David S. Miller <davem@davemloft.net>
27004
27005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27006
90020f5a
MF
270072012-04-11 Mike Frysinger <vapier@gentoo.org>
27008
27009 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27010 Add a leading slash to rtkaio.
27011
288f9098
JM
270122012-04-11 Jim Meyering <meyering@redhat.com>
27013
90020f5a
MF
27014 [BZ #11959]
27015 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27016 It is not necessarily an error to ignore fwrite's return
27017 value. One can reliably use ferror to test for errors after
27018 the fact.
288f9098 27019
4be2b570
L
270202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27021
27022 * bits/types.h (__snseconds_t): New type.
27023 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27024
27025 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27027 (__SNSECONDS_T_TYPE): Likewise.
27028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27029 (__SNSECONDS_T_TYPE): Likewise.
27030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27031 (__SNSECONDS_T_TYPE): Likewise.
27032
288f9098 270332012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27034
27035 [BZ #2636]
27036 * manual/time.texi (Processor Time): Return type of times is
27037 elapsed real time since an arbitrary point in the past.
27038 (CPU Time): Move CLK_TCK from here...
27039 (Processor Time): ...to here. Correct description.
27040 * manual/conf.texi (Constants for Sysconf): Correct description of
27041 _SC_CLK_TCK.
27042
d7dd4413
DM
270432012-04-10 David S. Miller <davem@davemloft.net>
27044
27045 [BZ #13967]
27046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27047 where the is a gap between DT_REL(A) and DT_JMPREL.
27048
b46068fc
L
270492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27050
27051 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27052 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27053 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27054
73d65cc3
SP
270552012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27056
27057 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27058 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27059 (dl_main): Handle --inhibit-cache.
27060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27061 _dl_inhibit_cache.
27062 * elf/dl-load.c (_dl_map_object): Use it.
27063 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27064
bcc8d661
JM
270652012-04-09 Joseph Myers <joseph@codesourcery.com>
27066
8f9a2fae
JM
27067 [BZ #13872]
27068 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27069 (__ieee754_powl): Saturate large exponents rather than testing for
27070 overflow of y*log2(x).
27071 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27072 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27073 exceptions.
27074
bcc8d661
JM
27075 [BZ #11521]
27076 * math/s_ctan.c: Include <float.h>.
27077 (__ctan): Avoid internal overflow or cancellation in calculating
27078 denominator.
27079 * math/s_ctanf.c: Likewise.
27080 * math/s_ctanl.c: Likewise.
27081 * math/s_ctanh.c: Likewise.
27082 * math/s_ctanhf.c: Likewise.
27083 * math/s_ctanhl.c: Likewise.
27084 * math/libm-test.inc (ctan_test): Add more tests.
27085 (ctanh_test): Likewise.
27086 * sysdeps/i386/fpu/libm-test-ulps: Update.
27087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27088
823fbbb4
AJ
270892012-04-09 Andreas Jaeger <aj@suse.de>
27090
03879793
AJ
27091 [BZ #6894]
27092 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27093 is an optional BSD extension.
27094
823fbbb4
AJ
27095 [BZ #10254]
27096 * manual/stdio.texi (Opening Streams): Document additional fopen
27097 parameters.
27098
8de131cb
RM
270992012-04-09 Roland McGrath <roland@hack.frob.com>
27100
27101 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27102 %eax without telling the compiler.
27103
c0ed9d7d
CD
271042012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27105
27106 [BZ # 13963]
27107 * manual/install.texi: Use sourceware.org.
27108
c483f6b4
JM
271092012-04-09 Joseph Myers <joseph@codesourcery.com>
27110
d7dd9453
JM
27111 [BZ #13873]
27112 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27113 (__ieee754_pow): Generate overflow and underflow using huge*huge
27114 and tiny*tiny rather than just returning constant infinity or zero
27115 for large exponents.
27116 * math/libm-test.inc (pow_test): Require overflow exceptions for
27117 applicable cases of large exponents.
27118
c483f6b4
JM
27119 [BZ #706]
27120 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27121 (__ieee754_pow): Use iterative multiplication algorithm only for
27122 integer exponents with absolute value below 1024. Check for odd
27123 integer exponents when using algorithm for real exponents.
27124 * math/libm-test.inc (pow_test): Add more tests.
27125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27126
d2de7579
JM
271272012-04-08 Joseph Myers <joseph@codesourcery.com>
27128
27129 [BZ #13705]
27130 * math/libm-test.inc (exp_test): Do not allow overflow exception
27131 on underflow test.
27132
f77f1232
AJ
271332012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27134
27135 [BZ #13705]
27136 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27137 instead of __kernel_standard_f.
27138
3884932b
MF
271392012-04-08 Mike Frysinger <vapier@gentoo.org>
27140
27141 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27142 * sysdeps/x86_64/memset_chk.S: Likewise.
27143
54472e9c
AJ
271442012-04-08 Andreas Jaeger <aj@suse.de>
27145
6ab0fbfc
AJ
27146 [BZ #10153]
27147 * manual/startup.texi (Environment Access): Describe return value
27148 for putenv and setenv.
27149
61efba8c
AJ
27150 [BZ #6895]
27151 * manual/filesys.texi (Directory Entries): Add description for
27152 DT_LNK.
27153
95c3f29a
AJ
27154 [BZ #6890]
27155 * manual/filesys.texi (Directory Entries): Clarify that it's file
27156 system not operating system in the description of DT_UNKNOWN.
27157
54472e9c
AJ
27158 [BZ #6578]
27159 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27160
624254b1
SC
271612012-04-08 Stephen Compall <s11@member.fsf.org>
27162
27163 [BZ #6649]
27164 * manual/llio.texi (Opening and Closing Files): Add cross
27165 reference to explain mode argument.
27166
1e4920e0
MF
271672012-04-07 Mike Frysinger <vapier@gentoo.org>
27168
27169 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27170 * sysdeps/x86_64/memset_chk.S: Likewise.
27171
5ed848f3
DM
271722012-04-07 David S. Miller <davem@davemloft.net>
27173
27174 * elf/elf.h (R_SPARC_WDISP10): Define.
27175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27176 R_SPARC_SIZE32.
27177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27178 R_SPARC_SIZE64 and R_SPARC_H34.
27179
96154cd8
CD
271802012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27181
27182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27183 conditions and remove no longer applicable assertion.
27184
9904dc47
L
271852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27186
27187 * bits/byteswap.h: Include <features.h>.
27188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27190
f8887d0a
L
271912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27192
27193 * bits/byteswap.h (__bswap_16): Removed.
27194 Include <bits/byteswap-16.h> to get __bswap_16.
27195 * sysdeps/i386/bits/byteswap.h: Likewise.
27196 * sysdeps/s390/bits/byteswap.h: Likewise.
27197 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27198 * bits/byteswap-16.h: New file.
27199 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27200 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27201 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27202 * string/Makefile (headers): Add bits/byteswap-16.h.
27203
62470f60
PP
272042012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27205
27206 [BZ #13895]
27207 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27208 extra indirection.
27209 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27210 * nss/tst-nss-static.c: New.
27211
4dad7bab
RM
272122012-04-06 Robert Millan <rmh@gnu.org>
27213
27214 [BZ #6486]
27215 * manual/llio.texi (File Position Primitive): lseek
27216 refers to WHENCE when it really means OFFSET.
27217
e9142a17
AJ
272182012-04-06 Andreas Jaeger <aj@suse.de>
27219
2c040eff
AJ
27220 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27221 strncmp declarations.
27222
e9142a17
AJ
27223 * abilist/libc.abilist: Add __poll and __ppoll.
27224
ff9f1c5f
DM
272252012-04-05 David S. Miller <davem@davemloft.net>
27226
dcd2ae90
DM
27227 * scripts/check-local-headers.sh: Accept a host triplet in the
27228 path matched by the exclude regexp.
27229
993eb054
DM
27230 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27231 definition.
27232 * sysdeps/powerpc/powerpc32/dl-machine.h
27233 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27234 * sysdeps/s390/s390-32/dl-machine.h
27235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27236 * sysdeps/sparc/sparc32/dl-machine.h
27237 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27238 * sysdeps/sparc/sparc64/dl-machine.h
27239 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27240
ff9f1c5f
DM
27241 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27242 lazy binding.
48e2e132 27243 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27244 undefined symbol errors.
27245
48e2e132 27246 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27247 DT_NEEDED entries.
27248
e80d6f94
MM
272492012-04-05 Michael Matz <matz@suse.de>
27250
27251 [BZ #13592]
27252 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27253
349fa79f
AJ
272542012-04-05 Andreas Jaeger <aj@suse.de>
27255
27256 [BZ #13908]
27257 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27258 comment.
27259
f402708f
KK
272602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27261
27262 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27263 which ROUND is no valid rounding mode.
27264
2ecccfc9
KK
272652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27266
27267 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27268 read again.
27269 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27270
8a53f50f
KK
272712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27272
27273 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27274 an exception using FPU order intentionally.
27275
272762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27277
27278 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27279 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27280 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27281 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27282
d653abb7
SJ
272832012-04-05 Simon Josefsson <simon@josefsson.org>
27284
27285 [BZ #12340]
27286 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27287 EINVAL when BUFLEN is too smal.
27288
c3b1bf7d
TS
272892012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27290
27291 [BZ #13553]
27292 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27293 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27294
b1aa60f3
AJ
272952012-04-03 Andreas Jaeger <aj@suse.de>
27296
c3b1bf7d 27297 [BZ #13938]
67f60a26
AJ
27298 * manual/setjmp.texi (System V contexts): Fix sentence.
27299
b1aa60f3
AJ
27300 [BZ #13926]
27301 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27302 New macro for this case.
27303 [!__GNUC__] (__bswap_64): New inline function for this case.
27304 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27305 * bits/byteswap.h: Likewise.
27306 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27307 ull, guard with __GLIBC_HAVE_LONG_LONG.
27308
27309 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27310 __GLIBC_HAVE_LONG_LONG.
27311
27312 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27313 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27314
39c59c35
TMQMF
273152012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27316
27317 [BZ #13691]
27318 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27319 inptr and inend, rather than using last_ch.
27320
135ffda8
DM
273212012-04-02 David S. Miller <davem@davemloft.net>
27322
27323 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27324 * stdio-common/printf-parse.h (read_int): Change return type to
27325 'int', return -1 on INT_MAX overflow.
27326 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27327 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27328 overflows INT_MAX. Check for overflow of in-format-string precision
27329 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27330 SIZE_MAX not INT_MAX for integer overflow test.
27331 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27332 skip the construct in the format string but do not record anything.
27333 * stdio-common/bug22.c: Adjust to test both width/prevision
27334 INT_MAX overflow as well as total length INT_MAX overflow. Check
27335 explicitly for proper errno values.
27336
228c019e
TS
273372012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27338
302cadd3
TS
27339 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27340 CHAR_MAX.
27341 * string/test-strcmp.c [! WIDE]: Likewise.
27342 * time/tst-mktime2.c: Likewise for INT_MAX.
27343 * string/test-string.h: #include <sys/param.h> for MIN.
27344
228c019e
TS
27345 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27346 * sysdeps/i386/init-first.c (init): Likewise.
27347 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27348 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27349 * sysdeps/sh/init-first.c (init): Likewise.
27350
cfa633f5
UD
273512012-04-01 Ulrich Drepper <drepper@gmail.com>
27352
27353 * po/ru.po: Update from translation team.
d1635ef8 27354 * po/vi.po: Likewise.
cfa633f5 27355
6cd0a5ea
SP
273562012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27357
27358 * resolv/nss_dns/dns-host.c: Merge copyright years.
27359
4b43400f
LD
273602012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27361
27362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27363 Optimize memcpy with prefetch if
27364 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27365 src, dst pointers have unequal 16 byte alignments.
27366
48c41d04
SP
273672012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27368
27369 [BZ #13928]
27370 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27371 from a CNAME entry and return the minimum ttl for the query.
27372 (gaih_getanswer_slice): Likewise.
27373
b8dc394d
JL
273742012-03-30 Jeff Law <law@redhat.com>
27375
27376 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27377 due to long keys.
27378 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27379 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27380
2f5a5ed0
JL
27381 * resolv/nss_dns/dns-host.c: Update copyright year.
27382
1d39e359
UD
273832012-03-30 Ulrich Drepper <drepper@gmail.com>
27384
c030f70c 27385 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27386 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27387
1d39e359
UD
27388 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27389 comments for sendmmsg.
27390
273912012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27392
27393 [BZ #13691]
27394 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27395 with only 1 character between 0x0041 and 0x01b0.
27396 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27397 * wcsmbs/tst-mbsnrtowcs.c: New file.
27398
20fde227
DM
273992012-03-29 David S. Miller <davem@davemloft.net>
27400
27401 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27402 small copies by hand.
27403
984a4237
JL
274042012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27405
27406 [BZ #13761]
27407 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27408 _nss_compat_initgroups_dyn): Fall back to malloc/free
27409 for large group memberships.
27410
18c9d62b
DM
274112012-03-28 David S. Miller <davem@davemloft.net>
27412
88d85d4f
DM
27413 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27414 that branches into memcpy.
27415 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27418 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27420 bits.
27421 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27422 implementation too.
27423 * sysdeps/sparc/mempcpy.S: New file.
27424
e5aa83e1
DM
27425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27426 the IFUNC routine in the libc case.
27427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27428
88570753
DM
27429 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27430 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27431 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27432 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27433 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27434 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27435 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27436 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27437
249d7567
DM
27438 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27439 loop to 256 bytes instead of 64 bytes and fix test signedness.
27440
18c9d62b
DM
27441 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27442 * sysdeps/sparc/sparc32/Makefile: rather than here...
27443 * sysdeps/sparc/sparc64/Makefile: and here.
27444
05f3d1f6
UD
274452012-03-28 Ulrich Drepper <drepper@gmail.com>
27446
27447 * malloc/mallocbug.c: Avoid warnings about unused variables.
27448
86ae07a8
JL
274492012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27450
27451 [BZ #13760]
27452 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27453 in the right place. Discard and retry query if response is
27454 larger than input buffer size.
27455
41bf21a1
JM
274562012-03-28 Joseph Myers <joseph@codesourcery.com>
27457
d6270972
JM
27458 [BZ #369]
27459 [BZ #2678]
27460 [BZ #3866]
27461 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27462 x for large integer exponent.
27463 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27464 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27465 sign of result as needed afterwards.
27466 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27467 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27468 result for underflowing pow the same as for overflow.
27469 (__kernel_standard_l): Handle powl overflow and underflow here
27470 rather than calling __kernel_standard.
27471 * math/libm-test.inc (pow_test): Add more tests.
27472
414fca03 27473 [BZ #3868]
41bf21a1
JM
27474 [BZ #13879]
27475 [BZ #13910]
27476 [BZ #13911]
27477 [BZ #13912]
27478 [BZ #13913]
27479 [BZ #13915]
27480 [BZ #13916]
27481 [BZ #13917]
27482 [BZ #13918]
27483 [BZ #13919]
27484 [BZ #13920]
27485 [BZ #13921]
27486 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27487 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27488 (__kernel_standard_l): New function.
27489 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27490 __kernel_standard.
27491 * math/w_acosl.c (__acosl): Likewise.
27492 * math/w_asinl.c (__asinl): Likewise.
27493 * math/w_atan2l.c (__atan2l): Likewise.
27494 * math/w_atanhl.c (__atanhl): Likewise.
27495 * math/w_coshl.c (__coshl): Likewise.
27496 * math/w_exp10l.c (__exp10l): Likewise.
27497 * math/w_exp2l.c (__exp2l): Likewise.
27498 * math/w_fmodl.c (__fmodl): Likewise.
27499 * math/w_hypotl.c (__hypotl): Likewise.
27500 * math/w_j0l.c (__j0l, __y0l): Likewise.
27501 * math/w_j1l.c (__j1l, __y1l): Likewise.
27502 * math/w_jnl.c (__jnl, __ynl): Likewise.
27503 * math/w_lgammal.c (__lgammal): Likewise.
27504 * math/w_log10l.c (__log10l): Likewise.
27505 * math/w_log2l.c (__log2l): Likewise.
27506 * math/w_logl.c (__logl): Likewise.
27507 * math/w_powl.c (__powl): Likewise.
27508 * math/w_remainderl.c (__remainderl): Likewise.
27509 * math/w_scalbl.c (sysv_scalbl): Likewise.
27510 * math/w_sinhl.c (__sinhl): Likewise.
27511 * math/w_sqrtl.c (__sqrtl): Likewise.
27512 * math/w_tgammal.c (__tgammal): Likewise.
27513 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27514 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27515 * math/libm-test.inc (acos_test): Add more tests.
27516 (acosh_test): Likewise.
27517 (asin_test): Likewise.
27518 (atanh_test): Likewise.
27519 (exp_test): Likewise.
27520 (exp10_test): Likewise.
27521 (exp2_test): Likewise.
27522 (expm1_test): Likewise.
27523 (lgamma_test): Likewise.
27524 (log_test): Likewise.
27525 (log10_test): Likewise.
27526 (log1p_test): Likewise.
27527 (log2_test): Likewise.
27528 (pow_test): Do not allow some spurious overflow exceptions.
27529 (sqrt_test): Add more tests.
27530 (tgamma_test): Likewise.
27531 (y0_test): Likewise.
27532 (y1_test): Likewise.
27533 (yn_test): Likewise.
27534
dd62fda6
AB
275352012-03-27 Anton Blanchard <anton@samba.org>
27536
27537 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27538 MAP_HUGETLB.
27539 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27542
1e3cdfda
AJ
275432012-03-27 David S. Miller <davem@davemloft.net>
27544
b855ab85
DM
27545 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27546
1e3cdfda
AJ
27547 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27548 have-as-vis3 check.
27549
275502012-03-27 Andreas Jaeger <aj@suse.de>
27551
27552 * sysdeps/x86_64/elf/configure.in: Moved to ...
27553 * sysdeps/x86_64/configure.in: ... here.
27554 * sysdeps/x86_64/elf/start.S: Moved to ...
27555 * sysdeps/x86_64/start.S: ... here.
27556 * sysdeps/x86_64/elf/configure: Delete.
27557
27558 * sysdeps/x86_64/configure.in: Merge contents from
27559 sysdeps/i386/configure.in (without i686 check).
27560
27561 * sysdeps/i386/elf/Versions: Merge into ...
27562 * sysdeps/i386/Versions: ... this.
27563 * sysdeps/i386/elf/Versions: Delete file.
27564 * sysdeps/i386/elf/start.S: Moved to ...
27565 * sysdeps/i386/start.S: ...here.
27566 * sysdeps/i386/elf/configure.in: Merge into...
27567 * sysdeps/i386/configure.in: ...here.
27568 * sysdeps/i386/elf/configure.in: Delete file.
27569 * sysdeps/i386/elf/configure: Delete file.
27570
27571 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27572 * debug/backtracesyms.c: ... here.
27573 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27574 * debug/backtracesymsfd.c: ... here.
27575 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27576 * sysdeps/generic/ifunc-sel.h: ... here.
27577
27578 * sysdeps/unix/i386/start.c: Delete file.
27579 * sysdeps/unix/sparc/start.c: Delete file.
27580 * sysdeps/unix/start.c: Delete file.
27581
27582 * sysdeps/sh/elf/configure.in: Moved to ...
27583 * sysdeps/sh/configure.in: ... here.
27584 * sysdeps/sh/elf/start.S: Moved to ...
27585 * sysdeps/sh/start.S: ... here.
27586 * sysdeps/sh/elf/configure: Delete file.
27587
27588 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27589 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27590 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27591 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27592 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27593 * sysdeps/powerpc/powerpc64/start.S: here.
27594 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27595 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27596 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27597 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27598 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27599
27600 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27601 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27602 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27603 * sysdeps/powerpc/powerpc32/start.S: ... here.
27604 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27605 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27606 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27607
27608 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27609 * sysdeps/powerpc/ifunc-sel.h: ... here.
27610 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27611 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27612
27613 * sysdeps/sparc/elf/configure.in: Moved to ...
27614 * sysdeps/sparc/configure.in: ... here.
27615 * sysdeps/sparc/elf/configure: Delete file.
27616 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27617 * sysdeps/sparc/sparc32/start.S: ... here.
27618 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27619 * sysdeps/sparc/sparc64/start.S: ... here.
27620 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27621 * sysdeps/sparc/sparc32/Makefile: ... this.
27622 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27623 * sysdeps/sparc/sparc64/Makefile: ... this.
27624
27625 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27626 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27627 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27628 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27629 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27630 * sysdeps/s390/s390-32/setjmp.S: ... here.
27631 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27632 * sysdeps/s390/s390-32/configure.in: ... here.
27633 * sysdeps/s390/s390-32/elf/configure: Delete file.
27634 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27635 * sysdeps/s390/s390-32/start.S: ... here.
27636
27637 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27638 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27639 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27640 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27641 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27642 * sysdeps/s390/s390-64/setjmp.S: ... here.
27643 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27644 * sysdeps/s390/s390-64/configure.in: ... here
27645 * sysdeps/s390/s390-64/elf/configure: Delete file.
27646 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27647 * sysdeps/s390/s390-64/start.S: ... here.
27648 * sysdeps/s390/s390-64/elf/configure: Delete.
27649
27650 * configure.in: Remove support for elf directories in sysdeps.
27651
27652 * configure: Regenerated.
27653 * sysdeps/i386/configure: Regenerated.
27654 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27655 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27656 * sysdeps/s390/s390-32/configure: Regenerated.
27657 * sysdeps/s390/s390-64/configure: Regenerated.
27658 * sysdeps/sh/configure: Regenerated.
27659 * sysdeps/sparc/configure: Regenerated.
27660 * sysdeps/x86_64/configure: Regenerated.
27661
a3f61311
AS
276622012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27663
c876e002
AS
27664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27665
a3f61311
AS
27666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27667 denormal result into account.
27668
ac4c54f0
RM
276692012-03-25 Roland McGrath <roland@hack.frob.com>
27670
27671 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27672 Reported by Allan McRae <allan@archlinux.org>.
27673
6a9b9c02
JL
276742012-03-23 Jeff Law <law@redhat.com>
27675
27676 * nss/getnssent.c (__nss_getent): Fix typo.
27677
4c42a0c1
DM
276782012-03-23 David S. Miller <davem@davemloft.net>
27679
27680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27681
1532c7ac
L
276822012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27683
27684 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27685 to pad to uint64_t for each field.
27686 (dl_tls_index): Replace unsigned long with uint64_t.
27687
3ff42526
PP
276882012-03-23 Daniel Jacobowitz <dmj@google.com>
27689 Paul Pluzhnikov <ppluzhnikov@google.com>
27690
27691 [BZ #6528]
27692 * grp/Makefile (otherlibs): Don't set it.
27693 * inet/Makefile (otherlibs): Likewise.
27694 * login/Makefile (otherlibs): Likewise.
27695 * nscd/Makefile (otherlibs): Likewise.
27696 * posix/Makefile (otherlibs): Likewise.
27697 * pwd/Makefile (otherlibs): Likewise.
27698 * rt/Makefile (otherlibs): Likewise.
27699 * sunrpc/Makefile (otherlibs): Likewise.
27700 * nss/Makefile (otherlibs): Likewise.
27701 Add libnss_files to routines and static-only-routines.
27702 ($(objpfx)getent): Remove rule.
27703 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27704 static-only-routines.
27705
7c69cd14
JM
277062012-03-22 Joseph Myers <joseph@codesourcery.com>
27707
27708 [BZ #13892]
27709 * math/s_cexp.c: Include <float.h>.
27710 (__cexp): Handle exp result overflowing not necessarily
27711 overflowing both real and imaginary parts of result.
27712 * math/s_cexpf.c: Likewise.
27713 * math/s_cexpl.c: Likewise.
27714 * math/libm-test.inc (cexp_test): Add more tests.
27715 * sysdeps/i386/fpu/libm-test-ulps: Update.
27716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27717
81b035fe
L
277182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27719
27720 * include/link.h (ELFW): New macro.
27721 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27722 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27723
1da7940c
L
277242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27725
27726 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27727 with uint64_t.
27728
b749dbb9
L
277292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27730
27731 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27732 declaration.
27733 (struct La_x32_retval): Likewise.
27734
2ff87f3f
L
277352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27736
27737 * sysdeps/x86_64/preconfigure.in: New file.
27738 * sysdeps/x86_64/preconfigure: New generated file.
27739
c0df8e69
JM
277402012-03-22 Joseph Myers <joseph@codesourcery.com>
27741
48e44791
JM
27742 [BZ #13824]
27743 * math/e_exp2l.c: Include <float.h>.
27744 (__ieee754_exp2l): Handle overflow and underflow cases
27745 separately. Only pass fractional part of argument to
27746 __ieee754_expl.
27747 * math/libm-test.inc (exp2_test): Add more tests.
27748
c0df8e69
JM
27749 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27750 negating x to take absolute value.
27751 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27752 Likewise.
27753 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27755 Likewise.
27756 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27757 computing low part if x was negated.
27758 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27759
c8e43ba7
L
277602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27761
27762 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27763 la_x32_gnu_pltexit.
27764 (pltexit): Cast int_retval to ptrdiff_t.
27765 * elf/tst-auditmod3b.c: Likewise.
27766 * elf/tst-auditmod4b.c: Likewise.
27767 * elf/tst-auditmod5b.c: Likewise.
27768 * elf/tst-auditmod6b.c: Likewise.
27769 * elf/tst-auditmod6c.c: Likewise.
27770 * elf/tst-auditmod7b.c: Likewise.
27771
27772 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27773 and x32_gnu_pltexit.
27774
27775 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27776 __ELF_NATIVE_CLASS.
27777 (La_x32_regs): New macro.
27778 (La_x32_retval): Likewise.
27779 (la_x32_gnu_pltenter): New function prototype.
27780 (la_x32_gnu_pltexit): Likewise.
27781
7998fa78
AS
277822012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27783
dcb33988
AS
27784 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27785 exponent.
27786
233fc563
AS
27787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27788
7998fa78
AS
27789 * configure.in (libc_cv_cc_nofma): Check for option to disable
27790 generation of FMA instructions.
27791 * configure: Regenerate.
27792 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27793 * sysdeps/ieee754/dbl-64/Makefile: New file.
27794 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27795 Remove brandred-fma4.
27796 (CFLAGS-brandred-fma4.c): Remove.
27797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27798 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27799 define.
27800 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27801 define.
27802
8e95c99a
L
278032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27804
27805 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27806 LLONG_MAX != LONG_MAX.
27807 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27808 (_fitoa_word): Likewise.
27809 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27810 LLONG_MAX != LONG_MAX.
27811 * stdio-common/_itowa.h: Include <_itoa.h>.
27812 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27813 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27814 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27815 only if not defined.
27816 (_ITOA_WORD_TYPE): Likewise.
27817 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27818 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27819
6f4db457
DM
278202012-03-21 David S. Miller <davem@davemloft.net>
27821
27822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27823
7785fe5a
L
278242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27825
27826 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27827 of x86_64 when setting libc_cv_slibdir, libdir and
27828 libc_cv_localedir.
27829 * sysdeps/unix/sysv/linux/configure: Regenerated.
27830
4535cd55
JM
278312012-03-21 Joseph Myers <joseph@codesourcery.com>
27832
27833 * manual/lang.texi (Old Varargs): Remove section.
27834 (How Variadic): Update menu.
27835 (va_start): Do not mention varargs.h.
27836
17228132
TS
278372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27838 Joseph Myers <joseph@codesourcery.com>
27839
27840 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27841 link test.
27842 * configure: Regenerated.
27843
8149f976
TS
278442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27845
05f3d1f6
UD
27846 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27847 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27848 conformtest.pl
8149f976 27849
1a4ac776
JM
278502012-03-21 Joseph Myers <joseph@codesourcery.com>
27851
be22ce65
JM
27852 * NOTES: Remove.
27853 * Makefile (files-for-dist): Remove NOTES.
27854 (NOTES): Remove rule.
27855 * README: Don't refer to NOTES.
27856 * manual/creature.texi: Don't include macros.texi.
27857 * manual/intro.texi (creature.texi): Remove comment referring to
27858 NOTES.
27859
40b601fb
JM
27860 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27861 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27862 * configure: Regenerated.
27863 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27864 LIBC_TRY_CC_OPTION.
27865 (libc_cv_as_i686): Likewise.
27866 (libc_cv_cc_avx): Likewise.
27867 (libc_cv_cc_sse2avx): Likewise.
27868 (libc_cv_cc_fma4): Likewise.
27869 (libc_cv_cc_novzeroupper): Likewise.
27870 * sysdeps/i386/configure: Regenerated.
27871
1a4ac776
JM
27872 [BZ #13883]
27873 * sysdeps/i386/fpu/s_cexp.S: Remove.
27874 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27875 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27876 * math/libm-test.inc (cexp_test): Add more tests.
27877 * sysdeps/i386/fpu/libm-test-ulps: Update.
27878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27879
a458e7fe
AM
278802012-03-21 Allan McRae <allan@archlinux.org>
27881
27882 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27883
0cb7efc5
JM
278842012-03-21 Joseph Myers <joseph@codesourcery.com>
27885
27886 [BZ #13871]
27887 * math/w_exp2.c: Do not include <float.h>.
27888 (o_threshold, u_threshold): Remove.
27889 (__exp2): Calculate result before checking finiteness and calling
27890 __kernel_standard.
27891 * math/w_exp2f.c: Likewise.
27892 * math/w_exp2l.c: Likewise.
27893 * math/libm-test.inc (exp2_test): Require overflow exception for
27894 1e6 input.
2460d3aa
JM
27895
27896 [BZ #3866]
27897 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27898 range of signed 64-bit integers before using fistpll. Remove
27899 checks for whether integers fit in mantissa bits.
27900 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27901 the range of signed 32-bit integers before using fistpl. Remove
27902 checks for whether integers fit in mantissa bits.
27903 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27904 (__ieee754_powl): Test for y outside the range of signed 64-bit
27905 integers before using fistpll. Reduce 64-bit values to 63-bit
27906 ones as needed.
27907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27908 divide-by-zero is raised for zero to large negative powers.
27909 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27910 (__ieee754_powl): Test for y outside the range of signed 64-bit
27911 integers before using fistpll. Reduce 64-bit values to 63-bit
27912 ones as needed.
27913 * math/libm-test.inc (pow_test): Add more tests.
27914
eb96ffb0
L
279152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27918 <stdio-common/_itoa.h>.
27919 * debug/segfault.c: Likewise.
27920 * elf/dl-cache.c: Likewise.
27921 * elf/dl-minimal.c: Likewise.
27922 * elf/dl-misc.c: Likewise.
27923 * elf/dl-sysdep.c: Likewise.
27924 * elf/dl-version.c: Likewise.
27925 * elf/rtld.c: Likewise.
27926 * hurd/hurdsock.c: Likewise.
27927 * hurd/lookup-retry.c: Likewise.
27928 * malloc/malloc.c: Likewise.
27929 * malloc/mtrace.c: Likewise.
27930 * nscd/nscd_getgr_r.c: Likewise.
27931 * nscd/nscd_getpw_r.c: Likewise.
27932 * nscd/nscd_getserv_r.c: Likewise.
27933 * posix/getopt_init.c: Likewise.
27934 * posix/wordexp.c: Likewise.
27935 * stdio-common/_itoa.c: Likewise.
27936 * stdio-common/printf_fphex.c: Likewise.
27937 * stdio-common/vfprintf.c: Likewise.
27938 * string/_strerror.c: Likewise.
27939 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27940 * sysdeps/i386/i686/hp-timing.h: Likewise.
27941 * sysdeps/mach/_strerror.c: Likewise.
27942 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27943 * sysdeps/mach/hurd/sethostid.c: Likewise.
27944 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27945 * sysdeps/mach/xpg-strerror.c: Likewise.
27946 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27948 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27949 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27950 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27951 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27952 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27953 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27954 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27955 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27956 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27957 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27958 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27959 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27960 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27961 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27962 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27963 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27964 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27965 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27966 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27967
27968 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27969
27970 * stdio-common/_itoa.h: Moved to ...
27971 * sysdeps/generic/_itoa.h: Here.
27972
27973 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27974
27975 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27976 instead of "_itoa.h" and "_itowa.h".
27977 * stdio-common/vfprintf.: Likewise.
27978
d1af992d
L
279792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27980
27981 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27982 <bits/wordsize.h>.
27983 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27984 (__signbit): Likwise.
27985 (llrintf): Likwise.
27986 (llrint): Likwise.
27987
114883e0
L
279882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27989
27990 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27991 __WORDSIZE != 64.
27992
c135cc1b
JM
279932012-03-20 Joseph Myers <joseph@codesourcery.com>
27994
27995 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27996 OVERFLOW_EXCEPTION_OK.
27997 * math/libm-test.inc ("Philosophy"): Update comment about
27998 exception testing.
27999 (OVERFLOW_EXCEPTION): Define.
28000 (OVERFLOW_EXCEPTION_OK): Likewise.
28001 (INVALID_EXCEPTION_OK): Renumber.
28002 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28003 (IGNORE_ZERO_INF_SIGN): Likewise.
28004 (test_exceptions): Handle FE_OVERFLOW.
28005 (exp10_test): Expect overflow exceptions.
28006 (exp2_test): Likewise.
28007 (expm1_test): Likewise.
28008 (nextafter_test): Likewise.
28009 (pow_test): Likewise.
28010 (scalbn_test): Likewise.
28011 (scalbln_test): Likewise.
28012
95443d88
L
280132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28014
28015 * sysdeps/x86_64/bits/atomic.h
28016 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28017 64bit integer.
28018 (atomic_exchange_acq): Likewise.
28019 (__arch_exchange_and_add_body): Likewise.
28020 (__arch_add_body): Likewise.
28021 (atomic_add_negative): Likewise.
28022 (atomic_add_zero): Likewise.
28023
490df6c4
L
280242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28025
c2722551 28026 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28027 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28028
5e52b189
L
280292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28030
28031 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28032 Check __x86_64__ instead of __WORDSIZE.
28033
a9879d4c
L
280342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28035
28036 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28037
5df98260
DM
280382012-03-19 David S. Miller <davem@davemloft.net>
28039
e1497744
DM
28040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28041
5df98260
DM
28042 * sysdeps/sparc/fpu/fenv_private.h: New file.
28043 * sysdeps/sparc/fpu/math_private.h: Use it.
28044 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28045 Remove.
28046 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28047 (libc_feholdexcept_setroundl): Remove.
28048 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28049 Remove.
28050 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28051 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28052
b4c35121
L
280532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28054
28055 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28056 int64_t instead of long int.
28057 (INSERT_WORDS64): Likwise.
28058
56965fd7
L
280592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28060
28061 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28062 _Unwind_GetCFA return to _Unwind_Ptr first.
28063
83d1aec8
JM
280642012-03-19 Joseph Myers <joseph@codesourcery.com>
28065
1897ad44
JM
28066 [BZ #13629]
28067 * math/s_clog.c: Include <float.h>.
28068 (__clog): Scale large or subnormal inputs.
28069 * math/s_clogf.c: Likewise.
28070 * math/s_clogl.c: Likewise.
28071 * math/s_clog10.c: Include <float.h>.
28072 (M_LOG10_2): Define.
28073 (__clog10): Scale large or subnormal inputs.
28074 * math/s_clog10f.c: Likewise.
28075 * math/s_clog10l.c: Likewise.
28076 * math/libm-test.inc (clog_test): Add more tests.
28077 (clog10_test): Likewise.
28078 * sysdeps/i386/fpu/libm-test-ulps: Update.
28079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28080
7726d6a9
JM
28081 [BZ #11451]
28082 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28083 x and y.
28084 * math/libm-test.inc (atan2_test): Add another test.
28085
83d1aec8
JM
28086 * Makerules (common-objdir-compile): Remove.
28087 * sysdeps/unix/Makefile (config-generated): Do not add
28088 $(unix-generated) to variable.
28089 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28090 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28091 Remove rule.
28092 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28093 Likewise.
28094 [generic bits/local_lim.h] (before-compile): Do not append to
28095 variable.
28096 [generic bits/local_lim.h] (common-generated): Likewise.
28097 [generic sys/param.h] (before-compile): Do not append to variable.
28098 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28099 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28100 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28101 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28102 include.
28103 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28104 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28105 [generic sys/param.h] ($(addprefix
28106 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28107 [generic sys/param.h] (common-generated): Do not append to
28108 variable.
28109 [generic sys/param.h] (sysdep_headers): Likewise.
28110 [generic bits/errno.h] (before-compile): Do not append to
28111 variable.
28112 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28113 rule.
28114 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28115 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28116 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28117 [generic bits/errno.h] (common-generated): Do not append to
28118 variable.
28119 [generic bits/ioctls.h] (before-compile): Do not append to
28120 variable.
28121 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28122 rule.
28123 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28124 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28125 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28126 rule.
28127 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28128 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28129 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28130 [generic bits/ioctls.h] (common-generated): Do not append to
28131 variable.
28132 [generic sys/syscall.h] (syscall.h): Remove variable.
28133 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28134 rule.
28135 [generic sys/syscall.h] (before-compile): Do not append to
28136 variable.
28137 [generic sys/syscall.h] (common-generated): Likewise.
28138 * sysdeps/unix/errnos-tmpl.c: Remove file.
28139 * sysdeps/unix/errnos.awk: Likewise.
28140 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28141 * sysdeps/unix/ioctls.awk: Likewise.
28142 * sysdeps/unix/mk-local_lim.c: Likewise.
28143 * sysdeps/unix/snarf-ioctls: Likewise.
28144
4851a949
RH
281452012-03-19 Richard Henderson <rth@twiddle.net>
28146
bd37f2ee
RH
28147 * sysdeps/i386/fpu/fenv_private.h: New file.
28148 * sysdeps/i386/fpu/math_private.h: Use it.
28149 (math_opt_barrier, math_force_eval): Remove.
28150 (libc_feholdexcept_setround_53bit): Remove.
28151 (libc_feupdateenv_53bit): Remove.
28152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28153 (math_opt_barrier, math_force_eval): Remove.
28154 (libc_feholdexcept): Remove.
28155 (libc_feholdexcept_setround): Remove.
28156 (libc_fetestexcept, libc_fesetenv): Remove.
28157 (libc_feupdateenv_test): Remove.
28158 (libc_feupdateenv, libc_feholdsetround): Remove.
28159 (libc_feresetround): Remove.
28160
d0adc922
RH
28161 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28162 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28163
0fe0f1f8
RH
28164 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28165 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28166 (libc_feupdateenv_testl): New.
28167 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28168 (libc_feupdateenv_testf): New.
28169 (libc_feupdateenv): Use libc_feupdateenv_test.
28170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28172
eb92c487
RH
28173 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28174 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28175 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28176 (libc_feresetround_noex): New.
28177 (libc_feresetround_noexf): New.
28178 (libc_feresetround_noexl): New.
28179 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28180 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28181 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28182 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28183 SET_RESTORE_ROUND.
28184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28186 (__cos): Likewise.
28187 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28188 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28189 SET_RESTORE_ROUND_NOEX.
28190 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28191 SET_RESTORE_ROUND_NOEXF.
28192 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28193 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28194 (libc_feholdsetroundf): New.
28195 (libc_feresetround, libc_feresetroundf): New.
28196
7d2e8012
RH
28197 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28198 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28199 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28200
b4dabbb4
RH
28201 * sysdeps/generic/math_private.h: Include <fenv.h>.
28202 (default_libc_feholdexcept): New.
28203 (default_libc_feholdexcept_setround): New.
28204 (default_libc_fesetenv, default_libc_feupdateenv): New.
28205 (libc_feholdexcept): Only define if undefined.
28206 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28207 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28208 (libc_feholdexcept_setroundl): Likewise.
28209 (libc_feholdexcept_setround_53bit): Likewise.
28210 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28211 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28212 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28213 (libc_feupdateenv_53bit): Likewise.
28214 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28215 (libc_feholdexcept): Convert from macro to inline function.
28216 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28217 (libc_fesetenv, libc_feupdateenv): Likewise.
28218
4851a949
RH
28219 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28220 not previously defined.
28221 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28222 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28223 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28224 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28225 * sysdeps/ieee754/flt-32/math_private.h: New file.
28226 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28227 math_private.h below SET_FLOAT_WORD.
28228 (__isnan, __isinf_ns, __finite): Remove.
28229 (__isnanf, __isinf_nsf, __finitef): Remove.
28230
e79d442e
AS
282312012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28232
28233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28234
90b80344
DM
282352012-03-17 David S. Miller <davem@davemloft.net>
28236
28237 [BZ #6471]
28238 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28239 for 2.16.
28240
edc21804
DM
282412012-03-16 David S. Miller <davem@davemloft.net>
28242
77e927af
DM
28243 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28244 warnings.
28245
374976dd
DM
28246 [BZ #6471]
28247 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28248 properly.
28249 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28250 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28251 sysdep_routines when subdir is sysvipc.
28252 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28253 __getshmlba helper.
28254
edc21804
DM
28255 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28256
473c3ef3
L
282572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28258
28259 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28260 [__LP64__].
28261
eb0f39b6
L
282622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28263
28264 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28265 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28266 (__lround): Renamed to ...
28267 (__llround): This. Replace long int with long long int.
28268 Define lround functions as aliases of llround functions.
28269 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28270
6b6cd74b
L
282712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28272
28273 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28274 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28275 adresses to uintptr_t. Replace "long int" and "unsigned long
28276 int" with "greg_t" on va_arg.
28277
f1a77b01
L
282782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28281 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28282
28283 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28284 Move e_machine check before EI_CLASS check. Handle x32
28285 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28286 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28287 SKIP_EM_IA_64 and include
28288 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28289
28290 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28291 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28292 (add_system_dir): New macro.
28293
28294 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28295 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28296
11b90b9f
JM
282972012-03-16 Joseph Myers <joseph@codesourcery.com>
28298
c36e1d23
JM
28299 [BZ #2551]
28300 [BZ #2552]
28301 [BZ #2553]
28302 [BZ #2554]
28303 [BZ #2562]
28304 [BZ #2563]
28305 [BZ #2565]
28306 [BZ #2566]
28307 [BZ #2576]
28308 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28309 (y0): Likewise.
28310 * math/w_j0f.c (j0f): Likewise.
28311 (y0f): Likewise.
28312 * math/w_j0l.c (__j0l): Likewise.
28313 (__y0l): Likewise.
28314 * math/w_j1.c (j1): Likewise.
28315 (y1): Likewise.
28316 * math/w_j1f.c (j1f): Likewise.
28317 (y1f): Likewise.
28318 * math/w_j1l.c (__j1l): Likewise.
28319 (__y1l): Likewise.
28320 * math/w_jn.c (jn): Likewise.
28321 (yn): Likewise.
28322 * math/w_jnf.c (jnf): Likewise.
28323 (ynf): Likewise.
28324 * math/w_jnl.c (__jnl): Likewise.
28325 (__ynl): Likewise.
28326 * math/libm-test.inc (j0_test): Add more tests.
28327 (j1_test): Likewise.
28328 (jn_test): Likewise. Add trailing semicolon to existing test.
28329 (y0_test): Likewise.
28330 (y1_test): Likewise.
28331 * sysdeps/i386/fpu/libm-test-ulps: Update.
28332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28333
11b90b9f
JM
28334 [BZ #13851]
28335 [BZ #13854]
28336 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28337 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28338 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28340 (__tanl): Set errno for infinite argument.
28341 * sysdeps/i386/fpu/mptan.c: Remove.
28342 * sysdeps/i386/fpu/s_tan.S: Likewise.
28343 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28344 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28345 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28346 * math/libm-test.inc (tan_test): Add more tests and enable more
28347 tests for double and long double.
28348 * sysdeps/i386/fpu/libm-test-ulps: Update.
28349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28350
6a1bd2a1
JK
283512012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28352
28353 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28354 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28355
10a803e0
RM
283562012-03-16 Roland McGrath <roland@hack.frob.com>
28357
28358 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28359 * configure.in: Use it for both main tree and add-ons.
28360 * configure: Regenerated.
28361
f196c7f7
L
283622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28363
28364 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28365
8848d99d
JM
283662012-03-16 Joseph Myers <joseph@codesourcery.com>
28367
96cbe7f4
JM
28368 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28369 in comment.
28370
8848d99d
JM
28371 [BZ #13851]
28372 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28373 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28374 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28376 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28377 infinite argument.
28378 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28380 != 0 for prec == 2.
28381 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28382 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28383 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28384 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28385 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28386 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28387 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28388 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28389 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28390 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28391 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28392 * math/libm-test.inc (cos_test): Add more tests and enable more
28393 tests for long double.
28394 (sin_test): Likewise.
28395 (sincos_test): Likewise.
28396 * sysdeps/i386/fpu/libm-test-ulps: Update.
28397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28398
dd7f4703
DM
283992012-03-16 David S. Miller <davem@davemloft.net>
28400
28401 * sysdeps/sparc/fpu/math_private.h: New file.
28402
006f1daa
DM
284032012-03-15 David S. Miller <davem@davemloft.net>
28404
c0c83bc8
DM
28405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28406 file.
e6a62e18 28407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28409 file.
e6a62e18
DM
28410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28416 sysdep routines.
28417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28418
88cb87d9
DM
28419 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28420 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28421
006f1daa 28422 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28424 sparc-ifunc.h
006f1daa 28425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28427 Likewise.
28428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28429 Likewise.
006f1daa
DM
28430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28434 Likewise.
006f1daa
DM
28435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28440 Likewise.
28441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28442 Likewise.
006f1daa
DM
28443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28467
11e0098e
AS
284682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28469
28470 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28471 scaling.
28472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28473
e85b09d0
AJ
284742012-03-15 Andreas Jaeger <aj@suse.de>
28475
28476 [BZ #13852]
28477 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28478 ieee754/flt-32 implementation for sin, cos and sincos.
28479 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28480 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28481 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28482 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28483 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28484 ieee754/flt-32 implementation for tan.
28485
28486 * math/libm-test.inc (cos_test): Enable some large input tests for
28487 float as well
28488 (sin_test): Likewise.
28489 (sincos_test): Likewise.
28490 (tan_test): Add tests for large input.
28491
28492 * sysdeps/i386/fpu/libm-test-ulps: Update.
28493
81c64153
AJ
284942012-03-15 Andreas Jaeger <aj@suse.de>
28495
28496 [BZ #13658]
28497 * math/libm-test.inc (cos_test): Add more test cases.
28498 (sin_test): Likewise.
28499 (sincos_test): Likewise.
28500
7bbfa5c6
AJ
285012012-03-15 Andreas Jaeger <aj@suse.de>
28502
28503 [BZ #13837]
28504 * math/libm-test.inc (cos_test): Add a test case for large input
28505 value.
28506 (sin_test): Likewise.
28507 (sincos_test): Likewise.
28508
285092012-03-15 Andreas Jaeger <aj@suse.de>,
28510 Joseph Myers <joseph@codesourcery.com>
28511
28512 [BZ #13658]
0671f479 28513 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28514 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28515 * sysdeps/i386/fpu/branred.c: Likewise.
28516 * sysdeps/i386/fpu/dosincos.c: Likewise.
28517 * sysdeps/i386/fpu/mpa.c: Likewise.
28518 * sysdeps/i386/fpu/s_cos.S: Likewise.
28519 * sysdeps/i386/fpu/s_sin.S: Likewise.
28520 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28521 * sysdeps/i386/fpu/sincos32.c: Likewise.
28522
28523 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28524 Define.
28525 (libc_feupdateenv_53bit): Define.
28526 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28527 Define.
28528 (libc_feupdateenv_53bit): Define.
28529
28530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28531 53 bit (without extend i386 double precision).
28532
28533 * math/libm-test.inc (sincos_test): Add tests for large input.
28534 (sin): Likewise.
28535 (cos): Likewise.
28536
28537 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28538
9cad04ea
AS
285392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28540
28541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28542
f7062b9a
DM
285432012-03-15 David S. Miller <davem@davemloft.net>
28544
28545 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28546 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28547 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28548 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28561 file.
f7062b9a 28562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28564 file.
f7062b9a 28565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28567 file.
f7062b9a 28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28570 file.
f7062b9a
DM
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28572 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28573 fmin/fmax sysdep routines.
28574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28575
7bd951ff
DM
285762012-03-14 David S. Miller <davem@davemloft.net>
28577
559398ab
DM
28578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28600 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28604 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28606 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28607 routines.
28608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28609 file.
559398ab 28610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28612 file.
559398ab 28613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28615 file.
559398ab 28616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28618 file.
559398ab 28619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28621 file.
559398ab 28622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28624 file.
28625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28626 file.
28627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28628 file.
28629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28630 file.
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28632 New file.
28633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28634 file.
28635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28636 file.
559398ab 28637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28639 file.
559398ab 28640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28642 file.
559398ab 28643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28645 file.
559398ab 28646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28648 VIS3 routines.
559398ab
DM
28649
28650 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28651 New file.
28652
5a1c1e32
DM
28653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28654
eae47a36
DM
28655 * sysdeps/sparc/configure.in: New file.
28656 * sysdeps/sparc/configure: Generate.
28657 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28658 * configure: Regenerate.
28659 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28660 * config.make.in (have-as-vis3): New.
28661 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28662 available use -Av9d instead of -Av9a.
28663 * sysdeps/sparc/sparc64/Makefile: Likewise.
28664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28666 New file.
28667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28668 file.
28669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28670 New file.
28671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28672 file.
eae47a36
DM
28673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28678
c0c83bc8
DM
28679 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28680 fzeros/fnegs to load 0x80000000 into a float register instead of
28681 using the stack.
7bd951ff
DM
28682 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28683
bd951ccb
JM
286842012-03-14 Joseph Myers <joseph@codesourcery.com>
28685
28686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28687 bits/syscall.h.
28688 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28689 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28690 ($(inst_includedir)/bits/syscall.h): Remove rule.
28691 ($(objpfx)bits/syscall.d): Include instead of
28692 $(objpfx)syscall-list.d.
28693 (generated): Change syscall-list.h and syscall-list.d to
28694 bits/syscall.h and bits/syscall.d.
28695
bb4e6db2
RM
286962012-03-14 Roland McGrath <roland@hack.frob.com>
28697
28698 [BZ #13846]
28699 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28700
aa4a2ae1
JM
287012012-03-14 Joseph Myers <joseph@codesourcery.com>
28702
e456826d
JM
28703 [BZ #13841]
28704 * math/s_csqrt.c: Include <float.h>.
28705 (__csqrt): Scale large or subnormal inputs.
28706 * math/s_csqrtf.c: Likewise.
28707 * math/s_csqrtl.c: Likewise.
28708 * math/libm-test.inc (csqrt_test): Add more tests.
28709 * sysdeps/i386/fpu/libm-test-ulps: Update.
28710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711
aa4a2ae1
JM
28712 [BZ #13840]
28713 * math/libm-test.inc (hypot_test): Add more tests.
28714
7c10fd35
DM
287152012-03-13 David S. Miller <davem@davemloft.net>
28716
28717 [BZ #13840]
28718 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28719 double-precision for the calculation instead of scaling.
28720
f453b98b
JM
287212012-03-13 Joseph Myers <joseph@codesourcery.com>
28722
28723 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28724 manipulate bits before adding and subtracting TWO52[sx].
28725 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28727 Likewise.
28728 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28729
09a3453f
DM
287302012-03-13 David S. Miller <davem@davemloft.net>
28731
8e59da90
DM
28732 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28733 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28735 rtld-global-offsets.h
28736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28737
2a8ab7f2
DM
28738 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28739 large parameters.
28740
10f62770
DM
28741 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28742
5f0bdb18
DM
28743 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28744 'err' in the ifdef scope in which it is actually used.
28745
09a3453f
DM
28746 * nss/nss_db/db-init.c: Include string.h
28747
b4b2eb5e
DM
287482012-03-12 David S. Miller <davem@davemloft.net>
28749
98bb2f1c
DM
28750 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28751 masking out of the most significant byte of random value used.
28752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28753 Fix coding style in previous change.
28754
b4b2eb5e
DM
28755 * sysdeps/unix/sysv/linux/kernel-features.h
28756 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28757 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28758 expression.
28759 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28760 later.
28761
6e226b09
DM
287622012-03-11 David S. Miller <davem@davemloft.net>
28763
a1bcbd40
DM
28764 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28765 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28766 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28767 for 'resultvar' otherwise things get truncated on 64-bit.
28768
cb9d6174
DM
28769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28770 Fix masking out of the most significant byte of random value used.
28771
6e226b09
DM
28772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28773
058c132d
AS
287742012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28775
28776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28777
2d2cd515
DM
287782012-03-09 David S. Miller <davem@davemloft.net>
28779
28780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28781 variables with appropriate CPP guards.
28782 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28783 frame pointer, not the stack pointer. Correct layout comments. Fix test
28784 on resulting framesize and the management of the outregs buffer for pltexit.
28785 Preserve floating point return values across _dl_call_pltexit call.
28786 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28787 framesize and the management of the outregs buffer for pltexit.
28788 Preserve floating point return values across _dl_call_pltexit
28789 call.
28790 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28791 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28792 (print_exit): Fix format string for return register value.
28793
9a07f9d0
JM
287942012-03-10 Joseph Myers <joseph@codesourcery.com>
28795
28796 * sunrpc/Makefile (others): Add rpcgen.
28797 ($(objpfx)rpcgen): Remove special build rule and dependency on
28798 libc.
28799 * sunrpc/rpcgen.c: New file.
28800
547b5e30
PE
288012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28802
c524201a
PE
28803 [BZ #13673]
28804 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28805 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28806 * sysdeps/i386/crti.S: Likewise.
28807 * sysdeps/i386/crtn.S: Likewise.
28808 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28809 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28810 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28811 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28812 * sysdeps/sh/crti.S: Likewise.
28813 * sysdeps/sh/crtn.S: Likewise.
28814 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28815
7b6235f2
PE
28816 [BZ #13673]
28817 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28818 with URL.
28819 * locale/programs/locfile-kw.gperf: Likewise.
28820 * locale/programs/charmap-kw.h: Regenerated.
28821 * locale/programs/locfile-kw.h: Likewise.
28822
547b5e30
PE
28823 [BZ #13673]
28824 * intl/plural.y: Replace FSF snail mail address with URL.
28825 * intl/plural.c: Regenerated.
28826
5f0a5dae
RH
288272012-03-09 Richard Henderson <rth@twiddle.net>
28828
28829 * include/math_private.h: Remove file.
28830 * math/math_private.h: Move file ...
28831 * sysdeps/generic/math_private.h: ... here.
28832
b8c03620
RH
28833 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28834 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28835 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28836
4e234f5d 28837 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28838 and <math_private.h>.
28839 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28840 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28841 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28842 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28843 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28844 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28845 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28847 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28850 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28851 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28853 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28854 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28855 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28856 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28857 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28858 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28861 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28864 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28872 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28873 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28875 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28877 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28887 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28888 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28889 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28890 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28891 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28893 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28894 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28896 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28897 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28898 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28899 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28900 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28906 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28907 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28908 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28910 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28911 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28913 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28919 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28926 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28927 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28928 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28929 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28930 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28931 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28933 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28934 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28935 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28936 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28938 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28939 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28940 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28941 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28942 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28943 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28944 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28945 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28946 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28947 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28948 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28949 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28950 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28951 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28952 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28953 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28954 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28955 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28956 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28957 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28958 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28959 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28960 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28961 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28962 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28963 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28964 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28965 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28966 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28967 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28968 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28969 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28970 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28971 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28972 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28973 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28974 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28975 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28976 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28977 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28978 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28979 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28980 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28981 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28982 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28983 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28984 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28985 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28986 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28987 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28988 * sysdeps/ieee754/k_standard.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29037 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29039 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29040 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29042 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29074 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29079 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29080 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29082 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29085 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29088 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29093 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29096 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29097 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29098 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29099 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29102 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29103 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29104 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29105 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29107 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29108 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29111 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29112 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29114 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29115 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29116 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29117 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29122 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29123 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29124 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29125 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29126 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29128 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29129 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29130 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29131 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29132 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29133 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29137 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29138 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29139 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29140 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29142 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29143 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29144 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29145 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29146 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29147 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29148 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29149 * sysdeps/ieee754/s_lib_version.c: Likewise.
29150 * sysdeps/ieee754/s_matherr.c: Likewise.
29151 * sysdeps/ieee754/s_signgam.c: Likewise.
29152 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29153 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29154 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29155 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29156 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29157 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29158 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29159 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29160 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29161 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29162 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29163 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29164 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29165 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29166 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29167 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29168 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29169 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29170 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29172 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29173
1991fa03
JM
291742012-03-09 Joseph Myers <joseph@codesourcery.com>
29175
29176 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29177 * sunrpc/rpc_main.c: Likewise.
29178 * sunrpc/rpc_svcout.c: Likewise.
29179
60d6f5a6
DM
291802012-03-09 David S. Miller <davem@davemloft.net>
29181
29182 * include/math_private.h: New file.
29183
4962050e
JM
291842012-03-09 Joseph Myers <joseph@codesourcery.com>
29185
02a6f887
JM
29186 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29187 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29188 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29189 from <bits/socket_type.h>.
29190 (enum __socket_type): Don't define here.
29191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29193 bits/socket_type.h.
29194
c6e013c1
JM
29195 [BZ #13566]
29196 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29197 checking __USE_GNU.
29198
4962050e
JM
29199 * Makerules ($(inst_includedir)/%.h): New rule.
29200 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29201 (install-others): Remove variable setting.
29202 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29203
38842f45
RH
292042012-03-08 Richard Henderson <rth@twiddle.net>
29205
67bb6da6
RH
29206 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29207 from macro to inline function; merge with the
29208 !__LIBC_INTERNAL_MATH_INLINES version.
29209 (__ieee754_sqrtf): Likewise.
29210
15194b4b
RH
29211 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29212 to inline function.
29213 (__rintf, __floor, __floorf): Likewise.
29214
64e21ede
RH
29215 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29216 macro to inline function.
29217 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29218
38842f45
RH
29219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29220 not <math/math_private.h>.
29221
c64bf5fe
DM
292222012-03-08 David S. Miller <davem@davemloft.net>
29223
29224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29225 copyright year.
29226 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29227
82d86f28
TS
292282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29229
29230 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29231 normalization.
29232 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29233 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29234
aea5d727
UD
292352012-03-08 Ulrich Drepper <drepper@gmail.com>
29236
29237 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29238 be defined individually, they must be defined as a block. Define
29239 S for printing a string instead of hidint the different by using a
29240 macro for adding the 'l'.
29241 * stdio-common/tst-fphex-wide.c: Adjust.
29242
70bca0a3
MP
292432012-03-07 Marek Polacek <polacek@redhat.com>
29244
29245 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29246
65b81130
MP
292472012-03-08 Marek Polacek <polacek@redhat.com>
29248
29249 [BZ #13806]
29250 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29251 * stdio-common/tst-fphex.c: Define a few macros to make the
29252 test reusable. Use them.
29253 * stdio-common/tst-fphex-wide.c: New file.
29254
07037eeb
JM
292552012-03-08 Joseph Myers <joseph@codesourcery.com>
29256
a7a93d50
JM
29257 [BZ #6911]
29258 * manual/macros.texi (gnusystems): New macro.
29259 (nongnusystems): Likewise.
29260 (gnulinuxhurdsystems): Likewise.
29261 (gnuhurdsystems): Likewise..
29262 (gnulinuxsystems): Likewise.
29263 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29264 variants of the GNU system, not "GNU system".
29265 * manual/conf.texi: Likewise.
29266 * manual/errno.texi: Likewise. Update example of errno macro
29267 expansion.
29268 * manual/filesys.texi: Likewise.
29269 (getumask): Document as specific to GNU/Hurd.
29270 * manual/install.texi: Likewise. Reword some references to
29271 GNU/Linux.
29272 * manual/intro.texi: Likewise.
29273 * manual/io.texi: Likewise.
29274 (File Name Portability): Detail which constraints are inapplicable
29275 to all GNU systems and which are only inapplicable to GNU/Hurd.
29276 * manual/job.texi: Likewise.
29277 * manual/llio.texi: Likewise.
29278 (O_NOCTTY): Document as present on GNU/Linux.
29279 * manual/maint.texi: Likewise.
29280 * manual/memory.texi: Likewise.
29281 * manual/pattern.texi: Likewise.
29282 * manual/pipe.texi: Likewise.
29283 * manual/process.texi: Likewise.
29284 * manual/resource.texi: Likewise.
29285 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29286 child on GNU/Hurd.
29287 * manual/setjmp.texi: Likewise.
29288 * manual/signal.texi: Likewise.
29289 * manual/startup.texi: Likewise.
29290 * manual/stdio.texi: Likewise.
29291 * manual/terminal.texi: Likewise.
29292 (ONLCR): Document as POSIX.
29293 (OXTABS): Document availability on GNU/Linux as XTABS.
29294 (ONOEOT): Document availability separately from other bits.
29295 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29296 * manual/time.texi: Likewise.
29297 * manual/users.texi: Likewise.
29298 * INSTALL: Regenerated.
29299 * sysdeps/gnu/errlist.c: Regenerated.
29300
07037eeb
JM
29301 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29302 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29303 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29304 puts.
29305 * configure: Regenerated.
29306
d1d3431a
JM
293072012-03-07 Joseph Myers <joseph@codesourcery.com>
29308
af6a1e37
JM
29309 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29310 default includes instead of AC_HEADER_CHECK.
29311 * sysdeps/i386/configure: Regenerated.
29312
d1d3431a
JM
29313 [BZ #10716]
29314 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29315 * math/s_cacoshf.c (__cacoshf): Likewise.
29316 * math/s_cacoshl.c (__cacoshl): Likewise.
29317 * math/s_casinh.c (__casinh): Set signs of result from argument.
29318 * math/s_casinhf.c (__casinhf): Likewise.
29319 * math/s_casinhl.c (__casinhl): Likewise.
29320 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29321 (casinh_test): Add more tests.
29322 * sysdeps/i386/fpu/libm-test-ulps: Update.
29323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29324
482ff4da
UD
293252012-03-07 Ulrich Drepper <drepper@gmail.com>
29326
872fda05
UD
29327 * po/zh_TW.po: Update from translation team.
29328
a4300c7a
UD
29329 * login/Makefile (distribute): Remove variable.
29330 * catgets/Makefile: Likewise.
29331 * mach/Makefile: Likewise.
29332 * malloc/Makefile: Likewise.
29333 * misc/Makefile: Likewise.
29334 * iconv/Makefile: Likewise.
29335 * nscd/Makefile: Likewise.
29336 * hurd/Makefile: Likewise.
29337 * manual/Makefile: Likewise.
29338 * locale/Makefile: Likewise.
29339 * intl/Makefile: Likewise.
29340 * conform/Makefile: Likewise.
29341 * nss/Makefile: Likewise.
29342 * time/Makefile: Likewise.
29343 * soft-fp/Makefile: Likewise.
29344 * dirent/Makefile: Likewise.
29345 * gmon/Makefile: Likewise.
29346 * po/Makefile: Likewise.
29347 * rt/Makefile: Likewise.
29348 * socket/Makefile: Likewise.
29349 * math/Makefile: Likewise.
29350 * signal/Makefile: Likewise.
29351 * debug/Makefile: Likewise.
29352 * elf/Makefile: Likewise.
29353 * timezone/Makefile: Likewise.
29354 * stdlib/Makefile: Likewise.
29355 * iconvdata/Makefile: Likewise.
29356 * sunrpc/Makefile: Likewise.
29357 * io/Makefile: Likewise.
29358 * argp/Makefile: Likewise.
29359 * inet/Makefile: Likewise.
29360 * hesiod/Makefile: Likewise.
29361 * grp/Makefile: Likewise.
29362 * csu/Makefile: Likewise.
29363 * wctype/Makefile: Likewise.
29364 * crypt/Makefile: Likewise.
29365 * libio/Makefile: Likewise.
29366 * string/Makefile: Likewise.
29367 * nis/Makefile: Likewise.
29368 * resolv/Makefile: Likewise.
29369 * stdio-common/Makefile: Likewise.
29370 * wcsmbs/Makefile: Likewise.
29371 * dlfcn/Makefile: Likewise.
29372 * posix/Makefile: Likewise.
29373
3b7c4e74 29374 [BZ #6959]
482ff4da
UD
29375 * timezone/Makefile: Don't install timezone files, just the programs
29376 and scripts.
29377
f72ed77d
UD
293782012-03-06 Ulrich Drepper <drepper@gmail.com>
29379
a000466f
UD
29380 * nss/databases.def: Add missing gshadow entry.
29381
f72ed77d
UD
29382 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29383
a53b7a4e
MP
293842012-03-06 Marek Polacek <polacek@redhat.com>
29385
29386 [BZ #13726]
29387 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29388 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29389 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29390 * stdio-common/tst-long-dbl-fphex.c: New file.
29391
e9258400
DM
293922012-03-06 David S. Miller <davem@davemloft.net>
29393
29394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29395 (set_obp_int): New function.
29396 (get_obp_int): New function.
29397 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29399 Avoid unused variable warnings on 'val' and use builtin_expect.
29400 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29401 __builtin_expect.
e9258400
DM
29402 (INLINE_CLONE_SYSCALL): Likewise.
29403
3bd2c723
DM
294042012-03-05 David S. Miller <davem@davemloft.net>
29405
29406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29407
bbb78d03
AS
294082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29409
884c5db4
AS
29410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29411
bbb78d03
AS
29412 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29413 only for |x| >= 40.
29414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29415
1c9f702a 294162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29417
29418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29419 Replace gettimeofday with __vdso_gettimeofday.
29420
7be16f82
RM
29421 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29422 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29423 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29424
29425 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29426 time with __vdso_time.
29427
ed58a00f
JM
294282012-03-05 Joseph Myers <joseph@codesourcery.com>
29429
29430 * manual/lang.texi (size_t): Note types to which size_t may be
29431 equivalent with the GNU C Library, but do not describe when
29432 differences between them are significant.
29433
30ee4ced
AJ
294342012-03-05 Andreas Jaeger <aj@suse.de>
29435
29436 * sysdeps/i386/fpu/libm-test-ulps: Update.
29437
b7cd39e8
JM
294382012-03-05 Joseph Myers <joseph@codesourcery.com>
29439
29440 [BZ #3976]
29441 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29442 (__ieee754_pow): Save and restore rounding mode and use
29443 round-to-nearest for main computations.
29444 * math/libm-test.inc (pow_test_tonearest): New function.
29445 (pow_test_towardzero): Likewise.
29446 (pow_test_downward): Likewise.
29447 (pow_test_upward): Likewise.
29448 (main): Call the new functions.
29449 * sysdeps/i386/fpu/libm-test-ulps: Update.
29450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29451
29452 [BZ #3976]
29453 * math/libm-test.inc (cosh_test_tonearest): New function.
29454 (cosh_test_towardzero): Likewise.
29455 (cosh_test_downward): Likewise.
29456 (cosh_test_upward): Likewise.
29457 (sinh_test_tonearest): Likewise.
29458 (sinh_test_towardzero): Likewise.
29459 (sinh_test_downward): Likewise.
29460 (sinh_test_upward): Likewise.
29461 (main): Call the new functions.
29462 * sysdeps/i386/fpu/libm-test-ulps: Update.
29463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29464
6c6a98c9
TV
294652012-03-05 Tom de Vries <tom@codesourcery.com>
29466
29467 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29468 default stack guard is set in last bytes.
29469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29470
21bb2d2e 294712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29472
21bb2d2e 29473 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29474
21bb2d2e
AJ
29475 [BZ #13656]
29476 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29477 possibly allocate from heap instead of stack.
29478 * stdio-common/bug-vfprintf-nargs.c: New file.
29479 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29480
c6922934
AS
294812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29482
29483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29484
bc957d53
MP
294852012-03-03 Marek Polacek <polacek@redhat.com>
29486
29487 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29488 * math/math_private.h: Likewise.
29489 * stdlib/tst-strtod.c: Likewise.
29490 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29491 * sysdeps/x86_64/bits/atomic.h: Likewise.
29492
6358490d
DM
294932012-03-02 David S. Miller <davem@davemloft.net>
29494
29495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29499 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29500 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29501 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29502 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29503
01ae168d
RM
295042012-03-02 Roland McGrath <roland@hack.frob.com>
29505
d9a17c07
RM
29506 [BZ #13792]
29507 * manual/examples/README: New file, says the example source files
29508 can be used under GPL>=2.
29509 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29510 line containing just "*/".
29511 * manual/examples/add.c: Add copyright header (GPL>=2).
29512 * manual/examples/argp-ex1.c: Likewise.
29513 * manual/examples/argp-ex2.c: Likewise.
29514 * manual/examples/argp-ex3.c: Likewise.
29515 * manual/examples/argp-ex4.c: Likewise.
29516 * manual/examples/atexit.c: Likewise.
29517 * manual/examples/db.c: Likewise.
29518 * manual/examples/dir.c: Likewise.
29519 * manual/examples/dir2.c: Likewise.
29520 * manual/examples/execinfo.c: Likewise.
29521 * manual/examples/filecli.c: Likewise.
29522 * manual/examples/filesrv.c: Likewise.
29523 * manual/examples/fmtmsgexpl.c: Likewise.
29524 * manual/examples/genpass.c: Likewise.
29525 * manual/examples/inetcli.c: Likewise.
29526 * manual/examples/inetsrv.c: Likewise.
29527 * manual/examples/isockad.c: Likewise.
29528 * manual/examples/longopt.c: Likewise.
29529 * manual/examples/memopen.c: Likewise.
29530 * manual/examples/memstrm.c: Likewise.
29531 * manual/examples/mkfsock.c: Likewise.
29532 * manual/examples/mkisock.c: Likewise.
29533 * manual/examples/mygetpass.c: Likewise.
29534 * manual/examples/pipe.c: Likewise.
29535 * manual/examples/popen.c: Likewise.
29536 * manual/examples/rprintf.c: Likewise.
29537 * manual/examples/search.c: Likewise.
29538 * manual/examples/select.c: Likewise.
29539 * manual/examples/setjmp.c: Likewise.
29540 * manual/examples/sigh1.c: Likewise.
29541 * manual/examples/sigusr.c: Likewise.
29542 * manual/examples/stpcpy.c: Likewise.
29543 * manual/examples/strdupa.c: Likewise.
29544 * manual/examples/strftim.c: Likewise.
29545 * manual/examples/strncat.c: Likewise.
29546 * manual/examples/subopt.c: Likewise.
29547 * manual/examples/swapcontext.c: Likewise.
29548 * manual/examples/termios.c: Likewise.
29549 * manual/examples/testopt.c: Likewise.
29550 * manual/examples/testpass.c: Likewise.
29551 * manual/examples/timeval_subtract.c: Likewise.
29552
01ae168d
RM
29553 [BZ #13792]
29554 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29555 function to ...
29556 * manual/timeval_subtract.c.texi: ... here, new file.
29557
49efa33d
DM
295582012-03-02 David S. Miller <davem@davemloft.net>
29559
29560 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29561
28afd92d
JM
295622012-03-02 Joseph Myers <joseph@codesourcery.com>
29563
804360ed
JM
29564 [BZ #3976]
29565 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29566 (__sin): Save and restore rounding mode and use round-to-nearest
29567 for all computations.
29568 (__cos): Save and restore rounding mode and use round-to-nearest
29569 for all computations.
29570 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29571 <fenv.h>.
29572 (tan): Save and restore rounding mode and use round-to-nearest for
29573 all computations.
29574 * math/libm-test.inc (cos_test_tonearest): New function.
29575 (cos_test_towardzero): Likewise.
29576 (cos_test_downward): Likewise.
29577 (cos_test_upward): Likewise.
29578 (sin_test_tonearest): Likewise.
29579 (sin_test_towardzero): Likewise.
29580 (sin_test_downward): Likewise.
29581 (sin_test_upward): Likewise.
29582 (tan_test_tonearest): Likewise.
29583 (tan_test_towardzero): Likewise.
29584 (tan_test_downward): Likewise.
29585 (tan_test_upward): Likewise.
29586 (main): Call the new functions.
29587 * sysdeps/i386/fpu/libm-test-ulps: Update.
29588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29589
a6d06d7b
JM
29590 [BZ #10135]
29591 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29592 small n, then large n, before computing and testing k+n.
29593 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29595 Likewise.
29596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29597 Likewise.
29598 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29599 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29600 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29601 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29602 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29603 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29606 * math/libm-test.inc (scalbn_test): Add more tests.
29607 (scalbln_test): Likewise.
29608
07e12bb3
JM
29609 * manual/filesys.texi (mode_t): Describe constraints on size and
29610 signedness, not exact equivalence to a particular type.
29611 (ino_t): Likewise.
29612 (ino64_t): Likewise.
29613 (dev_t): Likewise.
29614 (nlink_t): Likewise.
29615 (blkcnt_t): Likewise.
29616 (blkcnt64_t): Likewise.
29617 * manual/llio.texi (off_t): Likewise.
29618
28afd92d
JM
29619 [BZ #3976]
29620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29621 (__ieee754_exp): Save and restore rounding mode and use
29622 round-to-nearest for all computations.
29623 * math/libm-test.inc (exp_test_tonearest): New function.
29624 (exp_test_towardzero): Likewise.
29625 (exp_test_downward): Likewise.
29626 (exp_test_upward): Likewise.
29627 (main): Call the new functions.
29628 * sysdeps/i386/fpu/libm-test-ulps: Update.
29629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29630
b1eeb65d
CD
296312012-03-01 Chris Demetriou <cgd@google.com>
29632
29633 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29634 have predictable order.
29635
53362a4b
DM
296362012-03-01 David S. Miller <davem@davemloft.net>
29637
3c969083
DM
29638 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29639
759707de
DM
29640 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29641 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29642 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29643 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29644
dfdb8ff2
DM
29645 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29646 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29647 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29649 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29650 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29651 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29652 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29653 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29654
ead89f96
DM
29655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29656
7f66bd07
DM
29657 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29658 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29659 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29660
53362a4b
DM
29661 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29662 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29663 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29664 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29665 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29666 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29667 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29668 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29669 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29670 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29671 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29672 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29674 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29675 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29677 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29678 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29679 * sysdeps/sparc/elf/configure: Regenerated.
29680
7b1902cb
JM
296812012-03-01 Joseph Myers <joseph@codesourcery.com>
29682
bec039bc
JM
29683 * configure.in (AS, LD): Require binutils 2.20 or later.
29684 * configure: Regenerated.
29685 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29686 as required minimum version.
29687 * INSTALL: Regenerated.
29688
7b1902cb
JM
29689 [BZ #2541]
29690 [BZ #4108]
29691 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29692 before squaring exponent.
29693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29694 bottom long double and 27 bits of top long double before squaring
29695 exponent.
29696 * math/libm-test.inc (erfc_test): Add more tests.
29697 * sysdeps/i386/fpu/libm-test-ulps: Update.
29698 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29700
f775c276
KT
297012012-03-01 Kai Tietz <ktietz@redhat.com>
29702
29703 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29704 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29705 containing bit-fields.
29706 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29707 * soft-fp/single.h (_FP_UNION_S): Likewise.
29708 * soft-fp/double.h (_FP_UNION_D): Likewise.
29709
5b8a4d4a
JM
297102012-02-29 Joseph Myers <joseph@codesourcery.com>
29711
0bab47b6
JM
29712 [BZ #13786]
29713 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29714 not include ../strcmp.S.
29715 [USE_AS_STRNCASECMP_L]: Likewise.
29716 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29717 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29718 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29719 (__strncasecmp_l_ia32): Define as alias to
29720 __strncasecmp_l_nonascii.
29721
0fcad3e2
JM
29722 [BZ #5794]
29723 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29724 * sysdeps/i386/fpu/libm-test-ulps: Update.
29725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29726
5b8a4d4a
JM
29727 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29729
8fdceb2e
JL
297302012-02-29 Jeff Law <law@redhat.com>
29731
29732 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29733 out of bounds read.
29734
1f393a11
MP
297352012-02-29 Marek Polacek <polacek@redhat.com>
29736
29737 [BZ #13706]
29738 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29739 * elf/Makefile: Add rules to run tst-unused-dep.out.
29740
8847f037
DM
297412012-02-28 David S. Miller <davem@davemloft.net>
29742
29743 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29744 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29745 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29746 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29747 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29748 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29749
169d7f11
JM
297502012-02-29 Joseph Myers <joseph@codesourcery.com>
29751
29752 * math/libm-test.inc (llround_test): Move one test from
29753 lround_test. Use TEST_f_L in moved test.
29754 (lround_test): Move misplaced test to llround_test. Add testcase
29755 from bug 2561.
29756
39adf059
UD
297572012-02-28 Ulrich Drepper <drepper@gmail.com>
29758
29759 * sysdeps/x86_64/fpu/e_expf.S: New file.
29760 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29761
71b5d1c5
SB
297622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29763
29764 [BZ #13637]
29765 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29766 of remain_len that may cause incomplete multi-byte character and
29767 false match.
29768 * posix/bug-regex33.c: New file.
29769 * posix/Makefile (tests): Add bug-regex33.
29770
1f77f049
JM
297712012-02-28 Joseph Myers <joseph@codesourcery.com>
29772
29773 * manual/macros.texi: New file.
29774 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29775 * manual/libc.texinfo: Include macros.texi.
29776 * manual/creatute.texi: Likewise.
29777 * manual/install.texi: Likewise.
29778 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29779 @glibcadj{} in references to the GNU C Library.
29780 * manual/charset.texi: Likewise.
29781 * manual/conf.texi: Likewise.
29782 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29783 when not using those macros.
29784 * manual/creature.texi: Likewise.
29785 * manual/crypt.texi: Likewise.
29786 * manual/errno.texi: Likewise.
29787 * manual/filesys.texi: Likewise.
29788 * manual/header.texi: Likewise.
29789 * manual/install.texi: Likewise.
29790 * manual/intro.texi: Likewise.
29791 * manual/io.texi: Likewise.
29792 * manual/job.texi: Likewise.
29793 * manual/lang.texi: Likewise.
29794 * manual/libc.texiinfo: Likewise.
29795 * manual/llio.texi: Likewise.
29796 * manual/locale.texi: Likewise.
29797 * manual/maint.texi: Likewise.
29798 * manual/math.texi: Likewise.
29799 * manual/memory.texi: Likewise.
29800 * manual/message.texi: Likewise.
29801 * manual/nss.texi: Likewise.
29802 * manual/pattern.texi: Likewise.
29803 * manual/process.texi: Likewise.
29804 * manual/resource.texi: Likewise.
29805 * manual/search.texi: Likewise.
29806 * manual/setjmp.texi: Likewise.
29807 * manual/signal.texi: Likewise.
29808 * manual/socket.texi: Likewise.
29809 * manual/startup.texi: Likewise.
29810 * manual/stdio.texi: Likewise.
29811 * manual/string.texi: Likewise.
29812 * manual/sysinfo.texi: Likewise.
29813 * manual/syslog.texi: Likewise.
29814 * manual/terminal.texi: Likewise.
29815 * manual/time.texi: Likewise.
29816 * manual/users.texi: Likewise.
29817 * INSTALL: Regenerated.
29818 * NOTES: Regenerated.
d40c5d54 29819 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29820
450bf206
AS
298212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29822
29823 * include/dirent.h: Include <dirstream.h> before
29824 <dirent/dirent.h>.
29825
741a235b
DM
298262012-02-28 David S. Miller <davem@davemloft.net>
29827
29828 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29829 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29830 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29831 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29832
d6b5aa58
DM
298332012-02-27 David S. Miller <davem@davemloft.net>
29834
1aff59a3
DM
29835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29837 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29838 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29839
d6b5aa58
DM
29840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29841 frame pointer instead of stack pointer relative arg slot.
29842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29843 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29844 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29845
433f48bf
CD
298462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29847
29848 [BZ #3992]
29849 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29850
d674b76d
DM
298512012-02-27 David S. Miller <davem@davemloft.net>
29852
29853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29857 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29858 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29859 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29860 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29861
0e7727f7
JM
298622012-02-27 Joseph Myers <joseph@codesourcery.com>
29863
29864 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29865 later. Allow versions 5-9.
43be4ca2 29866 * configure: Regenerated.
0e7727f7
JM
29867 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29868 required minimum version and 4.6 as recommended version. Do not
29869 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29870 * INSTALL: Regenerated.
0e7727f7 29871
a78bc654
DM
298722012-02-27 David S. Miller <davem@davemloft.net>
29873
428d5830
DM
29874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29880 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29881 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29882
a78bc654
DM
29883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29884 manipulate bits before adding and subtracting TWO112[sx].
29885 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29886
4579f81c
RM
298872012-02-27 Roland McGrath <roland@hack.frob.com>
29888
36c8acb4
RM
29889 [BZ #13775]
29890 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29891 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29892 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29893 being in POSIX, because they are in 1003.1-2008.
29894
84ad622b
RM
29895 * rt/tst-aio.c: Include <fcntl.h>.
29896 * rt/tst-aio7.c: Likewise.
29897 * rt/tst-aio64.c: Likewise.
29898
4579f81c
RM
29899 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29900
abd923db
JM
299012012-02-27 Joseph Myers <joseph@codesourcery.com>
29902
29903 * manual/install.texi (--with-headers): Describe headers as
29904 interface headers, not private headers.
29905 (Specific advice for GNU/Linux systems): Describe use of headers
29906 from "make headers_install", not private headers from older
29907 kernels.
43be4ca2 29908 * INSTALL: Regenerated.
abd923db
JM
29909 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29910 Change to 2.6.19.
29911 * sysdeps/unix/sysv/linux/configure: Regenerated.
29912
6664049b
JM
29913 * manual/llio.texi (fclean): Remove documentation.
29914
bb8b6697
JM
29915 * manual/Makefile (libc-texi-generated): New variable. Include
29916 version.texi.
29917 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29918 $(libc-texi-generated), not duplicated list of files.
29919 (version.texi, stamp-version): New rules.
29920 (realclean): Remove $(libc-texi-generated), not individual files
29921 from that list. Do not remove dir-add.texinfo.
29922 * manual/libc.texinfo: Comment out uses of edition numbers and
29923 references to printed manual. Remove last-updated dates.
29924 (EDITION): Comment out.
29925 (ISBN): Likewise.
29926 (VERSION, UPDATED): Remove.
29927 (version.texi): Include.
29928
12e5c3b9
AS
299292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29930
29931 * sysdeps/posix/spawni.c: Include <signal.h>.
29932 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29933 * sysdeps/pthread/aio_fsync.c: Likewise.
29934
4efeffc1 299352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29936
ba63ba08
UD
29937 * conform/Makefile (tests): Run only when not cross-compiling and
29938 when fast-check is not defined.
29939
d94a4670
UD
29940 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29941 * conform/data/limits.h-data: Fixes for POSIX2008.
29942 * conform/run-conformtest.sh: Run all tests.
29943 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29944 headers.
29945 * include/bits/dlfcn.h: Likewise.
29946 * include/langinfo.h: Likewise.
29947 * include/monetary.h: Likewise.
29948 * include/sys/poll.h: Likewise.
29949
29950 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29951 for __USE_GNU.
29952 * posix/spawn.h: Define __need_sigset_t.
29953 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29954 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29955 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29956 to get sigevent_t only.
29957 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29958 only for __USE_GNU.
29959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29960 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29961 process_vm_writev only for __USE_GNU.
29962 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29963
29964 * conform/Makefile: For now ignore errors from run-conformtest.
29965 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29966 POSIX to avoid namespace pollution. Don't prepend headers.
29967 * conform/data/aio.h-data: Fixes for POSIX testing.
29968 * conform/data/fcntl.h-data: Likewise.
29969 * conform/data/glob.h-data: Likewise.
29970 * conform/data/grp.h-data: Likewise.
29971 * conform/data/pthread.h-data: Likewise.
29972 * conform/data/pwd.h-data: Likewise.
29973 * conform/data/signal.h-data: Likewise.
29974 * conform/data/spawn.h-data: Likewise.
29975 * conform/data/stdio.h-data: Likewise.
29976 * conform/data/stdlib.h-data: Likewise.
29977 * conform/data/stropts.h-data: Likewise.
29978 * conform/data/sys/mman.h-data: Likewise.
29979 * conform/data/sys/stat.h-data: Likewise.
29980 * conform/data/sys/types.h-data: Likewise.
29981 * conform/data/sys/wait.h-data: Likewise.
29982 * conform/data/time.h-data: Likewise.
29983 * conform/data/unistd.h-data: Likewise.
29984 * conform/data/utime.h-data: Likewise.
29985
29986 * io/sys/stat.h: fchmod was always in POSIX.
29987 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29988 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29989 * rt/aio.h: Define __need_timespec before including <time.h>.
29990 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29991 struct. Add forward declaration of pthread_attr_t and use it in
29992 sigevent.
29993 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29994 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29995 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29996 always remove CLK_TCK definition.
29997
c20105c3
AS
299982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29999
30000 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30001
7a270350
UD
300022012-02-25 Ulrich Drepper <drepper@gmail.com>
30003
31341567
UD
30004 * conform/run-conformtest.sh: New file.
30005 * conform/Makefile: Run run-conformtest for tests.
30006 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30007 support.
30008
30009 * conform/data/uchar.h-data: New file.
30010 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30011 * conform/data/arpa/inet.h-data: Likewise.
30012 * conform/data/assert.h-data: Likewise.
30013 * conform/data/complex.h-data: Likewise.
30014 * conform/data/cpio.h-data: Likewise.
30015 * conform/data/ctype.h-data: Likewise.
30016 * conform/data/dirent.h-data: Likewise.
30017 * conform/data/dlfcn.h-data: Likewise.
30018 * conform/data/errno.h-data: Likewise.
30019 * conform/data/fcntl.h-data: Likewise.
30020 * conform/data/float.h-data: Likewise.
30021 * conform/data/fmtmsg.h-data: Likewise.
30022 * conform/data/fnmatch.h-data: Likewise.
30023 * conform/data/ftw.h-data: Likewise.
30024 * conform/data/glob.h-data: Likewise.
30025 * conform/data/grp.h-data: Likewise.
30026 * conform/data/iconv.h-data: Likewise.
30027 * conform/data/inttypes.h-data: Likewise.
30028 * conform/data/langinfo.h-data: Likewise.
30029 * conform/data/libgen.h-data: Likewise.
30030 * conform/data/limits.h-data: Likewise.
30031 * conform/data/locale.h-data: Likewise.
30032 * conform/data/math.h-data: Likewise.
30033 * conform/data/monetary.h-data: Likewise.
30034 * conform/data/mqueue.h-data: Likewise.
30035 * conform/data/ndbm.h-data: Likewise.
30036 * conform/data/net/if.h-data: Likewise.
30037 * conform/data/netdb.h-data: Likewise.
30038 * conform/data/netinet/in.h-data: Likewise.
30039 * conform/data/nl_types.h-data: Likewise.
30040 * conform/data/poll.h-data: Likewise.
30041 * conform/data/pthread.h-data: Likewise.
30042 * conform/data/pwd.h-data: Likewise.
30043 * conform/data/regex.h-data: Likewise.
30044 * conform/data/sched.h-data: Likewise.
30045 * conform/data/search.h-data: Likewise.
30046 * conform/data/semaphore.h-data: Likewise.
30047 * conform/data/setjmp.h-data: Likewise.
30048 * conform/data/signal.h-data: Likewise.
30049 * conform/data/spawn.h-data: Likewise.
30050 * conform/data/stdarg.h-data: Likewise.
30051 * conform/data/stdio.h-data: Likewise.
30052 * conform/data/stdlib.h-data: Likewise.
30053 * conform/data/string.h-data: Likewise.
30054 * conform/data/strings.h-data: Likewise.
30055 * conform/data/stropts.h-data: Likewise.
30056 * conform/data/sys/ipc.h-data: Likewise.
30057 * conform/data/sys/mman.h-data: Likewise.
30058 * conform/data/sys/msg.h-data: Likewise.
30059 * conform/data/sys/resource.h-data: Likewise.
30060 * conform/data/sys/select.h-data: Likewise.
30061 * conform/data/sys/sem.h-data: Likewise.
30062 * conform/data/sys/shm.h-data: Likewise.
30063 * conform/data/sys/socket.h-data: Likewise.
30064 * conform/data/sys/stat.h-data: Likewise.
30065 * conform/data/sys/statvfs.h-data: Likewise.
30066 * conform/data/sys/time.h-data: Likewise.
30067 * conform/data/sys/timeb.h-data: Likewise.
30068 * conform/data/sys/times.h-data: Likewise.
30069 * conform/data/sys/types.h-data: Likewise.
30070 * conform/data/sys/uio.h-data: Likewise.
30071 * conform/data/sys/un.h-data: Likewise.
30072 * conform/data/sys/utsname.h-data: Likewise.
30073 * conform/data/sys/wait.h-data: Likewise.
30074 * conform/data/syslog.h-data: Likewise.
30075 * conform/data/tar.h-data: Likewise.
30076 * conform/data/termios.h-data: Likewise.
30077 * conform/data/utime.h-data: Likewise.
30078 * conform/data/utmpx.h-data: Likewise.
30079 * conform/data/varargs.h-data: Likewise.
30080 * conform/data/wchar.h-data: Likewise.
30081 * conform/data/wctype.h-data: Likewise.
30082 * conform/data/wordexp.h-data: Likewise.
30083
30084 * include/stropts.h: New file.
30085 * include/uchar.h: New file.
30086 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30087 * include/assert.h: Likewise.
30088 * include/ctype.h: Likewise.
30089 * include/dirent.h: Likewise.
30090 * include/dlfcn.h: Likewise.
30091 * include/fcntl.h: Likewise.
30092 * include/fnmatch.h: Likewise.
30093 * include/glob.h: Likewise.
30094 * include/grp.h: Likewise.
30095 * include/libio.h: Likewise.
30096 * include/locale.h: Likewise.
30097 * include/math.h: Likewise.
30098 * include/net/if.h: Likewise.
30099 * include/netdb.h: Likewise.
30100 * include/netinet/in.h: Likewise.
30101 * include/pthread.h: Likewise.
30102 * include/pwd.h: Likewise.
30103 * include/regex.h: Likewise.
30104 * include/sched.h: Likewise.
30105 * include/search.h: Likewise.
30106 * include/setjmp.h: Likewise.
30107 * include/signal.h: Likewise.
30108 * include/stdio.h: Likewise.
30109 * include/stdlib.h: Likewise.
30110 * include/string.h: Likewise.
30111 * include/sys/cdefs.h: Likewise.
30112 * include/sys/mman.h: Likewise.
30113 * include/sys/msg.h: Likewise.
30114 * include/sys/resource.h: Likewise.
30115 * include/sys/select.h: Likewise.
30116 * include/sys/socket.h: Likewise.
30117 * include/sys/stat.h: Likewise.
30118 * include/sys/statvfs.h: Likewise.
30119 * include/sys/time.h: Likewise.
30120 * include/sys/times.h: Likewise.
30121 * include/sys/uio.h: Likewise.
30122 * include/sys/utsname.h: Likewise.
30123 * include/sys/wait.h: Likewise.
30124 * include/termios.h: Likewise.
30125 * include/time.h: Likewise.
30126 * include/ulimit.h: Likewise.
30127 * include/unistd.h: Likewise.
30128 * include/utime.h: Likewise.
30129 * include/wchar.h: Likewise.
30130 * include/wctype.h: Likewise.
30131 * include/wordexp.h: Likewise.
30132
30133 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30134
7a270350
UD
30135 * time/time.h: TIME_UTC must be a macro.
30136 Make timespec_get available for ISO C11 only as well.
30137
7724defc
UD
301382012-02-24 Ulrich Drepper <drepper@gmail.com>
30139
30140 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30141 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30142
6b1d1d46
JM
301432012-02-24 Joseph Myers <joseph@codesourcery.com>
30144
30145 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30146
0f8bbd69
JM
301472012-02-24 Joseph Myers <joseph@codesourcery.com>
30148
30149 * manual/texinfo.tex: Update to version 2012-01-19.16.
30150
66ab80bc
JM
301512012-02-24 Joseph Myers <joseph@codesourcery.com>
30152
30153 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30154
74981cc5
RM
301552012-02-24 Roland McGrath <roland@hack.frob.com>
30156
ee968201
RM
30157 [BZ #13738]
30158 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30159 * manual/fdl-1.3.texi: New file.
30160 * manual/fdl-1.1.texi: File removed.
30161
74981cc5
RM
30162 [BZ #13738]
30163 * manual/libc.texinfo (FDL_VERSION): New @set.
30164 Use it for mention of FDL in cover text.
30165 (Documentation License): Use it in @include file name.
30166
7bb764bc
JM
301672012-02-22 Joseph Myers <joseph@codesourcery.com>
30168 Roland McGrath <roland@hack.frob.com>
30169
30170 [BZ #5461]
30171 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30172 not LONG_LONG_MAX and LONG_LONG_MIN.
30173 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30174 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30175 name.
30176 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30177
6cbeae47
JM
301782012-02-22 Joseph Myers <joseph@codesourcery.com>
30179
30180 [BZ #2547]
30181 [BZ #11365]
30182 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30183 manipulate bits before adding and subtracting TWO23[sx].
30184 * math/libm-test.inc (nearbyint_test): Add more tests.
30185
fe45ce09
JM
301862012-02-22 Joseph Myers <joseph@codesourcery.com>
30187
30188 [BZ #2548]
30189 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30190 bits before adding and subtracting TWO23[sx].
30191 * math/libm-test.inc (rint_test): Add more tests.
30192 (rint_test_tonearest): Likewise.
30193 (rint_test_towardzero): Likewise.
30194 (rint_test_downward): Likewise.
30195 (rint_test_upward: Likewise.
30196
ff3b3d82
JM
301972012-02-22 Joseph Myers <joseph@codesourcery.com>
30198
30199 [BZ #10110]
30200 * include/stdc-predef.h: New file. Extracted from features.h.
30201 * include/features.h: Include stdc-predef.h.
30202 * Makefile (headers): Add stdc-predef.h.
30203 * CONFORMANCE (Compiler limitations): Update.
30204
ef0aab35
JM
302052012-02-22 Joseph Myers <joseph@codesourcery.com>
30206
30207 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30208
58639409
DM
302092012-02-21 David S. Miller <davem@davemloft.net>
30210
30211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30212 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30213
c0e70b25
DM
302142012-02-20 David S. Miller <davem@davemloft.net>
30215
30216 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30217 using a normal save/restore sequence, rather than allocating a
30218 dummy stack frame just to store a frame pointer and restore.
30219 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30220
fb06851d
JM
302212012-02-21 Joseph Myers <joseph@codesourcery.com>
30222
30223 * manual/install.texi: Fix stray word in line-wrapped comment.
30224
7a8b71c3
DM
302252012-02-20 David S. Miller <davem@davemloft.net>
30226
d510c123
DM
30227 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30228 both binutils and gcc support GOTDATA.
30229
0722d7c2
DM
30230 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30231 "rd %pc" in the PIC register setup sequences.
30232
3d2b3019
DM
30233 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30234 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30235 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30236 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30237 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30242 (SYSCALL_ERROR_HANDLER): Likewise.
30243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30244 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30246 (SYSCALL_ERROR_HANDLER): Likewise.
30247
c80098a9
DM
30248 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30249 (HAVE_GCC_GOTDATA): New.
30250 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30251 relocation support in both binutils and gcc.
30252 * sysdeps/sparc/elf/configure: Regenerate.
30253
3a2545a0
DM
30254 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30255 * sysdeps/sparc/sparc32/elf/configure: Delete.
30256 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30257 * sysdeps/sparc/sparc64/elf/configure: Delete.
30258 * sysdeps/sparc/elf/configure.in: New file.
30259 * sysdeps/sparc/elf/configure: Generate.
30260
7a8b71c3
DM
30261 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30262 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30263 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30264 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30265 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30266
f1e86fca
JM
302672012-02-21 Joseph Myers <joseph@codesourcery.com>
30268
30269 * manual/install.texi: Do not mention specific glibc version
30270 numbers.
30271 * manual/libc.texinfo (VERSION, UPDATED): Update.
30272 (@copying): Use @copyright{} and range of years.
30273
0e7dfaef
JM
302742012-02-21 Joseph Myers <joseph@codesourcery.com>
30275
30276 [BZ #13695]
30277 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30278 [crti.S not in sysdirs] (generated): Do not append.
30279 [crti.S not in sysdirs] (omit-deps): Likewise.
30280 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30281 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30282 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30283 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30284 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30285 Likewise.
30286 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30287 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30288 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30289 * csu/defs.awk: Remove file.
30290 * sysdeps/generic/initfini.c: Likewise.
30291 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30292 variable.
30293 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30294 Likewise.
30295
599af3ca
JM
302962012-02-20 Joseph Myers <joseph@codesourcery.com>
30297
30298 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30299 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30300 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30303 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30304 <bits/epoll.h>.
30305 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30306 (__EPOLL_PACKED): Define to empty if not defined by
30307 <bits/epoll.h>.
30308 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30310 bits/epoll.h.
30311
0e499750
JM
303122012-02-20 Joseph Myers <joseph@codesourcery.com>
30313
30314 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30315 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30316 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30317 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30318 <bits/timerfd.h>.
30319 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30321 bits/timerfd.h.
30322
5ad91f6e
JM
303232012-02-20 Joseph Myers <joseph@codesourcery.com>
30324
30325 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30326 in C locale.
30327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30328 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30331
06b99b02
AJ
303322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30333
30334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30335 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30336
7638c0fd
AS
303372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30338
30339 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30340 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30341 defined.
30342 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30343 Likewise.
30344 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30345 entry for 2.16.
30346
92221550
AJ
303472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30348
30349 * math/w_acos.c: Use non-signaling floating-point comparisons.
30350 * math/w_acosf.c: Likewise.
30351 * math/w_acosh.c: Likewise.
30352 * math/w_acoshf.c: Likewise.
30353 * math/w_acoshl.c: Likewise.
30354 * math/w_acosl.c: Likewise.
30355 * math/w_asin.c: Likewise.
30356 * math/w_asinf.c: Likewise.
30357 * math/w_asinl.c: Likewise.
30358 * math/w_atanh.c: Likewise.
30359 * math/w_atanhf.c: Likewise.
30360 * math/w_atanhl.c: Likewise.
30361 * math/w_exp2.c: Likewise.
30362 * math/w_exp2f.c: Likewise.
30363 * math/w_exp2l.c: Likewise.
30364 * math/w_j0.c: Likewise.
30365 * math/w_j0f.c: Likewise.
30366 * math/w_j0l.c: Likewise.
30367 * math/w_j1.c: Likewise.
30368 * math/w_j1f.c: Likewise.
30369 * math/w_j1l.c: Likewise.
30370 * math/w_jn.c: Likewise.
30371 * math/w_jnf.c: Likewise.
30372 * math/w_log.c: Likewise.
30373 * math/w_log10.c: Likewise.
30374 * math/w_log10f.c: Likewise.
30375 * math/w_log10l.c: Likewise.
30376 * math/w_log2.c: Likewise.
30377 * math/w_log2f.c: Likewise.
30378 * math/w_log2l.c: Likewise.
30379 * math/w_logf.c: Likewise.
30380 * math/w_logl.c: Likewise.
30381 * math/w_sqrt.c: Likewise.
30382 * math/w_sqrtf.c: Likewise.
30383 * math/w_sqrtl.c: Likewise.
30384 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30385 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30386 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30387 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30388 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30389
ebaf36eb
JM
303902012-02-19 Joseph Myers <joseph@codesourcery.com>
30391
30392 [BZ #9739]
30393 * manual/string.texi (strnlen): Use correct parameter name in
30394 equivalent expression.
30395
71c254a6
JM
303962012-02-19 Joseph Myers <joseph@codesourcery.com>
30397
30398 [BZ #11174]
30399 * manual/users.texi (seteuid): Consistently use neweuid for
30400 argument name.
30401
16d2c631
JM
304022012-02-19 Joseph Myers <joseph@codesourcery.com>
30403
30404 [BZ #13704]
30405 * manual/nss.texi (Services in the NSS configuration): Correct
30406 list of services in example configuration file.
30407
cd837b09
NB
304082012-02-19 Nick Bowler <nbowler@draconx.ca>
30409
30410 [BZ #11322]
30411 * manual/arith.texi: Remove statements about negative zero
30412 behaving identically to zero.
30413
02c4bbad
JM
304142012-02-18 Joseph Myers <joseph@codesourcery.com>
30415
30416 [BZ #5993]
30417 * manual/install.texi: Do not document upgrading from libc5.
30418
366842e7
JM
304192012-02-18 Joseph Myers <joseph@codesourcery.com>
30420
30421 [BZ #4596]
30422 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30423
dd54084d
DM
304242012-02-18 David S. Miller <davem@davemloft.net>
30425
30426 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30427 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30428 %o7 across the call.
30429 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30430 instead.
30431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30432 SETUP_PIC_REG_LEAF.
30433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30434 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30435 * sysdeps/sparc/crtn.S: Likewise.
30436
2bcc53a3
UD
304372012-02-17 Ulrich Drepper <drepper@gmail.com>
30438
30439 * aout/Makefile: Remove.
30440
09c093b5
RK
304412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30442
30443 [BZ #13058]
30444 * manual/examples/argp-ex1.c (main): Format definition in GNU
30445 style.
30446 * manual/examples/argp-ex2.c (main): Likewise.
30447 * manual/examples/argp-ex3.c (main): Likewise.
30448 * manual/examples/argp-ex4.c (main): Likewise.
30449 * manual/examples/longopt.c (main): Use new-style prototype
30450 definition.
30451 * manual/examples/strncat.c (main): Specify return type and use
30452 (void) for arguments.
30453 * manual/examples/subopt.c (main): Use char **argv argument.
30454
2ee633a2
JM
304552012-02-17 Joseph Myers <joseph@codesourcery.com>
30456
30457 [BZ #5077]
30458 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30459 rounding modes.
30460
0520adde
FB
304612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30462
30463 [BZ #6907]
30464 * manual/string.texi (strchr): Change when strchrnul is
30465 recommended.
30466
3f4081cd
DGM
304672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30468
30469 [BZ #174]
30470 * manual/locale.texi (setlocale): Document LOCPATH.
30471
d1b10e78
JM
304722012-02-17 Joseph Myers <joseph@codesourcery.com>
30473
30474 [BZ #10210]
30475 * manual/process.texi (execle): Move @dots{} before last argument.
30476
79c6869c
PB
304772012-02-17 Paul Bolle <pebolle@tiscali.nl>
30478
30479 [BZ #12047]
30480 * manual/charset.texi (Generic Charset Conversion): Fix typo
30481 (LC_TYPE -> LC_CTYPE).
30482
cc6e48bc
NB
304832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30484
30485 [BZ #5805]
30486 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30487 (scalbnf): Likewise.
30488 (scalbnl): Likewise.
30489 (scalbln): Likewise.
30490 (scalblnf): Likewise.
30491 (scalblnl): Likewise.
30492 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30493 (vwarnx): Likewise.
30494 (verr): Likewise.
30495 (verrx): Likewise.
30496 * manual/filesys.texi (telldir): Use braces around return type.
30497 * manual/llio.texi (mmap): Add space after comma.
30498 (mmap64): Likewise.
30499 * manual/math.texi (jn): Use @var{} on parameter names.
30500 (jnf): Likewise.
30501 (jnl): Likewise.
30502 (yn): Likewise.
30503 (ynf): Likewise.
30504 (ynl): Likewise.
30505 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30506 line.
30507 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30508 "...".
30509 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30510 (sched_get_priority_max): Likewise.
30511 * manual/signal.texi (sigvec): Add space after comma.
30512 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30513 names.
30514 (if_indextoname): Likewise.
30515 (if_freenameindex): Likewise.
30516 (sendto): Use ',' instead of '.' in prototype.
30517 * manual/startup.texi (syscall): Use @dots{} instead of literal
30518 "...".
30519 * manual/stdio.texi (__fpending): Separate initial words of
30520 paragraph from @deftypefun line.
30521 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30522 "...".
30523 (vsyslog): Use @var{} on parameter names.
30524 * manual/terminal.texi (stty): Use @var{} on parameter names.
30525 * manual/users.texi (getutmp): Use @var{} on parameter names.
30526 (getutmpx): Likewise.
30527
5b23062f
JM
305282012-02-17 Joseph Myers <joseph@codesourcery.com>
30529
30530 [BZ #6884]
30531 * manual/stdio.texi (fopen): Fix typos in description of
30532 ",ccs=STRING".
30533
8dee4833
AJ
305342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30535
30536 [BZ #4026]
30537 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30538 get clock_id definition.
30539
9078ce93
TS
305402012-02-17 Thomas Schwinge <thomas@schwinge.name>
30541
30542 [BZ #4822]
30543 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30544 (madvise): Cast every argument to void on its own.
30545
3835c55f
JM
305462012-02-17 Joseph Myers <joseph@codesourcery.com>
30547
30548 [BZ #9902]
30549 * manual/startup.texi (Exit Status): Fix typo.
30550
35c47e37
JM
305512012-02-17 Joseph Myers <joseph@codesourcery.com>
30552
30553 [BZ #10140]
30554 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30555 * manual/examples/argp-ex2.c: Likewise.
30556 * manual/examples/argp-ex3.c: Likewise.
30557
e3b69ca7
RH
305582012-02-16 Richard Henderson <rth@redhat.com>
30559
30560 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30561 * sysdeps/s390/s390-32/initfini.c: Remove.
30562 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30563 * sysdeps/s390/s390-64/initfini.c: Remove.
30564
df83af67
KK
305652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30566
30567 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30568 compiler output for sysdeps/generic/initfini.c.
30569 * sysdeps/sh/elf/initfini.c: Remove file.
30570
f63f3380
DM
305712012-02-16 David S. Miller <davem@davemloft.net>
30572
fb59b3a4
DM
30573 [BZ #11494]
30574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30575
f63f3380
DM
30576 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30577 * sysdeps/sparc/crti.S: New file.
30578 * sysdeps/sparc/crtn.S: New file.
30579 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30580 * sysdeps/sparc/sparc64/Makefile: Likewise.
30581
df6a4a4a
MF
305822012-02-15 Mike Frysinger <vapier@gentoo.org>
30583
6dd8f3dc 30584 [BZ #3335]
df6a4a4a
MF
30585 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30586
1cac7236
RM
305872012-02-15 Roland McGrath <roland@hack.frob.com>
30588
d2c736f8
RM
30589 [BZ #4822]
30590 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30591
1cac7236
RM
30592 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30593 (write, read, close): Likewise.
30594 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30595
8e475601
JM
305962012-02-15 Joseph Myers <joseph@codesourcery.com>
30597
30598 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30599 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30600 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30601 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30602 <bits/signalfd.h>.
30603 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30605 bits/signalfd.h.
30606
ed656b40
MP
306072012-02-14 Marek Polacek <polacek@redhat.com>
30608
30609 * sysdeps/x86_64/crti.S: New file.
30610 * sysdeps/x86_64/crtn.S: New file.
30611 * sysdeps/x86_64/elf/initfini.c: Remove file.
30612
2a979d3a
JM
306132012-02-13 Joseph Myers <joseph@codesourcery.com>
30614
30615 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30616 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30617 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30618 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30619 <bits/inotify.h>.
30620 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30622 bits/inotify.h.
30623
2a418ac3
JM
306242012-02-13 Joseph Myers <joseph@codesourcery.com>
30625
30626 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30627 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30628 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30629 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30630 <bits/eventfd.h>.
30631 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30633 bits/eventfd.h.
30634
fb779be7
TS
306352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30636
e19e83c5
RM
30637 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30638 __feraiseexcept instead of feraiseexcept.
7c35ffed 30639
fb779be7
TS
30640 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30641 nanosleep invocations.
30642 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30643 strings, and add error checking for a nanosleep invocations.
30644
59ba27a6
PE
306452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30646
30647 Replace FSF snail mail address with URLs, as per GNU coding standards.
30648 Most of the snail mail addresses were wrong anyway, and omitting
30649 them makes the source code easier to maintain. Almost all of the
30650 changes are to license notices and to locale LC_IDENTIFICATION
30651 addresses, except for this one:
30652 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30653 not its snail mail address.
30654
57b957eb
RH
306552012-02-09 Richard Henderson <rth@twiddle.net>
30656
af850b1c
RH
30657 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30658 of kernel-features.h.
30659
57b957eb
RH
30660 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30661
6b73181a
MP
306622012-02-08 Marek Polacek <polacek@redhat.com>
30663
30664 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30665 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30666 * sysdeps/gnu/_G_config.h: Likewise.
30667 * sysdeps/generic/_G_config.h: Likewise.
30668
26ecc33a
AS
306692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30670
6c6dbc63
AS
30671 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30672 tests.
30673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30674
e216c012
AS
30675 * sysdeps/powerpc/powerpc32/crti.S: New file.
30676 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30677 * sysdeps/powerpc/powerpc64/crti.S: New file.
30678 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30679
26ecc33a
AS
30680 * Makeconfig (have-initfini): Don't set.
30681 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30682 * configure.in (nopic_initfini): Don't substitute.
30683 * config.h.in (HAVE_INITFINI): Don't #undef.
30684 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30685 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30686
3add8e13
JM
306872012-02-08 Joseph Myers <joseph@codesourcery.com>
30688
30689 Support crti.S and crtn.S provided directly by architectures.
30690 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30691 [crti.S in sysdirs] (omit-deps): Likewise.
30692 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30693 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30694 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30695 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30696 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30697 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30698 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30699 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30700 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30701 compiler output for sysdeps/generic/initfini.c.
30702 * sysdeps/i386/elf/Makefile: Remove file.
30703 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30704
a22f12b4
MP
307052012-02-07 Marek Polacek <polacek@redhat.com>
30706
30707 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30708 * sysdeps/gnu/_G_config.h: Likewise.
30709 * sysdeps/mach/hurd/_G_config.h: Likewise.
30710
148cf100
MP
307112012-02-07 Marek Polacek <polacek@redhat.com>
30712
30713 * math/Makefile (tests): Add tst-CMPLX2.
30714 * math/tst-CMPLX2.c: New file.
30715
cfdc0dd7
AS
307162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30717
84ba42c4
AS
30718 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30719
cfdc0dd7
AS
30720 * math/libm-test.inc (jn_test): Add missing L suffix.
30721
622c86f4
MP
307222012-02-06 Marek Polacek <polacek@redhat.com>
30723
30724 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30725 * sysdeps/i386/fpu/e_powf.S: Likewise.
30726 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30727 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30728 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30729 * sysdeps/i386/fpu/e_pow.S: Likewise.
30730 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30732 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30733 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30734 * sysdeps/i386/fpu/e_log2.S: Likewise.
30735 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30737 * sysdeps/i386/fpu/e_powl.S: Likewise.
30738 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30739 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30740 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30741 * sysdeps/i386/fpu/e_logl.S: Likewise.
30742 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30743 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30744 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30745 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30746 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30748 * sysdeps/i386/fpu/e_log.S: Likewise.
30749 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30750 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30751 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30752 * sysdeps/i386/fpu/e_logf.S: Likewise.
30753 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30754 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30755 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30756 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30757 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30758 * sysdeps/i386/fpu/e_log10.S: Likewise.
30759 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30760 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30761 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30762 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30764 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30765 * sysdeps/i386/asm-syntax.h: Likewise.
30766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30767 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30769 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30770 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30771 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30772 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30773 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30774 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30775 * sysdeps/powerpc/sysdep.h: Likewise.
30776 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30777 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30778
d4a54ac6
JM
307792012-02-06 Joseph Myers <joseph@codesourcery.com>
30780
30781 [BZ #411]
30782 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30783
314054ea
JM
307842012-02-06 Joseph Myers <joseph@codesourcery.com>
30785
30786 * sysdeps/i386/sysdep.h: Include <features.h>.
30787 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30788 version.
30789
d8e0ca50
JM
307902012-02-05 Joseph Myers <joseph@codesourcery.com>
30791
30792 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30793 Define.
30794 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30795 LOAD_PIC_REG_STR.
30796
b1da7dd9
JM
307972012-02-03 Joseph Myers <joseph@codesourcery.com>
30798
30799 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30800 (SETUP_PIC_REG): Use GET_PC_THUNK.
30801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30802 macro.
30803
9a1d9254
JM
308042012-02-03 Joseph Myers <joseph@codesourcery.com>
30805
30806 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30807 for non-PIC compilation.
30808 (SETUP_PIC_REG): Add .p2align directive.
30809 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30810 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30811 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30812 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30814 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30815 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30816 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30817 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30818 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30819 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30820 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30821 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30822 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30823 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30824 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30825 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30826 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30827 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30828 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30831 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30832 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30836 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30837 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30838 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30839 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30841 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30842 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30843 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30844 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30845 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30846 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30847 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30848 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30849 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30850
65dc3b75
JM
308512012-02-03 Joseph Myers <joseph@codesourcery.com>
30852
30853 * math/tst-CMPLX.c: Include <stdio.h>.
30854
d55bf177
JM
308552012-01-31 Joseph Myers <joseph@codesourcery.com>
30856
30857 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30858 float.
30859 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30860 * sysdeps/sparc/bits/mathdef.h: Likewise.
30861
69db4f8f
MP
308622012-01-31 Marek Polacek <polacek@redhat.com>
30863
30864 * libio/libio.h: Don't define _PARAMS.
30865 * locale/programs/config.h: Don't define PARAMS.
30866 * stdlib/strtol_l.c: Likewise.
30867 (__strtol_l): Remove PARAMS from the prototype.
30868
41b81892
UD
308692012-01-31 Ulrich Drepper <drepper@gmail.com>
30870
3b49edc0
UD
30871 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30872 names. Just use the correct names. Remove unnecessary wrapper
30873 functions.
30874 * malloc/arena.c: Likewise.
30875 * malloc/hooks.c: Likewise.
30876
41b81892
UD
30877 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30878 ARENA_TEST says not to. Simplify test for creation of a new arena.
30879 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30880
27a25b6e
UD
308812012-01-30 Ulrich Drepper <drepper@gmail.com>
30882
30883 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30884 into tail calls.
30885 (update_get_addr): New function.
30886 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30887 GET_ADDR_MODULE parameter.
30888
c8a89e7d
JM
308892012-01-30 Joseph Myers <joseph@codesourcery.com>
30890
30891 * crypt/cert.c: Remove __STDC__ conditionals.
30892 * crypt/crypt-entry.c: Likewise.
30893 * crypt/crypt_util.c: Likewise.
30894 * libio/filedoalloc.c: Likewise.
30895 * libio/fileops.c: Likewise.
30896 * libio/genops.c: Likewise.
30897 * libio/iofclose.c: Likewise.
30898 * libio/iofdopen.c: Likewise.
30899 * libio/iofopen.c: Likewise.
30900 * libio/iofopen64.c: Likewise.
30901 * libio/iogetdelim.c: Likewise.
30902 * libio/iopopen.c: Likewise.
30903 * libio/obprintf.c: Likewise.
30904 * libio/oldfileops.c: Likewise.
30905 * libio/oldiofclose.c: Likewise.
30906 * libio/oldiofdopen.c: Likewise.
30907 * libio/oldiofopen.c: Likewise.
30908 * libio/oldiopopen.c: Likewise.
30909 * libio/wfiledoalloc.c: Likewise.
30910 * libio/wgenops.c: Likewise.
30911 * locale/programs/xmalloc.c: Likewise.
30912 * misc/syslog.c: Likewise.
30913 * stdio-common/xbug.c: Likewise.
30914 * string/memchr.c: Likewise.
30915 * string/memcmp.c: Likewise.
30916 * string/memrchr.c: Likewise.
30917 * string/rawmemchr.c: Likewise.
30918 * sysdeps/posix/getcwd.c: Likewise.
30919 * time/strftime_l.c: Likewise.
30920
3b100462
JM
309212012-01-30 Joseph Myers <joseph@codesourcery.com>
30922
30923 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30924 * config.make.in (config-cflags-sse2avx): Define.
30925 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30926 Fix typo.
30927
607998af
CM
309282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30929
30930 * scripts/config.guess: Update from upstream config git repository.
30931 * scripts/config.sub: Likewise.
30932
3601428f
CM
309332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30934
3ac8b282
CM
30935 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30936 (EM_NUM): Update.
30937 (R_TILEPRO_*, R_TILEGX_*): New macros.
30938
e034841e
CM
30939 * scripts/firstversions.awk: Fix bug in version range handling.
30940
540d7568
CM
30941 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30942
3601428f
CM
30943 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30944
463de862
CM
30945 * include/sys/epoll.h: New file.
30946 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30947 libc_hidden_def.
30948
73139a76
UD
309492012-01-28 Ulrich Drepper <drepper@gmail.com>
30950
96bc5b45
UD
30951 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30952 Avoid unnecessary __WORDSIZE == 64 test.
30953 (fmaxf): Use VEX format if possible.
30954 (fmax): Likewise.
30955 (fminf): Likewise.
30956 (fmin): Likewise.
30957
56f6f6a2
UD
30958 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30959 * math/math_private.h: Remove libc_fegetround* and
30960 libc_fesetround*.
30961 * sysdeps/i386/configure.in: Check for -msse2avx.
30962 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30963 also if SSE2AVX is defined.
30964 Remove libc_fegetround* and libc_fesetround*.
30965 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30966 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30967 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30968 of HAS_YMM_USABLE.
30969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30974
73139a76
UD
30975 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30976
d73f93a4
AZ
309772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30978
30979 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30980 size is not set.
30981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30982
6ee65ed6
UD
309832012-01-27 Ulrich Drepper <drepper@gmail.com>
30984
30985 [BZ #13618]
30986 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30987 relocation.
30988 * Makeconfig (libm): Define.
30989 * elf/Makefile: Add rules to build and run tst-relsort1.
30990 * elf/tst-relsort1.c: New file.
30991 * elf/tst-relsort1mod1.c: New file.
30992 * elf/tst-relsort1mod2.c: New file.
30993
8db21882
JM
309942012-01-27 Joseph Myers <joseph@codesourcery.com>
30995
30996 * math/s_ldexp.c: Remove __STDC__ conditionals.
30997 * math/s_ldexpf.c: Likewise.
30998 * math/s_ldexpl.c: Likewise.
30999 * math/s_nextafter.c: Likewise.
31000 * math/s_nexttowardf.c: Likewise.
31001 * math/s_significand.c: Likewise.
31002 * math/s_significandf.c: Likewise.
31003 * math/s_significandl.c: Likewise.
31004 * math/w_jnl.c: Likewise.
31005 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31006 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31007 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31008 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31009 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31011 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31012 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31013 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31014 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31015 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31020 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31024 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31025 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31027 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31028 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31029 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31030 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31031 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31032 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31033 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31034 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31035 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31036 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31037 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31038 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31039 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31040 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31041 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31042 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31043 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31044 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31045 * sysdeps/ieee754/k_standard.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31067 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31075 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31076 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31078 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31080 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31082 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31085 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31086 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31088 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31089 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31091 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31092 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31095 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31099 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31100 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31101 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31102 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31103 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31106 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31107 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31109 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31111 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31112 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31113 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31114 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31116 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31120 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31121 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31125 * sysdeps/ieee754/s_matherr.c: Likewise.
31126 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31127 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31128 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31129 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31130
965a54a4
JM
311312012-01-26 Joseph Myers <joseph@codesourcery.com>
31132
31133 * crypt/md5.h: Remove __STDC__ conditionals.
31134 * libio/libioP.h: Likewise.
31135 * locale/programs/config.h: Likewise.
31136 * sysdeps/generic/sysdep.h: Likewise.
31137 * sysdeps/i386/asm-syntax.h: Likewise.
31138 * sysdeps/s390/asm-syntax.h: Likewise.
31139 * sysdeps/unix/sysdep.h: Likewise.
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31142
7071ad79
JM
311432012-01-26 Joseph Myers <joseph@codesourcery.com>
31144
31145 * libio/libio.h: Remove __STDC__ conditionals.
31146 * malloc/obstack.h: Likewise.
31147 * math/complex.h: Likewise.
31148 * math/math.h: Likewise.
31149 * sysdeps/generic/_G_config.h: Likewise.
31150 * sysdeps/gnu/_G_config.h: Likewise.
31151 * sysdeps/mach/hurd/_G_config.h: Likewise.
31152 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31153 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31154 * sysdeps/sparc/bits/mathdef.h: Likewise.
31155
afc5ed09
UD
311562012-01-26 Ulrich Drepper <drepper@gmail.com>
31157
31158 [BZ #13583]
31159 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31160 Clean up HAS_* macros.
afc5ed09 31161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31162 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31163 possible.
31164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31165 HAS_AVX.
31166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31171
bdb6de1d
JM
311722012-01-25 Joseph Myers <joseph@codesourcery.com>
31173
31174 * elf/tst-unique3.cc (gets): Remove declaration.
31175 * elf/tst-unique3lib.cc (gets): Likewise.
31176 * elf/tst-unique3lib2.cc (gets): Likewise.
31177 * elf/tst-unique4.cc (gets): Likewise.
31178
b15549e6
UD
311792012-01-24 Ulrich Drepper <drepper@gmail.com>
31180
31181 * include/stdio.h: Add C++ protection. Add gets declarations and
31182 definitions.
31183 * debug/tst-chk1.c: Don't declare gets here.
31184 * stdio-common/tst-gets.c: Likewise.
31185
a037381f
JM
311862012-01-24 Joseph Myers <joseph@codesourcery.com>
31187
31188 * posix/glob: Remove directory.
31189
f1d4aa75
JM
311902012-01-24 Joseph Myers <joseph@codesourcery.com>
31191
31192 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31193
81c0c964
PT
311942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31195
31196 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31197 of the non-standard EPFNOSUPPORT.
31198
0ea698ae
ST
311992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31200
31201 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31202 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31203 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31204
d220b117
UD
312052012-01-21 Ulrich Drepper <drepper@gmail.com>
31206
31207 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31208
3e1aa84e
UD
312092012-01-20 Ulrich Drepper <drepper@gmail.com>
31210
31211 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31212 transient errors.
31213 * nscd/grpcache.c (cache_addgr): Likewise.
31214 * nscd/hstcache.c (cache_addhst): Likewise.
31215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31216 * nscd/pwdcache.c (cache_addpw): Likewise.
31217 * nscd/servicescache.c (cache_addserv): Likewise.
31218
400aa020
UD
312192012-01-16 Ulrich Drepper <drepper@gmail.com>
31220
d77e7869
UD
31221 * malloc/malloc.c: Various cleanups.
31222 * malloc/hooks.c: Likewise.
31223
400aa020
UD
31224 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31225 * stdlib/bug-fmtmsg1.c: New file.
31226
31227 * stdlib/fmtmsg.c (init): Add missing unlock.
31228 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31229
e0a309cf
MP
312302012-01-12 Marek Polacek <polacek@redhat.com>
31231
31232 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31233 and _GNU_SOURCE.
31234
929d11c7
WS
312352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31236
31237 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31238 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31239 macro to ensure uniqueness of label name.
31240 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31241 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31242
41d0e869
UD
312432012-01-11 Ulrich Drepper <drepper@gmail.com>
31244
0cc5ed3b
UD
31245 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31246
41d0e869
UD
31247 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31248 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31251
a47a831a
UD
312522012-01-10 Ulrich Drepper <drepper@gmail.com>
31253
daa891c0
UD
31254 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31255
31256 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31257 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31258 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31259
e58ef0f2
UD
31260 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31261
a47a831a 31262 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31263 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31264 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31266
31267 * math/bits/math-finite.h: Add ldexp support.
31268
a0bfc9c7
MP
312692012-01-10 Marek Polacek <polacek@redhat.com>
31270
31271 * locale/programs/localedef.h (show_archive_content): Add noreturn
31272 attribute.
31273
d6e97a1d
UD
312742012-01-09 Ulrich Drepper <drepper@gmail.com>
31275
31276 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31277
d5835c26
UD
312782012-01-08 Ulrich Drepper <drepper@gmail.com>
31279
e5f484c6
UD
31280 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31281
d5835c26
UD
31282 * io/Makefile (headers): Add bits/poll2.h.
31283
d1f741e9
WS
312842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31285
31286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31287 typo #include statement.
31288
ec09c1c4
UD
312892012-01-08 Ulrich Drepper <drepper@gmail.com>
31290
31291 * include/sys/cdefs.h: Define __attribute_alloc_size.
31292 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31293 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31294 * elf/pldd.c: Likewise.
31295 * iconv/iconv_charmap.c: Likewise.
31296 * iconv/iconvconfig.c: Likewise.
31297 * iconv/strtab.c: Likewise.
31298 * locale/programs/locale.c: Likewise.
31299 * locale/programs/localedef.h: Likewise.
31300 * locale/programs/simple-hash.c: Likewise.
31301 * nscd/nscd.h: Likewise.
31302 * nss/makedb.c: Likewise.
31303 * sysdeps/generic/ldconfig.h: Likewise.
31304 * locale/programs/localedef.c: Remove xmalloc prototype.
31305 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31306
20b38e03
PP
313072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31308
31309 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31310 appropriate.
31311
a0da5fe1
UD
313122012-01-08 Ulrich Drepper <drepper@gmail.com>
31313
1d5a644a 31314 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31315 * math/tst-CMPLX.c: New file.
1d5a644a 31316
8784a6db
UD
31317 * math/complex.h (CMPLXL): Fix typo.
31318
d9a216c0
UD
31319 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31320 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31321 GLIBC_2.16.
31322 * debug/tst-chk1.c: Add poll and ppoll tests.
31323 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31324 * include/sys/poll.h: Add hidden proto for ppoll.
31325 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31326 * sysdeps/mach/hurd/ppoll.c: Likewise.
31327 * io/ppoll.c: Likewise.
31328 * debug/poll_chk.c: New file.
31329 * debug/ppoll_chk.c: New file.
31330 * include/bits/poll2.h: New file.
31331 * io/bits/poll2.h: New file.
31332
ac097f5c
UD
31333 [BZ #1350]
31334 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31335
2119dcfa
UD
31336 * configure.in: static is always set to yes. Remove.
31337 * config.make.in: Don't set build-static.
31338 * Makeconfig: Remove use of build-static.
31339 * dlfcn/Makefile: Likewise.
31340 * elf/Makefile: Likewise.
31341 * math/Makefile: Likewise.
31342 * misc/Makefile: Likewise.
31343 * nptl/Makefile: Likewise.
31344 * sysdeps/mach/hurd/Makefile: Likewise.
31345
121766a9
UD
31346 * configure.in: PWD_P is not used anymore.
31347 * config.make.in: Remove PWD_P entry.
31348
51a1d39c 31349 * configure.in: Remove last remnants of RANLIB.
8720d066 31350 No need to check for signed size_t anymore.
215f4bdc
UD
31351 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31352 and IA-64.
3857022a 31353 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31354 * aclocal.m4: Likewise.
31355
d3ed7225
UD
31356 * wcsmbs/mbrtoc16.c: Implement using towc function.
31357 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31358 * wcsmbs/wcsmbsload.c: Likewise.
31359 * iconv/gconv_simple.c: Likewise.
31360 * iconv/gconv_int.h: Likewise.
31361 * iconv/gconv_builtin.h: Likewise.
31362 * iconv/iconv_prog.c: Remove CHAR16 handling.
31363
31364 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31365
31366 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31367
a0da5fe1
UD
31368 * configure.in: Remove --with-elf and --enable-bounded options.
31369 Dont set base_machine for ia64. More non-ELF conditions removed.
31370 Remove testing and setting of leading underscore information.
31371 * config.make.in (build-bounded): Set to no.
31372 * config.h.in: Remove NO_UNDERSCORES entry.
31373 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31374 them.
31375 * csu/start.c: Remove !NO_UNDERSCORE code.
31376 * locale/localeinfo.h: Likewise.
31377 * sysdeps/generic/machine-gmon.h: Likewise.
31378 * sysdeps/generic/sysdep.h: Likewise.
31379 * sysdeps/i386/sysdep.h: Likewise.
31380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31381 * sysdeps/mach/sysdep.h: Likewise.
31382 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31383 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31384 * sysdeps/sh/sysdep.h: Likewise.
31385 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31386 * sysdeps/unix/i386/sysdep.S: Likewise.
31387 * sysdeps/unix/sparc/start.c: Likewise.
31388 * sysdeps/unix/sparc/sysdep.S: Likewise.
31389 * sysdeps/unix/sparc/sysdep.h: Likewise.
31390 * sysdeps/unix/start.c: Likewise.
31391 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31392 * sysdeps/x86_64/sysdep.h: Likewise.
31393
df78418a
UD
313942012-01-07 Ulrich Drepper <drepper@gmail.com>
31395
a784e502
UD
31396 [BZ #13553]
31397 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31398 for non-gcc.
31399 * argp/argp-fmtstream.h: Use const instead __const.
31400 * argp/argp.h: Likewise.
31401 * assert/assert.h: Likewise.
31402 * bits/fenv.h: Likewise.
31403 * bits/sched.h: Likewise.
31404 * bits/sigset.h: Likewise.
31405 * bits/sigthread.h: Likewise.
31406 * catgets/nl_types.h: Likewise.
31407 * conform/data/pthread.h-data: Likewise.
31408 * crypt/crypt-private.h: Likewise.
31409 * crypt/crypt.h: Likewise.
31410 * crypt/crypt_util.c: Likewise.
31411 * ctype/ctype.h: Likewise.
31412 * debug/execinfo.h: Likewise.
31413 * debug/mbsnrtowcs_chk.c: Likewise.
31414 * debug/mbsrtowcs_chk.c: Likewise.
31415 * debug/wcsnrtombs_chk.c: Likewise.
31416 * debug/wcsrtombs_chk.c: Likewise.
31417 * debug/wcstombs_chk.c: Likewise.
31418 * dirent/dirent.h: Likewise.
31419 * dlfcn/dlfcn.h: Likewise.
31420 * elf/neededtest4.c: Likewise.
31421 * grp/grp.h: Likewise.
31422 * gshadow/gshadow.h: Likewise.
31423 * iconv/gconv.h: Likewise.
31424 * iconv/gconv_int.h: Likewise.
31425 * iconv/gconv_simple.c: Likewise.
31426 * iconv/iconv.h: Likewise.
31427 * iconv/loop.c: Likewise.
31428 * iconv/skeleton.c: Likewise.
31429 * include/aio.h: Likewise.
31430 * include/aliases.h: Likewise.
31431 * include/argz.h: Likewise.
31432 * include/arpa/inet.h: Likewise.
31433 * include/assert.h: Likewise.
31434 * include/dirent.h: Likewise.
31435 * include/dlfcn.h: Likewise.
31436 * include/execinfo.h: Likewise.
31437 * include/fcntl.h: Likewise.
31438 * include/fenv.h: Likewise.
31439 * include/glob.h: Likewise.
31440 * include/grp.h: Likewise.
31441 * include/libintl.h: Likewise.
31442 * include/mntent.h: Likewise.
31443 * include/netdb.h: Likewise.
31444 * include/pwd.h: Likewise.
31445 * include/rpc/netdb.h: Likewise.
31446 * include/sched.h: Likewise.
31447 * include/search.h: Likewise.
31448 * include/shadow.h: Likewise.
31449 * include/signal.h: Likewise.
31450 * include/stdio.h: Likewise.
31451 * include/stdlib.h: Likewise.
31452 * include/string.h: Likewise.
31453 * include/sys/socket.h: Likewise.
31454 * include/sys/stat.h: Likewise.
31455 * include/sys/statfs.h: Likewise.
31456 * include/sys/statvfs.h: Likewise.
31457 * include/sys/syslog.h: Likewise.
31458 * include/sys/time.h: Likewise.
31459 * include/sys/uio.h: Likewise.
31460 * include/time.h: Likewise.
31461 * include/unistd.h: Likewise.
31462 * include/utmp.h: Likewise.
31463 * include/wchar.h: Likewise.
31464 * include/wctype.h: Likewise.
31465 * inet/aliases.h: Likewise.
31466 * inet/arpa/inet.h: Likewise.
31467 * inet/netinet/ether.h: Likewise.
31468 * inet/netinet/in.h: Likewise.
31469 * intl/libintl.h: Likewise.
31470 * io/bits/fcntl2.h: Likewise.
31471 * io/fcntl.h: Likewise.
31472 * io/ftw.h: Likewise.
31473 * io/sys/poll.h: Likewise.
31474 * io/sys/stat.h: Likewise.
31475 * io/sys/statfs.h: Likewise.
31476 * io/sys/statvfs.h: Likewise.
31477 * io/utime.h: Likewise.
31478 * libio/bits/stdio.h: Likewise.
31479 * libio/bits/stdio2.h: Likewise.
31480 * libio/libio.h: Likewise.
31481 * libio/libioP.h: Likewise.
31482 * libio/stdio.h: Likewise.
31483 * locale/lc-ctype.c: Likewise.
31484 * locale/locale.h: Likewise.
31485 * login/utmp.h: Likewise.
31486 * malloc/arena.c: Likewise.
31487 * malloc/malloc.c: Likewise.
31488 * malloc/malloc.h: Likewise.
31489 * malloc/mcheck.c: Likewise.
31490 * malloc/mtrace.c: Likewise.
31491 * math/bits/mathcalls.h: Likewise.
31492 * math/fenv.h: Likewise.
31493 * math/math_private.h: Likewise.
31494 * misc/bits/error.h: Likewise.
31495 * misc/bits/syslog.h: Likewise.
31496 * misc/err.h: Likewise.
31497 * misc/error.h: Likewise.
31498 * misc/fstab.h: Likewise.
31499 * misc/mntent.h: Likewise.
31500 * misc/regexp.h: Likewise.
31501 * misc/search.h: Likewise.
31502 * misc/sgtty.h: Likewise.
31503 * misc/sys/mman.h: Likewise.
31504 * misc/sys/syslog.h: Likewise.
31505 * misc/sys/uio.h: Likewise.
31506 * misc/sys/xattr.h: Likewise.
31507 * misc/ttyent.h: Likewise.
31508 * nis/rpcsvc/ypclnt.h: Likewise.
31509 * nss/nss.h: Likewise.
31510 * posix/bits/unistd.h: Likewise.
31511 * posix/fnmatch.h: Likewise.
31512 * posix/glob.h: Likewise.
31513 * posix/sched.h: Likewise.
31514 * posix/spawn.h: Likewise.
31515 * posix/sys/wait.h: Likewise.
31516 * posix/unistd.h: Likewise.
31517 * posix/wordexp.h: Likewise.
31518 * pwd/pwd.h: Likewise.
31519 * resolv/netdb.h: Likewise.
31520 * resource/sys/resource.h: Likewise.
31521 * rt/aio.h: Likewise.
31522 * rt/bits/mqueue2.h: Likewise.
31523 * rt/mqueue.h: Likewise.
31524 * shadow/shadow.h: Likewise.
31525 * signal/signal.h: Likewise.
31526 * socket/send.c: Likewise.
31527 * socket/sendto.c: Likewise.
31528 * socket/sys/socket.h: Likewise.
31529 * stdio-common/printf.h: Likewise.
31530 * stdlib/bits/stdlib.h: Likewise.
31531 * stdlib/fmtmsg.h: Likewise.
31532 * stdlib/monetary.h: Likewise.
31533 * stdlib/stdlib.h: Likewise.
31534 * stdlib/ucontext.h: Likewise.
31535 * streams/stropts.h: Likewise.
31536 * string/argz.h: Likewise.
31537 * string/bits/string2.h: Likewise.
31538 * string/string.h: Likewise.
31539 * string/strings.h: Likewise.
31540 * sunrpc/rpc/auth.h: Likewise.
31541 * sunrpc/rpc/auth_des.h: Likewise.
31542 * sunrpc/rpc/clnt.h: Likewise.
31543 * sunrpc/rpc/netdb.h: Likewise.
31544 * sunrpc/rpc/pmap_clnt.h: Likewise.
31545 * sunrpc/rpc/xdr.h: Likewise.
31546 * sysdeps/generic/inttypes.h: Likewise.
31547 * sysdeps/generic/net/if.h: Likewise.
31548 * sysdeps/generic/sys/swap.h: Likewise.
31549 * sysdeps/gnu/net/if.h: Likewise.
31550 * sysdeps/gnu/utmpx.h: Likewise.
31551 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31552 * sysdeps/i386/i486/bits/string.h: Likewise.
31553 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31554 * sysdeps/s390/bits/string.h: Likewise.
31555 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31556 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31557 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31558 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31559 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31560 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31561 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31562 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31563 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31564 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31565 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31566 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31567 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31568 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31569 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31570 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31571 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31574 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31577 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31578 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31579 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31580 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31583 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31584 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31585 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31586 * sysvipc/sys/ipc.h: Likewise.
31587 * sysvipc/sys/msg.h: Likewise.
31588 * sysvipc/sys/sem.h: Likewise.
31589 * sysvipc/sys/shm.h: Likewise.
31590 * termios/termios.h: Likewise.
31591 * time/sys/time.h: Likewise.
31592 * time/time.h: Likewise.
31593 * wcsmbs/bits/wchar2.h: Likewise.
31594 * wcsmbs/uchar.h: Likewise.
31595 * wcsmbs/wchar.h: Likewise.
31596 * wctype/wctype.h: Likewise.
31597
0269750c
UD
31598 [BZ #13551]
31599 * Makeconfig: Remove all but ELF support including AIX support.
31600 * Makerules: Likewise.
31601 * config.h.in: Likewise.
31602 * config.make.in: Likewise.
31603 * configure: Likewise.
31604 * configure.in: Likewise.
31605 * csu/Makefile: Likewise.
31606 * csu/version.c: Likewise.
31607 * debug/Makefile: Likewise.
31608 * dlfcn/Makefile: Likewise.
31609 * elf/Makefile: Likewise.
31610 * extra-lib.mk: Likewise.
31611 * iconv/Makefile: Likewise.
31612 * include/libc-symbols.h: Likewise.
31613 * include/shlib-compat.h: Likewise.
31614 * resolv/Makefile: Likewise.
31615 * resolv/res_libc.c: Likewise.
31616 * rt/Makefile: Likewise.
31617 * sysdeps/i386/asm-syntax.h: Likewise.
31618 * sysdeps/i386/sysdep.h: Likewise.
31619 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31620 * sysdeps/mach/sysdep.h: Likewise.
31621 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31622 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31623 * sysdeps/s390/asm-syntax.h: Likewise.
31624 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31626 * sysdeps/sh/sysdep.h: Likewise.
31627 * sysdeps/unix/sparc/sysdep.h: Likewise.
31628 * sysdeps/wordsize-32/divdi3.c: Likewise.
31629 * sysdeps/x86_64/sysdep.h: Likewise.
31630
00bbd29b
UD
31631 * argp/Versions: Remove _argp_unlock_xxx.
31632
31633 [BZ #13559]
31634 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31635 * abilist/libBrokenLocale.abilist: Likewise.
31636 * abilist/libanl.abilist: Likewise.
31637 * abilist/libc.abilist: Likewise.
31638 * abilist/libcrypt.abilist: Likewise.
31639 * abilist/libdl.abilist: Likewise.
31640 * abilist/libm.abilist: Likewise.
31641 * abilist/libnsl.abilist: Likewise.
31642 * abilist/libpthread.abilist: Likewise.
31643 * abilist/libresolv.abilist: Likewise.
31644 * abilist/librt.abilist: Likewise.
31645 * abilist/libthread_db.abilist: Likewise.
31646 * abilist/libutil.abilist: Likewise.
31647 * abilist/libnss_db.abilist: New file.
31648
31649 * scripts/abilist.awk: Add support for indirect functions.
31650
a2693a0e
UD
31651 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31652
3f05895f
UD
31653 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31654
ecb6fb48
UD
31655 * shlib-versions: Remove entries for ports architectures.
31656
664f8cb9
UD
31657 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31658 files in ports.
31659 * elf/stackguard-macros.h: Remove support for IA-64.
31660 * elf/tst-auditmod1.c: Likewise.
31661 * sysdeps/generic/ldsodefs.h: Likewise.
31662
7ae81d88
UD
31663 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31664 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31665 configure files.
31666
bdeba135
UD
31667 [BZ #13552]
31668 * configure.in: Remove --enable-omitfp support.
31669 * FAQ.in: Adjust.
31670 * config.make.in: Likewise.
31671 * Makeconfig: Likewise.
31672 * manual/install.texi: Likewise.
31673
d75a0a62
UD
31674 In case anyone cares, the IA-64 architecture could move to ports.
31675 * sysdeps/ia64/*: Removed.
31676 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31677 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31678
dcc9756b
UD
31679 [BZ #13555]
31680 * configure.in: Remove entries for unsupported architectures.
31681
d3761ebc 31682 [BZ #13533]
9954432e
UD
31683 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31684 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31685 routines.
31686 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31687 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31688 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31689 fall back to using wcrtomb.
31690 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31691 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31692 renaming.
31693 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31694 * wcsmbs/tst-c16c32-1.c: New file.
31695
31696 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31697 local variable.
31698
c3a87236
UD
31699 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31700
28926a1b
UD
31701 * elf/tst-unique3.cc: Add explicit declaration of gets.
31702 * elf/tst-unique3lib.cc: Likewise.
31703 * elf/tst-unique3lib2.cc: Likewise.
31704 * elf/tst-unique4.cc: Likewise.
31705
df78418a
UD
31706 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31707
8ecd6b2a
JM
317082012-01-06 Joseph Myers <joseph@codesourcery.com>
31709
31710 [BZ #13566]
31711 * assert/assert.h (static_assert): Don't define for C++.
31712 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31713 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31714
9f115170
UD
317152012-01-03 Ulrich Drepper <drepper@gmail.com>
31716
5e0d0300
UD
31717 * iconv/loop.c (single loop): Fix assertion in storing of
31718 remaining bytes.
31719
9f115170
UD
31720 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31721
81fb02b0
UD
317222012-01-01 Ulrich Drepper <drepper@gmail.com>
31723
31724 * posix/getconf.c: Update copyright year.
31725 * nss/getent.c: Likewise.
a316c1f6 31726 * nss/makedb.c: Likewise.
81fb02b0
UD
31727 * iconv/iconvconfig.c: Likewise.
31728 * iconv/iconv_prog.c: Likewise.
31729 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31730 * elf/pldd.c: Likewise.
31731 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31732 * catgets/gencat.c: Likewise.
31733 * csu/version.c: Likewise.
31734 * elf/ldd.bash.in: Likewise.
31735 * elf/sprof.c (print_version): Likewise.
31736 * locale/programs/locale.c: Likewise.
31737 * locale/programs/localedef.c: Likewise.
a316c1f6 31738 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31739 * nscd/nscd.c (print_version): Likewise.
31740 * debug/xtrace.sh: Likewise.
31741 * malloc/memusage.sh: Likewise.
31742 * malloc/mtrace.pl: Likewise.
31743 * debug/catchsegv.sh: Likewise.
31744
2ba92745
JJ
317452011-12-30 Jakub Jelinek <jakub@redhat.com>
31746
31747 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31748 pure attribute.
31749
dadebdae
UD
317502011-12-24 Ulrich Drepper <drepper@gmail.com>
31751
d3761ebc 31752 [BZ #13533]
db6af3eb
UD
31753 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31754 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31755 transformations.
31756 * iconv/gconv_int.h: Likewise.
31757 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31758 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31759 from libc for GLIBC_2.16.
31760 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31761 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31762 * wcsmbs/uchar.h: Really define mbstate_t.
31763 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31764 * wcsmbs/c16rtomb.c: New file.
31765 * wcsmbs/mbrtoc16.c: New file.
31766 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31767 for C/POSIX locale.
31768 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31769 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31770
dadebdae
UD
31771 * wcsmbs/wchar.h: Add missing __restrict.
31772
67371b56
UD
317732011-12-23 Ulrich Drepper <drepper@gmail.com>
31774
74033a25
UD
31775 [BZ #13532]
31776 * time/Makefile (routines): Add timespec_get.
31777 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31778 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31779 timespec for ISO C11.
31780 * time/timespec_get.c: New file.
31781 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31782 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31783
380d7e87
UD
31784 [BZ #13531]
31785 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31786 * stdlib/stdlib.h: Declare aligned_alloc.
31787 * Versions.def: Add GLIBC_2.16 for libc.
31788 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31789
4e9e7a35
UD
31790 [BZ 13527]
31791 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31792 ISO C11.
31793
380d7e87 31794 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31795 code.
31796
03a71829
UD
31797 [BZ #13528]
31798 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31799
839e283e
UD
31800 [BZ #13529]
31801 * assert/assert.h (static_assert): Define.
31802
ce5294e2 31803 * version.h: Update for 2.16 development version.
90fa7312 31804
8d44e150 31805 [BZ #13526]
d7809905
UD
31806 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31807 _ISOC11_SOURCE.
31808
c0da14cd
UD
31809 * version.h (RELEASE): Bump for 2.15 release.
31810 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31811
530a3249
MP
31812 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31813 Patch by Marek Polacek <mpolacek@redhat.com>.
31814
67371b56
UD
31815 * bits/byteswap.h: Protect long long constants with __extension__.
31816 * sysdeps/i386/bits/byteswap.h: Likewise.
31817 * sysdeps/ia64/bits/byteswap.h: Likewise.
31818 * sysdeps/s390/bits/byteswap.h: Likewise.
31819 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31820
15db4de1
LD
318212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31822
31823 [BZ #13540]
bbe315ea
LD
31824 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31825 destination buffer.
15db4de1
LD
31826 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31827
2b2596b1
MP
318282011-12-23 Marek Polacek <polacek@redhat.com>
31829
31830 * elf/dl-addr.c (determine_info): Add inline keyword.
31831 * elf/tst-auditmod4b.c (check_avx): Likewise.
31832 * elf/tst-auditmod6b.c (check_avx): Likewise.
31833 * elf/tst-auditmod6c.c (check_avx): Likewise.
31834 * elf/tst-auditmod7b.c (check_avx): Likewise.
31835
70c6c246
UD
318362011-12-23 Ulrich Drepper <drepper@gmail.com>
31837
31838 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31839 !__SSE_MATH__.
31840
c044cf14
LD
318412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31842
15db4de1 31843 [BZ #13540]
c044cf14
LD
31844 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31845 processing for last bytes.
31846
6b13d9d9
BH
318472011-08-06 Bruno Haible <bruno@clisp.org>
31848
d455f537
BH
31849 [BZ #13061]
31850 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31851 U+0385, not to U+1FEE.
31852
6b13d9d9
BH
31853 [BZ #13062]
31854 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31855 entry for U+00A5 U+0301.
31856
db910efd
UD
318572011-12-22 Ulrich Drepper <drepper@gmail.com>
31858
27deeafc
UD
31859 [BZ #13166]
31860 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31861 buffer for the output is too small.
31862
aed9d171
UD
31863 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31864 optimization.
31865
db910efd
UD
31866 [BZ #13185]
31867 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31868 SSE flags if possible.
31869
2bd779ae
LD
318702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31871
e7f9dac3 31872 [BZ #13540]
2bd779ae
LD
31873 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31874 processing for last bytes.
31875
154bfc16
JM
318762011-12-22 Joseph Myers <joseph@codesourcery.com>
31877
31878 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31879 (syscall-list-default-options, syscall-list-default-condition)
31880 (syscall-list-includes): Define.
31881 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31882 list of ABIs and options and #if conditions for each ABI. Do not
31883 handle common syscalls between ABIs specially.
31884 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31885 Remove.
31886 (syscall-list-variants, syscall-list-32bit-options)
31887 (syscall-list-32bit-condition, syscall-list-64bit-options)
31888 (syscall-list-64bit-condition): Define.
31889 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31890 (syscall-list-variants, syscall-list-32bit-options)
31891 (syscall-list-32bit-condition, syscall-list-64bit-options)
31892 (syscall-list-64bit-condition): Define.
31893 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31894 Remove.
31895 (syscall-list-variants, syscall-list-32bit-options)
31896 (syscall-list-32bit-condition, syscall-list-64bit-options)
31897 (syscall-list-64bit-condition): Define.
31898 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31899 Remove.
31900 (syscall-list-variants, syscall-list-32bit-options)
31901 (syscall-list-32bit-condition, syscall-list-64bit-options)
31902 (syscall-list-64bit-condition): Define.
31903
21eaf3a5
UD
319042011-12-22 Ulrich Drepper <drepper@gmail.com>
31905
16c6f992
UD
31906 * locale/iso-639.def: Add brx entry.
31907
41043168
UD
31908 [BZ #13328]
31909 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31910 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31911
21eaf3a5
UD
31912 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31913 __feraiseexcept_renamed.
31914
e3a851a2
UD
319152011-12-21 Ulrich Drepper <drepper@gmail.com>
31916
4920765e
UD
31917 [BZ #13538]
31918 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31919 EPOLLET with unsigned values.
31920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31921 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31922
e3a851a2
UD
31923 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31924 to large cancellation.
31925 * math/s_cacoshf.c: Likewise.
31926 * math/s_cacoshl.c: Likewise.
31927
b27e24b8
RK
319282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31929
31930 [BZ #13305]
aebefeee 31931 [BZ #12786]
b27e24b8
RK
31932 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31933 * math/s_cacoshf.c: Likewise.
31934 * math/s_cacoshl.c: Likewise.
31935
ee190f67
UD
319362011-12-21 Ulrich Drepper <drepper@gmail.com>
31937
31938 [BZ #13439]
31939 * iconv/gconv.h: Define __GCONV_SWAP.
31940 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31941 * iconvdata/utf-16.c: Likewise.
31942 * iconvdata/utf-32.c: Likewise.
31943
707f25df
AS
319442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31945
31946 [BZ #13524]
31947 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31948 numerator after shifting it by one limb.
31949
d2daaa1e
RÁE
319502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31951
31952 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31953 under [__USE_EXTERN_INLINES].
31954
a4647e72
UD
319552011-12-17 Ulrich Drepper <drepper@gmail.com>
31956
31957 [BZ #13446]
31958 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31959
f0b264f1
AZ
319602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31961
31962 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31963 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31964 optimized code.
31965 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31966 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31967 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31968 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31969 for strncasecmp/strncasecmp_l compilation.
31970 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31971 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31972
8ef4f244
MP
319732011-12-08 Marek Polacek <mpolacek@redhat.com>
31974
31975 [BZ #13484]
31976 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31977 of __asm__.
31978
97ac2654
UD
319792011-12-17 Ulrich Drepper <drepper@gmail.com>
31980
31981 [BZ #13506]
31982 * time/tzfile.c (__tzfile_read): Check values from file header.
31983
91d2a845
WS
319842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31985
31986 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31987 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31988 * powerpc/powerpc32/dl-start.S: Likewise.
31989 * powerpc/powerpc32/elf/start.S: Likewise.
31990 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31991 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31992 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31993 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31994 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31995 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31996 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31997 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31998 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31999 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32000 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32001 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32002 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32003 * powerpc/powerpc32/memset.S: Likewise.
32004 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32005 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32006 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32007 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32008 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32009 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32010 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32011 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32012 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32013 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32014 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32015 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32016 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32017
a1267ba1
AZ
320182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32019
32020 * math/libm-test.inc: Added more nearbyint tests.
32021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32022 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32023 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32024 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32025
ad8ac1bd
RL
320262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32027
32028 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32029 FD_CLOEXEC.
32030
1d3e4b61
UD
320312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32032
32033 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32034 Add wcscpy-ssse3 wcscpy-c.
32035 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32036 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32037 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32038 * sysdeps/x86_64/wcschr.S: New file.
32039 * sysdeps/x86_64/wcsrchr.S: New file.
32040 * string/test-strcmp.c: Remove checking of wcscmp function for
32041 wrong alignments.
32042 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32043 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32044 wcsrchr-sse2 wcsrchr-c.
32045 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32046 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32047 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32048 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32049 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32050 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32051 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32052 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32053 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32054 * wcsmbc/wcschr.c (WCSCHR): New macro.
32055
5b330a2d
UD
320562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32057
32058 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32059 * wcsmbs/test-wcsrchr.c: New file.
32060 * string/test-strrchr.c: Add wcsrchr support.
32061 (WIDE): New macro.
32062 * wcsmbs/test-wcscpy.c: New file.
32063 * string/test-strcpy.c: Add wcscpy support.
32064 (WIDE): New macro.
26428b7c 32065
f039c043
UD
320662011-12-10 Ulrich Drepper <drepper@gmail.com>
32067
32068 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32069 the inner loop.
32070
850fb039
AS
320712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32072
32073 [BZ #13472]
32074 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32075
4efbd5cb
UD
320762011-12-04 Ulrich Drepper <drepper@gmail.com>
32077
52ff5dd0 32078 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32079 Minor optimizations.
52ff5dd0 32080
4efbd5cb
UD
32081 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32082 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32083 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32084
8a426e12
UD
320852011-12-03 Ulrich Drepper <drepper@gmail.com>
32086
aff2453d
UD
32087 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32088 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32089 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32090 for gcc to avoid warnings.
32091 * inet/Makefile (tests): Add tst-checks.
32092 * inet/tst-checks.c: New file.
32093
32094 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32095 warning.
32096
32097 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32098 __wmemcmp_sse2.
32099
32100 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32101 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32102
8a426e12
UD
32103 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32104
9bea3473
UD
321052011-12-02 Ulrich Drepper <drepper@gmail.com>
32106
3a965496
UD
32107 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32108 problem.
32109
9bea3473
UD
32110 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32111
f101631b
UD
321122011-11-29 Joseph Myers <joseph@codesourcery.com>
32113
32114 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32115 conditional on GCC version.
32116 (__arch_compare_and_exchange_val_8_acq)
32117 (__arch_compare_and_exchange_val_16_acq)
32118 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32119 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32120 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32121
a98275aa
UD
321222011-12-02 Joseph Myers <joseph@codesourcery.com>
32123
32124 * sysdeps/sh/backtrace.c: New file.
32125
d4cc29a2
AS
321262011-12-02 Andreas Schwab <schwab@redhat.com>
32127
32128 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32129 parenthesis.
32130
6257af2d
AS
321312011-12-01 Andreas Schwab <schwab@redhat.com>
32132
32133 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32134 falling back to utime.
32135
b5f44c1a
AS
321362011-11-30 Andreas Schwab <schwab@redhat.com>
32137
32138 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32139 expectations for float.
32140
f3a6cc0a
AS
321412011-11-29 Andreas Schwab <schwab@redhat.com>
32142
32143 * locale/weight.h (findidx): Add parameter len.
32144 * locale/weightwc.h (findidx): Likewise.
32145 * posix/fnmatch_loop.c (FCT): Adjust caller.
32146 * posix/regcomp.c (build_equiv_class): Likewise.
32147 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32148 * posix/regexec.c (check_node_accept_bytes): Likewise.
32149 * string/strcoll_l.c (STRCOLL): Likewise.
32150 * string/strxfrm_l.c (STRXFRM): Likewise.
32151
9d65ea3a
UD
321522011-11-17 Ulrich Drepper <drepper@gmail.com>
32153
32154 * Makefile.in: Remove CVSOPT handling.
32155 * configure.in: Remove use of AC_REVISION.
32156 * iconvdata/Makefile (distribute): No need to filter out CVS.
32157 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32158 handling.
32159
5583a086
AS
321602011-11-16 Andreas Schwab <schwab@redhat.com>
32161
32162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32163 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32164 [USE_AS_STRNCASECMP_L]: Likewise.
32165 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32166 NO_TLS_DIRECT_SEG_REFS.
32167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32168 Fix argument offsets for non-PIC.
32169 [USE_AS_STRNCASECMP_L]: Likewise.
32170 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32171 NO_TLS_DIRECT_SEG_REFS.
32172
d62a8200
UD
321732011-11-15 Ulrich Drepper <drepper@gmail.com>
32174
9d65ea3a 32175 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32176 O_CLOEXEC.
32177 * locale/loadlocale.c (_nl_load_locale): Likewise.
32178
09f93bd3
AS
321792011-11-15 Andreas Schwab <schwab@redhat.com>
32180
446514f9
AS
32181 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32182 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32183 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32184 (SYSCALL_GETTIME): Set errno on error.
32185
09f93bd3
AS
32186 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32187 count references to noai6ai_cached.
32188
312be3f9
UD
321892011-11-15 Ulrich Drepper <drepper@gmail.com>
32190
32191 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32192
32193 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32194 FD_CLOEXEC for /proc/self/maps.
32195
32196 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32197 FD_CLOEXEC for /proc/meminfo.
32198
32199 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32200 gai.conf.
32201
32202 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32203 FD_CLOEXEC for given file.
32204
32205 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32206
32207 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32208 FD_CLOEXEC for /etc/hosts.
32209 (_gethtent): Likewise.
32210
32211 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32212
32213 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32214 cancellation and set FD_CLOEXEC for /etc/netgroup.
32215
32216 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32217 reading /etc/publickey.
32218
32219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32220 allow cancellation when reading /etc/group.
32221
32222 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32223 cancellation.
32224 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32225
32226 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32227 when using data file.
32228
32229 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32230
32231 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32232 (write_nis_obj): Use "c" and "e" in fopen.
32233
32234 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32235
32236 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32237
32238 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32239
32240 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32241
32242 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32243 locale.alias.
32244
32245 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32246
32247 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32248
32249 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32250
32251 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32252 file parsing and set FD_CLOEXEC.
32253
82af0fa8
UD
322542011-11-14 Ulrich Drepper <drepper@gmail.com>
32255
32256 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32257
a5fb313c
AS
322582011-11-14 Andreas Schwab <schwab@redhat.com>
32259
32260 * malloc/arena.c (arena_get2): Don't call reused_arena when
32261 _int_new_arena failed.
32262
6abf3465
UD
322632011-11-14 Ulrich Drepper <drepper@gmail.com>
32264
32265 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32266 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32267 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32268 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32269 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32271 to compile strcasecmp and strncasecmp.
32272 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32273 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32274
32275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32276
76e3966e
UD
322772011-11-13 Ulrich Drepper <drepper@gmail.com>
32278
32279 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32280 locale-defines.sym to gen-as-const-headers.
32281 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32282 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32284 to compile strcasecmp and strncasecmp.
32285 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32286 strcasecmp_l and strncasecmp_l.
32287 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32288 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32289 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32290 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32291 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32292 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32293 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32294 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32295 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32296 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32297 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32298
ab26144e
UD
322992011-11-12 Ulrich Drepper <drepper@gmail.com>
32300
7edb22ef
UD
32301 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32302 result of SYSDEP_GETTIME_CPU to retval.
32303 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32304 parameter list to macro. Remove trailing semicolon. Adjust users.
32305
9694fc44
UD
32306 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32307 variable.
32308
8ad89ef8
UD
32309 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32310 mantissa words.
32311 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32312
0c822ef9
UD
32313 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32314 from unused variable.
32315
874e0564
UD
32316 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32317 DWARF definitions.
32318 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32319 for assembling.
32320
3a2edc79
UD
32321 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32322 over namespaces.
32323
f3c2577f
UD
32324 * sunrpc/rpc_prot.c (rejected): Fix case value.
32325
294ce126
UD
32326 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32327 unsigned long long int to avoid warnings in shift.
32328
5e2b63c6
UD
32329 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32330 of use of trans.
32331 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32332 variable tmp.
32333
e7f4b08e
UD
32334 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32335 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32336 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32337
ab26144e
UD
32338 * nis/nis_table.c (nis_list): Use variable of correct type for
32339 result of __follow_path call.
32340
8a6d5255
AZ
323412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32342
32343 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32344 of math functions ceil, trunc, floor, round, and sqrt, when
32345 avaliable on the platform.
32346 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32347 name clash.
32348 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32349 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32350 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32351
aaddc98c
MP
323522011-10-30 Marek Polacek <mpolacek@redhat.com>
32353
32354 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32355 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32356
95b7042b
RM
323572011-11-11 Roland McGrath <roland@hack.frob.com>
32358
32359 * include/unistd.h: Fix __readlink return type.
32360 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32361
57769839
UD
323622011-11-11 Ulrich Drepper <drepper@gmail.com>
32363
32364 * stdlib/ucontext.h: Undo last change for makecontext.
32365
edc5984d
AS
323662011-11-11 Andreas Schwab <schwab@redhat.com>
32367
98591e58
AS
32368 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32369
edc5984d
AS
32370 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32371 * setjmp/setjmp.h: Mark functions as non-leaf.
32372 * setjmp/bits/setjmp2.h: Likewise.
32373 * stdlib/ucontext.h: Likewise.
32374
77cdc054
AS
323752011-11-10 Andreas Schwab <schwab@redhat.com>
32376
32377 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32378 (reused_arena): Don't check arena limit.
32379 (arena_get2): Atomically check arena limit.
32380
fe72eebd
UD
323812011-11-08 Ulrich Drepper <drepper@gmail.com>
32382
5f078c32
UD
32383 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32384 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32385
fe72eebd
UD
32386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32387 instructions.
32388
ae1bc2fa
AS
323892011-11-07 Andreas Schwab <schwab@redhat.com>
32390
7583a88d
AS
32391 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32392 handler when locking.
32393
ae1bc2fa
AS
32394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32395 Fix size of allocated buffer.
32396
10fb0bfa
AS
323972011-11-04 Andreas Schwab <schwab@redhat.com>
32398
998832a4
AS
32399 [BZ #10103]
32400 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32401 declarations for long double functions.
32402 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32403
10fb0bfa
AS
32404 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32405
3d7ba52b
AS
324062011-11-03 Andreas Schwab <schwab@redhat.com>
32407
a9ae54a1
AS
32408 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32409 installed.
32410
3d7ba52b
AS
32411 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32412 is disabled.
32413
bc8db248
ST
324142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32415
32416 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32417
45b96dd6
AS
324182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32419
647776f6
AS
32420 * include/alloca.h (stackinfo_alloca_round): Define.
32421 (extend_alloca): Use it.
32422 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32423 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32424 here.
32425
d91a8b93
AS
32426 * scripts/check-local-headers.sh: Ignore libaudit.h.
32427
45b96dd6
AS
32428 * nscd/Makefile (extra-objs): Make recursively expanded.
32429
432d41ce
UD
324302011-11-01 Ulrich Drepper <drepper@gmail.com>
32431
34372fc6
UD
32432 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32434
fadb59f8
UD
32435 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32436 * posix/tst-rfc3484-2.c: Likewise.
32437 * posix/tst-rfc3484-3.c: Likewise.
32438
78239589
UD
32439 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32440 process_vm_writev.
32441 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32442 process_vm_writev.
32443 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32444 process_vm_writev from libc using GLIBC_2.15 version.
32445
432d41ce
UD
32446 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32447
02f9c6cf
PP
324482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32449
32450 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32451 stack usage.
32452
3a2c0242
UD
324532011-10-31 Ulrich Drepper <drepper@gmail.com>
32454
f4ec4833
UD
32455 [BZ #13367]
32456 * nss/getent.c (initgroups_keys): Show error message in case no group
32457 names are given.
32458
3a2c0242
UD
32459 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32460 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32461 __bump_nl_timestamp.
32462 * nscd/connections (nscd_init): When host database is served open
32463 netlink socket and request notification about configuration changes.
32464 (main_loop_poll): Track netlink file descriptor and bump timestamp
32465 in case data becomes available.
32466 (main_loop_epoll): Likewise.
32467 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32468 (database_pers_head): Add extra_data fileds.
32469 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32470 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32471 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32472 Adjust caller.
32473 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32474 in6ai data, call __free_in6ai.
32475 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32476 Add -DHAVE_NETLINK.
32477 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32478 interface information. Reuse previous data if netlink timestamp
32479 is not changed.
32480 (__bump_nl_timestamp): New function.
32481 (__free_in6ai): New function.
32482
636064eb
UD
324832011-10-30 Ulrich Drepper <drepper@gmail.com>
32484
32485 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32486 close_not_cancel_no_status here.
32487 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32488
9beb2334
UD
324892011-10-29 Ulrich Drepper <drepper@gmail.com>
32490
6ef76f3b
UD
32491 [BZ #13276]
32492 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32493 return value.
32494
0ffc4f3e 32495 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32496 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32497 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32498
cb95113e
UD
324992011-07-03 Andreas Jaeger <aj@suse.de>
32500
32501 [BZ #10709]
32502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32503 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32504 * math/libm-test.inc (sin_test): Add test case.
32505
a1b560ff
UD
325062011-10-29 Ulrich Drepper <drepper@gmail.com>
32507
c9aaface
UD
32508 [BZ #13337]
32509 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32510 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32511
d272e7f1
UD
32512 * elf/chroot_canon.c (chroot_canon): Cleanups.
32513
1bc33071
UD
32514 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32515
1760874d
TJ
32516 [BZ #13335]
32517 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32518 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32519
51d91b18
UD
32520 * string/test-strchr.c: Make usable for strchrnul testing.
32521 * string/test-strchrnul.c: New file.
32522 * string/Makefile (strop-tests): Add strchrnul.
32523
a1b560ff 32524 * po/it.po: Update from translation team.
b611fb81 32525 * po/es.po: Likewise.
a1b560ff 32526
a5b81e1f
UD
325272011-10-28 Ulrich Drepper <drepper@gmail.com>
32528
fd52bc6d
UD
32529 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32530 the three constants needed as parameters. Drop the others.
32531 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32532 __m128i_strloadu_tolower.
52e4b9eb
UD
32533 Create and initialize variable zero and use it in all the places
32534 where _mm_setzero_si128 was used.
fd52bc6d 32535
a5b81e1f
UD
32536 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32537 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32538 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32539 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32540 anymore.
32541 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32542 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32543 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32544 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32545 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32546 __mpranred, __mptan.
32547 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32548 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32549 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32550 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32551 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32552 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32554 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32555 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32556
b4343346
AS
325572011-10-28 Andreas Schwab <schwab@redhat.com>
32558
0c92d8a8
AS
32559 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32560 redefine if SHARED.
32561 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32562
b4343346
AS
32563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32564 wide char related routines to wcsmbs subdir.
32565
3871f58f
AS
325662011-10-27 Andreas Schwab <schwab@redhat.com>
32567
32568 [BZ #13344]
32569 * misc/sys/cdefs.h (__THROWNL): Define.
32570 * posix/unistd.h: Use __THREADNL instead of __THREAD
32571 for memory synchronization functions.
32572
94d44d9f
RM
325732011-10-26 Roland McGrath <roland@hack.frob.com>
32574
21b64b15 32575 [BZ #13349]
94d44d9f
RM
32576 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32577 doesn't exist.
32578 * manual/stdio.texi (Obstack Streams): Node removed.
32579
f6ce9294
AS
325802011-10-26 Andreas Schwab <schwab@redhat.com>
32581
80479147
AS
32582 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32584 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32585
f6ce9294
AS
32586 * math/math_private.h (math_force_eval): Allow non-addressable
32587 arguments.
32588 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32589
618280a1
UD
325902011-10-25 Ulrich Drepper <drepper@gmail.com>
32591
e0016b11
UD
32592 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32593 file is not needed.
32594
32595 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32597 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32598 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32601 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32602 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32603 Add AVX variants.
32604 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32605 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32606 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32607 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32608 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32609 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32610 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32611 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32612 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32613 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32614 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32615 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32617 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32618 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32619 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32620 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32622 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32623
32624 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32625 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32626
618280a1
UD
32627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32628 place. Use VEX encoding when compiling for AVX.
32629
37822576
AS
326302011-10-25 Andreas Schwab <schwab@redhat.com>
32631
1f1e1947
AS
32632 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32633 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32634
37822576
AS
32635 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32636
31ea014d
UD
326372011-10-25 Ulrich Drepper <drepper@gmail.com>
32638
d7826aa1 32639 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32640 useless if() expression.
d7826aa1
UD
32641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32642 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32646 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32651 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32653 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32655 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32656 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32657 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32658 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32659 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32660
31ea014d
UD
32661 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32662
16437fec
AS
326632011-10-25 Andreas Schwab <schwab@redhat.com>
32664
32665 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32666 condition.
32667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32668
31d3cc00
UD
326692011-10-25 Ulrich Drepper <drepper@gmail.com>
32670
32671 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32672 .text section. Avoid duplicate constants.
32673 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32681 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32682 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32683 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32684 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32685 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32686 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32687 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32689 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32690 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32692 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32693 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32694 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32695 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32696 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32697 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32698 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32699 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32700 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32701 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32702 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32703 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32704 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32705 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32706 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32707 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32708 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32709 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32710 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32711 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32712 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32713 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32715 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32716 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32717 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32718
58985aa9
UD
327192011-10-24 Ulrich Drepper <drepper@gmail.com>
32720
202c9deb
UD
32721 * sysdeps/x86_64/dla.h: Move to ...
32722 * sysdeps/x86_64/fpu/dla.h: ...here.
32723 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32724 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32725
af968f62
UD
32726 * config.make.in: Add have-mfma4 entry.
32727 * configure.in: Substitute libc_cv_cc_fma4.
32728 * math/Makefile (dbl-only-routines): Add sincostab.
32729 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32730 Use __sincostab not sincos.
32731 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32732 name is a macro.
32733 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32737 using __copysign.
32738 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32739 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32740 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32741 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32742 and __inv.
32743 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32744 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32745 __copysign.
32746 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32747 define aliases when function name is a macro.
32748 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32749 sysdeps/ieee754/dbl-64/sincos.tbl.
32750 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32751 fma4-enabled routines.
32752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32753 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32754 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32755 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32756 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32757 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32759 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32760 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32761 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32762 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32763 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32764 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32765 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32766 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32767 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32768 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32769 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32770 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32771 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32772 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32773 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32774 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32775 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32777 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32779 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32780 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32781 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32782
58985aa9
UD
32783 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32784 rename.
32785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32786 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32791 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32792 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32793
a201fbcf
AS
327942011-10-24 Andreas Schwab <schwab@redhat.com>
32795
32796 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32797
fc2ee42a
LD
327982011-10-23 Ulrich Drepper <drepper@gmail.com>
32799
bb3129bd
UD
32800 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32801
0275fff8
UD
32802 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32803 prediction.
32804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32805
2fa2ae85
UD
32806 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32807 Remove unused variable magic_bits.
32808 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32809
fc2ee42a
LD
32810 * string/strnlen.c: Define and use STRNLEN macro.
32811 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32812 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32814 * wcsmbs/wcslen.c: Define and use WCSLEN.
32815 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32816 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32817 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32818 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32819 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32820 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32821 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32822
ce7dd29f
LD
328232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32824
32825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32826 strnlen-sse2-no-bsf.
32827 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32829 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32830 Add strnlen support.
32831 (USE_AS_STRNLEN): New macro.
32832 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32833 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32834 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32835 * sysdeps/x86_64/wcslen.S: New file.
32836
979c70a3
MZ
328372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32838
32839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32840 XMM-moves are used for copying on small sizes.
32841
2d09f82f
LD
328422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32843
32844 * wcsmbs/Makefile (strop-tests): Add wcschr.
32845 * wcsmbs/test-wcschr.c: New file.
32846 * string/test-strchr.c: Update.
32847 Add wcschr support.
32848 (WIDE): New macro.
32849
619fccca
LD
328502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32851
2d09f82f 32852 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32853 * wcsmbs/test-wcslen.c: New file.
32854 * string/test-strlen.c: Update.
32855 Add wcslen support.
32856 (WIDE): New macro.
32857
09f699ea
UD
328582011-10-23 Ulrich Drepper <drepper@gmail.com>
32859
32860 * po/it.po: Update from translation team.
32861
95584d3b
LD
328622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32863
32864 * sysdeps/x86_64/wcscmp.S: Update.
32865 Fix wrong comparison semantics.
32866 wcscmp shall use signed comparison not unsigned.
32867 Don't use substraction to avoid overflow bug.
32868 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32869 * wcsmbc/wcscmp.c: Likewise.
32870 * string/test-strcmp.c: Likewise.
32871 Add new tests to check cases with negative values.
32872
c8b3296b
UD
328732011-10-23 Ulrich Drepper <drepper@gmail.com>
32874
32875 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32876 * sysdeps/x86_64/dla.h: ...here. New file.
32877 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32886
246ad57a
AS
328872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32888
32889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32890 __ynl_finite aliases.
32891
a1a87169
UD
328922011-10-22 Ulrich Drepper <drepper@gmail.com>
32893
0d355eb7
UD
32894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32895
a1a87169
UD
32896 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32897 define DLA_FMA.
32898 [DLA_FMA] (EMULV): Use DLA_FMA.
32899 [DLA_FMA] (MUL12): Use EMULV.
32900 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32901 that are not needed.
32902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32909
ee2aafe0
AS
329102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32911
32912 * math/s_nan.c: Undef __nan.
32913 * math/s_nanf.c: Undef __nanf.
32914 * math/s_nanl.c: Undef __nanl.
32915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32916 "math_private.h".
32917
bc62c2fb
UD
329182011-10-22 Ulrich Drepper <drepper@gmail.com>
32919
77425c63
UD
32920 * math/s_catan.c: Add branch predictions.
32921 * math/s_catanf.c: Likewise.
32922 * math/s_catanh.c: Likewise.
32923 * math/s_catanhf.c: Likewise.
32924 * math/s_catanhl.c: Likewise.
32925 * math/s_catanl.c: Likewise.
32926 * math/s_cexp.c: Likewise.
32927 * math/s_cexpf.c: Likewise.
32928 * math/s_cexpl.c: Likewise.
32929 * math/s_clog.c: Likewise.
32930 * math/s_clog10.c: Likewise.
32931 * math/s_clog10f.c: Likewise.
32932 * math/s_clog10l.c: Likewise.
32933 * math/s_clogf.c: Likewise.
32934 * math/s_clogl.c: Likewise.
32935 * math/s_csqrt.c: Likewise.
32936 * math/s_csqrtf.c: Likewise.
32937 * math/s_csqrtl.c: Likewise.
32938 * math/s_ctanf.c: Likewise.
32939 * math/s_ctanh.c: Likewise.
32940 * math/s_ctanhf.c: Likewise.
32941 * math/s_ctanhl.c: Likewise.
32942 * math/s_ctanl.c: Likewise.
32943
bc62c2fb
UD
32944 * math/math_private.h: Define __nan, __nanf, __nanl.
32945 * math/s_cacosh.c: Include <math_private.h>.
32946 * math/s_cacoshl.c: Likewise.
32947 * math/s_casinh.c: Likewise.
32948 * math/s_casinhf.c: Likewise.
32949 * math/s_casinhl.c: Likewise.
32950 * math/s_ccos.c: Rely entire on ccosh.
32951 * math/s_ccosf.c: Rely entire on ccoshf.
32952 * math/s_ccosl.c: Rely entirely on ccoshl.
32953 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32954 Remove tests for FE_INVALID.
32955 * math/s_ccoshf.c: Likewise.
32956 * math/s_ccoshl.c: Likewise.
32957 * math/s_csin.c: Likewise.
32958 * math/s_csinf.c: Likewise.
32959 * math/s_csinh.c Likewise.
32960 * math/s_csinhf.c: Likewise.
32961 * math/s_csinhl.c: Likewise.
32962 * math/s_csinl.c: Likewise.
32963 * math/s_ctan.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32965 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32966 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32967
8ec250a4
UD
329682011-10-21 Ulrich Drepper <drepper@gmail.com>
32969
c196fed8
UD
32970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32971 compilation problems.
32972
8ec250a4
UD
32973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32974 __builtin_expect.
32975
8d4f46c6
UD
329762011-10-20 Ulrich Drepper <drepper@gmail.com>
32977
ed72b654
UD
32978 * sysdeps/i386/configure.in: Test for -mfma4 option.
32979 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32980 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32981 COMMON_CPUID_INDEX_80000001.
32982 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32983 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32984 use it if FMA3 is not supported.
32985 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32986
8d4f46c6
UD
32987 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32988 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32989
d45c60c2
AS
329902011-10-20 Andreas Schwab <schwab@redhat.com>
32991
32992 [BZ #12892]
32993 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32994 it would create a cycle with a link time dependency.
32995
d9a4d2ab
UD
329962011-10-19 Ulrich Drepper <drepper@gmail.com>
32997
855d1560
UD
32998 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32999 instruction.
33000 * string/Makefile (strop-tests): Add rawmemchr.
33001 * string/test-rawmemchr.c: New file.
33002
d9a4d2ab
UD
33003 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33005 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33006 when compiling str{,n}casecmp and when AVX is available. Hook up
33007 new optimized code in initializers.
33008
8f3b1ffe
AS
330092011-10-19 Andreas Schwab <schwab@redhat.com>
33010
33011 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33012 __feraiseexcept instead of feraiseexcept.
33013
d38f1dba
UD
330142011-10-18 Ulrich Drepper <drepper@gmail.com>
33015
d9a8d0ab
UD
33016 * math/math_private.h: Define defaults for libc_fetestexcept and
33017 libc_feupdateenv.
33018 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33019 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33020 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33021 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33022 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33023 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33024 libc_fetestexcept and libc_feupdateenv.
33025
4855e3dd
UD
33026 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33027 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33028 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33029 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33030 libc_feholdexcept_setround.
33031
581d30e3
UD
33032 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33033 Add s_nearbyint-c and s_nearbyintf-c.
33034 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33035 nearbyintf inlines.
33036 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33037 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33038 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33039 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33040
d38f1dba
UD
33041 * math/math_private.h: Define defaults for libc_fegetround,
33042 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33043 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33044 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33045 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33046 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33047 standard functions.
33048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33049 Remove comments and hacks for old compiler versions.
33050 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33051 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33052 libc_feholdexceptl.
33053
caa6c9d8
AS
330542011-10-18 Andreas Schwab <schwab@redhat.com>
33055
33056 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33057 (__feraiseexcept_renamed): Add __NTH.
33058 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33059 namespace violations.
33060
97c066e6
UD
330612011-10-17 Ulrich Drepper <drepper@gmail.com>
33062
99ce7b04
UD
33063 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33064
1004d182
UD
33065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33066
228a984d
UD
33067 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33068 recently added interfaces.
33069 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33070
c8553a6a
UD
33071 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33072 about macro parameter expansion.
33073
ed22dcf6
UD
33074 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33075 __NO_MATH_INLINES is defined. Cleanups.
33076
33077 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33078 and __floorf is target has SSE4.1.
33079 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33080 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33081 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33082 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33083
b171c137
UD
33084 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33085 name.
33086 (floorf): Likewise.
33087
97c066e6
UD
33088 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33089
629f62ef
AS
330902011-10-17 Andreas Schwab <schwab@redhat.com>
33091
49a43d80
AS
33092 * misc/sys/cdefs.h: Fix last change.
33093
629f62ef
AS
33094 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33095 database lookup.
33096
e453f6cd
UD
330972011-10-16 Ulrich Drepper <drepper@gmail.com>
33098
aa78043a
UD
33099 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33100
ad0f5cad
UD
33101 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33102 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33103 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33104 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33106 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33107 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33108 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33110 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33111 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33112 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33113 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33114 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33115 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33116 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33118 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33119 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33120 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33121 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33122 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33123
33124 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33125 ceil, ceilf, floor, floorf.
33126
33127 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33128 Perform IRELATIVE relocations last.
33129
e453f6cd
UD
33130 * elf/do-rel.h: Add another parameter nrelative, replacing the
33131 local variable with the same name. Change name of the function
33132 to end in Rel or Rela (uppercase).
33133 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33134 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33135 elf_dynamic_do_##reloc function.
33136
fd5bdc09
UD
331372011-10-15 Ulrich Drepper <drepper@gmail.com>
33138
79b195b5
UD
33139 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33140 is sufficient, at least on modern CPUs.
33141
d4a28569
UD
33142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33143
b61099b5
UD
33144 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33146
bcf01e6d
UD
33147 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33148 __expl_finite.
33149 * math/bits/math-finite.h: Add entries for exp.
33150 * math/e_expl.c: Add __*_finite alias.
33151 * sysdeps/i386/fpu/e_exp.S: Likewise.
33152 * sysdeps/i386/fpu/e_expf.S: Likewise.
33153 * sysdeps/i386/fpu/e_expl.c: Likewise.
33154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33155 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33158 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33159 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33160 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33161
ba1a0d59
UD
33162 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33163 is sufficient, at least on modern CPUs.
33164
fd5bdc09
UD
33165 * ctype/ctype-info.c (__ctype_init): Define.
33166 * include/ctype.h (__ctype_init): Declare.
33167 (__ctype_b_loc): The variable is always initialized.
33168 (__ctype_toupper_loc): Likewise.
33169 (__ctype_tolower_loc): Likewise.
33170 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33171 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33172
7872cfb0
AS
331732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33174
b468825a
AS
33175 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33176
7872cfb0
AS
33177 * configure.in: Also look in $cxxmachine/include for C++ system
33178 headers.
33179
be13f7bf
LD
331802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33181
33182 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33183 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33184 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33185 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33186 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33187 (USE_AS_WMEMCMP): New macro.
33188 Fixing indents.
33189 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33190 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33191 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33192 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33194 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33195 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33196 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33197 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33198 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33199 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33200 (USE_AS_WMEMCMP): New macro.
33201 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33202 * sysdeps/string/test-memcmp.c: Update.
33203 Fix simple_wmemcmp.
33204 Add new tests.
33205 * wcsmbs/wmemcmp.c: Update.
33206 (WMEMCMP): New macro.
33207 Fix overflow bug.
33208
556a2007
AJ
332092011-10-12 Andreas Jaeger <aj@suse.de>
33210
33211 [BZ #13268]
33212 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33213
538faaa7
UD
332142011-10-15 Ulrich Drepper <drepper@gmail.com>
33215
ab6737ff
UD
33216 * libio/iofwide.c (do_length): Avoid warning.
33217
538faaa7
UD
33218 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33219
396a21b1
UD
332202011-10-14 Ulrich Drepper <drepper@gmail.com>
33221
cdf2901f
UD
33222 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33223
38ad40ce
UD
33224 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33225 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33226 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33227 * sysdeps/i386/i686/fpu/e_log.S: New file.
33228 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33229 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33230
396a21b1
UD
33231 * ctype/ctype.h: Add support for inlined isXXX functions when
33232 compiling C++ code.
33233
6b1f68c9
AS
332342011-10-14 Andreas Schwab <schwab@redhat.com>
33235
349290c0
AS
33236 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33237
6b1f68c9
AS
33238 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33239
f2282d42
RM
332402011-10-13 Roland McGrath <roland@hack.frob.com>
33241
33242 [BZ #13291]
33243 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33244
5298ffa8
AS
332452011-10-13 Andreas Schwab <schwab@redhat.com>
33246
714fad23
AS
33247 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33248 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33249 feraiseexcept.
33250
81dcc7fb
AS
33251 * sysdeps/x86_64/memrchr.S: Check for zero size.
33252
5298ffa8
AS
33253 * string/stratcliff.c: Add memrchr tests.
33254
951fbcec
LD
332552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33256
33257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33258 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33259 rawmemchr-sse2 rawmemchr-sse2-bsf.
33260 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33261 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33262 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33263 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33264 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33265 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33266 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33267 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33268 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33269 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33270 * string/memrchr.c (MEMRCHR): New macro.
33271
0ac5ae23
UD
332722011-10-12 Ulrich Drepper <drepper@gmail.com>
33273
33274 Add integration with gcc's -ffinite-math-only and optimize wrapper
33275 functions in libm.
33276 * Versions.def: Define GLIBC_2.15 version for libm.
33277 * math/Makefile (headers): Add bits/math-finite.h.
33278 * math/bits/math-finite.h: New file.
33279 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33280 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33281 * math/e_acoshl.c: Add __*_finite alias.
33282 * math/e_acosl.c: Likewise.
33283 * math/e_asinl.c: Likewise.
33284 * math/e_atan2l.c: Likewise.
33285 * math/e_atanhl.c: Likewise.
33286 * math/e_coshl.c: Likewise.
33287 * math/e_exp10.c: Likewise.
33288 * math/e_exp10f.c: Likewise.
33289 * math/e_exp10l.c: Likewise.
33290 * math/e_exp2l.c: Likewise.
33291 * math/e_fmodl.c: Likewise.
33292 * math/e_gammal_r.c: Likewise.
33293 * math/e_hypotl.c: Likewise.
33294 * math/e_j0l.c: Likewise.
33295 * math/e_j1l.c: Likewise.
33296 * math/e_jnl.c: Likewise.
33297 * math/e_lgammal_r.c: Likewise.
33298 * math/e_log10l.c: Likewise.
33299 * math/e_log2l.c: Likewise.
33300 * math/e_logl.c: Likewise.
33301 * math/e_powl.c: Likewise.
33302 * math/e_sinhl.c: Likewise.
33303 * math/e_sqrtl.c: Likewise.
33304 * math/e_scalb.c: Completely rewritten and optimized.
33305 * math/e_scalbf.c: Likewise.
33306 * math/e_scalbl.c: Likewise.
33307 * math/w_acos.c: Likewise.
33308 * math/w_acosf.c: Likewise.
33309 * math/w_acosl.c: Likewise.
33310 * math/w_acosh.c: Likewise.
33311 * math/w_acoshf.c: Likewise.
33312 * math/w_acoshl.c: Likewise.
33313 * math/w_asin.c: Likewise.
33314 * math/w_asinf.c: Likewise.
33315 * math/w_asinl.c: Likewise.
33316 * math/w_atan2.c: Likewise.
33317 * math/w_atan2f.c: Likewise.
33318 * math/w_atan2l.c: Likewise.
33319 * math/w_atanh.c: Likewise.
33320 * math/w_atanhf.c: Likewise.
33321 * math/w_atanhl.c: Likewise.
33322 * math/w_exp10.c: Likewise.
33323 * math/w_exp10f.c: Likewise.
33324 * math/w_exp10l.c: Likewise.
33325 * math/w_fmod.c: Likewise.
33326 * math/w_fmodf.c: Likewise.
33327 * math/w_fmodl.c: Likewise.
33328 * math/w_j0.c: Likewise.
33329 * math/w_j0f.c: Likewise.
33330 * math/w_j0l.c: Likewise.
33331 * math/w_j1.c: Likewise.
33332 * math/w_j1f.c: Likewise.
33333 * math/w_j1l.c: Likewise.
33334 * math/w_jn.c: Likewise.
33335 * math/w_jnf.c: Likewise.
33336 * math/w_log.c: Likewise.
33337 * math/w_logf.c: Likewise.
33338 * math/w_logl.c: Likewise.
33339 * math/w_log10.c: Likewise.
33340 * math/w_log10f.c: Likewise.
33341 * math/w_log10l.c: Likewise.
33342 * math/w_log2.c: Likewise.
33343 * math/w_log2f.c: Likewise.
33344 * math/w_log2l.c: Likewise.
33345 * math/w_pow.c: Likewise.
33346 * math/w_powf.c: Likewise.
33347 * math/w_powl.c: Likewise.
33348 * math/w_remainder.c: Likewise.
33349 * math/w_remainderf.c: Likewise.
33350 * math/w_remainderl.c: Likewise.
33351 * math/w_scalb.c: Likewise.
33352 * math/w_scalbf.c: Likewise.
33353 * math/w_scalbl.c: Likewise.
33354 * math/w_sqrt.c: Likewise.
33355 * math/w_sqrtf.c: Likewise.
33356 * math/w_sqrtl.c: Likewise.
33357 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33358 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33359 used.
33360 * math/math_private.h: Declare __kernel_standard_f.
33361 * math/w_cosh.c: Remove cruft and optimize a bit.
33362 * math/w_coshf.c: Likewise.
33363 * math/w_coshl.c: Likewise.
33364 * math/w_exp2.c: Likewise.
33365 * math/w_exp2f.c: Likewise.
33366 * math/w_exp2l.c: Likewise.
33367 * math/w_hypot.c: Likewise.
33368 * math/w_hypotf.c: Likewise.
33369 * math/w_hypotl.c: Likewise.
33370 * math/w_lgamma.c: Likewise.
33371 * math/w_lgamma_r.c: Likewise.
33372 * math/w_lgammaf.c: Likewise.
33373 * math/w_lgammaf_r.c: Likewise.
33374 * math/w_lgammal.c: Likewise.
33375 * math/w_lgammal_r.c: Likewise.
33376 * math/w_sinh.c: Likewise.
33377 * math/w_sinhf.c: Likewise.
33378 * math/w_sinhl.c: Likewise.
33379 * math/w_tgamma.c: Likewise.
33380 * math/w_tgammaf.c: Likewise.
33381 * math/w_tgammal.c: Likewise.
33382 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33384 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33385 Minor optimizations. Pretty printing. Remove cruft.
33386 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33387 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33388 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33390 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33391 * sysdeps/i386/fpu/e_asin.S: Likewise.
33392 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33393 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33394 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33395 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33396 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33397 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33398 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33399 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33400 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33401 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33402 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33403 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33404 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33405 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33406 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33407 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33408 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33409 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33410 * sysdeps/i386/fpu/e_log.S: Likewise.
33411 * sysdeps/i386/fpu/e_log10.S: Likewise.
33412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33414 * sysdeps/i386/fpu/e_log2.S: Likewise.
33415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33417 * sysdeps/i386/fpu/e_logf.S: Likewise.
33418 * sysdeps/i386/fpu/e_logl.S: Likewise.
33419 * sysdeps/i386/fpu/e_pow.S: Likewise.
33420 * sysdeps/i386/fpu/e_powf.S: Likewise.
33421 * sysdeps/i386/fpu/e_powl.S: Likewise.
33422 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33423 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33424 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33425 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33426 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33427 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33428 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33429 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33430 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33431 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33432 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33434 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33435 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33436 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33437 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33438 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33439 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33440 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33441 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33442 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33444 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33445 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33447 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33448 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33449 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33451 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33452 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33453 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33454 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33455 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33456 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33457 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33458 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33459 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33460 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33461 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33465 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33466 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33467 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33468 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33469 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33470 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33471 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33472 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33477 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33481 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33483 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33484 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33485 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33486 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33487 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33488 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33489 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33490 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33492 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33496 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33497 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33498 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33500 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33501 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33502 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33503 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33507 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33508 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33509 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33510 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33511 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33512 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33513 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33514 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33515 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33516 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33517 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33518 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33519 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33520 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33522 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33523 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33524 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33525 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33526 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33527 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33528 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33529 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33530 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33531 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33532 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33533 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33534 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33535 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33536 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33537 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33538 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33539 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33540 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33541 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33542 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33543 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33544 (__isnanf): Likewise.
33545 (__isinf_ns): Likewise.
33546 (__isinf_nsf): Likewise.
33547 (__finite): Likewise.
33548 (__finitef): Likewise.
33549 (__ieee754_sqrt): Define as macro.
33550 (__ieee754_sqrtf): Define as macro.
33551 (__ieee754_sqrtl): Define as macro.
33552 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33553 inlined copy.
33554 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33555 __FINITE_MATH_ONLY__ consistent.
33556 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33557
12cc2fcd
AS
335582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33559
a843a204
AS
33560 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33561 of rawmemchr.
33562
12cc2fcd
AS
33563 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33564
c853acd5
UD
335652011-10-09 Ulrich Drepper <drepper@gmail.com>
33566
33567 * po/ja.po: Update from translation team.
33568
c658d255
RM
335692011-10-08 Roland McGrath <roland@hack.frob.com>
33570
110946e4
RM
33571 * locale/programs/locarchive.c (prepare_address_space): New function.
33572 (create_archive, enlarge_archive, open_archive): Use it.
33573
50604220
RM
33574 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33575 inside [SHARED], where it is used.
33576
c658d255
RM
33577 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33578
33579 * nss/getent.c (netgroup_keys): Remove unused variable.
33580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33581
6a621eb7
UD
335822011-10-08 Ulrich Drepper <drepper@gmail.com>
33583
7edb55ce
UD
33584 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33587 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33588 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33589 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33590 * math/Makefile (libm-calls): Add s_isinf_ns.
33591 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33592 * math/multc3.c: Likewise.
33593 * math/s_casin.c: Likewise.
33594 * math/s_casinf.c: Likewise.
33595 * math/s_casinl.c: Likewise.
33596 * math/s_ccos.c: Likewise.
33597 * math/s_ccosf.c: Likewise.
33598 * math/s_ccosl.c: Likewise.
33599 * math/s_ctan.c: Likewise.
33600 * math/s_ctanf.c: Likewise.
33601 * math/s_ctanh.c: Likewise.
33602 * math/s_ctanhf.c: Likewise.
33603 * math/s_ctanhl.c: Likewise.
33604 * math/s_ctanl.c: Likewise.
33605 * math/w_fmod.c: Likewise.
33606 * math/w_fmodf.c: Likewise.
33607 * math/w_fmodl.c: Likewise.
33608 * math/w_remainder.c: Likewise.
33609 * math/w_remainderf.c: Likewise.
33610 * math/w_remainderl.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33612 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33615 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33616 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33617 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33618 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33619
187da0ae
UD
33620 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33621 of the number.
33622 * stdio-common/printf_fphex.c: Likewise.
33623 * stdio-common/printf_size.c: Likewise.
33624
9277c064
UD
33625 * math/e_exp10.c: Include math_private.h using <...> not "...".
33626 * math/e_exp10f.c: Likewise.
33627 * math/e_exp10l.c: Likewise.
33628 * math/e_exp2l.c: Likewise.
33629 * math/e_j0l.c: Likewise.
33630 * math/e_j1l.c: Likewise.
33631 * math/e_jnl.c: Likewise.
33632 * math/e_lgammal_r.c: Likewise.
33633 * math/e_rem_pio2l.c: Likewise.
33634 * math/e_scalb.c: Likewise.
33635 * math/e_scalbf.c: Likewise.
33636 * math/e_scalbl.c: Likewise.
33637 * math/k_cosl.c: Likewise.
33638 * math/k_sinl.c: Likewise.
33639 * math/k_tanl.c: Likewise.
33640 * math/s_cacoshf.c: Likewise.
33641 * math/s_catan.c: Likewise.
33642 * math/s_catanf.c: Likewise.
33643 * math/s_catanh.c: Likewise.
33644 * math/s_catanhf.c: Likewise.
33645 * math/s_catanhl.c: Likewise.
33646 * math/s_catanl.c: Likewise.
33647 * math/s_ccosh.c: Likewise.
33648 * math/s_ccoshf.c: Likewise.
33649 * math/s_ccoshl.c: Likewise.
33650 * math/s_cexp.c: Likewise.
33651 * math/s_cexpf.c: Likewise.
33652 * math/s_cexpl.c: Likewise.
33653 * math/s_clog.c: Likewise.
33654 * math/s_clog10.c: Likewise.
33655 * math/s_clog10f.c: Likewise.
33656 * math/s_clog10l.c: Likewise.
33657 * math/s_clogf.c: Likewise.
33658 * math/s_clogl.c: Likewise.
33659 * math/s_csin.c: Likewise.
33660 * math/s_csinf.c: Likewise.
33661 * math/s_csinh.c: Likewise.
33662 * math/s_csinhf.c: Likewise.
33663 * math/s_csinhl.c: Likewise.
33664 * math/s_csinl.c: Likewise.
33665 * math/s_csqrt.c: Likewise.
33666 * math/s_csqrtf.c: Likewise.
33667 * math/s_csqrtl.c: Likewise.
33668 * math/s_ctan.c: Likewise.
33669 * math/s_ctanf.c: Likewise.
33670 * math/s_ctanh.c: Likewise.
33671 * math/s_ctanhf.c: Likewise.
33672 * math/s_ctanhl.c: Likewise.
33673 * math/s_ctanl.c: Likewise.
33674 * math/s_ldexp.c: Likewise.
33675 * math/s_ldexpf.c: Likewise.
33676 * math/s_ldexpl.c: Likewise.
33677 * math/s_significand.c: Likewise.
33678 * math/s_significandf.c: Likewise.
33679 * math/s_significandl.c: Likewise.
33680 * math/w_acos.c: Likewise.
33681 * math/w_acosf.c: Likewise.
33682 * math/w_acosh.c: Likewise.
33683 * math/w_acoshf.c: Likewise.
33684 * math/w_acoshl.c: Likewise.
33685 * math/w_acosl.c: Likewise.
33686 * math/w_asin.c: Likewise.
33687 * math/w_asinf.c: Likewise.
33688 * math/w_asinl.c: Likewise.
33689 * math/w_atan2.c: Likewise.
33690 * math/w_atan2f.c: Likewise.
33691 * math/w_atan2l.c: Likewise.
33692 * math/w_atanh.c: Likewise.
33693 * math/w_atanhf.c: Likewise.
33694 * math/w_atanhl.c: Likewise.
33695 * math/w_cosh.c: Likewise.
33696 * math/w_coshf.c: Likewise.
33697 * math/w_coshl.c: Likewise.
33698 * math/w_dremf.c: Likewise.
33699 * math/w_exp10.c: Likewise.
33700 * math/w_exp10f.c: Likewise.
33701 * math/w_exp10l.c: Likewise.
33702 * math/w_exp2.c: Likewise.
33703 * math/w_exp2f.c: Likewise.
33704 * math/w_fmod.c: Likewise.
33705 * math/w_fmodf.c: Likewise.
33706 * math/w_fmodl.c: Likewise.
33707 * math/w_hypot.c: Likewise.
33708 * math/w_hypotf.c: Likewise.
33709 * math/w_hypotl.c: Likewise.
33710 * math/w_j0.c: Likewise.
33711 * math/w_j0f.c: Likewise.
33712 * math/w_j0l.c: Likewise.
33713 * math/w_j1.c: Likewise.
33714 * math/w_j1f.c: Likewise.
33715 * math/w_j1l.c: Likewise.
33716 * math/w_jn.c: Likewise.
33717 * math/w_jnf.c: Likewise.
33718 * math/w_jnl.c: Likewise.
33719 * math/w_lgamma.c: Likewise.
33720 * math/w_lgamma_r.c: Likewise.
33721 * math/w_lgammaf.c: Likewise.
33722 * math/w_lgammaf_r.c: Likewise.
33723 * math/w_lgammal.c: Likewise.
33724 * math/w_lgammal_r.c: Likewise.
33725 * math/w_log.c: Likewise.
33726 * math/w_log10.c: Likewise.
33727 * math/w_log10f.c: Likewise.
33728 * math/w_log10l.c: Likewise.
33729 * math/w_log2.c: Likewise.
33730 * math/w_log2f.c: Likewise.
33731 * math/w_log2l.c: Likewise.
33732 * math/w_logf.c: Likewise.
33733 * math/w_logl.c: Likewise.
33734 * math/w_pow.c: Likewise.
33735 * math/w_powf.c: Likewise.
33736 * math/w_powl.c: Likewise.
33737 * math/w_remainder.c: Likewise.
33738 * math/w_remainderf.c: Likewise.
33739 * math/w_remainderl.c: Likewise.
33740 * math/w_scalb.c: Likewise.
33741 * math/w_scalbf.c: Likewise.
33742 * math/w_scalbl.c: Likewise.
33743 * math/w_sinh.c: Likewise.
33744 * math/w_sinhf.c: Likewise.
33745 * math/w_sinhl.c: Likewise.
33746 * math/w_sqrt.c: Likewise.
33747 * math/w_sqrtf.c: Likewise.
33748 * math/w_sqrtl.c: Likewise.
33749 * math/w_tgamma.c: Likewise.
33750 * math/w_tgammaf.c: Likewise.
33751 * math/w_tgammal.c: Likewise.
33752
6a621eb7
UD
33753 * po/ja.po: Update from translation team.
33754
bf582445
AJ
337552011-09-29 Andreas Jaeger <aj@suse.de>
33756
f9efbf3a
AJ
33757 [BZ #13179]
33758 * sunrpc/netname.c (netname2host): Fix logic.
33759
bf582445
AJ
33760 [BZ #6779]
33761 [BZ #6783]
33762 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33763 correctly.
33764 * math/w_remainder.c (__remainder): Likewise.
33765 * math/w_remainderf.c (__remainderf): Likewise.
33766 * math/libm-test.inc (remainder_test): Add test cases.
33767
48693bea
AK
337682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33769
33770 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33771 sdiv_qrnnd.
33772
42622229
LD
337732011-10-07 Ulrich Drepper <drepper@gmail.com>
33774
33775 * string/test-memcmp.c: Avoid unncessary #defines.
33776 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33777
093ecf92
LD
337782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33779
33780 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33781 Use new sse2 version for core i3 - i7 as it's faster
33782 than sse42 version.
33783 (bit_Prefer_PMINUB_for_stringop): New.
33784 * sysdeps/x86_64/rawmemchr.S: Update.
33785 Replace with faster SSE2 version.
33786 * sysdeps/x86_64/memrchr.S: New file.
33787 * sysdeps/x86_64/memchr.S: Update.
33788 Replace with faster SSE2 version.
33789
fde56e5c
MP
337902011-09-12 Marek Polacek <mpolacek@redhat.com>
33791
33792 * elf/dl-load.c (lose): Add cast to avoid warning.
33793
21fd49a9
UD
337942011-10-07 Ulrich Drepper <drepper@gmail.com>
33795
5a06e643
UD
33796 * po/ca.po: Update from translation team.
33797
684ae515
UD
33798 * inet/getnetgrent_r.c: Hook up nscd.
33799 * nscd/Makefile (routines): Add nscd_netgroup.
33800 (nscd-modules): Add netgroupcache.
33801 (CFLAGS-netgroupcache.c): Define.
33802 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33803 (cache_search): Add const to second parameter.
33804 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33805 INNETGR.
33806 (dbs): Add netgrdb entry.
33807 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33808 (verify_persistent_db): Handle netgrdb.
33809 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33810 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33811 GETFDNETGR.
33812 (netgroup_response_header): Define.
33813 (innetgroup_response_header): Define.
33814 (datahead): Add netgroup_response_header and innetgroup_response_header
33815 elements.
33816 * nscd/nscd.conf: Add entries for netgroup cache.
33817 * nscd/nscd.h (dbtype): Add netgrdb.
33818 (_PATH_NSCD_NETGROUP_DB): Define.
33819 (netgroup_iov_disabled): Declare.
33820 (xmalloc, xcalloc, xrealloc): Move declarations here.
33821 (cache_search): Adjust prototype.
33822 Add netgroup-related prototypes.
33823 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33824 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33825 (__nscd_innetgr): Declare.
33826 * nscd/selinux.c (perms): Use access_vector_t as element type and
33827 add netgroup-related initializers.
33828 * nscd/netgroupcache.c: New file.
33829 * nscd/nscd_netgroup.c: New file.
33830 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33831 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33832 For four parameters use innetgr.
33833 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33834 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33835 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33836 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33837
21fd49a9
UD
33838 * nscd/connections.c (register_traced_file): Don't register file
33839 for disabled databases.
33840
054c0457
UD
338412011-10-06 Ulrich Drepper <drepper@gmail.com>
33842
32b63198
UD
33843 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33844
054c0457
UD
33845 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33846 from tree and freeing node.
33847
64031225
JO
338482011-09-25 Jiri Olsa <jolsa@redhat.com>
33849
33850 * nss/nsswitch.c (__nss_database_lookup): Handle
33851 nss_parse_service_list out of memory case.
33852
0490345c
JO
338532011-09-15 Jiri Olsa <jolsa@redhat.com>
33854
33855 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33856 out of memory case.
33857
3a62d00d
AS
338582011-10-04 Andreas Schwab <schwab@redhat.com>
33859
33860 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33861 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33862 pass it down.
33863 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33864 elf_machine_rela, elf_machine_lazy_rel.
33865 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33866 (ELF_DYNAMIC_DO_REL): Likewise.
33867 (ELF_DYNAMIC_DO_RELA): Likewise.
33868 (ELF_DYNAMIC_RELOCATE): Likewise.
33869 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33870 to ELF_DYNAMIC_DO_REL.
33871 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33872 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33873 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33874 elf_machine_rela.
33875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33876 skip_ifunc, don't call ifunc function if non-zero.
33877 (elf_machine_rela): Likewise.
33878 (elf_machine_lazy_rel): Likewise.
33879 (elf_machine_lazy_rela): Likewise.
33880 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33881 (elf_machine_lazy_rel): Likewise.
33882 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33883 Likewise.
33884 (elf_machine_lazy_rel): Likewise.
33885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33886 Likewise.
33887 (elf_machine_lazy_rel): Likewise.
33888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33889 (elf_machine_lazy_rel): Likewise.
33890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33891 (elf_machine_lazy_rel): Likewise.
33892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33893 (elf_machine_lazy_rel): Likewise.
33894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33895 (elf_machine_lazy_rel): Likewise.
33896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33897 (elf_machine_lazy_rel): Likewise.
33898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33899 (elf_machine_lazy_rel): Likewise.
33900
68577918
UD
339012011-09-28 Ulrich Drepper <drepper@gmail.com>
33902
33903 * nss/nss_files/files-init.c (_nss_files_init): Use static
33904 initialization for all the *_traced_file variables.
33905
68822d74
AS
339062011-09-28 Andreas Schwab <schwab@redhat.com>
33907
33908 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33909
2056100b
RM
339102011-09-27 Roland McGrath <roland@hack.frob.com>
33911
33912 [BZ #13226]
33913 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33914
32c76b63
AS
339152011-09-27 Andreas Schwab <schwab@redhat.com>
33916
33917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33918 Reread the line before reparsing it.
33919
bf972c9d
AS
339202011-09-26 Andreas Schwab <schwab@redhat.com>
33921
33922 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33923
e057a1b5
JM
339242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33925 Maxim Kuvyrkov <maxim@codesourcery.com>
33926 Joseph Myers <joseph@codesourcery.com>
33927
33928 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33929 if needed for __stack_chk_guard.
33930
bc7e1c36
RM
339312011-09-19 Roland McGrath <roland@hack.frob.com>
33932
ecb1482f
RM
33933 * sysdeps/posix/spawni.c (script_execute): Always define it.
33934 It will be optimized away if unused.
33935 (maybe_script_execute): New function.
33936 (__spawni): Call it.
33937
bc7e1c36
RM
33938 * Makerules: Don't include tls.make.
33939 (config-tls): Always set to thread.
33940 * tls.make.c: File removed.
33941
1c3b002b
MF
339422011-09-19 Mike Frysinger <vapier@gentoo.org>
33943
33944 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33945 * config.make.in (CPPFLAGS-config): New substituted variable.
33946
2840865d
UD
339472011-09-15 Ulrich Drepper <drepper@gmail.com>
33948
88738eb6
UD
33949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33950
cbf645a6 33951 [BZ #13192]
2840865d
UD
33952 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33953 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33954
b402e91a
RM
339552011-09-15 Roland McGrath <roland@hack.frob.com>
33956
33957 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33958 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33960 (CALL_FAIL): Likewise.
33961 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33962 (CALL_FAIL): Macro removed.
33963 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33964
4c1a1f71
UD
339652011-09-15 Ulrich Drepper <drepper@gmail.com>
33966
33967 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33968 for __FINITE_MATH_ONLY__ == 1.
33969
edc121be
AS
339702011-09-15 Andreas Schwab <schwab@redhat.com>
33971
33972 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33973 __ieee754_sqrt instead of sqrt.
33974 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33975 __ieee754_sqrtf instead of sqrtf.
33976 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33977 __floorf instead of floorf.
33978 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33979 __floorf, __truncf instead of floorf, truncf.
33980
cd205654
UD
339812011-09-14 Ulrich Drepper <drepper@gmail.com>
33982
ee4d0315
UD
33983 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33984
cd205654
UD
33985 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33986 __extern_always_inline.
33987 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33988 32-bit.
33989
48b67d71
AS
339902011-09-14 Andreas Schwab <schwab@redhat.com>
33991
33992 * elf/rtld.c (dl_main): Also relocate in dependency order when
33993 doing symbol dependency testing.
33994
1ae12c75
AS
339952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33996
33997 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33998 Always define `refsym'.
33999
995a80df
AS
340002011-09-13 Andreas Schwab <schwab@redhat.com>
34001
e529793b
AS
34002 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34003 (__FD_ELT): Renamed from __FDELT.
34004 * misc/bits/select2.h (__FD_ELT): Likewise.
34005 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34006 __FD_MASK instead of __FDELT, __FDMASK.
34007 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34008 Likewise.
34009 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34010 Likewise.
34011
52d4fef8
AS
34012 * elf/Makefile (gen-ldd): Fix pattern.
34013
995a80df
AS
34014 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34015 (init_tls): Likewise.
34016
8682f8b0
UD
340172011-09-12 Ulrich Drepper <drepper@gmail.com>
34018
34019 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34020
de82006d
AS
340212011-09-12 Andreas Schwab <schwab@redhat.com>
34022
a7c8e6a1
AS
34023 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34024 `struct cmsghdr *' instead of `void *'.
34025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34026 Likewise.
34027
0f31fe77
AS
340282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34029
34030 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34031 if non-absolute.
34032 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34033 ldd_rewrite_script.
0f31fe77 34034
32b4c839
UD
340352011-09-11 Ulrich Drepper <drepper@gmail.com>
34036
83cd1420
UD
34037 * configure.in: Remove --with-tls option.
34038 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34039 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34040 out in case it is missing.
34041 * sysdeps/ia64/elf/configure.in: Likewise.
34042 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34043 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34044 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34045 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34046 * sysdeps/sh/elf/configure.in: Likewise.
34047 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34048 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34049 * sysdeps/x86_64/elf/configure.in: Likewise.
34050 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34051 * sysdeps/mach/hurd/tls.h: Likewise.
34052
633f745d
UD
34053 [BZ #13067]
34054 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34055
f318beb8
UD
34056 [BZ #13090]
34057 * configure.in: Fix use of AC_INIT.
34058
32b4c839
UD
34059 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34060
3ce1f295
UD
340612011-09-10 Ulrich Drepper <drepper@gmail.com>
34062
bb016596
UD
34063 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34064 __set_errno.
8e58439c
UD
34065 * malloc/hooks.c: Likewise.
34066
aebae053 34067 [BZ #11929]
02d46fc4
UD
34068 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34069 variables statically.
34070 (narenas): Initialize.
34071 (list_lock): Initialize.
bb016596
UD
34072 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34073 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34074 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34075 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34076 Add initializers to main_arena and mp_.
34077 (malloc_state): Remove pagesize member. Change all users to use
34078 GLRO(dl_pagesize).
34079
34080 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34081 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34082 is always initialized.
34083
22a89187
UD
34084 * malloc/malloc.c: Removed unused configurations and dead code.
34085 * malloc/arena.c: Likewise.
34086 * malloc/hooks.c: Likewise.
02d46fc4 34087 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34088
d063d164
UD
34089 * include/tls.h: Removed. USE___THREAD must always be defined.
34090 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34091 * elf/dl-libc.c: Likewise.
34092 * elf/dl-tsd.c: Likewise.
34093 * include/errno.h: Likewise.
34094 * include/netdb.h: Likewise.
34095 * include/resolv.h: Likewise.
34096 * inet/herrno-loc.c: Likewise.
34097 * inet/herrno.c: Likewise.
34098 * malloc/arena.c: Likewise.
34099 * malloc/hooks.c: Likewise.
34100 * malloc/malloc.c: Likewise.
34101 * resolv/res-state.c: Likewise.
34102 * resolv/res_libc.c: Likewise.
34103 * sysdeps/i386/dl-machine.h: Likewise.
34104 * sysdeps/ia64/dl-machine.h: Likewise.
34105 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34106 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34107 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34108 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34109 * sysdeps/sh/dl-machine.h: Likewise.
34110 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34111 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34112 * sysdeps/unix/i386/sysdep.S: Likewise.
34113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34114 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34115 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34119 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34123 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34124 * sysdeps/x86_64/dl-machine.h: Likewise.
34125 * tls.make.c: Likewise.
34126
3ce1f295
UD
34127 * configure.in: Remove --with-__thread option. Make tests for
34128 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34129 tls_model attribute fail if no support is available. Remove
34130 USE_IN_LIBIO.
34131 * Makeconfig: Adjust for dropped configure option. All features are
34132 now mandatory.
34133 * Makerules: Likewise.
34134 * Versions.def: Likewise.
34135 * argp/argp-fmtstream.c: Likewise.
34136 * argp/argp-fmtstream.h: Likewise.
34137 * argp/argp-help.c: Likewise.
34138 * assert/assert.c: Likewise.
34139 * config.h.in: Likewise.
34140 * config.make.in: Likewise.
34141 * configure: Likewise.
34142 * configure.in: Likewise.
34143 * csu/Versions: Likewise.
34144 * csu/init.c: Likewise.
34145 * elf/tst-audit2.c: Likewise.
34146 * elf/tst-tls10.c: Likewise.
34147 * elf/tst-tls10.h: Likewise.
34148 * elf/tst-tls11.c: Likewise.
34149 * elf/tst-tls12.c: Likewise.
34150 * elf/tst-tls14.c: Likewise.
34151 * elf/tst-tlsmod11.c: Likewise.
34152 * elf/tst-tlsmod12.c: Likewise.
34153 * elf/tst-tlsmod13.c: Likewise.
34154 * elf/tst-tlsmod13a.c: Likewise.
34155 * elf/tst-tlsmod14a.c: Likewise.
34156 * elf/tst-tlsmod15b.c: Likewise.
34157 * elf/tst-tlsmod16a.c: Likewise.
34158 * elf/tst-tlsmod16b.c: Likewise.
34159 * elf/tst-tlsmod7.c: Likewise.
34160 * elf/tst-tlsmod8.c: Likewise.
34161 * elf/tst-tlsmod9.c: Likewise.
34162 * gmon/gmon.c: Likewise.
34163 * grp/fgetgrent_r.c: Likewise.
34164 * grp/putgrent.c: Likewise.
34165 * hurd/fopenport.c: Likewise.
34166 * include/libc-symbols.h: Likewise.
34167 * include/tls.h: Likewise.
34168 * intl/gettextP.h: Likewise.
34169 * intl/loadinfo.h: Likewise.
34170 * locale/global-locale.c: Likewise.
34171 * locale/localeinfo.h: Likewise.
34172 * mach/devstream.c: Likewise.
34173 * malloc/arena.c: Likewise.
34174 * malloc/set-freeres.c: Likewise.
34175 * misc/err.c: Likewise.
34176 * misc/getttyent.c: Likewise.
34177 * misc/mntent_r.c: Likewise.
34178 * posix/getopt.c: Likewise.
34179 * posix/wordexp.c: Likewise.
34180 * pwd/fgetpwent_r.c: Likewise.
34181 * resolv/Versions: Likewise.
34182 * resolv/res_hconf.c: Likewise.
34183 * shadow/fgetspent_r.c: Likewise.
34184 * shadow/putspent.c: Likewise.
34185 * stdio-common/printf_fphex.c: Likewise.
34186 * stdio-common/tmpfile.c: Likewise.
34187 * stdlib/abort.c: Likewise.
34188 * stdlib/fmtmsg.c: Likewise.
34189 * sunrpc/auth_unix.c: Likewise.
34190 * sunrpc/clnt_perr.c: Likewise.
34191 * sunrpc/clnt_tcp.c: Likewise.
34192 * sunrpc/clnt_udp.c: Likewise.
34193 * sunrpc/clnt_unix.c: Likewise.
34194 * sunrpc/openchild.c: Likewise.
34195 * sunrpc/svc_simple.c: Likewise.
34196 * sunrpc/svc_tcp.c: Likewise.
34197 * sunrpc/svc_udp.c: Likewise.
34198 * sunrpc/svc_unix.c: Likewise.
34199 * sunrpc/xdr.c: Likewise.
34200 * sunrpc/xdr_array.c: Likewise.
34201 * sunrpc/xdr_rec.c: Likewise.
34202 * sunrpc/xdr_ref.c: Likewise.
34203 * sunrpc/xdr_stdio.c: Likewise.
34204
1248c1c4
PB
342052011-09-09 Ulrich Drepper <drepper@gmail.com>
34206
34207 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34208
342092011-07-03 Andreas Jaeger <aj@suse.de>
34210
34211 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34212 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34213 regenerate with gen-libm-tests.pl.
34214
342152010-05-12 Petr Baudis <pasky@suse.cz>
34216
34217 [BZ #11589]
34218 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34219 around j0() zero points by switching to j1().
34220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34224
f22e1074
UD
342252011-09-09 Ulrich Drepper <drepper@gmail.com>
34226
f19009c1
UD
34227 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34228 instead of 0.
34229 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34230 instead of 0.
f19009c1
UD
34231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34232 Patch in part by Pavel Roskin <proski@gnu.org>.
34233
3f8cc204
UD
34234 [BZ #13138]
34235 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34236 realloc.
34237 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34238 Free memory block if necessary.
34239
f22e1074
UD
34240 [BZ #12847]
34241 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34242 be NULL. Don't lock in this case.
34243
0a2349f9
RM
342442011-09-09 Roland McGrath <roland@hack.frob.com>
34245
34246 * elf/elf.h (ELFOSABI_GNU): New macro.
34247 (ELFOSABI_LINUX): Define to that.
34248
f3cdd467
DZ
342492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34250
34251 * string/strncat.c (strncat): Undef the symbol in case it has been
34252 defined in bits/string.h.
34253
74718d13
UD
342542011-09-09 Ulrich Drepper <drepper@gmail.com>
34255
633e9e0f
UD
34256 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34257
0a2349f9 34258 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34259 link map.
34260
f9924780
AJ
342612011-08-17 Andreas Jaeger <aj@suse.de>
34262
34263 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34264
7f5517aa
PP
342652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34266 Ian Lance Taylor <iant@google.com>
34267
34268 * math/libm-test.inc (lround_test): New testcase.
34269 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34270
762011fe
UD
342712011-09-08 Ulrich Drepper <drepper@gmail.com>
34272
92963737
UD
34273 * Makefile: Remove support for automatic cvs check-ins.
34274 * Makerules: Likewise.
34275 * config.make.in: Likewise.
34276 * configure.in: Likewise.
34277 * intl/Makefile: Likewise.
34278 * locale/Makefile: Likewise.
34279 * po/Makefile: Likewise.
34280 * posix/Makefile: Likewise.
34281 * sysdeps/gnu/Makefile: Likewise.
34282 * sysdeps/mach/hurd/Makefile: Likewise.
34283 * sysdeps/sparc/sparc32/Makefile: Likewise.
34284
b0727fd8
JS
34285 [BZ #13118]
34286 * posix/Makefile (bug-regex32-ENV): Define.
34287 Patch by John Stanley <jpsinthemix@verizon.net>.
34288
a0f33f99
UD
34289 * misc/Makefile (headers): Add bits/select2.h.
34290 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34291 * misc/bits/select2.h: New file.
34292 * include/bits/select2.h: New file.
34293 * debug/Makefile (routines): Add fdelt_chk.
34294 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34295 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34296 FD_ISSET.
34297 * debug/fdelt_chk.c: New file.
34298
762011fe
UD
34299 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34300 * wcsmbs/test-wmemcmp.c: Likewise.
34301 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34302 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34303
343042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34305
34306 * string/Makefile (strop-tests): Add memcmp.
34307 * string/test-wmemcmp.c: New file.
34308 * string/test-memcmp.c: Add wmemcmp support.
34309
7f513ec8
RM
343102011-09-08 Roland McGrath <roland@hack.frob.com>
34311
0442afb4
RM
34312 [BZ #13153]
34313 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34314 2011-07-19 change.
34315
7f513ec8
RM
34316 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34317 garbage value in a __mach_port_mod_refs call in the cases of the
34318 task-self and thread-self ports.
34319
a12b2239
ST
343202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34321
34322 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34323
610f9ab4
AS
343242011-09-08 Andreas Schwab <schwab@redhat.com>
34325
7f513ec8 34326 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34327
48882a1a
LD
343282011-09-07 Ulrich Drepper <drepper@gmail.com>
34329
b49865be
UD
34330 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34331
fdc86bc9
UD
34332 * elf/dl-libc.c (dlerror_run): Pass back error code from
34333 dl_catch_error.
34334
c966526a
UD
34335 [BZ #13123]
34336 * elf/dl-load.c (lose): Free l_origin if it is valid.
34337
48882a1a
LD
34338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34339 names.
34340 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34343 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34344 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34345 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34346
77a2a8b4
AZ
343472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34348
34349 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34350 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34351 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34352 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34353 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34354 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34355 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34356 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34357 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34358 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34359
24f579d8
AM
343602011-08-15 Alan Modra <amodra@gmail.com>
34361
34362 [BZ #13092]
34363 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34364 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34365 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34366 ppc_mcount to static-only-routines.
34367 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34368 __mcount_internal.
34369 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34370 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34371
3d4837df
UD
343722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34373
34374 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34375 for finite and infinity parameters.
34376
22700377
WS
343772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34378
34379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34380 and add nop instructions for throughput optimization.
34381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34382
5025581e
WS
343832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34384
34385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34386 aligned copy for power7 with vector-scalar instructions.
34387 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34388
08a300c9
L
343892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34390
34391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34392 AVX check.
34393
59178ef9
AS
343942011-09-07 Andreas Schwab <schwab@redhat.com>
34395
34396 [BZ #13144]
34397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34398 last change.
34399
e38ba7ab
UD
344002011-09-07 Ulrich Drepper <drepper@gmail.com>
34401
34402 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34403 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34404 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34405 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34406 clock_gettime.
34407
d53a73ac
UD
344082011-09-06 Ulrich Drepper <drepper@gmail.com>
34409
fc8bffcc
UD
34410 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34411 Forgot to demangle the pointer.
34412
ceaa0c5d
UD
34413 * sysdeps/i386/sysdep.h: Define atom_text_section.
34414 * sysdeps/x86_64/sysdep.h: Likewise.
34415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34416 section with atom_text_section.
34417 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34418 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34419 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34421 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34422
a77d3c17
UD
34423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34425 already be defined. Change to take two parameters and don't assign
34426 result to variable. Adjust all users.
34427 Define INTERNAL_GETTIME if not already defined.
34428 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34429 call.
34430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34431 HAVE_CLOCK_GETTIME_VSYSCALL.
34432 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34433
d53a73ac
UD
34434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34435 gettimeofday vsyscall, just use time.
34436
a8f84144
AS
344372011-09-06 Andreas Schwab <schwab@redhat.com>
34438
34439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34440 <errno.h>.
34441
ef606249
UD
344422011-09-06 Ulrich Drepper <drepper@gmail.com>
34443
34444 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34445 syscall on x86-64.
34446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34447 syscall.
34448 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34450 syscall if possible.
34451
6585cb60
UD
344522011-09-05 Ulrich Drepper <drepper@gmail.com>
34453
34454 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34455 e_ident. Don't pass to find_mapsXX.
34456 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34457
a5f524e4
LD
344582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34459
34460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34461 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34462 * sysdeps/x86_64/multiarch/strchr.S: Update.
34463 Check bit_slow_BSF bit.
34464 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34465 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34466 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34467
554881ef
UD
344682011-09-05 Ulrich Drepper <drepper@gmail.com>
34469
d96de963
UD
34470 [BZ #13134]
34471 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34472 before glibc 2.15.
34473 (tryshell): Define.
34474 (__spawni): Change last parameter to be flag. Test
34475 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34476 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34477 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34478 * posix/spawni.c: Likewise.
34479 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34480 * posix/spawnp.c: Likewise. Change normal version to use
34481 SPAWN_XFLAGS_USE_PATH.
34482 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34483 SPAWN_XFLAGS_TRY_SHELL.
34484
d48e5868
UD
34485 [BZ #13150]
34486 * posix/glob.h: Remove gcc 1.x support.
34487
554881ef
UD
34488 [BZ #13068]
34489 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34490
693fb948
LD
344912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34492
34493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34494 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34495 strrchr-sse2-bsf
34496 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34497 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34498 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34500 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34502
1b48c537
UD
345032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34504
49d42c37
UD
34505 * sysdeps/x86_64/wcscmp.S: New file.
34506
1b48c537
UD
34507 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34508 wcscmp-c wcscmp-sse2
34509 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34510 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34511 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34512 * wcsmbs/wcscmp.c: Allow renaming.
34513
15c95c5d
DM
345142011-09-05 David S. Miller <davem@davemloft.net>
34515
34516 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34517 stack slot, rather than the struct return pointer slot.
34518 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34519 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34521 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34522
2f0ad8f3
UD
345232011-09-05 Ulrich Drepper <drepper@gmail.com>
34524
d88ae418
UD
34525 * po/ja.po: Update from translation team.
34526
2f0ad8f3
UD
34527 [BZ #13144]
34528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34529 kernel in 64-bit binaries.
34530
5f4318d1
DM
345312011-09-01 David S. Miller <davem@davemloft.net>
34532
34533 * elf/elf.h (HWCAP_SPARC_*): Move to..
34534 * sysdeps/sparc/sysdep.h: this new file and add new values.
34535 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34536 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34537 _DL_HWCAP_COUNT to 24.
34538 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34539 entries.
34540 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34541 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34542 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34544 instead of magic constants.
34545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34546
3ba57516
DM
345472011-08-31 David S. Miller <davem@davemloft.net>
34548
34549 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34551 Reimplement to do errno handling inline.
34552 (SYSCALL_ERROR_HANDLER): New macro.
34553 (__SYSCALL_STRING): Do not do errno handling in asm.
34554 (__CLONE_SYSCALL_STRING): Delete.
34555 (__INTERNAL_SYSCALL_STRING): Delete.
34556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34557 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34558 (PSEUDO): Reimplement to do errno handling inline.
34559 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34560 (SYSCALL_ERROR_HANDLER): New macro.
34561 (__SYSCALL_STRING): Do not do errno handling in asm.
34562 (__CLONE_SYSCALL_STRING): Delete.
34563 (__INTERNAL_SYSCALL_STRING): Delete.
34564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34565 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34566 i386.
34567 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34568 (inline_syscall*): Add 'err' argument.
34569 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34570 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34571 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34572 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34573
34574 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34575 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34576
2bc17433
AS
345772011-08-30 Andreas Schwab <schwab@redhat.com>
34578
34579 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34580
fbeb5f4d
JO
345812011-08-29 Jiri Olsa <jolsa@redhat.com>
34582
34583 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34584 directive.
34585
ad69cc26
DM
345862011-08-24 David S. Miller <davem@davemloft.net>
34587
34588 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34589
39dd69df
AS
345902011-08-24 Andreas Schwab <schwab@redhat.com>
34591
34592 * elf/Makefile: Add rules to build and run unload8 test.
34593 * elf/unload8.c: New file.
34594 * elf/unload8mod1.c: New file.
34595 * elf/unload8mod1x.c: New file.
34596 * elf/unload8mod2.c: New file.
34597 * elf/unload8mod3.c: New file.
34598
34599 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34600 it wasn't used.
34601
2c0b250a
DM
346022011-08-23 David S. Miller <davem@davemloft.net>
34603
34604 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34605 subtract stack bias.
34606 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34607 %sp not %fp in calculations.
34608 (_JMPBUF_UNWINDS_ADJ): Likewise.
34609
22044b48
DM
34610 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34611 (aio_suspend): Call it to force an exception region around the
34612 AIO_MISC_WAIT() invocation.
34613
2cae4995
AS
346142011-08-23 Andreas Schwab <schwab@redhat.com>
34615
34616 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34617 backslash.
34618
873a772e
AJ
346192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34620
34621 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34622 protection macro.
34623 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34624 and <dl-machine.h>.
34625 (Elf64_FuncDesc): Remove.
34626
25ad0df1
DM
346272011-08-22 David S. Miller <davem@davemloft.net>
34628
34629 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34630 sigaltstack check, add missing cfi directives.
34631 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34632 missing cfi directives, and sigaltstack handling.
34633
e888bcbe
AS
346342011-08-16 Andreas Schwab <schwab@redhat.com>
34635
34636 [BZ #11724]
34637 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34638 object is seen twice.
34639 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34640
34641 * elf/Makefile (distribute): Add tst-initorder2.c.
34642 (tests): Add tst-initorder2.
34643 (modules-names): Add tst-initorder2a tst-initorder2b
34644 tst-initorder2c tst-initorder2d. Add rules to build them.
34645 ($(objpfx)tst-initorder2.out): New rule.
34646 * elf/tst-initorder2.c: New file.
34647 * elf/tst-initorder2.exp: New file.
34648
87162f46
AS
346492011-08-22 Andreas Schwab <schwab@redhat.com>
34650
70538b7f
AS
34651 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34652
f55ffe58
AS
34653 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34654 dependencies back to end of function.
34655
87162f46
AS
34656 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34657 $(elfobjdir)/ld.so.
34658
91b392a4
UD
346592011-08-21 Ulrich Drepper <drepper@gmail.com>
34660
34661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34662 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34664 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34665 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34666 of __vdso_gettimeofday.
34667 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34668 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34669 attribute_hidden.
34670 (_libc_vdso_platform_setup): Remove initialization of
34671 __vdso_gettimeofday and __vdso_time.
34672
5c43483f
UD
346732011-08-20 Ulrich Drepper <drepper@gmail.com>
34674
775a77e7
UD
34675 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34676 and fgetc_unlocked.
34677 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34678 getc_unlocked.
89f447ed 34679
49c74ba9
UD
34680 * elf/dl-open.c (add_to_global): Report additions to the global scope
34681 for LD_DEBUG=scopes.
34682 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34683 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34684
5c43483f
UD
34685 [BZ #13114]
34686 * stdio-common/Makefile (tests): Add bug24.
34687 * stdio-common/bug24.c: New file.
34688
a101b025
AJ
346892011-08-19 Andreas Jaeger <aj@suse.de>
34690
34691 [BZ #13114]
34692 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34693 non-existant file when using close-on-exec mode.
34694
c88f1766
UD
346952011-08-20 Ulrich Drepper <drepper@gmail.com>
34696
0276a718
UD
34697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34698 the very first instruction.
34699
c88f1766
UD
34700 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34701 the CFI state in the end.
34702 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34703 inclusion of dl-trampoline.h.
34704 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34705
51ccffa0
AS
347062011-08-19 Andreas Schwab <schwab@redhat.com>
34707
94d7165f
AS
34708 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34709 expectations for long double.
34710
51ccffa0
AS
34711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34712 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34713
fd708658 347142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34715
34716 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34717 artificual limit depends upon the system page size.
34718
44f0a71e
UD
347192011-08-17 Ulrich Drepper <drepper@gmail.com>
34720
34721 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34722 * resolv/Makefile: Define CFLAGS-libresolv.
34723
8de79a24
AS
347242011-08-17 Andreas Schwab <schwab@redhat.com>
34725
34726 * nss/makedb.c (compute_tables): Make variables used in nested
34727 function static.
34728
27724598
UD
347292011-08-17 Ulrich Drepper <drepper@gmail.com>
34730
c5305d88
UD
34731 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34732 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34733 if buffer was too small.
34734
27724598
UD
34735 * elf/pldd.c (main): Attach to all threads in the process.
34736 Rewrite /proc handling to use *at functions.
34737
076fe015
UD
347382011-08-16 Ulrich Drepper <drepper@gmail.com>
34739
174baab3
UD
34740 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34741 specifies first scope to show.
34742 (dl_open_worker): Update callers. Move printing scope of new
34743 object to before the relocation.
44f0a71e 34744 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34745 * sysdeps/generic/ldsodefs.h: Update declaration.
34746
076fe015
UD
34747 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34748 string for the scope number.
34749
a60df2c3
UD
347502011-08-14 Ulrich Drepper <drepper@gmail.com>
34751
34752 * nscd/servicescache.c (cache_addserv): Make sure written is always
34753 initialized.
34754
5e4287d1
RM
347552011-08-14 Roland McGrath <roland@hack.frob.com>
34756
85ae0589
RM
34757 * sysdeps/i386/i486/bits/atomic.h
34758 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34759 statement expression, so as to suppress "set but not used" warning.
34760 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34761
69f63097
RM
34762 * string/strncat.c (STRNCAT): Use prototype definition.
34763
675456ef
RM
34764 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34765 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34766 -Iprograms here.
34767 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34768 (localedef-modules): Add localedef.
34769 (locale-modules): Add locale.
34770
5e4287d1
RM
34771 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34772 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34773 to avoid a warning.
34774
9c96ff23
DM
347752011-08-14 David S. Miller <davem@davemloft.net>
34776
34777 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34778 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34779
f9ddf089
UD
347802011-08-13 Ulrich Drepper <drepper@gmail.com>
34781
44f0a71e 34782 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34783 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34784 * elf/rtld.c (dl_main): Set l_name of vDSO.
34785 Call _dl_show_scope when DL_DEBUG_SCOPES.
34786 (process_dl_debug): Recognize scopes flag and also set it for all.
34787 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34788 Declare _dl_show_scope.
34789
1dc27704
UD
34790 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34791 (do_dlopen): Pass caller_dlopen to dl_open.
34792 (__libc_dlopen_mode): Initialize caller_dlopen.
34793
f9ddf089
UD
34794 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34795 of libc. Make tolower call locale-independent. Optimize a bit by
34796 using isdigit instead of isalnum.
34797 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34798
9ac533d3
UD
347992011-08-12 Ulrich Drepper <drepper@gmail.com>
34800
34801 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34802 was a dependency or dynamically loaded.
34803
89edf2e9
UD
348042011-08-11 Ulrich Drepper <drepper@gmail.com>
34805
8e999d29
UD
34806 * intl/l10nflist.c: Allow architecture-specific pop function.
34807 * sysdeps/x86_64/l10nflist.c: New file.
34808
89edf2e9
UD
34809 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34810 classification.
34811
14d96785
AS
348122011-08-10 Andreas Schwab <schwab@redhat.com>
34813
34814 * include/dirent.h: Add libc_hidden_proto for scandirat and
34815 scandirat64. Don't declare __scandirat64.
34816 * dirent/scandirat.c: Add libc_hidden_def.
34817 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34818 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34819
6761ac04
DM
348202011-08-10 David S. Miller <davem@davemloft.net>
34821
34822 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34823 enum.
34824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34825 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34827
c55fbd1e
UD
348282011-08-09 Ulrich Drepper <drepper@gmail.com>
34829
34830 * Versions.def [libc]: Add GLIBC_2.15.
34831 * dirent/Makefile (routines): Add scandirat and scandirat64.
34832 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34833 GLIBC_2.15.
34834 * dirent/dirent.h: Declare scandirat and scandirat64.
34835 * dirent/scandirat.c: New file.
34836 * dirent/scandirat64.c: New file.
34837 * sysdeps/wordsize-64/scandirat.c: New file.
34838 * sysdeps/wordsize-64/scandirat64.c: New file.
34839 * dirent/opendir.c: Define opendirat.
34840 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34841 using scandirat.
34842 * dirent/scandir64.c: Adjust for scandir.c change.
34843 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34844 __scandirat64, and __scandir_cancel_handler.
34845 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34846 additional parameter and use openat instead of open (outside of ld.so).
34847 Add new __opendir as wrapper around __opendirat.
34848 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34849 here without requiring old scandirat implementation.
34850
879165f2
UD
348512011-08-08 Ulrich Drepper <drepper@gmail.com>
34852
34853 * dirent/scandir.c (cancel_handler): Renamed to
34854 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34855 defined. Adjust users.
34856 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34858
cb7e923b
UD
348592011-08-04 Ulrich Drepper <drepper@gmail.com>
34860
16292edd
UD
34861 * string/test-string.h (IMPL): Use __STRING to expand name and then
34862 stringify it.
34863
cb7e923b
UD
34864 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34865 of cleanups.
34866
cff82933
LD
348672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34868
34869 * string/Makefile: Update.
34870 (strop-tests): Append strncat.
34871 * string/test-wcscmp.c: New file.
34872 New comprehensive test for wcscmp.
34873 * string/test-strcmp.c: Update.
34874 (WIDE): New define.
34875
9be9bfcc
AS
348762011-07-22 Andreas Schwab <schwab@redhat.com>
34877
34878 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34879 line.
34880
2e96f1c7
AS
348812011-07-26 Andreas Schwab <schwab@redhat.com>
34882
34883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34884 encoding to ACE if AI_IDN.
34885
85188888
JJ
348862011-08-01 Jakub Jelinek <jakub@redhat.com>
34887
34888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34889 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34890
5fa16e9b
LD
348912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34892
34893 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34894 Fix overflow bug in strncat.
34895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34896
34897 * string/test-strncat.c: Update.
34898 Add new tests for checking overflow bugs.
34899
349002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34901
34902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34903 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34904 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34905 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34907 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34908 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34909 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34910 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34911
34912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34913 (USE_AS_STRCAT): Define.
34914 Add strcat and strncat support.
34915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34916
8c1a459f
AS
349172011-07-25 Andreas Schwab <schwab@redhat.com>
34918
34919 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34920 __n bigger than INT_MAX+1.
34921 (__strncmp_g): Likewise.
34922
bba33c28
UD
349232011-07-23 Ulrich Drepper <drepper@gmail.com>
34924
798be72d
UD
34925 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34926 * libio/stido.h: Likewise.
34927
8accd4dc
UD
34928 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34929 (AF_NFC): Define.
34930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34931 (AF_NFC): Define.
34932
cbff0d96
UD
34933 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34936 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34938
9191c04a
UD
34939 [BZ #13021]
34940 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34941 installed.
34942
bba33c28
UD
34943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34944 typo.
34945 (_dl_x86_64_save_sse): Likewise.
34946
90f139dd
UD
349472011-07-22 Ulrich Drepper <drepper@gmail.com>
34948
1aae088a
UD
34949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34950 OSXSAVE.
34951 (_dl_x86_64_save_sse): Likewise.
34952
8e2045f5
UD
34953 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34954
90f139dd
UD
34955 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34956
1d002f25
AS
349572011-07-21 Andreas Schwab <schwab@redhat.com>
34958
34959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34960 change.
34961 (_dl_x86_64_save_sse): Use correct AVX check.
34962
21137f89
UD
349632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34964
34965 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34966 bug in strncpy/strncat.
34967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34968
a65c0b7a
UD
349692011-07-21 Ulrich Drepper <drepper@gmail.com>
34970
34971 * string/tester.c (test_strcat): Add tests for different alignments
34972 of source and destination.
34973 (test_strncat): Likewise.
34974
6986b98a
UD
349752011-07-20 Ulrich Drepper <drepper@gmail.com>
34976
90bb2039
UD
34977 [BZ #12852]
34978 * posix/glob.c (glob): Check passed in values before using them in
34979 expressions to avoid some overflows.
34980 (glob_in_dir): Likewise.
34981
5644ef54
UD
34982 [BZ #13007]
34983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34984 check for AVX enablement so that we don't crash with old kernels and
34985 new hardware.
34986 * elf/tst-audit4.c: Add same checks here.
34987 * elf/tst-audit6.c: Likewise.
34988
34989 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34990
bfc9dc9b
AS
349912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34992
34993 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34994
702e64bb
UD
349952011-07-20 Ulrich Drepper <drepper@gmail.com>
34996
34997 * po/cs.po: Update from translation team.
34998 * po/bg.po: Likewise.
34999
295e904f
MP
350002011-07-12 Marek Polacek <mpolacek@redhat.com>
35001
35002 * misc/sys/cdefs.h: Add support for const attribute.
35003 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35004 to gnu_dev_{major,minor,makedev} functions.
35005
3ff94596
MP
350062011-07-20 Marek Polacek <mpolacek@redhat.com>
35007
35008 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35009
28b59fca
AS
350102011-07-20 Andreas Schwab <schwab@redhat.com>
35011
35012 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35013 strlen results.
35014
19df733e
AK
350152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35016
35017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35018 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35019 register in order to avoid conflicts with the soft frame pointer
35020 being held in r11 when necessary.
35021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35022 (INTERNAL_VSYSCALL_NCS): Likewise.
35023
c8835729
MP
350242011-07-14 Marek Polacek <mpolacek@redhat.com>
35025
35026 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35027 * elf/dl-fini.c (_dl_fini): Adjust caller.
35028 * elf/dl-close.c (_dl_close_worker): Likewise.
35029 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35030
b902330c
MP
350312011-07-15 Marek Polacek <mpolacek@redhat.com>
35032
8991e135
MP
35033 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35034 "aux_cache->nlibs < 0".
35035
b902330c
MP
35036 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35037 in the reload-count case.
35038
99710781
LD
350392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35040
35041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35042 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35043 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35044 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35045 * sysdeps/x86_64/multiarch/strcat.S: New file.
35046 * sysdeps/x86_64/multiarch/strncat.S: New file.
35047 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35048 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35049 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35050 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35052 (USE_AS_STRCAT): Define.
35053 Add strcat and strncat support.
35054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35055 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35056 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35057 * string/strncat.c: Update.
35058 (USE_AS_STRNCAT): Define.
35059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35060 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35061 and i7.
35062 * sysdeps/x86_64/multiarch/init-arch.h
35063 (bit_Prefer_PMINUB_for_stringop): New.
35064 (index_Prefer_PMINUB_for_stringop): Likewise.
35065 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35066 bit_Prefer_PMINUB_for_stringop.
35067
7dc6bd90
UD
350682011-07-19 Ulrich Drepper <drepper@gmail.com>
35069
35070 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35071 buffer64.
35072 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35073 of casting of buffer.
35074 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35075 buffer32 and buffer64.
35076 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35077 writes instead of casting of buffer.
35078 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35079 buffer32.
35080 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35081 casting of buffer.
35082
e0e72284
AS
350832011-07-19 Andreas Schwab <schwab@redhat.com>
35084
35085 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35086
feb1eb0b
UD
350872011-07-19 Ulrich Drepper <drepper@gmail.com>
35088
35089 * nscd/nscd.c (termination_handler): Don't do anything for a database
35090 if it has not yet been initialized.
35091
298711ff
UD
350922011-07-18 Ulrich Drepper <drepper@gmail.com>
35093
35094 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35095
350962011-07-15 Marek Polacek <mpolacek@redhat.com>
35097
35098 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35099
f9d68389
UD
351002011-07-18 Ulrich Drepper <drepper@gmail.com>
35101
35102 * po/nl.po: Update from translation team.
35103 * po/sv.po: Likewise.
35104
db290cf5
RM
351052011-07-16 Roland McGrath <roland@hack.frob.com>
35106
35107 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35108 now disallowed by GCC.
5c550700 35109
fd5e21c7
RM
35110 * configure.in (use-default-link): Default to yes if a test -shared
35111 link meets our qualifications.
35112 * configure: Regenerated.
35113
5c550700
RM
35114 * config.make.in (output-format): New variable.
35115 * configure.in: Check for ld --print-output-format support.
35116 * configure: Regenerated.
35117 * Makerules ($(common-objpfx)format.lds)
35118 [$(output-format) != unknown]: Just use $(output-format),
35119 instead of the linker-script munging.
35120
9fa2c032
RM
351212011-07-14 Roland McGrath <roland@hack.frob.com>
35122
a6928d51
RM
35123 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35124 of $(common-objpfx)shlib.lds.
35125 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35126
661607b3
RM
35127 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35128 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35129
9fa2c032
RM
35130 * configure.in (-z relro check): Adjust test code to add a large
35131 writable data section after it.
35132 * configure: Regenerated.
35133
defe9061
RM
351342011-07-11 Roland McGrath <roland@hack.frob.com>
35135
35136 * configure.in (-z relro check): Fix test code to make the variable
35137 truly const.
35138 * configure: Regenerated.
35139
319b9ad4
UD
351402011-07-11 Ulrich Drepper <drepper@gmail.com>
35141
35142 * nscd/nscd.h (struct traced_file): Define.
35143 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35144 elements. Add traced_files.
35145 (inotify_fd): Declare.
35146 (register_traced_file): Declare.
35147 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35148 (inotify_fd): Export.
35149 (resolv_conf_descr): Remove.
35150 (nscd_init): Move inotify descriptor creation to main.
35151 Don't register files for notification here.
35152 (register_traced_file): New function.
35153 (invalidate_cache): Don't use reset_res to determine whether to call
35154 res_init, go through the list of registered files.
35155 (main_loop_poll): The inotify descriptors are now stored in the
35156 structures for the traced files.
35157 (main_loop_epoll): Likewise
35158 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35159 to __nss_disable_nscd.
35160 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35161 for a database anymore. Check the records for all the registered
35162 files instead.
35163 * nss/Makefile (libnss_files-routines): Add files-init.
35164 (libnss_db-routines): Add db-init.
35165 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35166 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35167 * nss/nss_db/db-init.c: New file.
35168 * nss/nss_files/files-init.c: New file.
35169 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35170 __nss_lookup_function.
35171 (__nss_lookup_function): Call nss_load_library.
35172 (nss_load_all_libraries): New function.
35173 (__nss_disable_nscd): Take parameter with callback function for files
35174 to register. Set is_nscd. Load all the DSOs for the NSS modules
35175 used for the cached services.
35176 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35178 options for features to all the files in nscd.
35179
35180 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35181
23bee3e8
RM
351822011-07-10 Roland McGrath <roland@hack.frob.com>
35183
35184 * csu/elf-init.c (__libc_csu_init): Comment typo.
35185
46a5b7f0
UD
351862011-07-09 Ulrich Drepper <drepper@gmail.com>
35187
35188 * po/pl.po: Update from translation team.
35189 * po/ja.po: Likewise.
35190 * po/ru.po: Likewise.
35191 * po/ko.po: Likewise.
35192 * po/fr.po: Likewise.
35193
d30cf5bb
RM
351942011-07-09 Roland McGrath <roland@hack.frob.com>
35195
113ddea4
RM
35196 * configure.in (.ctors/.dtors header and trailer check):
35197 Use an empirical test on a built program.
35198 * configure: Regenerated.
35199
574920b4
RM
35200 * configure.in (-z relro check): Use an empirical test on a built DSO.
35201 Detect, but do not require, on ia64.
35202 * configure: Regenerated.
35203
d30cf5bb
RM
35204 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35205 Update tests that use readelf to use $READELF instead.
35206 * configure: Regenerated.
35207
8538fdb3
UD
352082011-07-08 Ulrich Drepper <drepper@gmail.com>
35209
35210 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35211 if the result is not used.
35212
04d08991
AJ
352132011-07-05 Andreas Jaeger <aj@suse.de>
35214
35215 [BZ#9696]
35216 * stdlib/tst-strtod.c: Add testcase.
35217
de283087
AD
352182011-07-07 Ulrich Drepper <drepper@gmail.com>
35219
4e5f31c8 35220 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35221 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35222 The latter has a higher limit. Take additional parameter to pass to
35223 the new function.
35224 (__pathconf): Pass file to __statfs_link_max.
35225 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35226 __statfs_link_max.
35227 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35228 __statfs_link_max.
35229
de283087
AD
35230 [BZ #12868]
35231 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35233 Handle Lustre.
35234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35235 (__statfs_filesize_max): Likewise.
35236 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35237
c75fa153
AJ
352382011-07-05 Andreas Jaeger <aj@suse.de>
35239
35240 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35241
1a544854
UD
352422011-07-06 Marek Polacek <mpolacek@redhat.com>
35243
35244 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35245 `status' variable.
35246 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35247 Likewise.
35248
6f0eec67
UD
352492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35250
35251 * Makefile (strop-tests): Add strncat.
35252 * string/test-strncat.c: New file.
35253
aae30307
UD
352542011-06-30 Marek Polacek <mpolacek@redhat.com>
35255
35256 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35257
c0cfb5eb
UD
352582011-06-21 Andreas Jaeger <aj@suse.de>
35259
35260 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35261 Copy rule from iconvdata/Makefile.
35262
01636b21
UD
352632011-07-06 Ulrich Drepper <drepper@gmail.com>
35264
35265 [BZ #12922]
35266 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35267 but no long options are defined, just return 'W'.
35268
9895c8bc
UD
352692011-06-22 Marek Polacek <mpolacek@redhat.com>
35270
35271 [BZ #9696]
35272 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35273
5d4cf042
UD
352742011-07-06 Ulrich Drepper <drepper@gmail.com>
35275
35276 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35277 netgroups to read.
960e5535 35278 (innetgr): Likewise.
5d4cf042 35279
751eb97e
RM
352802011-07-05 Roland McGrath <roland@hack.frob.com>
35281
35282 * config.make.in (install_root): Default to $(DESTDIR).
35283
f15f1e45
UD
352842011-07-05 Ulrich Drepper <drepper@gmail.com>
35285
35286 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35287
4e34ac6a
RM
352882011-07-02 Roland McGrath <roland@hack.frob.com>
35289
5e9b6af4
RM
35290 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35291
84f9ea0f
RM
35292 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35293 containing directory rather than embedding absolute directory names.
35294
ea5ee9f7
RM
35295 * scripts/check-local-headers.sh: Rewritten using awk.
35296 Match by word, not by line. Print error messages for matches.
35297 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35298
1b74661a
RM
35299 * Makerules [shlib-lds-flags empty]:
35300 ($(common-objpfx)libc_pic.opts): New target.
35301 ($(common-objpfx)libc_pic.os.clean): New target.
35302 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35303
35304 * config.make.in (OBJCOPY): New variable.
35305 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35306 * configure: Regenerated.
35307
f781ef40
RM
35308 * config.make.in (use-default-link): New variable.
35309 * configure.in (use_default_link): Grok --with-default-link to set it.
35310 * configure: Regenerated.
35311 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35312 (shlib-lds, shlib-lds-flags): Define to empty.
35313
2d4fa81e
RM
35314 * Makerules (shlib-lds): New variable.
35315 (shlib-lds-flags): New variable.
35316 (build-shlib, build-moduile, build-module-asneeded): Use it.
35317 ($(common-objpfx)libc.so): Use $(shlib-lds).
35318 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35319 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35320
31fffa6b
RM
35321 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35322 DT_FLAGS/DT_FLAGS_1 with zero flags.
35323
4e34ac6a
RM
35324 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35325 linker script munging.
35326
fcfc776b
UD
353272011-07-02 Ulrich Drepper <drepper@gmail.com>
35328
35329 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35330 as 128-bit value.
35331 * crypt/sha512.c (sha512_process_block): Perform total addition using
35332 128-bit if possible.
35333 (__sha512_finish_ctx): Likewise.
35334 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35335 as 64-bit value.
35336 * crypt/sha256.c (SWAP64): Define.
35337 (sha256_process_block): Perform total addition using 64-bit if
35338 possible.
35339 (__sha256_finish_ctx): Likewise.
35340
99231d9a
UD
353412011-07-01 Ulrich Drepper <drepper@gmail.com>
35342
35343 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35344 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35345 * nscd/hstcache.c (cache_addhst): Likewise.
35346 * nscd/grpcache.c (cache_addgr): Likewise.
35347 * nscd/aicache.c (addhstaiX): Likewise
35348 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35349
445b4a53
TK
353502011-07-01 Thorsten Kukuk <kukuk@suse.de>
35351
35352 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35354 * nscd/hstcache.c (cache_addhst): Likewise.
35355 * nscd/grpcache.c (cache_addgr): Likewise.
35356 * nscd/aicache.c (addhstaiX): Likewise
35357
6d4d8e8e
AS
353582011-07-01 Andreas Schwab <schwab@redhat.com>
35359
35360 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35361 domain only when needed.
35362
89f654c5
AS
353632011-06-30 Andreas Schwab <schwab@redhat.com>
35364
35365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35366 is always restored.
35367
cf3b23ff
UD
353682011-06-29 Ulrich Drepper <drepper@gmail.com>
35369
35370 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35371 are re-adding the entry.
35372 * nscd/servicescache.c (cache_addserv): Likewise.
35373
751626f9
AJ
353742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35375
35376 * sysdeps/generic/dl-irel.h: fix protection against multiple
35377 inclusions.
35378 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35379
9113ea1f
UD
353802011-06-28 Ulrich Drepper <drepper@gmail.com>
35381
5c0b8d90
UD
35382 [BZ #12935]
35383 * malloc/memusage.sh: Fix quoting in message.
35384 * debug/xtrace.sh: Likewise.
35385
9113ea1f
UD
35386 * configure.in: Remove support for --experimental-malloc option, make
35387 it the default.
35388 * config.make.in: Likewise.
35389 * malloc/Makefile: Likewise.
35390
a4172181
AS
353912011-06-27 Andreas Schwab <schwab@redhat.com>
35392
35393 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35394 two-byte characters.
35395
78a7eee7
RM
353962011-06-27 Roland McGrath <roland@hack.frob.com>
35397
62bede13
RM
35398 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35399 AC_CACHE_CHECK invocation.
35400 * configure: Regenerated.
35401
78a7eee7
RM
35402 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35403
5ce33a62
UD
354042011-06-27 Ulrich Drepper <drepper@gmail.com>
35405
034807a9
UD
35406 [BZ #12350]
35407 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35408 bit from old_res_options.
35409
4902da17
UD
35410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35411
5ce33a62
UD
35412 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35413 value type for setfct.
35414
c2344f56
L
354152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35416
35417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35418 __gettimeofday instead of gettimeofday.
35419
68468076
UD
354202011-06-26 Ulrich Drepper <drepper@gmail.com>
35421
35422 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35423
acb0d739
L
354242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35425
35426 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35427
35428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35429 info.
35430
8912479f
L
354312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35432
35433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35434 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35435 strcpy-sse2-unaligned strncpy-sse2-unaligned
35436 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35437 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35438 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35439 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35440 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35443 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35444 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35445 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35446 (STRCPY): Support SSE2 and SSSE3 versions.
35447
d5495a11
UD
354482011-06-24 Ulrich Drepper <drepper@gmail.com>
35449
35450 [BZ #12874]
35451 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35452 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35453 kernels which artificially limit size of requests.
35454
0b1cbaae
L
354552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35456
35457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35458 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35459 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35460 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35461 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35462 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35463 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35464 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35467 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35468 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35469 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35470 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35471 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35473 Enable unaligned load optimization for Intel Core i3, i5 and i7
35474 processors.
35475 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35476 Define.
35477 (index_Fast_Unaligned_Load): Define.
35478 (HAS_FAST_UNALIGNED_LOAD): Define.
35479
07f494a0
MP
354802011-06-23 Marek Polacek <mpolacek@redhat.com>
35481
35482 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35483
fa3fc0fe
UD
354842011-06-22 Ulrich Drepper <drepper@gmail.com>
35485
35486 [BZ #12907]
35487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35488 until it is clear that the information is realy needed.
35489 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35490
e12df166
AS
354912011-06-22 Andreas Schwab <schwab@redhat.com>
35492
35493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35494
852eb34d
UD
354952011-06-22 Ulrich Drepper <drepper@gmail.com>
35496
84e2a551
UD
35497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35498 /sys/devices/system/cpu/online if it is usable.
35499
852eb34d
UD
35500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35501 reading the information from the /proc filesystem to once a second.
35502
6e502e19
UD
355032011-06-21 Andreas Jaeger <aj@suse.de>
35504
35505 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35506 NULL after inclusion of kernel headers.
35507
75d39ff2
UD
355082011-06-21 Ulrich Drepper <drepper@gmail.com>
35509
51f9aa6a
UD
35510 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35511 calls to internal_setent.
35512
c0244a9d
UD
35513 [BZ #12885]
35514 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35515 addresses using gethostbyname4_r ignore IPv4 addresses.
35516
c5e3c2ae
UD
35517 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35518 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35519
75d39ff2
UD
35520 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35521
42675c6f
DM
355222011-06-20 David S. Miller <davem@davemloft.net>
35523
35524 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35525 inclusions.
35526 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35527
35528 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35529 (elf_irel): Use it.
35530 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35531 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35532 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35533 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35534 * sysdeps/x86_64/dl-irel.h: Likewise.
35535
35536 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35537 * elf/dl-sym.c: Likewise.
35538
57912a71
UD
355392011-06-15 Ulrich Drepper <drepper@gmail.com>
35540
35541 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35542 need to dereference resplen2.
35543
ee22793d
AS
355442011-06-14 Andreas Schwab <schwab@redhat.com>
35545
35546 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35547
a9e836b0
UD
355482011-06-15 Ulrich Drepper <drepper@gmail.com>
35549
77fb9117
UD
35550 * Makeconfig: Define vardbdir and inst_vardbdir.
35551 * nss/Makefile: Add rules to install db-Makefile.
35552
40c1b22c
UD
35553 * nss/nss_db/db-XXX.c: Cleanup.
35554
9f2da732
UD
35555 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35556 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35557 GLIBC_PRIVATE.
35558 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35559 * nss/makedb.c: Implement -g option to specify that value strings
35560 are generated and should not be added to table iterated over for
35561 get*ent calls.
35562 * nss/nss_db/db-initgroups.c: New file.
35563
82e9a1f7
UD
35564 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35565 interface.
35566
c41af17e
UD
35567 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35568 (internal_getgrouplist): Adjust to name change.
35569 Update use_initgroups_entry if this is not the first call.
35570 * nss/databases.def: Add initgroups entry.
35571
a9e836b0
UD
35572 * nss/makedb.c (compute_tables): Check result of multiple hash table
35573 sizes to minimize maximum chain length.
35574
2666d441
UD
355752011-06-14 Ulrich Drepper <drepper@gmail.com>
35576
35577 * Versions.def: Add entry for libnss_db.
35578 * shlib-versions: Likewise.
35579 * nss/Makefile: Add rules to build libnss_db.
35580 * nss/Versions: Add libnss_db information. Organize libnss_files
35581 entries better.
35582 * nss/db-Makefile: Add gshadow support. Change rules for the new
35583 makedb progra. Some minor improvements to generate smaller files.
35584 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35585 here from...
35586 * nss/makedb.c: ...here.
35587 Improve database format to be smaller and require less memory at
35588 runtime.
35589 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35590 db anymore.
35591 * nss/nss_db/db-netgrp.c: Likewise.
35592 * nss/nss_db/db-open.c: Likewise.
35593 * nss/nss_files/flies-XXX.x: Adjust comments.
35594 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35595 * nss/nss_files/files-grp.c: Likewise.
35596 * nss/nss_files/files-hosts.c: Likewise.
35597 * nss/nss_files/files-network.c: Likewise.
35598 * nss/nss_files/files-proto.c: Likewise.
35599 * nss/nss_files/files-pwd.c: Likewise.
35600 * nss/nss_files/files-rpc.c: Likewise.
35601 * nss/nss_files/files-service.c: Likewise.
35602 * nss/nss_files/files-sgrp.c: Likewise.
35603 * nss/nss_files/files-spwd.c: Likewise.
35604 * nss/nss_db/db-alias.c: Removed.
35605 * nss/nss_db/dummy-db.h: Removed.
35606
9ee76b5a
UD
356072011-06-02 Ulrich Drepper <drepper@gmail.com>
35608
35609 * nss/makedb.c: Rewritten to not use database library.
35610 * nss/Makefile: Update to build new makedb program.
35611
c71ca1f8
AJ
356122011-06-14 Andreas Jaeger <aj@suse.de>
35613
35614 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35615 memset declaration.
35616
3154bfb8
UD
356172011-06-10 Andreas Schwab <schwab@redhat.com>
35618
35619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35620 tmpbuf.
35621
b350afab
RM
356222011-06-10 Roland McGrath <roland@hack.frob.com>
35623
decd4e50
RM
35624 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35625 * elf/Makefile ($(objpfx)ld.so): Likewise.
35626
5615eaf2
RM
35627 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35628 Don't list ld.so twice in dependencies.
35629
35630 * posix/bug-regex31.c: Include <stdlib.h>.
35631
35632 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35633
35634 * nis/nss_compat/compat-spwd.c
35635 (getspent_next_nss_netgr): Remove unused variable.
35636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35637
35638 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35639 nonmembers" output to use the right array.
35640
35641 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35642
35643 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35644
35645 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35646 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35647 * catgets/gencat.c (read_input_file): Likewise.
35648 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35649
35650 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35651 variable definition inside #if's controlling its use.
35652
35653 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35654
35655 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35656
35657 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35658
35659 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35660 unreachable code.
35661
35662 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35663
b68e08db
RM
35664 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35665 * configure: Regenerated.
35666
b350afab
RM
35667 * Makerules: Revert last change.
35668 * elf/Makefile: Likewise.
35669
28368601
RM
356702011-06-09 Roland McGrath <roland@hack.frob.com>
35671
35672 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35673 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35674 (reloc-link): Likewise.
35675
11988f8f
UD
356762011-06-09 Ulrich Drepper <drepper@gmail.com>
35677
35678 * elf/Makefile: Add rules to build pldd.
35679 * elf/pldd.c: New file.
35680 * elf/pldd-xx.c: New file.
35681
e80fab37
UD
356822011-06-07 Ulrich Drepper <drepper@gmail.com>
35683
35684 * version.h: Update for 2.15 development version.
35685
9b849836
DM
356862011-06-07 David S. Miller <davem@davemloft.net>
35687
35688 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35689 ifuncs.
35690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35691 elf_machine_lazy_rel): Likewise.
35692 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35694 elf_machine_lazy_rel): Likewise.
35695 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35696 dl_hwcap via passed in argument.
35697 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35698 Likewise.
35699
5a31b283
AK
357002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35701
35702 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35703
069e52f8
RM
357042011-06-06 Roland McGrath <roland@hack.frob.com>
35705
35706 [BZ #12849]
35707 * manual/fdl-1.1.texi: New file, verbatim from:
35708 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35709 * manual/lgpl-2.1.texi: New file, verbatim from:
35710 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35711 * manual/Makefile (licenses): New variable, list those new file names.
35712 (texis): Use it.
35713 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35714
35715 * manual/fdl.texi: File removed.
35716 * manual/lesser.texi: File removed.
35717 * manual/libc.texinfo (Copying, Documentation License):
35718 Use new @include file names, put @appendix directive before @include.
35719
f16846a5
JJ
357202011-06-04 Jakub Jelinek <jakub@redhat.com>
35721
35722 [BZ #12841]
35723 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35724 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35725 (mq_open): Add __NTH.
35726
3d29045b
L
357272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35728
35729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35730 Assume Intel Core i3/i5/i7 processor if AVX is available.
35731
8c297311
UD
357322011-05-31 Ulrich Drepper <drepper@gmail.com>
35733
35734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35735 typo.
35736
c8fc0c91
UD
357372011-05-31 Andreas Schwab <schwab@redhat.com>
35738
35739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35740 memory. Use alloca_account. Fix memory leak when retrying.
35741
5b27a807
UD
357422011-05-31 Ulrich Drepper <drepper@gmail.com>
35743
356f8bc6
UD
35744 * version.h (RELEASE): Bump for 2.14 release.
35745 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35746
5b27a807
UD
35747 * config.make.in (RANLIB): Remove entry.
35748
01f16ab0
UD
357492011-05-30 Ulrich Drepper <drepper@gmail.com>
35750
41fce8bd
UD
35751 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35752 (libc.pot): Work around missing support for .ksh extension in xgettext.
35753
4769ae77
UD
35754 [BZ #12684]
35755 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35756 if both request failed.
35757 (send_dg): In case of server errors clear resplen or *resplen2.
35758
6b1e7d19
UD
35759 [BZ #12454]
35760 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35761 when there are multiple maps.
35762 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35763 (_dl_fini): Remove test here.
35764
01f16ab0
UD
35765 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35766
b1ebd700
UD
357672011-05-29 Ulrich Drepper <drepper@gmail.com>
35768
7ae22829
UD
35769 [BZ #12350]
35770 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35771 bit from old_res_options.
35772 (gaih_inet): Likewise.
35773
553149f6 35774 [BZ #11099]
18a84741 35775 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35776 as signed.
35777
652ffab1
UD
35778 * resolv/res_init.c (res_setoptions): Make the code more compact.
35779
16985fd0
UD
35780 [BZ #11558]
35781 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35782 set RES_USEVC.
35783
0464f746
UD
35784 [BZ #11634]
35785 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35786
7d17596c
UD
35787 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35788
cf6bbbd7
UD
35789 [BZ #11781]
35790 * malloc/malloc.h: Declare malloc hook variables as volatile.
35791
13f1ab36
UD
35792 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35793 in last patch.
35794
b1ebd700
UD
35795 [BZ #11799]
35796 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35797 raise in the comment.
80e2212d
UD
35798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35800 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35801
ce67228d
UD
358022011-05-28 Ulrich Drepper <drepper@gmail.com>
35803
8887a920
UD
35804 [BZ #12811]
35805 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35806 grow the buffers more if it already has to be sufficient.
35807 (build_wcs_upper_buffer): Likewise.
35808 * posix/regexec.c (check_matching): Likewise.
35809 (clean_state_log_if_needed): Likewise.
35810 (extend_buffers): Don't enlarge buffers beyond size of the input
35811 buffer.
35812 Patches mostly by Emil Wojak <emil@wojak.eu>.
35813 * posix/bug-regex32.c: New file.
35814 * posix/Makefile (tests): Add bug-regex32.
35815
4f031072
UD
35816 * locale/findlocale.c (_nl_find_locale): Return right away if
35817 _nl_explode_name failed.
35818 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35819
d0478f0c
UD
35820 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35821
de81b246
UD
35822 * debug/xtrace.sh: Unify messages.
35823 * malloc/memusage.sh: Likewise.
35824
c738465a
UD
35825 [BZ #12813]
35826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35827 time symbol from vDSO. Substitute with vsyscall if not available.
35828 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35829 __vdso_time.
35830
f1f929d7
UD
35831 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35832 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35833 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35834 Add sendmmsg and internal_sendmmsg.
35835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35836 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35838
ce67228d
UD
35839 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35840 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35841 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35842
e57420c6
UD
358432011-05-27 Ulrich Drepper <drepper@gmail.com>
35844
a8509ca5
UD
35845 [BZ #12813]
35846 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35847 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35848 available.
35849 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35850 __vdso_getcpu.
35851
e57420c6
UD
35852 [BZ #12814]
35853 * iconvdata/Makefile (tests): Add bug-iconv9.
35854 * iconvdata/bug-iconv9.c: New file.
35855
4d07db15
AS
358562011-05-27 Andreas Schwab <schwab@redhat.com>
35857
35858 [BZ #12814]
35859 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35860
ea486f69
JJ
358612011-05-25 Jakub Jelinek <jakub@redhat.com>
35862
35863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35864 (struct user_regs_struct): Change intcs field back to cs.
35865
6f038433
UD
358662011-05-25 Ulrich Drepper <drepper@gmail.com>
35867
35868 * po/ja.po: Update from translation team.
35869
67f86a25
UD
358702011-05-23 Ulrich Drepper <drepper@gmail.com>
35871
35872 [BZ #12795]
35873 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35874 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35875
def7fbd6
AS
358762011-05-20 Andreas Schwab <schwab@redhat.com>
35877
35878 * stdlib/longlong.h: Update from GCC.
35879
f50ef8f1
AS
358802011-05-23 Andreas Schwab <schwab@redhat.com>
35881
35882 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35883 parameter name.
35884 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35885 Add parameter name.
35886 (__sysconf): Pass it down.
35887
de7ce8f1
UD
358882011-05-22 Ulrich Drepper <drepper@gmail.com>
35889
f2962a71
UD
35890 [BZ #12671]
35891 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35892 some situations.
35893 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35894 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35895 add in in __libc_use_alloca calls. Adjust callers.
35896 (glob): Use malloc in some situations.
35897
de7ce8f1
UD
35898 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35899 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35900 pltexit.
35901
aec84f53
UD
359022011-05-21 Ulrich Drepper <drepper@gmail.com>
35903
05bb4a68
UD
35904 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35905 and CLOCK_BOOTTIME_ALARM.
35906
7ea72f99
UD
35907 [BZ #12782]
35908 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35909 is returned.
35910
7e4afad5
UD
35911 * string/_strerror.c (__strerror_r): Print negative errors as signed
35912 numbers.
35913
8e211fec
UD
35914 [BZ #12777]
35915 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35916 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35917 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35918
f7d82dc9
UD
35919 * configure.in: Fix typo in redirection and correct removal of test
35920 files in two cases.
35921
cc9e536d
UD
35922 [BZ #12788]
35923 * locale/setlocale.c (new_composite_name): Fix test to check for
35924 identical name of all categories.
35925
aec84f53
UD
35926 [BZ #12792]
35927 * libio/filedoalloc.c (local_isatty): New function.
35928 (_IO_file_doallocate): Use local_isatty.
35929 * stdio-common/perror.c (perror): In case a new stream is used
35930 forward the stream error.
35931 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35932 error flag.
35933
78e64fdc
RT
359342011-05-20 Ulrich Drepper <drepper@gmail.com>
35935
34a9094f
UD
35936 [BZ #11869]
35937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35938 alloca.
35939 * include/alloca.h (extend_alloca_account): Define.
35940
78e64fdc
RT
35941 [BZ #11857]
35942 * posix/regex.h: Fix comments with documentation of user-accessible
35943 fields after compilation and describe correct free'ing of pattern
35944 after re_compile_pattern.
35945 Patch by Reuben Thomas <rrt@sc3d.org>.
35946
457bddfc
RA
359472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35948
35949 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35950 and -mno-altivec to prevent the compiler from using Altivec and/or
35951 VSX instructions when the corresponding registers are not available.
35952
a4527b51
AS
359532011-05-19 Andreas Schwab <schwab@redhat.com>
35954
35955 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35956
ed690b2f
UD
359572011-05-19 Ulrich Drepper <drepper@gmail.com>
35958
35959 * libio/freopen.c (freopen): Use __dup2, not dup2.
35960 * libio/freopen64.c (freopen64): Likewise.
35961
8db73634
L
359622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35963
35964 [BZ #12775]
35965 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35966 * math/Makefile (tests): Add test-powl.
35967 (CFLAGS-test-powl.c): Define.
35968 * math/test-powl.c: New file.
35969
0a197a9d
L
359702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35971
35972 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35973
ee30c380
UD
359742011-05-17 Ulrich Drepper <drepper@gmail.com>
35975
35976 [BZ #11837]
35977 * iconvdata/gb18030.c: Update to GB18020-2005.
35978
6ce75379
UD
359792011-05-16 Ulrich Drepper <drepper@gmail.com>
35980
a4b89fd8
AR
35981 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35982 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35983 Patch by Aharon Robbins <arnold@skeeve.com>.
35984
ea389b12
UD
35985 [BZ #11892]
35986 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35987 on the stack.
35988
68a3f91f
UD
35989 [BZ #11895]
35990 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35991 through underflows.
35992
15cc7dd1
UD
35993 [BZ #12766]
35994 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35995 point to strings before performing equality test for error_one_per_line
35996 mode.
35997
f3799213
UD
35998 [BZ #11697]
35999 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36000
d79a9c94
UD
36001 [BZ #11820]
36002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36003 (struct user_fpregs_struct): Avoid __uint*_t types.
36004
56e5eb46
UD
36005 [BZ #6420]
36006 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36007 symbol info. Use it instead of calling _dl_addr locally.
36008 (lock_and_info): New function.
36009 (tr_freehook): Call lock_and_info and pass symbol info as additional
36010 parameter to tr_where.
36011 (tr_mallochook): Likewise.
36012 (tr_reallochook): Likewise.
36013 (tr_memalignhook): Likewise.
36014
6ce75379
UD
36015 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36016 used and couldn't be at all thread-safe.
36017
f8a3b5bf
UD
360182011-05-15 Ulrich Drepper <drepper@gmail.com>
36019
94b7cc37
UD
36020 * libio/freopen.c (freopen): Don't close old file descriptor
36021 before the new one is opened. Instead dup the new file descriptor
36022 to the old one after the new stream is created.
36023 * libio/freopen64.c (freopen64): Likewise.
36024 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36025 * libio/fileops.c (_IO_new_file_close_it): Handle new
36026 _IO_FLAGS2_NOCLOSE flag.
36027 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36028 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36029 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36030 _IO_FLAGS2_NOCLOSE flag.
36031 * include/unistd.h: Add hidden_proto for dup3.
36032 Define __have_dup3.
36033 * io/dup3.c: Define hidden symbol.
36034 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36035
bd25564e
UD
36036 [BZ #7101]
36037 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36038 when an incomplete long option is used.
36039 * posix/tst-getopt_long1.c: New file.
36040 * posix/Makefile (tests): Add tst-getopt_long1.
36041
c84cfef4
UD
36042 [BZ #10138]
36043 * scripts/config.guess: Update from autoconf-2.68.
36044 * scripts/config.sub: Likewise.
36045
3b85df27
UD
36046 [BZ #10157]
36047 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36048 tests into ...
36049 (has_cpuclock): ...this. New function.
36050 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36051 macro here based on has_cpuclock code.
36052
15a856b1
UD
36053 [BZ #10149]
36054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36055 First byte (not low byte) is now always NUL.
36056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36057
05f399e6
UD
36058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36059 Use non-cancelable interfaces.
36060
10a52685 36061 [BZ #9809]
94ecc67d
UD
36062 * locale/iso-639.def: Add entry for Sorani.
36063
f8a3b5bf
UD
36064 [BZ #11901]
36065 * include/stdlib.h: Move include protection to the right place.
36066 Define abort_msg_s. Declare __abort_msg with it.
36067 * stdlib/abort.c (__abort_msg): Adjust type.
36068 * assert/assert.c (__assert_fail_base): New function. Majority
36069 of code from __assert_fail. Allocate memory for __abort_msg with
36070 mmap.
36071 (__assert_fail): Now call __assert_fail_base.
36072 * assert/assert-perr.c: Remove bulk of implementation. Use
36073 __assert_fail_base.
36074 * include/assert.hL Declare __assert_fail_base.
36075 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36076 mmap.
36077 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36078
1af4e298
UD
360792011-05-14 Ulrich Drepper <drepper@gmail.com>
36080
f8a3b5bf 36081 [BZ #11952]
d26dfc60
MG
36082 [BZ #12453]
36083 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36084 until all modules are registered in the DTV.
36085 * elf/Makefile: Add rules to build and run tst-tls19.
36086 * elf/tst-tls19.c: New file.
36087 * elf/tst-tls19mod1.c: New file.
36088 * elf/tst-tls19mod2.c: New file.
36089 * elf/tst-tls19mod3.c: New file.
36090 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36091
2fc54d6f
UD
36092 [BZ #12083]
36093 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36094 correctly.
36095
98d76b46
UD
36096 [BZ #12601]
36097 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36098 two-byte sequence errors.
36099 * iconvdata/Makefile (tests): Add bug-iconv8.
36100 * iconvdata/bug-iconv8.c: New file.
36101
da3c19ef
UD
36102 [BZ #12626]
36103 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36104 buf2 definition.
36105
ca408c15
UD
36106 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36107
d6f67f7d
UD
36108 [BZ #12432]
36109 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36110 (dummy_getcfa): New function.
36111 (init): Get _Unwind_GetCFA address, use dummy if not found.
36112 (backtrace_helper): In recursion check, also check whether CFA changes.
36113 (__backtrace): Completely initialize arg.
36114
1af4e298 36115 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36116 storing incomplete byte sequence in state object. Avoid testing for
36117 guaranteed too small input if we know there is enough data available.
1af4e298 36118
da62f81b
AS
361192011-05-11 Andreas Schwab <schwab@redhat.com>
36120
36121 * Makeconfig (+link-pie): Indent.
36122 * Rules (binaries-pie): Define if $(have-fpie) and
36123 $(build-shared).
36124 (binaries-shared): Also filter out $(binaries-pie).
36125 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36126 * nscd/Makefile (others-pie): Add nscd.
36127 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36128 ($(objpfx)nscd): Remove command override.
36129 * login/Makefile (others-pie): Add pt_chown.
36130 ($(objpfx)pt_chown): Remove command override.
36131 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36132 remove command overrides.
36133
fcabc0f8
UD
361342011-05-13 Ulrich Drepper <drepper@gmail.com>
36135
20030ae6
UD
36136 * libio/tst_putwc.c: Fix error messages.
36137
fcabc0f8
UD
36138 [BZ #12724]
36139 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36140 currently writing and seek to current position when not.
36141 * libio/Makefile (tests): Add bug-fclose1.
36142 * libio/bug-fclose1.c: New file.
36143
320a5dc0
PB
361442011-05-12 Ulrich Drepper <drepper@gmail.com>
36145
36146 [BZ #12511]
36147 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36148 don't set DF_1_NODELETE here.
36149 (do_lookup_x): When entering new entry test for copy relocation
36150 and if necessary set DF_1_NODELETE flag.
36151 * elf/tst-unique4.cc: New file.
36152 * elf/tst-unique4.h: New file.
36153 * elf/tst-unique4lib.cc: New file.
36154 * elf/Makefile: Add rules to build and run tst-unique4.
36155 Patch by Piotr Bury <pbury@goahead.com>.
36156
22836f52
UD
361572011-05-11 Ulrich Drepper <drepper@gmail.com>
36158
f574184a
UD
36159 [BZ #12052]
36160 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36161
e1fb097f
UD
36162 [BZ #12625]
36163 * misc/mntent_r.c (addmntent): Flush the stream after the output
36164
22836f52
UD
36165 [BZ #12393]
36166 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36167 (is_trusted_path_normalize): Skip initial colon. Append slash
36168 to empty buffer. Duplicate is_trusted_path code but allow
36169 constructed patch to be prefix.
36170 (is_dst): Allow $ORIGIN followed by /.
36171 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36172 Correct testing of result of is_trusted_path_normalize
36173 (decompose_rpath): Fix warning.
36174
7b3b0b2a
UD
361752011-05-10 Ulrich Drepper <drepper@gmail.com>
36176
36177 [BZ #11257]
36178 * grp/initgroups.c (internal_getgrouplist): When we found the service
36179 list through the initgroups entry in nsswitch.conf do not always
36180 continue on a successful lookup. Don't always use the
eac80ce2 36181 __nss_group_database value if it is set.
7b3b0b2a
UD
36182 * nss/nsswitch.conf (initgroups): Change action for successful db
36183 lookup to continue for compatibility.
36184
2a81eaa5
UD
361852011-05-09 Ulrich Drepper <drepper@gmail.com>
36186
be97a69e
UD
36187 [BZ #11532]
36188 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36189 and CP774 modules.
36190 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36191 and CP774 modules.
36192 * iconvdata/tst-tables.sh: Likewise.
36193 * iconvdata/cp770.c: New file.
36194 * iconvdata/cp771.c: New file.
36195 * iconvdata/cp772.c: New file.
36196 * iconvdata/cp773.c: New file.
36197 * iconvdata/cp774.c: New file.
36198 * iconvdata/testdata/CP770: New file.
36199 * iconvdata/testdata/CP770..UTF8: New file.
36200 * iconvdata/testdata/CP771: New file.
36201 * iconvdata/testdata/CP771..UTF8: New file.
36202 * iconvdata/testdata/CP772: New file.
36203 * iconvdata/testdata/CP772..UTF8: New file.
36204 * iconvdata/testdata/CP773: New file.
36205 * iconvdata/testdata/CP773..UTF8: New file.
36206 * iconvdata/testdata/CP774: New file.
36207 * iconvdata/testdata/CP774..UTF8: New file.
36208
36209 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36210 END CHARMAP line.
36211 * iconvdata/gen-8bit-gap.sh: Likewise.
36212 * iconvdata/gen-8bit.sh: Likewise.
36213
c1e9e399
UD
36214 * locale/iso-639.def: Add ary entry.
36215
24c55fb3 36216 [BZ #11258]
96b4b1b0
UD
36217 * locale/C-translit.h.in: Add U20A1 transliteration.
36218
bdc2f971
KB
36219 [BZ #12178]
36220 * locale/iso-639.def: Add wae entry.
36221 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36222
2952b117
UD
36223 [BZ #12545]
36224 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36225 for n.
36226
2a81eaa5
UD
36227 [BZ #12711]
36228 * locale/C-translit.h.in: Add entry for U20B9.
36229 Patch by pravin.d.s@gmail.com.
36230
28377d1b
UD
362312011-05-08 Ulrich Drepper <drepper@gmail.com>
36232
7fb90fb8
UD
36233 [BZ #12713]
36234 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36235 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36236 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36237 in rtld. Use *stat64.
7fb90fb8 36238 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36239 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36240 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36241 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36242 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36243 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36244 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36245 __fstatat64 macros.
7fb90fb8
UD
36246 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36247 * dirent/rewinddir.c: Add libc_hidden_def.
36248 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36249 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36250
28377d1b
UD
36251 * include/dirent.h (__alloc_dir): Add flags parameter.
36252 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36253 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36254 __alloc_dir.
36255 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36256 from fdopendir if O_CLOEXEC is already set.
36257
66bdbaa4
AM
362582011-03-15 Alan Modra <amodra@gmail.com>
36259
36260 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36261 l_tls_firstbyte_offset non-zero. Save padding offset in
36262 l_tls_firstbyte_offset for later use.
36263 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36264 freeing static tls block.
36265
95721191
JN
362662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36267
36268 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36269 where #ifdef was intended. The intent is to prevent ARG_MAX from
36270 being defined by the kernel headers.
36271
f87dfb1f
UD
362722011-05-07 Ulrich Drepper <drepper@gmail.com>
36273
36274 [BZ #12734]
36275 * resolv/resolv.h: Define RES_NOTLDQUERY.
36276 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36277 no-tld-query and set RES_NOTLDQUERY.
36278 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36279 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36280 modern BIND to search name as TLD unless forbidden.
36281
47c3cd7a
UD
362822011-05-07 Petr Baudis <pasky@suse.cz>
36283 Ulrich Drepper <drepper@gmail.com>
36284
36285 [BZ #12393]
36286 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36287 (is_trusted_path): ...to here.
c1e9ea35 36288 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36289 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36290 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36291
8a35c912
PP
362922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36293
36294 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36295 __BEGIN/__END_DECLS.
36296
acd41f47
UD
362972011-05-06 Ulrich Drepper <drepper@gmail.com>
36298
36299 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36300 NSS_STATUS_NOTFOUND if no record was found.
36301
597df647
AS
363022011-05-05 Andreas Schwab <schwab@redhat.com>
36303
36304 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36305 (headers-not-in-tirpc): Remove rpc/netdb.h
36306 * resolv/netdb.h: Revert last change.
36307
b9af1301
PP
363082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36309
36310 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36311 circular dependency between libgcc.a and libc.a.
36312
4e34d5f5
AS
363132011-05-05 Andreas Schwab <schwab@redhat.com>
36314
36315 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36316 * nis/Makefile: Don't install rpcsvc/*.
36317 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36318 instead of <rpc/types.h>.
36319 (MAXHOSTNAMELEN): Define.
36320
00ee369c
AS
363212011-05-03 Andreas Schwab <schwab@redhat.com>
36322
36323 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36324
0b592a30
MB
363252011-04-28 Maciej Babinski <mbabinski@google.com>
36326
36327 [BZ #12714]
36328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36329 gethostbyname4_r when IPv6 results are possible.
36330
6e04cbbe
UD
363312011-05-02 Ulrich Drepper <drepper@gmail.com>
36332
36333 [BZ #12723]
36334 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36335 _PC_PIPE_BUF handling.
36336
e4ecafe0
BH
363372011-04-30 Bruno Haible <bruno@clisp.org>
36338
36339 [BZ #12717]
36340 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36341 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36342 to 'int'.
36343 * inet/getnameinfo.c (getnameinfo): Likewise.
36344
125ee683
UD
363452011-04-29 Ulrich Drepper <drepper@gmail.com>
36346
36347 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36348 to groups setting in database lookup.
36349 * nss/nsswitch.conf: Add initgroups entry.
36350
b722481a
EB
363512011-04-22 Ulrich Drepper <drepper@gmail.com>
36352
36353 [BZ #12685]
36354 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36355 mode string.
36356 Patch by Eric Blake <eblake@redhat.com>.
36357
4df46dbd
L
363582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36359
36360 * sunrpc/Makefile (need-export-routines): Add svc_run.
36361 (routines): Remove svc_run.
36362 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36363 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36364 * sunrpc/svc_run.c (svc_run): Likewise.
36365 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36366
e84142d2
UD
363672011-04-21 Ulrich Drepper <drepper@gmail.com>
36368
36369 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36370 problem in reallocation in last patch.
36371
877175d8
UD
363722011-04-20 Ulrich Drepper <drepper@gmail.com>
36373
36374 * sunrpc/Makefile: Move inclusion of Rules.
36375
ab8eed78
UD
363762011-04-19 Ulrich Drepper <drepper@gmail.com>
36377
36378 * nss/nss_files/files-initgroups.c: New file.
36379 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36380 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36381 _nss_files_initgroups_dyn.
36382
e3d8f584
RS
363832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36384
36385 * elf/elf.h (R_ARM_IRELATIVE): Define.
36386
af190f45
UD
363872011-04-19 Ulrich Drepper <drepper@gmail.com>
36388
36389 * po/ru.po: Update from translation team.
36390
53cf59ef
UD
363912011-04-17 Ulrich Drepper <drepper@gmail.com>
36392
36393 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36394 dependencies.
36395
4c559bcd
MF
363962011-02-06 Mike Frysinger <vapier@gentoo.org>
36397
36398 [BZ #12653]
36399 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36400 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36403 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36404
4420675c
AS
364052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36406
36407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36408 differing bytes.
36409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36412
75ea32ab
UD
364132011-04-17 Ulrich Drepper <drepper@gmail.com>
36414
36415 [BZ #12420]
36416 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36417 storing it.
36418 * stdlib/bug-getcontext.c: New file.
36419 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36420
27390476
AK
364212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36422
36423 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36424 instructions into .machine "z9-109".
36425 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36426 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36427
10442705
AK
364282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36429
36430 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36431 between environment variables and auxiliary vector.
36432
7b57bfe5
UD
364332011-04-16 Ulrich Drepper <drepper@gmail.com>
36434
36435 * Makefile: Add rules to build linkobj/libc.so.
36436 * include/libc-symbols.h: Define libc_hidden_nolink.
36437 * include/rpc/auth.h: Mark functions which are to be hidden.
36438 * include/rpc/auth_des.h: Likewise.
36439 * include/rpc/auth_unix.h: Likewise.
36440 * include/rpc/clnt.h: Likewise.
36441 * include/rpc/des_crypt.h: Likewise.
36442 * include/rpc/key_prot.h: Likewise.
36443 * include/rpc/pmap_clnt.h: Likewise.
36444 * include/rpc/pmap_prot.h: Likewise.
36445 * include/rpc/pmap_rmt.h: Likewise.
36446 * include/rpc/rpc_msg.h: Likewise.
36447 * include/rpc/svc.h: Likewise.
36448 * include/rpc/svc_auth.h: Likewise.
36449 * include/rpc/xdr.h: Likewise.
36450 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36451 * nss/Makefile: Likewise.
36452 * sunrpc/Makefile: Don't install headers. Build library with normal
36453 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36454 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36455 for the compat linking library. Remove use of INTDEF/INTUSE.
36456 * sunrpc/auth_none.c: Likewise.
36457 * sunrpc/auth_unix.c: Likewise.
36458 * sunrpc/authdes_prot.c: Likewise.
36459 * sunrpc/authuxprot.c: Likewise.
36460 * sunrpc/clnt_gen.c: Likewise.
36461 * sunrpc/clnt_perr.c: Likewise.
36462 * sunrpc/clnt_raw.c: Likewise.
36463 * sunrpc/clnt_simp.c: Likewise.
36464 * sunrpc/clnt_tcp.c: Likewise.
36465 * sunrpc/clnt_udp.c: Likewise.
36466 * sunrpc/clnt_unix.c: Likewise.
36467 * sunrpc/des_crypt.c: Likewise.
36468 * sunrpc/des_soft.c: Likewise.
36469 * sunrpc/get_myaddr.c: Likewise.
36470 * sunrpc/key_call.c: Likewise.
36471 * sunrpc/key_prot.c: Likewise.
36472 * sunrpc/netname.c: Likewise.
36473 * sunrpc/pm_getmaps.c: Likewise.
36474 * sunrpc/pm_getport.c: Likewise.
36475 * sunrpc/pmap_clnt.c: Likewise.
36476 * sunrpc/pmap_prot.c: Likewise.
36477 * sunrpc/pmap_prot2.c: Likewise.
36478 * sunrpc/pmap_rmt.c: Likewise.
36479 * sunrpc/publickey.c: Likewise.
36480 * sunrpc/rpc_cmsg.c: Likewise.
36481 * sunrpc/rpc_common.c: Likewise.
36482 * sunrpc/rpc_dtable.c: Likewise.
36483 * sunrpc/rpc_prot.c: Likewise.
36484 * sunrpc/rpc_thread.c: Likewise.
36485 * sunrpc/rtime.c: Likewise.
36486 * sunrpc/svc.c: Likewise.
36487 * sunrpc/svc_auth.c: Likewise.
36488 * sunrpc/svc_authux.c: Likewise.
36489 * sunrpc/svc_raw.c: Likewise.
36490 * sunrpc/svc_run.c: Likewise.
36491 * sunrpc/svc_simple.c: Likewise.
36492 * sunrpc/svc_tcp.c: Likewise.
36493 * sunrpc/svc_udp.c: Likewise.
36494 * sunrpc/svc_unix.c: Likewise.
36495 * sunrpc/svcauth_des.c: Likewise.
36496 * sunrpc/xcrypt.c: Likewise.
36497 * sunrpc/xdr.c: Likewise.
36498 * sunrpc/xdr_array.c: Likewise.
36499 * sunrpc/xdr_float.c: Likewise.
36500 * sunrpc/xdr_intXX_t.c: Likewise.
36501 * sunrpc/xdr_mem.c: Likewise.
36502 * sunrpc/xdr_rec.c: Likewise.
36503 * sunrpc/xdr_ref.c: Likewise.
36504 * sunrpc/xdr_sizeof.c: Likewise.
36505 * sunrpc/xdr_stdio.c: Likewise.
36506
e6c61494
UD
365072011-04-10 Ulrich Drepper <drepper@gmail.com>
36508
36509 [BZ #12650]
36510 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36511 * sysdeps/ia64/dl-tls.h: Likewise.
36512 * sysdeps/powerpc/dl-tls.h: Likewise.
36513 * sysdeps/s390/dl-tls.h: Likewise.
36514 * sysdeps/sh/dl-tls.h: Likewise.
36515 * sysdeps/sparc/dl-tls.h: Likewise.
36516 * sysdeps/x86_64/dl-tls.h: Likewise.
36517 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36518
34fe483e
AS
365192011-03-14 Andreas Schwab <schwab@redhat.com>
36520
36521 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36522 rpath element also skip the following colon.
36523 (expand_dynamic_string_token): Add is_path parameter and pass
36524 down to DL_DST_REQUIRED and _dl_dst_substitute.
36525 (decompose_rpath): Call expand_dynamic_string_token with
36526 non-zero is_path. Ignore empty rpaths.
36527 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36528 with zero is_path.
36529
f12a32e6
AS
365302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36531
36532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36533 Make cancelable.
36534
38a7d692
UD
365352011-04-09 Ulrich Drepper <drepper@gmail.com>
36536
36537 [BZ #12655]
36538 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36539 Patch by Filipe David Manana <fdmanana@apache.org>.
36540
e451d22b
AS
365412011-04-07 Andreas Schwab <schwab@redhat.com>
36542
36543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36544 Maintain aligned stack.
36545 (CHECK_RSP): Remove unused macro.
36546
dedc7c7b
UD
365472011-04-03 Ulrich Drepper <drepper@gmail.com>
36548
36549 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36550 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36551
94521213
UD
365522011-04-02 Ulrich Drepper <drepper@gmail.com>
36553
36554 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36555
8cb700c0 36556 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36557
0354e355
L
365582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36559
36560 [BZ #12518]
36561 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36562 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36563 * sysdeps/x86_64/memmove.c: New file.
36564 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36565 (memcpy): Renamed to ...
36566 (__new_memcpy): This.
36567 (memcpy): Provide GLIBC_2_14 memcpy.
36568 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36569 (memcpy): Provide GLIBC_2_2_5 memcpy.
36570
8593482f
UD
365712011-04-01 Ulrich Drepper <drepper@gmail.com>
36572
36573 [BZ #12631]
36574 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36575
81a5726b
AS
365762011-03-30 Andreas Schwab <schwab@redhat.com>
36577
36578 * misc/syncfs.c: New file.
36579 * misc/Makefile (routines): Add syncfs.
36580 * posix/unistd.h: Declare syncfs.
36581 * sysdeps/unix/syscalls.list: Add syncfs.
36582
00e5419f
AS
365832011-04-01 Andreas Schwab <schwab@redhat.com>
36584
36585 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36586 open_by_handle_at.
36587 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36588 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36592 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36594
748876bf
UD
365952011-04-01 Ulrich Drepper <drepper@gmail.com>
36596
658e451d
UD
36597 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36598 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36599 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36604
748876bf
UD
36605 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36606 sync_file_range.c with -fexceptions.
36607 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36608 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36609 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36610 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36611 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36612 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36614 sync_file_range as cancellation point
36615 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36616 now a wrapper around __call_sync_file_range with cancellation handling.
36617 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36618 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36619 function name to __call_sync_file_range.
36620 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36621 Add call_sync_file_range.
748876bf 36622
6e63d5e1
AS
366232011-04-01 Andreas Schwab <schwab@redhat.com>
36624
36625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36626 bits/timex.h.
6e63d5e1 36627
46998f74
UD
366282011-04-01 Ulrich Drepper <drepper@gmail.com>
36629
4c1423ed
UD
36630 * iconv/iconv.h: Fix typo in comment.
36631 * io/fcntl.h: Likewise.
36632 * libio/stdio.h: Likewise.
36633 * posix/spawn.h: Likewise.
36634 * posix/unistd.h: Likewise.
36635 * stdlib/stdlib.h: Likewise.
36636 * time/time.h: Likewise.
36637 * wcsmbs/wchar.h: Likewise.
36638
158648c0
UD
36639 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36640 open_by_handle): Add.
36641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36642 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36643 Augment a few comments.
36644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36649 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36650 open_by_handle.
36651
46998f74
UD
36652 * io/fcntl.h (AT_EMPTY_PATH): Define.
36653
83fe108b
UD
366542011-03-30 Ulrich Drepper <drepper@gmail.com>
36655
36656 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36657 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36658 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36659 to...
36660 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36661 * Versions.def: Add GLIBC_2.14.
36662 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36663 Export.
83fe108b 36664
bb242059
UD
366652011-03-22 Ulrich Drepper <drepper@gmail.com>
36666
36667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36668 round counter.
36669 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36670
c97a1282
L
366712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36672
36673 [BZ #12597]
36674 * string/test-strncmp.c (do_page_test): New function.
36675 (check2): Likewise.
36676 (test_main): Call check2.
36677 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36678
2a115601
UD
366792011-03-20 Ulrich Drepper <drepper@gmail.com>
36680
36681 [BZ #12587]
36682 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36683 Handle cache information in CPU leaf 4.
36684 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36685
8126d904
UD
366862011-03-18 Ulrich Drepper <drepper@gmail.com>
36687
042c49c6 36688 [BZ #12583]
8126d904
UD
36689 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36690 character representation.
36691 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36692
ccfe366e
RA
366932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36694
36695 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36696 END(__isnan) to END(__isnanf) to match function entry point/label
36697 EALIGN(__isnanf,...).
36698
c6e13027
JJ
366992011-03-10 Jakub Jelinek <jakub@redhat.com>
36700
36701 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36702
33f85a3f
UD
367032011-03-10 Ulrich Drepper <drepper@gmail.com>
36704
028478fa
UD
36705 [BZ #12510]
36706 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36707 copy from the symbol referenced in the relocation to initialize the
36708 used variable.
36709 Patch by Piotr Bury <pbury@goahead.com>.
36710 * elf/Makefile: Add rules to build and tst-unique3.
36711 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36712 * elf/tst-unique3.cc: New file.
36713 * elf/tst-unique3.h: New file.
36714 * elf/tst-unique3lib.cc: New file.
36715 * elf/tst-unique3lib2.cc: New file.
36716
33f85a3f
UD
36717 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36718
03592fc7
MF
367192011-03-10 Mike Frysinger <vapier@gentoo.org>
36720
36721 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36722 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36723 to _start.
03592fc7 36724
6a5ee102
UD
367252011-03-06 Ulrich Drepper <drepper@gmail.com>
36726
36727 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36728 to-be-loaded object along a path to loader is ld.so.
36729
7e4ba49c
HJ
367302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36731 Ulrich Drepper <drepper@gmail.com>
36732
36733 * sysdeps/x86_64/memset.S: After aligning destination, code
36734 branches to different locations depending on the value of
36735 misalignment, when multiarch is enabled. Fix this.
36736
367372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36738
36739 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36740 Set _x86_64_preferred_memory_instruction for AMD processsors.
36741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36742 Set bit_Prefer_SSE_for_memop for AMD processors.
36743
13a804de
UD
367442011-03-04 Ulrich Drepper <drepper@gmail.com>
36745
36746 * libio/fmemopen.c (fmemopen): Optimize a bit.
36747
9d25c392
AS
367482011-03-03 Andreas Schwab <schwab@redhat.com>
36749
36750 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36751
a5543c6a
RM
367522011-03-03 Roland McGrath <roland@redhat.com>
36753
36754 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36755
012d35f7
DM
367562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36757
7e4ba49c 36758 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36759 __bzero_ultra1 instead of __memset_ultra1.
36760
4bff6e01
AS
367612011-02-23 Andreas Schwab <schwab@redhat.com>
36762 Ulrich Drepper <drepper@gmail.com>
36763
36764 [BZ #12509]
36765 * include/link.h (struct link_map): Add l_orig_initfini.
36766 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36767 returning unsuccessfully.
36768 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36769 close of a file loaded at startup, restore the original l_initfini
36770 list.
36771 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36772 list, store the pointer.
36773 * elf/Makefile ($(objpfx)noload-mem): New rule.
36774 (noload-ENV): Define.
36775 (tests): Add $(objpfx)noload-mem.
36776 * elf/noload.c: Include <memcheck.h>.
36777 (main): Call mtrace. Close all opened handles.
36778
f2092faf
AS
367792011-02-17 Andreas Schwab <schwab@redhat.com>
36780
36781 [BZ #12454]
36782 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36783 dependencies are missing.
36784
6c8a2e88
ST
367852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36786
f2092faf 36787 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36788 Hurd needs munmap.
36789 * sysdeps/mach/hurd/ifreq.h: New file.
36790
84a42118
PB
367912011-01-27 Petr Baudis <pasky@suse.cz>
36792 Ulrich Drepper <drepper@gmail.com>
36793
071f805e 36794 [BZ 12445]#
84a42118
PB
36795 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36796 to extend_alloca().
36797 * stdio-common/bug23.c: New file.
36798 * stdio-common/Makefile (tests): Add bug23.
36799
e23fe25b
AS
368002010-09-28 Andreas Schwab <schwab@redhat.com>
36801 Ulrich Drepper <drepper@gmail.com>
36802
36803 [BZ #12489]
36804 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36805 before performing relro protection. At old place add assertion
36806 to make sure nothing changed.
36807
d3f02e10
NS
368082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36809 Glauber de Oliveira Costa <glommer@gmail.com>
36810
36811 * elf/elf.h: Add new ARM TLS relocs.
36812
d55fd7a5
RA
368132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36814
36815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36816 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36817 cast from r3.
36818 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36819 'tests' variable.
36820 * sysdeps/wordsize-64/tst-writev.c: New file.
36821
2206397e
RA
368222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36823
36824 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36825 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36826 insns in _dl_start to prevent a TOC reference before relocs are
36827 resolved.
36828
e9433893
UD
368292011-02-15 Ulrich Drepper <drepper@gmail.com>
36830
36831 [BZ #12469]
36832 * Makeconfig: Remove RANLIB definition.
36833 * Makerules: Don't use RANLIB.
36834 * aclocal.m4: Remove ranlib test.
36835 * configure.in: No need to check for ranlib.
36836 * elf/rtld-Rules: Don't use RANLIB.
36837
f75286c6
ST
368382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36839
8e31c82d
ST
36840 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36841 protection macro.
36842 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36843 inclusion protection macro.
36844
f75286c6
ST
36845 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36846 SIGRTMIN and SIGRTMAX and print information in that case only when
36847 SIGRTMIN is defined.
36848
c1d0e639
JJ
368492011-02-11 Jakub Jelinek <jakub@redhat.com>
36850
36851 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36852 arginfo fn returning -1.
36853
36854 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36855 and thousands string is zero terminated.
36856
edf9294e
AS
368572011-02-03 Andreas Schwab <schwab@redhat.com>
36858
36859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36860 sysdeps/unix/sysv/linux/bits/socket.h.
36861
2b7e92df
ST
368622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36863
edf9294e
AS
36864 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36865 (__CPU_COUNT): Remove old macros.
36866 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36867 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36868 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36869 (__sched_cpualloc, __sched_cpufree): Add declarations.
36870
a4c7ea7b
UD
368712011-02-05 Ulrich Drepper <drepper@gmail.com>
36872
36873 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36874 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36875 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36876 (readdhstai): Return value of addhstaiX call.
36877 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36878 (addgrbyX): Return value returned by cache_addgr.
36879 (readdgrbyname): Return value returned by addgrbyX.
36880 (readdgrbygid): Likewise.
36881 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36882 (addpwbyX): Return value returned by cache_addpw.
36883 (readdpwbyname): Return value returned by addhstbyX.
36884 (readdpwbyuid): Likewise.
36885 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36886 (addservbyX): Return value returned by cache_addserv.
36887 (readdservbyname): Return value returned by addservbyX:
36888 (readdservbyport): Likewise.
36889 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36890 (addhstbyX): Return value returned by cache_addhst.
36891 (readdhstbyname): Return value returned by addhstbyX.
36892 (readdhstbyaddr): Likewise.
36893 (readdhstbynamev6): Likewise.
36894 (readdhstbyaddrv6): Likewise.
36895 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36896 (readdinitgroups): Return value returned by addinitgroupsX.
36897 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36898 (prune_cache): Keep track of timeout value of re-added entries.
36899 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36900 * nscd/nscd.h: Adjust prototypes of readd* functions.
36901
a0bf67cc
RM
369022011-02-04 Roland McGrath <roland@redhat.com>
36903
36904 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36905 (nis_stats): Likewise.
36906 * nis/nis_modify.c (nis_modify): Likewise.
36907 * nis/nis_remove.c (nis_remove): Likewise.
36908 * nis/nis_add.c (nis_add): Likewise.
36909
36910 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36911
36912 * posix/fnmatch_loop.c: Add some consts.
36913
36914 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36915
435b95eb
L
369162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36917
36918 [BZ #12460]
36919 * config.make.in (config-cflags-novzeroupper): Define.
36920 * configure.in: Substitute libc_cv_cc_novzeroupper.
36921 * elf/Makefile (AVX-CFLAGS): Define.
36922 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36923 (CFLAGS-tst-auditmod4a.c): Likewise.
36924 (CFLAGS-tst-auditmod4b.c): Likewise.
36925 (CFLAGS-tst-auditmod6b.c): Likewise.
36926 (CFLAGS-tst-auditmod6c.c): Likewise.
36927 (CFLAGS-tst-auditmod7b.c): Likewise.
36928 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36929
8517b15e
UD
369302011-02-02 Ulrich Drepper <drepper@gmail.com>
36931
36932 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36933 function to the callback.
36934 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36935
10a656fe
AS
369362011-02-02 Andreas Schwab <schwab@redhat.com>
36937
36938 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36939 of errno.
36940
968dad0a
UD
369412011-01-19 Ulrich Drepper <drepper@gmail.com>
36942
9f94d2ea 36943 [BZ #11724]
968dad0a
UD
36944 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36945 of constructors.
36946 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36947 of destructors.
36948 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36949
36950 [BZ #11724]
36951 * elf/Makefile: Add rules to build and run new test.
36952 * elf/tst-initorder.c: New file.
36953 * elf/tst-initorder.exp: New file.
36954 * elf/tst-initordera1.c: New file.
36955 * elf/tst-initordera2.c: New file.
36956 * elf/tst-initordera3.c: New file.
36957 * elf/tst-initordera4.c: New file.
36958 * elf/tst-initorderb1.c: New file.
36959 * elf/tst-initorderb2.c: New file.
36960 * elf/tst-order-a1.c: New file.
36961 * elf/tst-order-a2.c: New file.
36962 * elf/tst-order-a3.c: New file.
36963 * elf/tst-order-a4.c: New file.
36964 * elf/tst-order-b1.c: New file.
36965 * elf/tst-order-b2.c: New file.
36966 * elf/tst-order-main.c: New file.
36967 New test case by George Gensure <werkt0@gmail.com>.
36968
86e92359
UD
369692010-10-01 Andreas Schwab <schwab@redhat.com>
36970
36971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36972 decoding ACE if AI_CANONIDN.
36973
5d5732b0
UD
369742011-01-18 Ulrich Drepper <drepper@gmail.com>
36975
36976 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36977
a77e8cbc
UD
369782011-01-17 Ulrich Drepper <drepper@gmail.com>
36979
6392473f
UD
36980 * version.h (RELEASE): Bump for 2.13 release.
36981 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36982
620a0529
UD
36983 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36984
18ba70a5
UD
36985 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36986 MADV_NOHUGEPAGE.
32465c3e
UD
36987 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36988 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36989 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36990 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36992 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36993
c0dafcf1
UD
36994 * posix/getconf.c: Update copyright year.
36995 * catgets/gencat.c: Likewise.
36996 * csu/version.c: Likewise.
36997 * debug/catchsegv.sh: Likewise.
36998 * debug/xtrace.sh: Likewise.
36999 * elf/ldconfig.c: Likewise.
37000 * elf/ldd.bash.in: Likewise.
37001 * elf/sprof.c (print_version): Likewise.
37002 * iconv/iconv_prog.c: Likewise.
37003 * iconv/iconvconfig.c: Likewise.
37004 * locale/programs/locale.c: Likewise.
37005 * locale/programs/localedef.c: Likewise.
37006 * malloc/memusage.sh: Likewise.
37007 * malloc/mtrace.pl: Likewise.
37008 * nscd/nscd.c (print_version): Likewise.
37009 * nss/getent.c: Likewise.
37010
a77e8cbc
UD
37011 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37012 PF_CAIF, and PF_ALG.
37013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37014
77e8bddf
AS
370152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37016
1f20b93a
AS
37017 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37018 (modules-names): Use them.
37019 (ifunc-test-modules, ifunc-pie-tests): Define.
37020 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37021 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37022 (test-extras): Likewise.
37023 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37024 $(compile-command.c).
37025 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37026 (all-built-dso): Define.
37027 (check-textrel.out, check-execstack.out): Depend on it.
37028
77e8bddf
AS
37029 * configure.in: Don't override --enable-multi-arch.
37030
bc425b33
UD
370312011-01-15 Ulrich Drepper <drepper@gmail.com>
37032
37033 [BZ #6812]
37034 * nscd/hstcache.c (tryagain): Define.
37035 (cache_addhst): Return tryagain not notfound for temporary errors.
37036 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37037 failed.
37038
794c3ad3
UD
370392011-01-14 Ulrich Drepper <drepper@gmail.com>
37040
70181fdd
UD
37041 [BZ #10563]
37042 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37043 to make the syscall.
37044 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37045
794c3ad3
UD
37046 [BZ #12378]
37047 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37048 and fall back to matching as normal character if the string ends before
37049 the matching ']' is found. This is what POSIX requires.
37050 * posix/testfnm.c: Adjust test result.
37051 * posix/globtest.sh: Adjust test result. Add new test.
37052 * posix/tst-fnmatch.input: Likewise.
37053 * posix/tst-fnmatch2.c: Add new test.
37054
68dc9497
AS
370552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37056
37057 * elf/Makefile (check-execstack): Revert last change. Depend on
37058 check-execstack.h.
37059 (check-execstack.h): New target.
37060 (generated): Add check-execstack.h.
37061 * elf/check-execstack.c: Include "check-execstack.h".
37062 (main): Revert last change.
37063 (handle_file): Return zero if GNU_STACK is absent and
37064 DEFAULT_STACK_PERMS doesn't include PF_X.
37065
451f001b
UD
370662011-01-13 Ulrich Drepper <drepper@gmail.com>
37067
cfa28e56
UD
37068 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37069 in child fails because the descriptor is already closed.
8cf8ce17
UD
37070 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37071 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37072 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37073
1086d70d
UD
37074 [BZ #12397]
37075 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37076 syscall.
37077
451f001b
UD
37078 [BZ #10484]
37079 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37080 temporary buffer used to handle multi lookups locally.
a85b5cb4 37081 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37082
08769175
UD
370832011-01-12 Ulrich Drepper <drepper@gmail.com>
37084
37085 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37086 loader is ld.so.
37087
5e49c52e
UD
370882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37089
37090 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37091 alignment for SSE2.
37092
60522a5f
UD
370932011-01-12 Ulrich Drepper <drepper@gmail.com>
37094
37095 [BZ #12394]
37096 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37097 characters. When rounding increased number of integer digits recompute
37098 number of groups.
37099 * stdio-common/tst-grouping.c: New file.
37100 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37101
f257bbd7
UD
371022011-01-09 Ulrich Drepper <drepper@gmail.com>
37103
37104 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37105 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37106
37107 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37108 void.
37109 * bits/select.h: Likewise.
37110
fa9c15cb
UD
371112011-01-08 Ulrich Drepper <drepper@gmail.com>
37112
37113 * po/ja.po: Update from translation team.
37114
16c2895f
DM
371152011-01-04 David S. Miller <davem@sunset.davemloft.net>
37116
37117 [BZ #11155]
37118 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37119 implementation just like for lxstat, fxstatat, et al.
37120
2543fef2
JM
371212010-12-27 Jim Meyering <meyering@redhat.com>
37122
37123 [BZ #12348]
37124 * posix/regexec.c (build_trtable): Return failure indication upon
37125 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37126
98727dbe
UD
371272010-12-25 Ulrich Drepper <drepper@gmail.com>
37128
5bd6dc5c
UD
37129 [BZ #12201]
37130 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37131 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37132 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37133 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37134
97983464
UD
37135 [BZ #12207]
37136 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37137
98727dbe
UD
37138 [BZ #12204]
37139 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37140 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37141
4a531bb0
L
371422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37143
37144 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37145 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37146 script has SORT_BY_INIT_PRIORITY.
37147 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37148 NO_CTORS_DTORS_SECTIONS is defined.
37149 * elf/soinit.c: Likewise.
37150 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37151 NO_CTORS_DTORS_SECTIONS is defined.
37152 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37153 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37154 * sysdeps/sh/init-first.c: Likewise.
37155 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37156
07eb4b71
UD
371572010-12-24 Ulrich Drepper <drepper@gmail.com>
37158
37159 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37160 always use the slow path.
37161
30950a5f
RA
371622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37163
37164 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37165 similar rule which adds the sysdep directories to the header search in
37166 order to pick up the correct platform stackinfo.h.
37167 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37168 perform test if it is, otherwise return successfully without testing.
37169 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37170 DEFAULT_STACK_PERMS define in stackinfo.h.
37171 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37172 defined in stackinfo.h.
37173 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37174 DEFAULT_STACK_PERMS defined in stackinfo.h.
37175 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37176 * sysdeps/ia64/stackinfo.h: Likewise.
37177 * sysdeps/s390/stackinfo.h: Likewise.
37178 * sysdeps/sh/stackinfo.h: Likewise.
37179 * sysdeps/sparc/stackinfo.h: Likewise.
37180 * sysdeps/x86_64/stackinfo.h: Likewise.
37181 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37182 PF_X for powerpc64. Retain PF_X for powerpc32.
37183
db753e2c
UD
371842010-12-19 Ulrich Drepper <drepper@gmail.com>
37185
14b697f7
UD
37186 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37187 accurately.
db753e2c
UD
37188 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37189 GETDENTS_64BIT_ALIGNED.
37190
28300719
UD
371912010-12-14 Ulrich Drepper <dreper@gmail.com>
37192
14b697f7 37193 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37194
4f197237
AS
371952010-12-10 Andreas Schwab <schwab@redhat.com>
37196
dbb0472f
AS
37197 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37198 _GNU_SOURCE.
37199
4f197237
AS
37200 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37201 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37202 Remove __restrict.
37203 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37204 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37205
fb88ac72
UD
372062010-12-09 Ulrich Drepper <drepper@gmail.com>
37207
37208 [BZ #11655]
37209 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37210 are initialized.
37211
42acbb92
JJ
372122010-12-09 Jakub Jelinek <jakub@redhat.com>
37213
37214 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37215
c038d98d
UD
372162010-12-03 Ulrich Drepper <drepper@gmail.com>
37217
37218 * po/it.po: Update from translation team.
37219
3a4a2499
L
372202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37221
37222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37223 unused codes.
37224
1e24cf6e
UD
372252010-11-30 Ulrich Drepper <drepper@gmail.com>
37226
37227 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37228
a7690819
AS
372292010-11-24 Andreas Schwab <schwab@redhat.com>
37230
37231 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37232 specially.
37233 (gaih_getanswer_slice): Likewise.
37234
3bf8d1b1
JJ
372352010-10-20 Jakub Jelinek <jakub@redhat.com>
37236
37237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37238
6db52fbb
PB
372392010-05-31 Petr Baudis <pasky@suse.cz>
37240
37241 [BZ #11149]
37242 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37243 silently even in the chroot mode.
37244
eaca7569
UD
372452010-11-22 Ulrich Drepper <drepper@gmail.com>
37246
37247 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37248 last patch a bit. Pretty printing
37249
3056dcdb
UD
372502010-05-31 Petr Baudis <pasky@suse.cz>
37251
37252 [BZ #10085]
37253 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37254 initialization of skip_initgroups_dyn.
37255
cf7c9078
UD
372562010-11-19 Ulrich Drepper <drepper@gmail.com>
37257
37258 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37260
a1fb5e3e
UD
372612010-11-16 Ulrich Drepper <drepper@gmail.com>
37262
37263 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37264
3540d66b
AS
372652010-11-11 Andreas Schwab <schwab@redhat.com>
37266
37267 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37268 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37269 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37270 ($(objpfx)tst-fnmatch-mem): New rule.
37271 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37272 * posix/tst-fnmatch.c (main): Call mtrace.
37273
13b69574
L
372742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37275
37276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37277 Support Intel processor model 6 and model 0x2c.
37278
da93d214
LM
372792010-11-10 Luis Machado <luisgpm@br.ibm.com>
37280
37281 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37282 signed comparison.
37283
8ca52c6e
L
372842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37285
37286 [BZ #12205]
37287 * string/test-strncasecmp.c (check_result): New function.
37288 (do_one_test): Use it.
37289 (check1): New function.
37290 (test_main): Use it.
37291 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37292 Support strcasecmp and strncasecmp.
37293
69da074d
UD
372942010-11-08 Ulrich Drepper <drepper@gmail.com>
37295
37296 [BZ #12194]
37297 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37299
ff02d528
L
373002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37301
37302 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37303 IFUNC support.
37304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37305 memset-x86-64.
37306 * sysdeps/x86_64/multiarch/bzero.S: New file.
37307 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37308 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37309 * sysdeps/x86_64/multiarch/memset.S: New file.
37310 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37312 Set bit_Prefer_SSE_for_memop for Intel processors.
37313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37314 Define.
37315 (index_Prefer_SSE_for_memop): Define.
37316 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37317
344d0b54
LM
373182010-11-04 Luis Machado <luisgpm@br.ibm.com>
37319
37320 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37321 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37322
c0dde15b
UD
373232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37324
37325 [BZ #12191]
37326 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37327 (__x86_64_raw_data_cache_size_half): Likewise.
37328 (__x86_64_raw_shared_cache_size): Likewise.
37329 (__x86_64_raw_shared_cache_size_half): Likewise.
37330
37331 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37332 (__x86_64_raw_data_cache_size_half): Likewise.
37333 (__x86_64_raw_shared_cache_size): Likewise.
37334 (__x86_64_raw_shared_cache_size_half): Likewise.
37335 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37336 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37337 and __x86_64_raw_shared_cache_size_half. Round
37338 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37339 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37340 to multiple of 256 bytes.
37341
0e516e0e
MS
373422010-11-03 Ulrich Drepper <drepper@gmail.com>
37343
37344 [BZ #12167]
37345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37346 of inacessible symlinks. Verify result of symlink before returning it.
37347 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37348 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37349
0e012e87
ER
373502010-10-28 Erich Ritz <erichritz@gmail.com>
37351
37352 * math/math.h (isinf): Fix typo in comment.
37353
de0ff7bc
UD
373542010-11-01 Ulrich Drepper <drepper@gmail.com>
37355
37356 * po/da.po: Update from translation team.
37357
fa41c84d
UD
373582010-10-26 Ulrich Drepper <drepper@gmail.com>
37359
37360 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37361 is added to the list.
37362
f0967738
AK
373632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37364 Ulrich Drepper <drepper@gmail.com>
37365
37366 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37367 the global list here. Move code to...
37368 (_dl_add_to_namespace_list): ...here. New function.
37369 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37370 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37371 * elf/dl-load.c (lose): Don't remove the element from the list.
37372 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37373 (_dl_map_object): Likewise.
37374
373752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37376
37377 [BZ #12159]
37378 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37379 into all bytes of SSE register.
37380 Patch by Richard Li <richardpku@gmail.com>.
37381
f0967738 373822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37383
37384 [BZ #12140]
37385 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37386 perturbing.
37387
d0b9e94f
MB
373882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37389
37390 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37391 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37392 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37393 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37395 submachine.
37396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37397
8e9f92e9
AS
373982010-10-22 Andreas Schwab <schwab@redhat.com>
37399
37400 * include/dlfcn.h (__RTLD_SECURE): Define.
37401 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37402 mode & __RTLD_SECURE instead.
37403 (open_path): Rename preloaded parameter to secure.
37404 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37405 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37406 * elf/dl-deps.c (openaux): Likewise.
37407 * elf/rtld.c (struct map_args): Remove is_preloaded.
37408 (map_doit): Don't use it.
37409 (dl_main): Likewise.
37410 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37411 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37412
bc96fbda
AS
374132010-09-09 Andreas Schwab <schwab@redhat.com>
37414
37415 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37416 (sysd-rules-targets): Remove duplicates.
37417 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37418 rtld-%.$o dependency.
37419
22cd1c9b
AS
374202010-10-18 Andreas Schwab <schwab@redhat.com>
37421
37422 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37423 _dl_map_object do it.
37424
18edac48
UD
374252010-10-19 Ulrich Drepper <drepper@gmail.com>
37426
37427 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37428 fast fma builtins, define the macros in the C99 standard.
37429 (FP_FAST_FMAF): Likewise.
37430 (FP_FAST_FMAL): Likewise.
37431 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37432
37433 * bits/mathdef.h: Update copyright year.
37434 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37435
d2050124
MM
374362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37437
37438 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37439 builtins, define the macros in the C99 standard.
37440 (FP_FAST_FMAF): Likewise.
37441 (FP_FAST_FMAL): Likewise.
37442 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37443 multiply/add.
37444 (FP_FAST_FMAF): Likewise.
37445
475facd1
JJ
374462010-10-15 Jakub Jelinek <jakub@redhat.com>
37447
37448 [BZ #3268]
37449 * math/libm-test.inc (fma_test): Some new testcases.
37450 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37451 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37452 y and infinite z. Do multiplication by C already in long double.
37453 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37455 y and infinite z. Do bitwise or of inexact bit into u.d.
37456 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37457 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37458 * sysdeps/i386/fpu/s_fma.S: Removed.
37459 * sysdeps/i386/fpu/s_fmal.S: Removed.
37460
7c08a05c
JJ
374612010-10-16 Jakub Jelinek <jakub@redhat.com>
37462
37463 [BZ #3268]
37464 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37466 computation is not scheduled after fetestexcept. Fix value
37467 of minimum denormal long double.
37468
f3f7372d
JJ
374692010-10-14 Jakub Jelinek <jakub@redhat.com>
37470
37471 [BZ #3268]
37472 * math/libm-test.inc (fma_test): Add some more tests.
37473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37474 correctly.
37475
14d43591
AS
374762010-10-15 Andreas Schwab <schwab@redhat.com>
37477
37478 * scripts/data/localplt-s390-linux-gnu.data: New file.
37479 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37480
5e908464
JJ
374812010-10-13 Jakub Jelinek <jakub@redhat.com>
37482
37483 [BZ #3268]
37484 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37485 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37486 instead of dbl-64.
37487 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37488 inlines.
37489 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37491 if one of x and y is very large and the other is subnormal.
37492 * sysdeps/s390/fpu/s_fmaf.c: New file.
37493 * sysdeps/s390/fpu/s_fma.c: New file.
37494 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37495 * sysdeps/powerpc/fpu/s_fma.S: New file.
37496 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37497 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37498 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37499
375002010-10-12 Jakub Jelinek <jakub@redhat.com>
37501
37502 [BZ #3268]
37503 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37504 fma tests.
37505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37506 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37507 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37508 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37509 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37510 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37511 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37512
b833d51f
UD
375132010-10-12 Ulrich Drepper <drepper@redhat.com>
37514
37515 [BZ #12078]
37516 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37517 * posix/bug-regex31.input: Add test case.
37518
1751705d
UD
375192010-10-11 Ulrich Drepper <drepper@gmail.com>
37520
e9b9cbf5
UD
37521 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37522 * posix/bug-regex31.input: New file.
37523
37524 [BZ #12078]
37525 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37526 (parse_sub_exp): Fix last change, use postorder.
37527
ef06edbe
UD
37528 * posix/bug-regex31.c: New file.
37529 * posix/Makefile: Add rules to build and run bug-regex31.
37530
a129c80d
UD
37531 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37532
37533 [BZ #12078]
37534 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37535
b76b818e
UD
37536 [BZ #12108]
37537 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37538 to have entries in sys_siglist.
37539
1751705d
UD
37540 [BZ #12093]
37541 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37542 be NULL.
37543
9ff8d36f
JJ
375442010-10-07 Jakub Jelinek <jakub@redhat.com>
37545
37546 [BZ #3268]
37547 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37548 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37549 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37550 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37551 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37552 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37553 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37554 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37555 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37556 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37557 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37558 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37559 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37560 * math/ftestexcept.c (fetestexcept): Likewise.
37561 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37562 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37563 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37564 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37565 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37566 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37568
af325969
UD
375692010-10-11 Ulrich Drepper <drepper@gmail.com>
37570
c579b202 37571 [BZ #12107]
af325969
UD
37572 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37573 newline.
37574
67a67b95
UD
375752010-10-06 Ulrich Drepper <drepper@gmail.com>
37576
37577 * string/bug-strstr1.c: New file.
37578 * string/Makefile: Add rules to build and run bug-strstr1.
37579
5fb308bc
EB
375802010-10-05 Eric Blake <eblake@redhat.com>
37581
37582 [BZ #12092]
37583 * string/str-two-way.h (two_way_long_needle): Always clear memory
37584 when skipping input due to the shift table.
37585
45db99c7
UD
375862010-10-03 Ulrich Drepper <drepper@gmail.com>
37587
3b111893
UD
37588 [BZ #12005]
37589 * malloc/mcheck.c: Handle large requests.
37590
45db99c7
UD
37591 [BZ #12077]
37592 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37593 for strncmp and strncasecmp.
37594 * string/stratcliff.c: Add tests for strcmp and strncmp.
37595 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37596
cf7a1eb8
NI
375972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37598
37599 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37600 __set_fpscr.
37601
6484ba5e
AJ
376022010-09-30 Andreas Jaeger <aj@suse.de>
37603
37604 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37605 (CGROUP_SUPER_MAGIC): Define.
37606 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37607 Handle btrfs and cgroup file systems.
37608 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37609 Likewise.
37610
91c42559
LM
376112010-09-27 Luis Machado <luisgpm@br.ibm.com>
37612
37613 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37614 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37615
87a97932
AK
376162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37617
37618 [BZ #12067]
37619 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37620 trying to locate the ELF header.
37621
c21cc9bc
AS
376222010-09-27 Andreas Schwab <schwab@redhat.com>
37623
37624 [BZ #11611]
37625 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37626 Mask out sign-bit copies when constructing f_fsid.
37627
315970f6
PB
376282010-09-24 Petr Baudis <pasky@suse.cz>
37629
37630 * debug/stack_chk_fail_local.c: Add missing licence exception.
37631 * debug/warning-nop.c: Likewise.
37632
1ac7a2c7
JM
376332010-09-15 Joseph Myers <joseph@codesourcery.com>
37634
37635 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37636 implementing getdents64 using getdents syscall, set d_type if
37637 __ASSUME_GETDENTS32_D_TYPE.
37638
56801c50
AS
376392010-09-16 Andreas Schwab <schwab@redhat.com>
37640
37641 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37642 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37643
dda51327
UD
376442010-09-21 Ulrich Drepper <drepper@redhat.com>
37645
37646 [BZ #12037]
37647 * posix/unistd.h: Undo change of feature selection for ftruncate from
37648 2010-01-11.
37649
8ffcee4a
UD
376502010-09-20 Ulrich Drepper <drepper@redhat.com>
37651
a545ecd9 37652 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37653 detection.
37654
e24f0a8b
AS
376552010-09-20 Andreas Schwab <schwab@redhat.com>
37656
37657 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37658 fanotify_mark.
37659 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37660
7291c56f
AS
376612010-09-14 Andreas Schwab <schwab@redhat.com>
37662
37663 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37664 variables after CHECK_SP call.
37665 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37666
bc5fb037
AS
376672010-09-13 Andreas Schwab <schwab@redhat.com>
37668 Ulrich Drepper <drepper@redhat.com>
37669
37670 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37671 re-relocationg ld.so.
37672 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37673 _dl_init_paths call.
37674 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37675 here anymore.
37676
e66e7419
UD
376772010-09-14 Ulrich Drepper <drepper@redhat.com>
37678
37679 * resolv/res_init.c (__res_vinit): Count the default server we added.
37680
c044aa75
CLT
376812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37682 Ulrich Drepper <drepper@redhat.com>
37683
37684 [BZ #11968]
37685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37686 (____longjmp_chk): Use %ebx for saving value across system call.
37687 Add unwind info.
37688
32cf4069
AS
376892010-09-06 Andreas Schwab <schwab@redhat.com>
37690
37691 * manual/Makefile: Don't mix pattern rules with normal rules.
37692
817328ee
AS
376932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37694
37695 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37696 operation.
37697 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37698 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37699 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37700 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37702 Likewise.
37703
29fddf61
UD
377042010-09-04 Ulrich Drepper <drepper@redhat.com>
37705
37706 [BZ #11979]
37707 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37708 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37709
0959ffc9
UD
377102010-09-02 Ulrich Drepper <drepper@redhat.com>
37711
37712 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37713 * sysdeps/x86_64/addmul_1.S: Likewise.
37714 * sysdeps/x86_64/lshift.S: Likewise.
37715 * sysdeps/x86_64/mul_1.S: Likewise.
37716 * sysdeps/x86_64/rshift.S: Likewise.
37717 * sysdeps/x86_64/sub_n.S: Likewise.
37718 * sysdeps/x86_64/submul_1.S: Likewise.
37719
ece29840
ST
377202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37721
0959ffc9
UD
37722 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37723 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37724 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37725 * bits/sched.h [__need_schedparam]
ece29840 37726 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37727 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37728 (__defined_schedparam): Define to 1.
ece29840
ST
37729 (__sched_param): New structure, identical to sched_param.
37730 (__need_schedparam): Undefine.
37731
e53a31fe
MF
377322010-08-31 Mike Frysinger <vapier@gentoo.org>
37733
fdc0c10d
MF
37734 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37735 (epoll_create1): Declare.
37736
e53a31fe
MF
37737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37738
a726d796
AS
377392010-08-31 Andreas Schwab <schwab@redhat.com>
37740
37741 [BZ #7066]
37742 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37743 shifting retval into place.
37744
2f3e3dc7
UD
377452010-09-01 Ulrich Drepper <drepper@redhat.com>
37746
f2933da9
UD
37747 * nis/rpcsvc/nis.h: Update copyright notice.
37748 * nis/rpcsvc/nis.x: Likewise.
37749 * nis/rpcsvc/nis_callback.h: Likewise.
37750 * nis/rpcsvc/nis_callback.x: Likewise.
37751 * nis/rpcsvc/nis_object.x: Likewise.
37752 * nis/rpcsvc/nis_tags.h: Likewise.
37753 * nis/rpcsvc/yp.h: Likewise.
37754 * nis/rpcsvc/yp.x: Likewise.
37755 * nis/rpcsvc/ypupd.h: Likewise.
37756 * nis/yp_xdr.c: Likewise.
37757 * nis/ypupdate_xdr.c: Likewise.
37758
2f3e3dc7
UD
37759 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37760 mainly the body of pmap_getport. Add parameters to specify timeouts.
37761 (pmap_getport): Use __libc_rpc_getport.
37762 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37763 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37764 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37765
f3dcc2f9
AS
377662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37767
37768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37769 fanotify_mark.
37770
6d34eb5b
RM
377712010-08-27 Roland McGrath <roland@redhat.com>
37772
37773 * sysdeps/i386/i686/multiarch/Makefile
37774 (CFLAGS-varshift.c): New variable.
37775
9ea3de11
UD
377762010-08-27 Ulrich Drepper <drepper@redhat.com>
37777
c96d23fc
UD
37778 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37779 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37780
9ea3de11
UD
37781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37782
37783 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37784
623aac7f
L
377852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37786
37787 * sysdeps/x86_64/strlen.S: Unroll the loop.
37788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37789 strlen-sse2 strlen-sse2-bsf.
37790 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37791 __strlen_no_bsf if bit_Slow_BSF is set.
37792 (__strlen_sse42): Removed.
37793 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37794 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37795
8b2b7715
RM
377962010-08-25 Roland McGrath <roland@redhat.com>
37797
37798 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37799 * sysdeps/x86_64/multiarch/varshift.c: New file.
37800 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37801 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37802 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37803 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37804
e73015f2
L
378052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37806
37807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37808 strlen-sse2 strlen-sse2-bsf.
37809 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37810 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37811 (__strlen_sse2): Removed.
37812 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37815 bit_Slow_BSF for Atom.
37816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37817 (index_Slow_BSF): Define.
37818 (HAS_SLOW_BSF): Define.
37819
df24a73e
UD
378202010-08-25 Ulrich Drepper <drepper@redhat.com>
37821
37822 [BZ #10851]
37823 * resolv/res_init.c (__res_vinit): When no server address at all
37824 is given default to loopback.
37825
f2ac4868
RM
378262010-08-24 Roland McGrath <roland@redhat.com>
37827
09055553
RM
37828 * configure.in: Remove config-name.h generation.
37829 * configure: Regenerated.
37830 * config-name.in: File removed.
37831 * scripts/config-uname.sh: New file.
37832 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37833 ($(objdir)config-name.h): New target.
37834
f2ac4868
RM
37835 * sunrpc/rpc_parse.h: Avoid nested comment.
37836
73f27d5e
RH
378372010-08-24 Richard Henderson <rth@redhat.com>
37838 Ulrich Drepper <drepper@redhat.com>
37839 H.J. Lu <hongjiu.lu@intel.com>
37840
37841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37843 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37844 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37845 _mm_alignr_epi8 with _mm_loadu_si128.
37846 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37847 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37848 (__m128i_shift_right): Removed.
37849 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37850 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37851 * sysdeps/x86_64/multiarch/varshift.h: New file.
37852 * sysdeps/x86_64/multiarch/varshift.S: New file.
37853
84b9230c
MF
378542010-08-21 Mike Frysinger <vapier@gentoo.org>
37855
37856 * configure.in: Move assembler checks to before sysdep dir checking.
37857
9bbd0ddc
PB
378582010-08-20 Petr Baudis <pasky@suse.cz>
37859
37860 * LICENSES: Sync the sunrpc license.
37861
9da4bb31
UD
378622010-08-19 Ulrich Drepper <drepper@redhat.com>
37863
a7ab6ec8
UD
37864 * sunrpc/auth_des.c: Update copyright notice once again.
37865 * sunrpc/auth_none.c: Likewise.
37866 * sunrpc/auth_unix.c: Likewise.
37867 * sunrpc/authdes_prot.c: Likewise.
37868 * sunrpc/authuxprot.c: Likewise.
37869 * sunrpc/bindrsvprt.c: Likewise.
37870 * sunrpc/clnt_gen.c: Likewise.
37871 * sunrpc/clnt_perr.c: Likewise.
37872 * sunrpc/clnt_raw.c: Likewise.
37873 * sunrpc/clnt_simp.c: Likewise.
37874 * sunrpc/clnt_tcp.c: Likewise.
37875 * sunrpc/clnt_udp.c: Likewise.
37876 * sunrpc/clnt_unix.c: Likewise.
37877 * sunrpc/des_crypt.c: Likewise.
37878 * sunrpc/des_soft.c: Likewise.
37879 * sunrpc/get_myaddr.c: Likewise.
37880 * sunrpc/getrpcport.c: Likewise.
37881 * sunrpc/key_call.c: Likewise.
37882 * sunrpc/key_prot.c: Likewise.
37883 * sunrpc/openchild.c: Likewise.
37884 * sunrpc/pm_getmaps.c: Likewise.
37885 * sunrpc/pm_getport.c: Likewise.
37886 * sunrpc/pmap_clnt.c: Likewise.
37887 * sunrpc/pmap_prot.c: Likewise.
37888 * sunrpc/pmap_prot2.c: Likewise.
37889 * sunrpc/pmap_rmt.c: Likewise.
37890 * sunrpc/rpc/auth.h: Likewise.
37891 * sunrpc/rpc/auth_unix.h: Likewise.
37892 * sunrpc/rpc/clnt.h: Likewise.
37893 * sunrpc/rpc/des_crypt.h: Likewise.
37894 * sunrpc/rpc/key_prot.h: Likewise.
37895 * sunrpc/rpc/netdb.h: Likewise.
37896 * sunrpc/rpc/pmap_clnt.h: Likewise.
37897 * sunrpc/rpc/pmap_prot.h: Likewise.
37898 * sunrpc/rpc/pmap_rmt.h: Likewise.
37899 * sunrpc/rpc/rpc.h: Likewise.
37900 * sunrpc/rpc/rpc_des.h: Likewise.
37901 * sunrpc/rpc/rpc_msg.h: Likewise.
37902 * sunrpc/rpc/svc.h: Likewise.
37903 * sunrpc/rpc/svc_auth.h: Likewise.
37904 * sunrpc/rpc/types.h: Likewise.
37905 * sunrpc/rpc/xdr.h: Likewise.
37906 * sunrpc/rpc_clntout.c: Likewise.
37907 * sunrpc/rpc_cmsg.c: Likewise.
37908 * sunrpc/rpc_common.c: Likewise.
37909 * sunrpc/rpc_cout.c: Likewise.
37910 * sunrpc/rpc_dtable.c: Likewise.
37911 * sunrpc/rpc_hout.c: Likewise.
37912 * sunrpc/rpc_main.c: Likewise.
37913 * sunrpc/rpc_parse.c: Likewise.
37914 * sunrpc/rpc_parse.h: Likewise.
37915 * sunrpc/rpc_prot.c: Likewise.
37916 * sunrpc/rpc_sample.c: Likewise.
37917 * sunrpc/rpc_scan.c: Likewise.
37918 * sunrpc/rpc_scan.h: Likewise.
37919 * sunrpc/rpc_svcout.c: Likewise.
37920 * sunrpc/rpc_tblout.c: Likewise.
37921 * sunrpc/rpc_util.c: Likewise.
37922 * sunrpc/rpc_util.h: Likewise.
37923 * sunrpc/rpcinfo.c: Likewise.
37924 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37925 * sunrpc/rpcsvc/key_prot.x: Likewise.
37926 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37927 * sunrpc/rpcsvc/mount.x: Likewise.
37928 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37929 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37930 * sunrpc/rpcsvc/rex.x: Likewise.
37931 * sunrpc/rpcsvc/rstat.x: Likewise.
37932 * sunrpc/rpcsvc/rusers.x: Likewise.
37933 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37934 * sunrpc/rpcsvc/spray.x: Likewise.
37935 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37936 * sunrpc/rtime.c: Likewise.
37937 * sunrpc/svc.c: Likewise.
37938 * sunrpc/svc_auth.c: Likewise.
37939 * sunrpc/svc_authux.c: Likewise.
37940 * sunrpc/svc_raw.c: Likewise.
37941 * sunrpc/svc_run.c: Likewise.
37942 * sunrpc/svc_simple.c: Likewise.
37943 * sunrpc/svc_tcp.c: Likewise.
37944 * sunrpc/svc_udp.c: Likewise.
37945 * sunrpc/svc_unix.c: Likewise.
37946 * sunrpc/svcauth_des.c: Likewise.
37947 * sunrpc/xcrypt.c: Likewise.
37948 * sunrpc/xdr.c: Likewise.
37949 * sunrpc/xdr_array.c: Likewise.
37950 * sunrpc/xdr_float.c: Likewise.
37951 * sunrpc/xdr_mem.c: Likewise.
37952 * sunrpc/xdr_rec.c: Likewise.
37953 * sunrpc/xdr_ref.c: Likewise.
37954 * sunrpc/xdr_sizeof.c: Likewise.
37955 * sunrpc/xdr_stdio.c: Likewise.
37956
9da4bb31
UD
37957 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37958 handling.
37959
bdaa77bc
AS
379602010-08-19 Andreas Schwab <schwab@redhat.com>
37961
37962 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37963
fe2f79db
LM
379642010-08-19 Luis Machado <luisgpm@br.ibm.com>
37965
37966 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37967 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37968 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37969 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37971 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37972 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37973 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37974 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37975 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37976 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37977 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37978 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37979 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37980
b9b42ee0
AB
379812010-07-26 Anton Blanchard <anton@samba.org>
37982
37983 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37984 * malloc/arena.c (heap_trim): Likewise.
37985
1c06ba31
UD
379862010-08-16 Ulrich Drepper <drepper@redhat.com>
37987
37988 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37989 here. Not...
37990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37991 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37992
f8392f40
L
379932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37994
37995 * sysdeps/i386/elf/Makefile: New file.
37996
3162f12e
AS
379972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37998
37999 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38000 from fanotify_init.
38001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38002 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38003
28c90b2c
UD
380042010-08-15 Ulrich Drepper <drepper@redhat.com>
38005
38006 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38007 of strncasecmp_l.
1feccb6c 38008 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38009
ca6bb004
UD
380102010-08-14 Ulrich Drepper <drepper@redhat.com>
38011
e9f82e0d
UD
38012 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38013 strncase_l-nonascii.
38014 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38015 Add strncase_l-ssse3.
38016 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38017 * sysdeps/x86_64/strcmp.S: Likewise.
38018 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38019 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38020 * sysdeps/x86_64/strncase.S: New file.
38021 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38022 * sysdeps/x86_64/strncase_l.S: New file.
38023 * string/Makefile (strop-tests): Add strncasecmp.
38024 * string/test-strncasecmp.c: New file.
38025
38026 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38027 warning.
38028
ca6bb004
UD
38029 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38030 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38031
052fa7b3
AS
380322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38033
38034 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38035
962dba78
UD
380362010-08-12 Ulrich Drepper <drepper@redhat.com>
38037
38038 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38039 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38040 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38041
bebff237
AM
380422010-05-01 Alan Modra <amodra@gmail.com>
38043
38044 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38045 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38046 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38047 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38048 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38049 tidying. Don't tail-call __sigjmp_save for static lib.
38050 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38051 save location.
38052 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38053 (CALL_MCOUNT): Add eh info, and nop after bl.
38054 (TAIL_CALL_SYSCALL_ERROR): New macro.
38055 (PSEUDO_RET): Use it.
38056 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38057 Correct save location of integer regs and cr.
38058 (_dl_profile_resolve): Correct cr save location. Delete nops
38059 after bl when SHARED. Reduce cfi size a little by better
38060 placement of cfi directives.
38061 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38062 make a stack frame. Instead use parm save area as a temp.
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38064 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38066 Don't make a stack frame for parent, use parm save area.
38067 Increase child stack frame to 112 bytes. Don't save unused reg,
38068 and adjust reg usage. Set up cfi on error recovery and
38069 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38071 (__makecontext): Add dummy nop after jump to exit.
38072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38073 Use correct parm save area and cr save, reduce stack frame.
38074 Correct cfi for possible PSEUDO_RET frame setup.
38075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38076 Branch to local label emitted by PSEUDO_RET rather than
38077 __syscall_error.
38078
02637374
AS
380792010-08-12 Andreas Schwab <schwab@redhat.com>
38080
38081 [BZ #11904]
38082 * locale/programs/locale.c (print_assignment): New function.
38083 (show_locale_vars): Use it.
38084
c3e2f19b
UD
380852010-08-11 Ulrich Drepper <drepper@redhat.com>
38086
3cdaa6ad
UD
38087 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38088 field.
38089 (struct statfs64): Likewise.
38090 (_STATFS_F_FLAGS): Define.
38091 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38093 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38094 (ST_VALID): Define locally.
38095 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38096 __statvfs_getflags, use the provided value.
38097 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38098 __ASSUME_STATFS_F_FLAGS.
38099
754f7da3
UD
38100 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38101
10b3bedc
UD
38102 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38103 Add sys/fanotify.h.
38104 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38105 fanotify_mask for GLIBC_2.13.
38106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38107 fanotify_init and fanotify_mark.
38108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38109 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38110
c08fb0d7
UD
38111 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38112 Add prlimit.
38113 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38114 prlimit64 for GLIBC_2.13.
38115 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38116 prlimit64.
38117 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38118 syscall.
38119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38121 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38122 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38124 add prlimit alias.
38125 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38126
15bac72b
UD
38127 [BZ #11903]
38128 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38129 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38130
c3e2f19b
UD
38131 * nss/Makefile: Add rules to build and run tst-nss-test1.
38132 * shlib-versions: Add entry for libnss_test1.
38133 * nss/nss_test1.c: New file.
38134 * nss/tst-nss-test1.c: New file.
38135
38136 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38137 (__nss_configure_lookup): Set appropriate entry in
38138 __nss_configure_lookup to true.
38139 * nss/nsswitch.h: Define enum with indeces of databases in
38140 databases and __nss_database_custom arrays. Declare
38141 __nss_database_custom.
38142 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38143 to avoid using nscd when custom rules are installed.
38144 * nss/getXXbyYY_r.c: Likewise.
38145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38146
38147 * nss/nss_files/files-parse.c: Whitespace fixes.
38148
f15ce4d8
UD
381492010-08-09 Ulrich Drepper <drepper@redhat.com>
38150
38151 [BZ #11883]
38152 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38153 * posix/fnmatch_loop.c: Likewise.
38154
d22e4cc9
AK
381552010-07-17 Andi Kleen <ak@linux.intel.com>
38156
38157 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38158 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38159 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38160 * Versions.def [GLIBC_2.13]: Add.
38161
805bc17d
UD
381622010-08-06 Ulrich Drepper <drepper@redhat.com>
38163
38164 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38165 Also fail if tpwd after pwuid call is NULL.
38166
5a42321d
ST
381672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38168
38169 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38170 when converting to ms.
38171
fd3ebeda
ST
381722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38173
38174 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38175 EOPNOTSUPP errors with ENOTTY.
38176 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38177 EOPNOTSUPP errors with ENOTTY.
38178
73507d3a
UD
381792010-07-31 Ulrich Drepper <drepper@redhat.com>
38180
38181 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38182 Add strcasecmp_l-ssse3.
38183 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38184 strcasecmp.
38185 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38186 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38187 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38188
fe36dd02
UD
381892010-07-30 Ulrich Drepper <drepper@redhat.com>
38190
66f6765a
UD
38191 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38192
42e08a54
UD
38193 * string/Makefile (strop-tests): Add strcasecmp.
38194 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38195 strcasecmp_l-nonascii.
38196 (gen-as-const-headers): Add locale-defines.sym.
38197 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38198 * sysdeps/x86_64/strcasecmp.S: New file.
38199 * sysdeps/x86_64/strcasecmp_l.S: New file.
38200 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38201 * sysdeps/x86_64/locale-defines.sym: New file.
38202 * string/test-strcasecmp.c: New file.
38203
fe36dd02
UD
38204 * string/test-strcasestr.c: Test both ends of the range of characters.
38205 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38206
48cbc0d6
RM
382072010-07-29 Roland McGrath <roland@redhat.com>
38208
76e6d6bc 38209 [BZ #11856]
48cbc0d6
RM
38210 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38211
880113d9
UD
382122010-07-27 Ulrich Drepper <drepper@redhat.com>
38213
38214 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38215 for ld.so.
38216
deb9cabb
AS
382172010-07-27 Andreas Schwab <schwab@redhat.com>
38218
38219 * manual/memory.texi (Malloc Tunable Parameters): Document
38220 M_PERTURB.
38221
1c7570ff
RM
382222010-07-26 Roland McGrath <roland@redhat.com>
38223
38224 [BZ #11840]
38225 * configure.in (-fgnu89-inline check): Set and substitute
38226 gnu89_inline, not libc_cv_gnu89_inline.
38227 * configure: Regenerated.
38228 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38229
24fb0f88
UD
382302010-07-26 Ulrich Drepper <drepper@redhat.com>
38231
38232 * string/test-strnlen.c: New file.
38233 * string/Makefile (strop-tests): Add strnlen.
38234 * string/tester.c (test_strnlen): Add a few more test cases.
38235 * string/tst-strlen.c: Better error reporting.
38236
38237 * sysdeps/x86_64/strnlen.S: New file.
38238
8e96b93a
UD
382392010-07-24 Ulrich Drepper <drepper@redhat.com>
38240
38241 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38242 lower-latency instructions.
38243
dbc676d4
UD
382442010-07-23 Ulrich Drepper <drepper@redhat.com>
38245
38246 * string/test-strcasestr.c: New file.
38247 * string/test-strstr.c: New file.
38248 * string/Makefile (strop-tests): Add strstr and strcasestr.
38249 * string/str-two-way.h: Don't undefine MAX.
38250 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38251
f6a31e0e
AS
382522010-07-21 Andreas Schwab <schwab@redhat.com>
38253
38254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38255 strcasestr-nonascii.
38256 (CFLAGS-strcasestr-nonascii.c): Define.
38257 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38258 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38259 Remove unused attribute.
38260
5dbc3b6c
RM
382612010-07-20 Roland McGrath <roland@redhat.com>
38262
38263 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38264 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38265 ld.so.cache was broken. With it, there is no way to disable dsocaps
38266 like LD_HWCAP_MASK can disable hwcaps.
38267
23d101d8
EPM
382682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38269
38270 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38271
cc9f2e47
UD
382722010-07-16 Ulrich Drepper <drepper@redhat.com>
38273
38274 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38275 call in strcasestr.
38276 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38277 __strcasestr_sse42_nonascii.
38278 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38279 strcasestr-nonascii.c.
38280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38281
77c1b069
LM
382822010-06-15 Luis Machado <luisgpm@br.ibm.com>
38283
38284 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38285 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38286 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38287 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38288
440566c3
UD
382892010-07-09 Ulrich Drepper <drepper@redhat.com>
38290
38291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38292 fcntl.
38293
5be9d05d
AS
382942010-07-06 Andreas Schwab <schwab@redhat.com>
38295
c30b7ee2 38296 [BZ #11577]
5be9d05d
AS
38297 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38298 dl_signal_cerror.
38299
8a492a67
UD
383002010-07-06 Ulrich Drepper <drepper@redhat.com>
38301
38302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38303 _PC_PIPE_BUF using F_GETPIPE_SZ.
38304
713df3d5
RM
383052010-07-05 Roland McGrath <roland@redhat.com>
38306
38307 * manual/arith.texi (Rounding Functions): Fix rint description
38308 implicit in round description.
38309
702e8f14
UD
383102010-07-02 Ulrich Drepper <drepper@redhat.com>
38311
38312 * elf/Makefile: Fix linking for a few tests to make recent linker
38313 happy.
38314
52ed8be9
AS
383152010-06-30 Andreas Schwab <schwab@redhat.com>
38316
38317 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38318 $(common-objpfx)libc_nonshared.a.
38319
f47c9a11
LM
383202010-06-21 Luis Machado <luisgpm@br.ibm.com>
38321
38322 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38323 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38324 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38325 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38326 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38327 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38328 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38329 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38344 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38345 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38346 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38347 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38348 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38349 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38350 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38351 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38352 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38353 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38354 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38355 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38370
6fb8cbcb
L
383712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38372
38373 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38374 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38375 * string/memmove.c (memmove): Renamed to ...
38376 (MEMMOVE): ...this. Default to memmove.
38377 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38378 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38379 (END_CHK): Define.
38380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38381 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38382 mempcpy-ssse3-back memmove-ssse3-back.
38383 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38384 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38386 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38387 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38388 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38389 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38390 * sysdeps/x86_64/multiarch/memmove.c: New file.
38391 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38392 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38393 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38394 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38395 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38397 Define.
38398 (index_Fast_Copy_Backward): Define.
38399 (HAS_ARCH_FEATURE): Define.
38400 (HAS_FAST_REP_STRING): Define.
38401 (HAS_FAST_COPY_BACKWARD): Define.
38402
4e733bac 384032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38404
38405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38406 Restore proper fallback handling.
38407
63c4ed22
UD
384082010-06-19 Ulrich Drepper <drepper@redhat.com>
38409
ac2b484c
UD
38410 [BZ #11701]
38411 * posix/group_member.c (__group_member): Correct checking loop.
38412
63c4ed22
UD
38413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38414 OOM in getpwuid_r correctly. Return error number when the caller
38415 should return, otherwise -1.
38416 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38417 call returning > 0 value.
38418 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38419
765ade4b
AS
384202010-06-07 Andreas Schwab <schwab@redhat.com>
38421
38422 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38423 libc_nonshared.a from targets in modules-names.
38424
80da2e09
KS
384252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38426
38427 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38428 requires it.
38429
158db122
LM
384302010-06-10 Luis Machado <luisgpm@br.ibm.com>
38431
38432 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38433 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38434 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38435 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38436
caa78cf8
AS
384372010-06-02 Andreas Schwab <schwab@redhat.com>
38438
38439 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38440
b2ef2c01
UD
384412010-06-14 Ulrich Drepper <drepper@redhat.com>
38442
38443 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38444 and F_GETPIPE_SZ.
38445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38449 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38451
fbd643b6
RM
384522010-06-14 Roland McGrath <roland@redhat.com>
38453
38454 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38455
f32f2869
JJ
384562010-06-07 Jakub Jelinek <jakub@redhat.com>
38457
38458 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38459 __REDIRECT followed by __THROW.
38460 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38461 * posix/getopt.h (getopt): Likewise.
38462
2a50c078
EPM
384632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38464
38465 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38466 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38467 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38468 in AT_FLAGS.
38469 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38470 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38471
eb5ad2eb
LM
384722010-05-28 Luis Machado <luisgpm@br.ibm.com>
38473
38474 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38475
3c88fe1e
L
384762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38477
38478 [BZ #11640]
38479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38480 Properly check family and model.
38481
d2f73151
TY
384822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38483
38484 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38485
ebd2e13d
LM
384862010-05-24 Luis Machado <luisgpm@br.ibm.com>
38487
38488 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38489
b32b8b45
UD
384902010-05-21 Ulrich Drepper <drepper@redhat.com>
38491
38492 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38493 symbol reference.
38494
9acbe24d
AS
384952010-05-19 Andreas Schwab <schwab@redhat.com>
38496
38497 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38498 symbol reference.
38499
f0ccf6ea
AS
385002010-05-21 Andreas Schwab <schwab@redhat.com>
38501
3d04ff3a
AS
38502 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38503 and internal_recvmmsg.
38504 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38505 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38506 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38507 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38508
f0ccf6ea
AS
38509 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38510 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38511 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38512
5b08ac57
AS
385132010-05-20 Andreas Schwab <schwab@redhat.com>
38514
38515 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38516
4828935d
LM
385172010-05-17 Luis Machado <luisgpm@br.ibm.com>
38518
38519 POWER7 optimizations.
38520 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38521 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38522
373d545e
UD
385232010-05-19 Ulrich Drepper <drepper@redhat.com>
38524
38525 * version.h: Update for 2.13 development version.
38526
21a2b1ae
AS
385272010-05-12 Andrew Stubbs <ams@codesourcery.com>
38528
38529 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38530 exceptions. Return 0.
38531
3f7dcb2b
RM
385322010-05-07 Roland McGrath <roland@redhat.com>
38533
38534 * elf/ldconfig.c (main): Add a const.
38535
5f24d53a 385362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38537
a160f8d8
UD
38538 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38539 (args_options): Add no-idn option.
38540 (ahosts_keys_int): Add idn_flags to ai_flags.
38541 (parse_option): Handle 'i' option to clear idn_flags.
38542
5f24d53a
UD
38543 * malloc/malloc.c (_int_free): Possible race in the most recently
38544 added check. Only act on the data if no current modification
38545 happened.
265bb1ce
UD
38546
38547See ChangeLog.17 for earlier changes.