]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: sotruss-lib implementation
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2393fc01
AZ
12014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4 implementation for powerpc.
5
d359bcc2
OB
62014-01-15 Ondřej Bílka <neleai@seznam.cz>
7
8 [BZ #14782]
9 * sysdeps/posix/system.c (__libc_system): Do not enable
10 asynchronous cancellation.
11
7beb48cb
AK
122014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13
14 [BZ #16427]
15 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16 handling only for numbers special also in the IEEE case.
17
c20d5bf5
AK
182014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19
20 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21
e83bd4ee
AM
222014-01-11 Allan McRae <allan@archlinux.org>
23
76d0ea69
AM
24 * po/bg.po: Update Bulgarian translation from translation project.
25
e83bd4ee
AM
26 * po/de.po: Update German translation from translation project.
27
bc2ba20a
RM
282014-01-10 Roland McGrath <roland@hack.frob.com>
29
30 * sysdeps/generic/gcc-compat.h: New file.
31
649ecea2
SP
322014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33
34 * benchtests/asin-inputs: Correct slow inputs.
35 * benchtests/acos-inputs: Likewise.
36
1b19c006
AM
372014-01-10 Allan McRae <allan@archlinux.org>
38
a46dab08
AM
39 * po:sv.po: Update Swedish translation from translation project.
40
421df74a
AM
41 * po/vi.po: Update Vietnamese translation from translation project.
42
d61c51a7
AM
43 * po/eo.po: Update Esperanto translation from translation project.
44
0339a319
AM
45 * po/cs.po: Update Czech translation from translation project.
46
94ad3e99
AM
47 * po/nl.po: Update Dutch translation from translation project.
48
e349ca71
AM
49 * po/pl.po: Update Polish translation from translation project.
50
ddf930c1
AM
51 * po/ru.po: Update Russian translation from translation project.
52
1b19c006
AM
53 * po/uk.po: Update Ukrainian translation from translation project.
54
9f236c49
BM
552014-01-08 Brooks Moses <bmoses@google.com>
56
57 * elf/dl-load.c: Fix comment typo.
58
cd6701cf
CD
592014-01-08 Carlos O'Donell <carlos@redhat.com>
60
61 * po/header.pot: Rename to...
62 * po/pot.header: ... this.
63 * po/Makefile: Use pot.header.
64
66671c84
YK
652014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
66 Maxim Kuvyrkov <maxim@kugelworks.com>
67
68 [BZ #16394]
cd6701cf
CD
69 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
70 SRC and DEST against LEN.
66671c84 71
38f34581
AZ
722014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73
74 [BZ #16414]
75 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
76 implementation.
77 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
78
792014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
80
81 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82
4c327f2a
JM
832014-01-08 Joseph Myers <joseph@codesourcery.com>
84
85 [BZ #16408]
86 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
87 for large positive arguments.
88
b821f414
JM
892014-01-07 Joseph Myers <joseph@codesourcery.com>
90
1f0f2067
JM
91 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
92
a5a326f6
JM
93 * math/auto-libm-test-in: Mark various tests with
94 xfail-rounding:ldbl-128ibm.
95 * math/auto-libm-test-out: Regenerated.
96
b821f414
JM
97 [BZ #16407]
98 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
99 Increase overflow threshold.
100
94c8a4bc
OB
1012014-01-07 Ondřej Bílka <neleai@seznam.cz>
102
103 [BZ #14286]
104 * stdio-common/vfprintf.c: Check for integer overflow.
105
87ded0c3
AK
1062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
107
108 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
109 the first argument and return value of __tls_get_addr_internal.
110
c5eebdd0
AK
1112014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
112
113 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
114 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
115
05d138ef
AK
1162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
117
118 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
119 * sysdeps/s390/rtld-global-offsets.sym: New file.
120 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
121 GLIBC_2.19 symbol.
122 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
123 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
125 ... this.
126 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
127 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
128 ... this.
129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
130 Regenerate.
131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
132 Regenerate.
133 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
134 halfs of GPRs for high_gprs contexts.
135 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
136 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
137 field.
138 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
139 uc_flags field.
140 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
141 64 bit versions:
142 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
143 for high GPRs (uc_high_gprs) and for future extensions
144 (__reserved).
145 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
146 for future extensions (__reserved).
147 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
148 64 bit versions:
149 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
150 SC_HIGHGPRS offset definition.
151 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
152 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
153
93a45ff1
AK
1542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
155
156 * Versions.def: Add GLIBC_2.19 for libpthread.
157 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
158 siglongjmp for libpthread with GLIBC_2.19 symver.
159 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
160 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
161 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
162 * sysdeps/s390/__longjmp.c: New file.
163 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
164 * sysdeps/s390/longjmp.c: New file.
165 * sysdeps/s390/setjmp.S: New file.
166 * sysdeps/s390/sigjmp.S: New file.
167 * sysdeps/s390/v1-longjmp.c: New file.
168 * sysdeps/s390/v1-setjmp.h: New file.
169 * sysdeps/s390/v1-sigjmp.c: New file.
170 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
171 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
172 GLIBC_2.19 version.
173 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
174 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
175 versioned symbols for ____longjmp_chk.
176 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
177 Likewise.
178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
179 Regenerate.
180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
181 Regenerate.
182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
183 Regenerate.
184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
185 Regenerate.
186 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
187 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
188 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
189 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
190 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
191 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
192 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
193 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
194 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
195 * sysdeps/s390/rtld-__longjmp.c: New file.
196 * sysdeps/s390/rtld-setjmp.S: New file.
197
eb3fc44b
JM
1982014-01-06 Joseph Myers <joseph@codesourcery.com>
199
200 [BZ #16400]
201 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
202 Return -__logl (x) for small positive arguments without evaluating
203 a polynomial.
204
9341dde4
MF
2052014-01-06 Mike Frysinger <vapier@gentoo.org>
206
207 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
208 Rename to ...
209 (__ptrace_peeksiginfo_args): ... this.
210 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
211 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
212 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
213
4cff0293
AM
2142014-01-06 Allan McRae <allan@archlinux.org>
215
216 * inet/netinet/in.h: Fix typo in comment.
217
75595dcf
AJ
2182014-01-05 Andreas Jaeger <aj@suse.de>
219
220 * sysdeps/i386/fpu/libm-test-ulps: Update.
221
79c1e109
AM
2222014-01-05 Allan McRae <allan@archlinux.org>
223
dd804818
AM
224 * po/libc.pot: Regenerated.
225
79c1e109
AM
226 * malloc/memusagestat.c: Fix gettext call formatting.
227
0c813d1f
SK
2282014-01-04 Sami Kerola <kerolasa@iki.fi>
229
230 * nscd/nscd.c: Improve usage() output.
231
20f4a8d9
MF
2322014-01-04 Mike Frysinger <vapier@gentoo.org>
233
234 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
235 * sysdeps/unix/sysv/linux/configure: Regenerated.
236 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
237 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
238
22562bb2
JM
2392014-01-03 Joseph Myers <joseph@codesourcery.com>
240
241 [BZ #16390]
242 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
243 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
244
d7ad2d9b
AZ
2452014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246
247 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
248 extra tokens at end of #undef directive.
249 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
250 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
251 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
252
7f507ee1
AH
2532014-01-03 Andrew Hunter <ahh@google.com>
254
0da43124 255 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
256 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
257 atomic_compare_and_exchange_bool_acq
258 (_dl_allocate_static_tls): Block signals.
259 * elf/dl-tls.c (allocate_and_init): Return void.
260 (_dl_update_slotinfo): Block signals, use atomic update.
261
7dd009d8
JM
2622014-01-03 Joseph Myers <joseph@codesourcery.com>
263
24db925a
JM
264 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
265
7dd009d8
JM
266 * math/auto-libm-test-in: Mark various tests with
267 xfail-rounding:ldbl-128ibm.
268 * math/auto-libm-test-out: Regenerated.
269
396e3ecf
JM
2702014-01-02 Joseph Myers <joseph@codesourcery.com>
271
819e5d50
JM
272 [BZ #16386]
273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
274 numbers with subnormal high part when calculating exponent.
275
90b6a1e5
JM
276 [BZ #16385]
277 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
278 fabs.
279
396e3ecf
JM
280 [BZ #16384]
281 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
282 M_LN2l.
283 (__ieee754_acoshl): Use __log1pl not __log1p.
284
6c8dbf00
OB
2852013-01-02 Ondřej Bílka <neleai@seznam.cz>
286
287 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
288 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
289 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
290 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
291 Convert to GNU style.
292 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
293 mem2mem_check, mem2chunk_check, top_check, realloc_check,
294 memalign_check, __malloc_set_state): Likewise.
295 * malloc/mallocbug.c (main): Likewise.
296 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
297 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
298 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
299 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
300 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
301 * malloc/malloc.h: Likewise.
302 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
303 memalignhook, reallochook, mabort): Likewise.
304 * malloc/mcheck.h: Likewise.
305 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
306 mmap64, mremap, munmap, dest): Likewise.
307 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
308 * malloc/morecore.c (__default_morecore): Likewise.
309 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
310 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
311 _obstack_allocated_p, obstack_free, _obstack_memory_used,
312 print_and_abort): Likewise.
313 * malloc/obstack.h: Likewise.
314 * malloc/set-freeres.c (__libc_freeres): Likewise.
315 * malloc/tst-mallocstate.c (main): Likewise.
316 * malloc/tst-mtrace.c (main): Likewise.
317 * malloc/tst-realloc.c (do_test): Likewise.
318
d4124212
SP
3192013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
320
9a3c6a6f
SP
321 [BZ #16366]
322 * nscd/netgroupcache.c (do_notfound): New function.
323 (addgetnetgrentX): Use it.
324
d4124212
SP
325 [BZ # 16365]
326 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
327 NSS_STATUS_NOTFOUND.
328
97b9a009
JM
3292014-01-01 Joseph Myers <joseph@codesourcery.com>
330
331 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
333
d4697bc9
AM
3342014-01-01 Allan McRae <allan@archlinux.org>
335
ddb3687f
AM
336 * scripts/update-copyrights: Update configure input file suffix.
337
88726d48
AM
338 * NEWS: Update copyright year.
339 * catgets/gencat.c: Likewise.
340 * csu/version.c: Likewise.
341 * debug/catchsegv.sh: Likewise.
342 * debug/pcprofiledump.c: Likewise.
343 * debug/xtrace.sh: Likewise.
344 * elf/ldconfig.c: Likewise.
345 * elf/ldd.bash.in: Likewise.
346 * elf/pldd.c: Likewise.
347 * elf/sotruss.ksh: Likewise.
348 * elf/sprof.c: Likewise.
349 * iconv/iconv_prog.c: Likewise.
350 * iconv/iconvconfig.c: Likewise.
351 * locale/programs/locale.c: Likewise.
352 * locale/programs/localedef.c: Likewise.
353 * login/programs/pt_chown.c: Likewise.
354 * malloc/memusage.sh: Likewise.
355 * malloc/memusagestat.c: Likewise.
356 * malloc/mtrace.pl: Likewise.
357 * manual/libc.texinfo: Likewise.
358 * nscd/nscd.c: Likewise.
359 * nss/getent.c: Likewise.
360 * nss/makedb.c: Likewise.
361 * posix/getconf.c: Likewise.
362 * scripts/test-installation.pl: Likewise.
363
d4697bc9
AM
364 * All files with FSF copyright notices: Update copyright dates
365 using scripts/update-copyrights.
366 * intl/plural.c: Regenerated.
367 * locale/programs/charmap-kw.h: Likewise.
368 * locale/programs/locfile-kw.h: Likewise.
369
c8590f9d
MF
3702013-12-31 Mike Frysinger <vapier@gentoo.org>
371
372 * sysdeps/unix/sysv/linux/configure: Regenerated.
373 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
374 the linux/fanotify.h header.
375 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
376 HAVE_LINUX_FANOTIFY_H is defined.
377
b19221b9
SP
3782013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
379
dd1d85e5
SP
380 * benchtests/cos-inputs: New inputs.
381 * benchtests/sin-inputs: Likewise.
382
1acbb90f
SP
383 * benchtests/atan-inputs: New inputs. Fix name of multiple
384 precision fallback inputs.
385
4c012ed3
SP
386 * benchtests/atanh-inputs: New inputs.
387 * benchtests/tanh-inputs: Likewise.
388
eff98324
SP
389 * benchtests/acosh-inputs: New inputs.
390 * benchtests/asinh-inputs: Likewise.
391
ce641152
SP
392 * benchtests/cosh-inputs: New inputs.
393 * benchtests/sinh-inputs: Likewise.
394
b19221b9
SP
395 * benchtests/acos-inputs: Add more inputs.
396 * benchtests/asin-inputs: Likewise.
397
030a4976 3982013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 399
030a4976 400 [BZ #16375]
9dcc8f11
VS
401 * manual/arith.texi: Fix spelling.
402 * manual/charset.texi: Likewise.
403 * manual/errno.texi: Likewise.
404 * manual/filesys.texi: Likewise.
405 * manual/lang.texi: Likewise.
406 * manual/llio.texi: Likewise.
407 * manual/locale.texi: Likewise.
408 * manual/message.texi: Likewise.
409 * manual/resource.texi: Likewise.
410 * manual/search.texi: Likewise.
411 * manual/setjmp.texi: Likewise.
412 * manual/stdio.texi: Likewise.
413 * manual/string.texi: Likewise.
414 * manual/sysinfo.texi: Likewise.
415 * manual/time.texi: Likewise.
416
11520a57
CD
4172013-12-27 Carlos O'Donell <carlos@redhat.com>
418
419 * po/sl.po: New file.
420
471103ae
MF
4212013-12-27 Mike Frysinger <vapier@gentoo.org>
422
423 * .gitignore: Add core/.gdbinit/.gdb_history.
424
6c9642ed
AM
4252013-12-27 Allan McRae <allan@archlinux.org>
426
427 [BZ #16369]
428 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
429 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
430
3f637079
BM
4312013-12-24 Brooks Moses <bmoses@google.com>
432
433 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
434 all compilers that claim C++98 compliance, not just GCC.
435 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
436 Likewise.
437
abc26e99
MK
4382013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
439
440 * NEWS: Restore accidentally deleted bug-fix entries.
441
362b47fe
MK
4422013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
443 Ondřej Bílka <neleai@seznam.cz>
444
445 [BZ #15073]
446 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 447 have_lock.
362b47fe 448
b9bcbbcb
OB
4492013-12-23 Ondřej Bílka <neleai@seznam.cz>
450
451 [BZ #12986]
452 * manual/stdio.texi (String Input Conversions): Clarify that character
453 classes are not supported.
454
fb55fcd2
AZ
4552013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456
457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
458
ef7344f0
JM
4592013-12-22 Joseph Myers <joseph@codesourcery.com>
460
4f40e4b3
JM
461 [BZ #16337]
462 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
463 Calculate results for small negative arguments directly rather
464 than using reflection formula with special underflow handling.
465
ef7344f0
JM
466 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
467 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
468 sysdeps/unix/bsd/bsd4.4/syscalls.list.
469 (fchflags): Likewise.
470 (revoke): Likewise.
471 (setlogin): Likewise.
472 (sigaltstack): Likewise.
473 (wait4): Likewise.
474 (sigblock): Remove.
475 (sigsetmask): Likewise.
476 (wait3): Likewise.
477 (waitpid): Likewise.
478 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
479 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
480 file.
481 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
482 * sysdeps/unix/bsd/Makefile: ... here.
483 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
484 * sysdeps/unix/bsd/Versions: ... here.
485 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
486 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
487 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
488 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
489 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
490 * sysdeps/unix/bsd/sigblock.c: ... here.
491 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
492 * sysdeps/unix/bsd/sigsetmask.c: ... here.
493 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
494 * sysdeps/unix/bsd/sigvec.c: ... here.
495 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
496 * sysdeps/unix/bsd/tcdrain.c: ... here.
497 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
498 * sysdeps/unix/bsd/tcgetattr.c: ... here.
499 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
500 * sysdeps/unix/bsd/tcsetattr.c: ... here.
501 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
502 * sysdeps/unix/bsd/wait.c: ... here.
503 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
504 * sysdeps/unix/bsd/wait3.c: ... here.
505 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
506 * sysdeps/unix/bsd/waitpid.c: ... here.
507
5b0626b9
JM
5082013-12-21 Joseph Myers <joseph@codesourcery.com>
509
510 [BZ #16356]
511 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
512 round-to-nearest for [!USE_AS_EXPM1L].
513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
514 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
515 more tests of exp and exp10. Expect some exp10 tests to miss
516 exceptions or fail in directed rounding modes.
517 * math/auto-libm-test-out: Regenerated.
518 * math/libm-test.inc (exp10_tonearest_test_data): New array.
519 (exp10_test_tonearest): New function.
520 (exp10_towardzero_test_data): New array.
521 (exp10_test_towardzero): New function.
522 (exp10_downward_test_data): New array.
523 (exp10_test_downward): New function.
524 (exp10_upward_test_data): New array.
525 (exp10_test_upward): New function.
526 (main): Call the new functions.
527 * sysdeps/i386/fpu/libm-test-ulps: Update.
528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
529
7fda5682
JM
5302013-12-20 Joseph Myers <joseph@codesourcery.com>
531
31e3a405
JM
532 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
533 asinh, atan, atan2, atanh, cbrt, cos and cosh.
534 * math/auto-libm-test-out: Regenerated.
535 * math/libm-test.inc (acosh_test_data): Add more tests.
536 (atanh_test_data): Likewise.
537 (ceil_test_data): Likewise.
538 (copysign_test_data): Likewise.
539 * sysdeps/i386/fpu/libm-test-ulps: Update.
540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
541
85bff96a
JM
542 * timezone/checktab.awk: Update from tzcode 2013i.
543 * timezone/private.h: Likewise.
544 * timezone/scheck.c: Likewise.
545 * timezone/tzfile.h: Likewise.
546 * timezone/tzselect.ksh: Likewise.
547 * timezone/zdump.c: Likewise.
548 * timezone/zic.c: Likewise.
549
b7867a3b
JM
550 * math/auto-libm-test-in: Add tests of cpow.
551 * math/auto-libm-test-out: Regenerated.
552 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
553 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
554 mpc_cc_c.
555 (func_calc_desc): Add mpc_cc_c union field.
556 (test_functions): Add cpow.
557 (special_fill_2pi): New function.
558 (special_real_inputs): Add 2pi.
559 (calc_generic_results): Handle mpc_cc_c.
560 * sysdeps/i386/fpu/libm-test-ulps: Update.
561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
562
7fda5682
JM
563 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
564 csqrt, ctan and ctanh.
565 * math/auto-libm-test-out: Regenerated.
566 * math/libm-test.inc (TEST_COND_x86_64): New macro.
567 (TEST_COND_x86): Likewise.
568 (ccos_test_data): Use AUTO_TESTS_c_c.
569 (ccosh_test_data): Likewise.
570 (cexp_test_data): Likewise.
571 (clog_test_data): Likewise.
572 (csqrt_test_data): Likewise.
573 (ctan_test_data): Likewise.
574 (ctan_tonearest_test_data): Likewise.
575 (ctan_towardzero_test_data): Likewise.
576 (ctan_downward_test_data): Likewise.
577 (ctan_upward_test_data): Likewise.
578 (ctanh_test_data): Likewise.
579 (ctanh_tonearest_test_data): Likewise.
580 (ctanh_towardzero_test_data): Likewise.
581 (ctanh_downward_test_data): Likewise.
582 (ctanh_upward_test_data): Likewise.
583 * math/gen-auto-libm-tests.c (func_calc_method): Add value
584 mpc_c_c.
585 (func_calc_desc): Add mpc_c_c union field.
586 (FUNC_mpc_c_c): New macro.
587 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
588 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
589 ctanh.
590 (special_fill_min_subnorm_p120): New function.
591 (special_real_inputs): Add min_subnorm_p120.
592 (calc_generic_results): Handle mpc_c_c.
593 * sysdeps/i386/fpu/libm-test-ulps: Update.
594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
595
5ff8d60e
SP
5962013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
597
392dd2de
SP
598 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
599 do_sin_slow): New functions.
600 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
601 cslow2, csloww1, csloww2): Use the new functions.
602
84ba214c
SP
603 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
604 Use M to change sign of result instead of X. Assume X is
605 positive.
606 (csloww1): Likewise.
607 (__sin): Adjust.
608 (__cos): Adjust.
609
975195e4
SP
610 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
611 arguments A and DA.
612 (__sin): Adjust.
613 (__cos): Likewise.
614
5ff8d60e
SP
615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
616 (__cos): Likewise.
617 (sloww1): Don't adjust sign of DX.
618 (csloww1): Likewise.
619 (sloww2): Use X directly and don't adjust sign of DX.
620 (csloww2): Likewise.
621
eb983568
JM
6222013-12-19 Joseph Myers <joseph@codesourcery.com>
623
64a17f1a
JM
624 * math/auto-libm-test-in: Add tests of cabs and carg.
625 * math/auto-libm-test-out: Regenerated.
626 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
627 (carg_test_data): Likewise.
628 * math/gen-auto-libm-tests.c (func_calc_method): Add value
629 mpc_c_f.
630 (func_calc_desc): Add mpc_c_f union field.
631 (test_functions): Add cabs and carg.
632 (calc_generic_results): Handle mpc_c_f.
633
eb983568
JM
634 * sysdeps/powerpc/powerpc32/libgcc-compat.S
635 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
636 as a macro and a compat symbol.
637 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
638 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
639 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
640 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
641 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
642 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
643 not use .hidden.
644 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
645 Likewise.
646 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
647 Likewise.
648 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
649 Likewise.
650 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
651 Likewise.
652 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
653 Likewise.
654 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
655 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
656 from GLIBC_2.3.2.
657
6eeb678a
AZ
6582013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
659
660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
661
063b2acb
PP
6622013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
663
664 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
665 (__signal_safe_memalign, __signal_safe_free): Use it.
666 (__signal_safe_realloc): Likewise.
667
6f6fc482
JM
6682013-12-19 Joseph Myers <joseph@codesourcery.com>
669
21fea2e2
JM
670 * manual/texinfo.tex: Update to version 2013-11-26.10 with
671 trailing whitespace removed.
672 * scripts/config.guess: Update to version 2013-11-29.
673 * scripts/config.sub: Update to version 2013-10-01.
674
6f6fc482
JM
675 * math/auto-libm-test-in: Add tests of sincos.
676 * math/auto-libm-test-out: Regenerated.
677 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
678 * math/gen-auto-libm-tests.c (func_calc_method): Add value
679 mpfr_f_11.
680 (func_calc_desc): Add mpfr_f_11 union field.
681 (test_functions): Add sincos.
682 (calc_generic_results): Handle mpfr_f_11.
683 * sysdeps/i386/fpu/libm-test-ulps: Update.
684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
685
83f5c32d
AS
6862013-12-19 Andreas Schwab <schwab@suse.de>
687
688 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
689 CALL_MCOUNT.
690 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
691 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
692 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
693
c688b419
JM
6942013-12-19 Joseph Myers <joseph@codesourcery.com>
695
335ee092
JM
696 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
697 * sysdeps/i386/fpu/libm-test-ulps: Update.
698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
699
f88acd39
JM
700 [BZ #16293]
701 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
702 round-to-nearest mode when using frndint.
703 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
704 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
705 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
706 Likewise.
707 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
708 sinh test to fail.
709 * math/auto-libm-test-out: Regenerated.
710 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
711 (TEST_COND_x86): Likewise.
712 (expm1_tonearest_test_data): New array.
713 (expm1_test_tonearest): New function.
714 (expm1_towardzero_test_data): New array.
715 (expm1_test_towardzero): New function.
716 (expm1_downward_test_data): New array.
717 (expm1_test_downward): New function.
718 (expm1_upward_test_data): New array.
719 (expm1_test_upward): New function.
720 (main): Run the new test functions.
721 * sysdeps/i386/fpu/libm-test-ulps: Update.
722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
723
c688b419
JM
724 * include/features.h: Update comment documenting feature test
725 macros. Mention _DEFAULT_SOURCE in comment.
726 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
727 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
728 _BSD_SOURCE and _SVID_SOURCE.
729 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
730 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
731 !_SVID_SOURCE]: Likewise.
732 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
733 (__USE_POSIX_IMPLICITLY): Define.
734 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
735 (_POSIX_SOURCE): Undefine and redefine.
736 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
737 (_POSIX_C_SOURCE): Likewise.
738 * manual/creature.texi (_DEFAULT_SOURCE): Document.
739 (Feature Test Macros): Update documentation of default features.
740
9f6e964c
RS
7412013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
742
743 * benchtests/Makefile: Add bench-strtok.
744 * benchtests/bench-strtok.c: New file: strtok benchtest.
745
ee0a148a
AM
7462013-12-19 Allan McRae <allan@archlinux.org>
747
748 * manual/install.texi: Suppress menu for plain text output.
749 * INSTALL: Regenerated.
750
1f33d36a
PP
7512013-12-18 Andrew Hunter <ahh@google.com>
752
753 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
754 (__signal_safe_malloc, __signal_safe_free): Likewise.
755 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
756 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
757 (__signal_safe_memalign, __signal_safe_malloc): New function.
758 (__signal_safe_free, __signal_safe_realloc): Likewise.
759 (__signal_safe_calloc): Likewise.
760 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
761 functions.
762 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
763
35e8f7ab
PP
7642013-12-18 Andrew Hunter <ahh@google.com>
765
766 * elf/Versions (ld): Add _dl_clear_dtv.
767 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
768 * elf/dl-tls.c (_dl_clear_dtv): New function.
769 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
770
69a17d9d
PP
7712013-12-18 Andrew Hunter <ahh@google.com>
772
773 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
774 (_dl_unmask_signals): Likewise.
775 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
776 (_dl_unmask_all_signals): Likewise.
777 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
778 (_dl_unmask_all_signals): Likewise.
779 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
780 (_dl_unmask_signals): Likewise.
781
b9ab448f
BM
7822013-12-18 Brooks Moses <bmoses@google.com>
783
784 [BZ #15846]
785 * misc/getauxval.c: Include errno.h.
786 (__getauxval): Set errno to ENOENT if the requested type is not
787 found.
788 * misc/sys/auxv.h (getauxval): Document that it may set errno;
789 don't declare with __attribute_const__.
790 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
791 * manual/startup.texi: Document that getauxval sets errno.
792
23776487
JM
7932013-12-18 Joseph Myers <joseph@codesourcery.com>
794
f889953b
JM
795 * math/auto-libm-test-in: Add tests of jn and yn.
796 * math/auto-libm-test-out: Regenerated.
797 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
798 (yn_test_data): Likewise.
799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
800 mpfr_if_f.
801 (func_calc_desc): Add mpfr_if_f union field.
802 (FUNC_mpfr_if_f): New macro.
803 (test_functions): Add jn and yn.
804 (calc_generic_results): Assert type of second input for
805 mpfr_ff_f. Handle mpfr_if_f.
806 (output_for_one_input_case): Disable all checking for arguments
807 fitting floating-point types in case of an integer argument.
808 * sysdeps/i386/fpu/libm-test-ulps: Update.
809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
810
23776487
JM
811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
812 Don't expect fegetround reference in libm.so.
813
cb756c6d
MS
8142013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
815
816 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
817 $(config-cflags-nofma).
818
2dec468f
JM
8192013-12-18 Joseph Myers <joseph@codesourcery.com>
820
5953eb3a
JM
821 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
822 * math/auto-libm-test-out: Regenerated.
823
2dec468f
JM
824 [BZ #16338]
825 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
826 to determine exponent and adjust argument to have exponent of -1.
827 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
828 log2.
829 * math/auto-libm-test-out: Regenerated.
830 * sysdeps/i386/fpu/libm-test-ulps: Update.
831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
832
4d84e6ad
OB
8332013-12-18 Ondřej Bílka <neleai@seznam.cz>
834
835 * manual/probes.texi: Remove cases when per-thread arenas are
836 disabled.
837
1818483b
AS
8382013-12-18 Andreas Schwab <schwab@suse.de>
839
840 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
841 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
842 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
843 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
844 * sysdeps/i386/i686/multiarch/Makefile: Update.
845 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
846
25de95bf
JM
8472013-12-17 Joseph Myers <joseph@codesourcery.com>
848
849 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
850 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
851
674762d9
PE
8522013-12-17 Paul Eggert <eggert@cs.ucla.edu>
853
0748546f
PE
854 Support TZ transition times < 00:00:00.
855 This is needed for version-3 tz-format files; it supports time
856 stamps past 2037 for America/Godthab (the only entry in the tz
857 database for which this change is relevant).
858 * manual/time.texi (TZ Variable): Document transition times
859 from -167:59:59 through -00:00:01.
860 * time/tzset.c (tz_rule): Time of day is now signed.
861 (__tzset_parse_tz): Parse negative time of day.
862
4480e934
PE
863 Document TZ transition times >= 25:00:00.
864 * manual/time.texi (TZ Variable): Document transition times from
865 25:00:00 through 167:59:59. These are already supported, and this
866 support will help with version-3 tz-format files.
867
69947401
PE
868 * manual/time.texi (TZ Variable): Modernize North America example
869 to reflect current (i.e., 2007-and-later) daylight saving rules.
870
674762d9
PE
871 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
872
7011c262
JM
8732013-12-17 Joseph Myers <joseph@codesourcery.com>
874
2fc6557e
JM
875 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
876 * sysdeps/unix/bsd/bits/stat.h: Likewise.
877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
879 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
880 * sysdeps/unix/bsd/bsdstat.h: Likewise.
881 * sysdeps/unix/bsd/clock.c: Likewise.
882 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
883 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
884 * sysdeps/unix/bsd/init-posix.c: Likewise.
885 * sysdeps/unix/bsd/poll.c: Likewise.
886 * sysdeps/unix/bsd/ptsname.c: Likewise.
887 * sysdeps/unix/bsd/seekdir.c: Likewise.
888 * sysdeps/unix/bsd/setegid.c: Likewise.
889 * sysdeps/unix/bsd/seteuid.c: Likewise.
890 * sysdeps/unix/bsd/setgid.c: Likewise.
891 * sysdeps/unix/bsd/setrgid.c: Likewise.
892 * sysdeps/unix/bsd/setruid.c: Likewise.
893 * sysdeps/unix/bsd/setsid.c: Likewise.
894 * sysdeps/unix/bsd/setuid.c: Likewise.
895 * sysdeps/unix/bsd/sigaction.c: Likewise.
896 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
897 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
898 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
899 * sysdeps/unix/bsd/telldir.c: Likewise.
900 * sysdeps/unix/bsd/times.c: Likewise.
901 * sysdeps/unix/bsd/usleep.c: Likewise.
902
029c7b25
JM
903 * misc/Makefile (install-lib): Remove libbsd-compat.a.
904 ($(objpfx)libbsd-compat.a): Remove rule.
905
7011c262
JM
906 * include/features.h (__FAVOR_BSD): Do not define.
907 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
908 features conflicting with POSIX.
909 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
910 (_BSD_SOURCE): Remove description of not being a subset of other
911 feature test macros.
912 * manual/job.texi (getpgrp): Do not document BSD version.
913 (getpgid): Do not document by reference to BSD getpgrp.
914 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
915 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
916 * signal/signal.h [__FAVOR_BSD]: Likewise.
917 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
918 instead of making contents conditional on [__FAVOR_BSD].
919 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
920
affb6f78
AZ
9212013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922
923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
924
c88769dd
JM
9252013-12-17 Joseph Myers <joseph@codesourcery.com>
926
6432a540
JM
927 [BZ #16314]
928 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
929 values below 2**-450, not 2**-500.
930 * math/auto-libm-test-in: Don't allow spurious underflow from
931 hypot.
932 * math/auto-libm-test-out: Regenerated.
933
c88769dd
JM
934 [BZ #16316]
935 [BZ #16330]
936 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
937 values of ha and hb and sort them after adjusting subnormal
938 arguments.
939 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
940 Likewise.
941 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
942 values of ea and eb and sort them after adjusting subnormal
943 arguments.
944 * math/auto-libm-test-in: Do not expect some hypot tests of
945 subnormals to fail. Add more hypot tests.
946 * math/auto-libm-test-out: Regenerated.
947
29618f6b
KK
9482013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
949
950 [BZ #13304]
951 * sysdeps/sh/s_fma.c: New file.
952 * sysdeps/sh/s_fmaf.c: New file.
953 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
954 version.
955 * sysdeps/sh/Implies: Add sh/soft-fp.
956
eacfdfbf
RM
9572013-12-16 Roland McGrath <roland@hack.frob.com>
958
959 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
960 level of indirection to members `objname', `errstring', `malloced'.
961 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
962 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
963 it as the __longjmp argument (just pass 1 instead).
964 (_dl_catch_error): Initialize C with argument pointers and address of
965 volatile local ERRCODE rather than copying values out of C at return.
966
ff362e5b
JM
9672013-12-16 Joseph Myers <joseph@codesourcery.com>
968
969 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
970 * math/auto-libm-test-out: Regenerated.
971 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
972 (hypot_test_data): Likewise.
973 (pow_test_data): Likewise.
974 (pow_tonearest_test_data): Likewise.
975 * math/gen-auto-libm-tests.c (func_calc_method): Add value
976 mpfr_ff_f.
977 (func_calc_desc): Add mpfr_ff_f union field.
978 (FUNC_mpfr_ff_f): New macro.
979 (test_functions): Add atan2, hypot and pow.
980 (special_fill_min): New function.
981 (special_fill_minus_min): Likewise.
982 (special_fill_min_subnorm): Likewise.
983 (special_fill_minus_min_subnorm): Likewise.
984 (special_real_inputs): Add min, -min, min_subnorm and
985 -min_subnorm.
986 (calc_generic_results): Handle mpfr_ff_f.
987 * sysdeps/i386/fpu/libm-test-ulps: Update.
988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
989
5764c27f
WN
9902013-12-16 Will Newton <will.newton@linaro.org>
991
992 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
993 (Aligned Memory Blocks): Add documentation for aligned_alloc
994 and suggest it as an alternative to posix_memalign.
995 (Hooks for Malloc): Document __memalign_hook is also called
996 for aligned_alloc. (Summary of Malloc): Add summary for
997 aligned alloc. Document __memalign_hook is also called
998 for aligned_alloc.
999
0a096e44
WN
10002013-12-16 Will Newton <will.newton@linaro.org>
1001
1002 * manual/memory.texi (Malloc Examples): Clarify default
1003 alignment documentation. Suggest posix_memalign rather
1004 than memalign or valloc.
1005 (Aligned Memory Blocks): Remove suggestion to use memalign
1006 or valloc. Remove obsolete comment about BSD.
1007 Document memalign errno values and mark the function obsolete.
1008 Document posix_memalign returned error codes. Mark valloc
1009 as obsolete. (Hooks for Malloc): __memalign_hook is also
1010 called for posix_memalign and valloc.
1011 (Summary of Malloc): Add posix_memalign to function summary.
1012 __memalign_hook is also called for posix_memalign and valloc.
1013
8d561986
SP
10142013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1015
1016 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1017 TAYLOR_SIN.
1018 (__sin): Adjust.
1019 (__cos): Likewise.
1020 (sloww): Use mynumber union. Expand ternary operator into
1021 if-else statements.
1022 (cslow): use mynumber union.
1023
73616a74
AM
10242013-12-16 Allan McRae <allan@archlinux.org>
1025
9e8ac24b
AM
1026 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1027 * configure: Regenerated.
1028
6f8e37eb
AM
1029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1030
8894bad3
AM
1031 [BZ #14120]
1032 * configure.ac: Added --enable-maintainer-mode. Check for
1033 autoconf when enabled.
1034 * configure: Regenerated.
1035
73616a74
AM
1036 * nscd/nscd.service: New file.
1037 * nscd/nscd.tmpfiles: New file.
1038
584b18eb
OB
10392013-12-14 Ondřej Bílka <neleai@seznam.cz>
1040
1041 [BZ #12100]
1042 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1043 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1044 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1045 (strstr): Add __strstr_sse2_unaligned ifunc.
1046 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1047 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1048 (strcasestr): Remove __strcasestr_sse42 ifunc.
1049 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1052
8a5c7897
KK
10532013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1054
1055 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1056 * sysdeps/sh/bits/fenv.h: ... here.
1057 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1058
fd712ef3
AZ
10592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1060
1061 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1062
42fcb46c
AZ
10632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1064
1065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1066 hypotf multiarch implementations.
1067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1070 multiarch hypot for PPC64.
1071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1072 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1074 multiarch hypotf for PPC64.
1075
83efded4
AZ
10762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1077
1078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1079 modff multiarch implementations.
1080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1083 multiarch modf for PPC64.
1084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1087 multiarch modff for PPC64.
1088
43e246d2
AZ
10892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1090
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1092 and logl multiarch implementations.
1093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1096 multiarch logb for PPC64.
1097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1100 multiarch logb for PPC64.
1101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1104 multiarch logb for PPC64.
1105
8fdad123
AZ
11062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1107
1108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1109 isinff multiarch implementation.
1110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1111 file.
1112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1114 multiarch isinf for PPC64.
1115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1116 file.
1117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1118 multiarch isinff for PPC64.
1119
1481d706
AZ
11202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1121
1122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1123 finitef multiarch implementation.
1124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1125 file.
1126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1128 multiarch finite for PPC64.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1130 file.
1131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1132 multiarch finitef for PPC64.
1133
5ccd5fc8
AZ
11342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1137 lrint multiarch implementation.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1139 file.
1140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1142 multiarch llrint for PPC64.
1143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1144 multiarch lrint for PPC64.
1145
2568f3fa
AZ
11462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1147
1148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1149 copysignf multiarch implementation.
1150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1151 file.
1152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1153 file.
1154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1155 multiarch copysign for PPC64.
1156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1157 multiarch copysignf for PPC64.
1158
1cb341fd
AZ
11592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1160
1161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1162 multiarch implementation.
1163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1164 file.
1165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1166 file.
1167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1168 file.
1169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1170 file.
1171 multiarch llround for PPC64.
1172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1173 multiarch trunc for PPC64.
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1175 multiarch truncf for PPC64.
1176
59a3e194
AZ
11772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1178
1179 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1180 multiarch implementation.
1181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1182 file.
1183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1184 file.
1185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1186 file.
1187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1188 file.
1189 multiarch llround for PPC64.
1190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1191 multiarch round for PPC64.
1192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1193 multiarch roundf for PPC64.
1194
357fd3b4
AZ
11952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196
1197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1198 multiarch implementation.
1199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1200 file.
1201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1202 file.
1203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1204 file.
1205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1206 file.
1207 multiarch llround for PPC64.
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1209 multiarch floor for PPC64.
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1211 multiarch floorf for PPC64.
1212
96770f12
AZ
12132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1214
1215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1216 multiarch implementation.
1217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1218 file.
1219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1220 file.
1221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1222 file.
1223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1224 file.
1225 multiarch llround for PPC64.
1226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1227 multiarch ceil for PPC64.
1228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1229 multiarch ceilf for PPC64.
1230
c3627f6e
AZ
12312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232
1233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1234 multiarch implementation.
1235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1236 file.
1237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1238 file.
1239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1240 file.
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1242 multiarch llround for PPC64.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1244 multiarch lround for PPC64.
1245
b2284ad7
AZ
12462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1247
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1249 multiarch implementation.
1250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1253 file.
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1257 multiarch isnan for PPC64.
1258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1259 multiarch isnanf for PPC64.
1260
69bbc63d
AZ
12612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1262
1263 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1264 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1265 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1266 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1267 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1269
c24517c9
AZ
12702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1271
1272 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1273 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1274 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1276
a52374e8
AZ
12772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278
1279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1280 multiarch implementations.
1281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1282 (__libc_ifunc_impl_list): Likewise.
1283 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1284 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1285 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1286 multiarch stpcpy for PPC64.
1287
7f5ec113
AZ
12882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1289
1290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1291 multiarch implementations.
1292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1293 (__libc_ifunc_impl_list): Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1295 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1296 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1297 multiarch strcpy for PPC64.
1298
e28bcd42
AZ
12992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1300
1301 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1302 redefine function name.
1303 (_wordcopy_fwd_dest_aligned): Likewise.
1304 (_wordcopy_bwd_aligned): Likewise.
1305 (_wordcopy_bwd_dest_aligned): Likewise.
1306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1307 multiarch implementations.
1308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1309 (__libc_ifunc_impl_list): Likewise.
1310 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1311 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1312 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1313 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1314 multiarch wcscpy for PPC64.
1315
92cacfce
AZ
13162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1317
1318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1319 multiarch implementations.
1320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1321 (__libc_ifunc_impl_list): Likewise.
1322 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1326 multiarch wcscpy for PPC64.
1327
7b714620
AZ
13282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1329
1330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1331 multiarch implementations.
1332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1333 (__libc_ifunc_impl_list): Likewise.
1334 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1335 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1336 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1337 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1338 multiarch wcsrchr for PPC64.
1339
16fd2ae3
AZ
13402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341
1342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1343 multiarch implementations.
1344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1345 (__libc_ifunc_impl_list): Likewise.
1346 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1347 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1348 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1349 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1350 multiarch wcschr for PPC64.
1351
9ee2969b
AZ
13522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353
1354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1355 multiarch implementations.
1356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1357 (__libc_ifunc_impl_list): Likewise.
1358 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1359 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1360 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1361 multiarch strchrnul for PPC64.
1362
372dc060
AZ
13632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1364
1365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1366 implementations.
1367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1368 (__libc_ifunc_impl_list): Likewise.
1369 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1370 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1371 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1372 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1373 strchr for PPC64.
1374
24c2c3b9
AZ
13752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376
1377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1378 implementations.
1379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1380 (__libc_ifunc_impl_list): Likewise.
1381 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1382 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1383 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1384 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1385 strncmp for PPC64.
1386
1c92d9a0
AZ
13872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1390 multiarch implementations.
1391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1392 (__libc_ifunc_impl_list): Likewise.
1393 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1394 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1395 strncasecmp for PPC64.
1396 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1397 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1398 multiarch strncasecmp_l for PPC64.
1399
17de3ee3
AZ
14002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401
1402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1403 multiarch implementations.
1404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1405 (__libc_ifunc_impl_list): Likewise.
1406 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1407 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1408 multiarch strcasecmp for PPC64.
1409 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1410 file.
1411 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1412 multiarch strcasecmp_l for PPC64.
1413
62982bf9
AZ
14142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1415
1416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1417 implementations.
1418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1419 (__libc_ifunc_impl_list): Likewise.
1420 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1421 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1422 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1423 strnlen for PPC64.
1424
a65f4904
AZ
14252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1426
1427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1428 implementations.
1429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1430 (__libc_ifunc_impl_list): Likewise.
1431 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1432 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1433 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1434 strlen for PPC64.
1435
1fd005ad
AZ
14362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1437
1438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1439 implementations.
1440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1441 (__libc_ifunc_impl_list): Likewise.
1442 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1443 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1444 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1445 rawmemrchr for PPC64.
1446
cd05ba91
AZ
14472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1448
1449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1450 implementation.
1451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1452 (__libc_ifunc_impl_list): Likewise.
1453 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1454 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1455 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1456 memrchr for PPC64.
1457
870f8676
AZ
14582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459
1460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1461 implementation.
1462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1463 (__libc_ifunc_impl_list): Likewise.
1464 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1465 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1466 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1467 memchr for PPC64.
1468
f00be62b
AZ
14692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
1471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1472 implementation.
1473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1474 (__libc_ifunc_impl_list): Likewise.
1475 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1476 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1477 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1478 mempcpy for PPC64.
1479
8a29a3d0
AZ
14802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1483 avoid cretion of __bzero symbol.
1484 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1485 Likewise.
1486 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1487 Likewise.
1488 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1489 Likewise.
1490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1491 multiarch implementations.
1492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1493 (__libc_ifunc_impl_list): Likewise.
1494 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1495 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1496 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1497 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1498 bzero for PPC32.
1499 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1500 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1501 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1502 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1503 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1504 memset for PPC64.
1505 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1506
07253fcf
AZ
15072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508
1509 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1511 implementations.
1512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1513 (__libc_ifunc_impl_list): Likewise.
1514 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1515 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1516 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1517 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1518 memcmp for PPC64.
1519
b5beafbc
AZ
15202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1521
1522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1523 multiarch for POWER/PPC64.
1524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1525 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1526 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1527 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1528 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1529 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1530 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1531 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1532 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1533 memcpy for PPC64.
1534
5e6a4d4b
AZ
15352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1536
1537 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1538 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1539 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1540 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1541 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1542 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1543 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1544 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1545 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1546 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1547 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1548 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1549 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1550 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1551 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1559
ddfab6dc
KK
15602013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1561
1562 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1563
19b5525e
SP
15642013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1565
1566 * benchtests/Makefile (bench): Add exp2 and log2.
1567 (LDLIBS-bench-exp2): Add -lm.
1568 (LDLIBS-bench-log2): Likewise.
1569 * benchtests/exp2-inputs: New inputs file.
1570 * benchtests/log2-inputs: New inputs file.
1571 * benchtests/log-inputs: Add new inputs.
1572 * benchtests/tan-inputs: Likewise.
1573
196f7f5d
SP
15742013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1575
7a74607f
SP
1576 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1577 definition...
1578 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1579 csloww1, csloww2): ... from here.
1580
196f7f5d
SP
1581 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1582 instead of structures.
1583 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1584 (POLYNOMIAL): Likewise.
1585 (TAYLOR_SLOW): Likewise.
1586 (__sin): Likewise.
1587 (__cos): Likewise.
1588 (slow1): Likewise.
1589 (slow2): Likewise.
1590 (sloww): Likewise.
1591 (sloww1); Likewise.
1592 (sloww2): Likewise.
1593 (bsloww1): Likewise.
1594 (bsloww2): Likewise.
1595 (cslow2): Likewise.
1596 (csloww): Likewise.
1597 (csloww1): Likewise.
1598 (csloww2): Likewise.
1599
0dfa665c
OB
16002013-12-10 Ondřej Bílka <neleai@seznam.cz>
1601
1602 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1603 (__malloc_assert, __libc_realloc, __libc_calloc,
1604 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1605 memcpy and memset.
1606 * malloc/hooks.c (realloc_check): Likewise.
1607
5782a80f
OB
16082013-12-10 Ondřej Bílka <neleai@seznam.cz>
1609
1610 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1611 * malloc/arena.c: Remove PER_THREAD conditional.
1612 [!PER_THREAD]: Remove code.
1613 (ptmalloc_unlock_all2): Likewise.
1614 (ptmalloc_init): Likewise.
1615 (_int_new_arena): Likewise.
1616 (arena_get2): Likewise.
1617 * malloc/hooks.c (__malloc_get_state): Likewise.
1618 (__malloc_set_state): Likewise.
1619 * malloc/malloc.c: Likewise.
1620 (struct malloc_state): Likewise.
1621 (struct malloc_par): Likewise.
1622 (__libc_realloc): Likewise.
1623 (__libc_mallopt): Likewise.
1624
aeb95445
AZ
16252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626
1627 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1628
e8349efd
OB
16292013-12-09 Ondřej Bílka <neleai@seznam.cz>
1630
1631 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1632 macro to a function. Check for zero perturb_byte.
1633 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1634
f3eeb3fc
OB
16352013-12-09 Ondřej Bílka <neleai@seznam.cz>
1636
1637 * malloc/malloc.c: (force_reg): Remove.
1638 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1639 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1640 force_reg by atomic_forced_read.
1641 * malloc/arena.c (ptmalloc_init): Likewise.
1642 * malloc/hooks.c (top_check): Likewise.
1643
be2f9009
AZ
16442013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1645
1646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1647
e7b914bd
MT
16482013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1649
1650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1651
9f0be4f8
JM
16522013-12-08 Joseph Myers <joseph@codesourcery.com>
1653
1654 * math/auto-libm-test-in: Add tests of lgamma.
1655 * math/auto-libm-test-out: Regenerated.
1656 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1657 (M_LOG_2_SQRT_PIl): Likewise.
1658 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1659 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1660 mpfr_f_f1.
1661 (func_calc_desc): Add mpfr_f_f1 union field.
1662 (ARGS1): New macro.
1663 (ARGS2): Likewise.
1664 (ARGS3): Likewise.
1665 (ARGS4): Likewise.
1666 (RET1): Likewise.
1667 (RET2): Likewise.
1668 (CALC): Likewise.
1669 (FUNC): Likewise.
1670 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1671 (test_functions): Add lgamma.
1672 (calc_generic_results): Handle mpfr_f_f1.
1673 * sysdeps/i386/fpu/libm-test-ulps: Update.
1674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1675
24eeafdb
AZ
16762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677
1678 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1679 __mpn_add_n for PowerPC64/POWER7.
1680 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1681 __mpn_sub_n for PowerPC64/POWER7.
1682
4a2c0fd4
AZ
16832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684
1685 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1686 __mpn_addmul_1 for PowerPC64.
1687 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1688 __mpn_submul_1 for PowerPC64.
1689 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1690 for PowerPC64.
1691 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1692 for PowerPC64.
1693
4b5b548c
FS
16942013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1695
1696 [BZ #15089]
1697 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1698
0a3ac0aa
AZ
16992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700
1701 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1702
ccdc8438
AZ
17032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1704
1705 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1706 add multiarch folders.
1707 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1708 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1709 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1710 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1711 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1712 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1713 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1714 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1715 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1716 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1717 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1724
2e973d99
AZ
17252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1726
1727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1728 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1730 New file.
1731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1732 New file.
1733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1734 multiarch __ieee754_hypot for PowerPC32.
1735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1736 New file.
1737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1738 New file.
1739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1740 multiarch __ieee754_hypotf for PowerPC32.
1741
2d9470b2
AZ
17422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1743
1744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1745 long_double_symbol only if __logbl is defined.
1746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1747 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1749 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1751 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1752 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1753 path for implementation.
1754 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1755 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1757 logb, and logbl multiarch implementations for PowerPC32.
1758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1759 file.
1760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1761 file.
1762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1763 multiarch logb for PowerPC32.
1764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1765 file.
1766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1767 file.
1768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1769 multiarch logbf for PowerPC32.
1770 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1772 file.
1773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1774 multiarch logbl implementation for PowerPC32.
1775
5212ffce
AZ
17762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1777
1778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1779 and modff multiarch implementations.
1780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1781 New file.
1782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1783 New file.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1785 multiarch modf for PowerPC32.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1787 New file.
1788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1789 New file.
1790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1791 multiarch modff for PowerPC32.
1792
79dccf31
AZ
17932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794
1795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1796 and lrintf multiarch implementations.
1797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1798 New file.
1799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1800 New file.
1801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1802 multiarch lrint for PowerPC32.
1803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1804 file: multiarch lrintf for PowerPC32.
1805
deb66480
AZ
18062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1807
1808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1809 and lroundf multiarch implementations.
1810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1811 New file.
1812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1813 New file.
1814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1815 New file.
1816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1817 multiarch lround for PowerPC32.
1818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1819 file: multiarch lroundf for PowerPC32.
1820
264b036b
AZ
18212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1822
1823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1824 copysign and copysignf multiarch implementations.
1825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1826 New file.
1827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1828 New file.
1829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1830 file: multiarch copysign for PowerPC32.
1831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1832 file: multiarch copysignf for PowerPC32.
1833
d47db6c9
AZ
18342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1835
1836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1837 and truncf multiarch implementations.
1838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1839 New file.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1841 file.
1842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1843 multiarch trunc for PowerPC32.
1844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1845 New file.
1846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1847 New file.
1848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1849 multiarch truncf for PowerPC32.
1850
ddb60b5a
AZ
18512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1852
1853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1854 and roundf multiarch implementations.
1855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1856 New file.
1857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1858 file.
1859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1860 multiarch round for PowerPC32.
1861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1862 New file.
1863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1864 New file.
1865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1866 multiarch roundf for PowerPC32.
1867
bedcf49b
AZ
18682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1869
1870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1871 and floorf multiarch implementations.
1872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1873 New file.
1874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1875 file.
1876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1877 multiarch floor for PowerPC32.
1878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1879 New file.
1880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1881 New file.
1882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1883 multiarch floorf for PowerPC32.
1884
35ae5b40
AZ
18852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1886
1887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1888 and ceilf multiarch implementations.
1889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1890 New file.
1891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1892 file.
1893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1894 multiarch ceil for PowerPC32.
1895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1896 New file.
1897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1898 file.
1899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1900 multiarch ceilf for PowerPC32.
1901
ae1a4cd9
AZ
19022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1903
1904 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1905 is defined.
1906 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1907 FINITEF is defined.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1909 and finitef multiarch implementations.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1911 New file.
1912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1913 file.
1914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1915 multiarch finite for PowerPC32.
1916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1917 New file.
1918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1919 file: multiarch finitef for PowerPC32.
1920
64fffd65
AZ
19212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1924 and isinff multiarch implementations.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1926 file.
1927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1928 file.
1929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1930 multiarch isinf for PowerPC32.
1931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1932 New file.
1933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1934 multiarch isinff for PowerPC32.
1935
8e4e7ba2
AZ
19362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1937
1938 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1939 alias when __isnan is defined.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1941 and isnanf multiarch implementations.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1943 file.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1945 file.
1946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1947 file.
1948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1949 file.
1950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1951 multiarch isnan for PowerPC32.
1952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1953 New file.
1954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1955 New file.
1956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1957 multiarch isnanf for PowerPC32.
1958
ddba588e
AZ
19592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1960
1961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1962 and sqrtf multiarch implementations.
1963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1964 file.
1965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1966 file.
1967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1968 multiarch sqrt for PowerPC32.
1969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1970 file.
1971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1972 file.
1973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1974 multiarch sqrtf for PowerPC32.
1975
0f96a2f0
AZ
19762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1977
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1979 and llroundf multiarch implementations.
1980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1981 New file.
1982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1983 New file.
1984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1985 New file.
1986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1987 file: multiarch llround for PowerPC32.
1988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1989 file: multiarch llroundf for PowerPC32.
1990
c9b5d79e
AZ
19912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1992
1993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1994 multiarch PowerPC32 fpu implementations.
1995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1996 New file.
1997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1998 New file.
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2000 multiarch llrint for PowerPC32.
2001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2002 New file.
2003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2004 New file.
2005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2006 file.
2007
9cbb3aab
AZ
20082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2009
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2011
ea5a72f8
AZ
20122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013
2014 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2015 file.
2016 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2017 file.
2018 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2019 file.
2020 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2021 multiarch wordcopy for PPC32.
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2023 wordcopy objects.
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2025 (__libc_ifunc_impl_list): Likewise.
2026 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2027 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2028 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2029 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2030 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2031 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2032
93be09e7
AZ
20332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2034
2035 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2037 file.
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2039 file.
2040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2041 file.
2042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2043 multiarch wcscpy for PPC32.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2045 multiarch objects.
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2047 (__libc_ifunc_impl_list): Likewise.
2048 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2049 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2050 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2051 sysdeps/powerpc/power6/wcscpy.c.
2052
bb04e529
AZ
20532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054
2055 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2057 file.
2058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2059 file.
2060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2061 file.
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2063 multiarch wcsrchr for PPC32.
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2065 multiarch objects.
2066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2067 (__libc_ifunc_impl_list): Likewise.
2068 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2069 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2070 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2071 sysdeps/powerpc/power6/wcsrchr.c.
2072
05b5cd1c
AZ
20732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074
2075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2076 file.
2077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2078 file.
2079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2081 multiarch wcschr for PPc32.
2082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2083 multiarch objects.
2084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2085 (__libc_ifunc_impl_list): Likewise.
2086 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2087 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2088 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2089 sysdeps/powerpc/power6/wcschr.c.
2090
ba964147
AZ
20912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2092
2093 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2094 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2095 file.
2096 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2097 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2098 file: multiarch strchr for PPC32.
2099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2100 multiarch objects.
2101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2102 (__libc_ifunc_impl_list): Likewise.
2103
31c81aaa
AZ
21042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2105
2106 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2107 name.
2108 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2109 file.
2110 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2111 file.
2112 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2113 multiarch strchrnul for PPC32.
2114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2115 multiarch objects.
2116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2117 (__libc_ifunc_impl_list): Likewise.
2118
0d0607d9
AZ
21192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2120
2121 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2122 file.
2123 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2124 multiarch strncasecmp for PPC32.
2125 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2126 file.
2127 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2128 multiarch strncasecmp_l for PPC32.
2129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2130 strncasecmp multiarch objects.
2131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2132 (__libc_ifunc_impl_list): Likewise.
2133
4dfd5c86
AZ
21342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2135
2136 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2137 file.
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2139 multiarch strncasecmp for PPC32.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2141 New file.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2143 multiarch strcasecmp_l for PPC32.
2144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2145 multiarch objects.
2146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2147 (__libc_ifunc_impl_list): Likewise.
2148
a19e01a3
AZ
21492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2150
2151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2152 file.
2153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2154 file.
2155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2156 multiarch strncmp for PPC32.
2157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2158 multiarch objects.
2159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2160 (__libc_ifunc_impl_list): Likewise.
2161
ae9cf7a2
AZ
21622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2163
2164 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2165 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2166 file.
2167 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2168 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2170 multiarch objects.
2171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2172 (__libc_ifunc_impl_list): Likewise.
2173
3148bb7d
AZ
21742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2175
2176 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2177 file.
2178 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2179 file.
2180 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2182 multiarch objects.
2183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2184 (__libc_ifunc_impl_list): Likewise.
2185
7af8b946
AZ
21862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2187
2188 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2189 file.
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2191 file.
2192 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2193 multiarch rawmemchr for PPC32.
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2195 multiarch objects.
2196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2197 (__libc_ifunc_impl_list): Likewise.
2198
03a6aa6a
AZ
21992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200
2201 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2202 file.
2203 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2204 file.
2205 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2206 file: memrchr multiarch for PPC32.
2207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2208 multiarch objects.
2209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2210 (__libc_ifunc_impl_list): Likewise.
2211
1c62e6d9
AZ
22122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2216 file.
2217 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2218 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2219 multiarch memchr for PPC32.
2220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2221 multiarch objects.
2222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2223 (__libc_ifunc_impl_list): Likewise.
2224
87da8bdb
AZ
22252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2226
2227 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2229 file.
2230 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2231 file.
2232 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2233 file: multiarch mempcpy for PPC32.
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2235 multiarch objects.
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2237 (__libc_ifunc_impl_list): Likewise.
2238
20ed4714
AZ
22392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2240
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2243 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2244 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2245 multiarch bzero for PPC32.
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2247 file.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2249 file.
2250 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2251 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2252 file: multiarch memset for PPC32.
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2255 memset multiarch objects.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2257 (__libc_ifunc_impl_list): Likewise.
2258
ab3e3a46
AZ
22592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2260
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2262 file.
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2265 memcmp for PPC32.
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2268 multiarch objects.
2269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2270 (__libc_ifunc_impl_list): Likewise.
2271
930de6f0
AZ
22722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273
2274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2275 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2276 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2277 file.
2278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2279 file.
2280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2281 file.
2282 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2283 multiarch memcpy for PPC32.
2284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2285 multiarch objects.
2286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2287 (__libc_ifunc_impl_list): Likewise.
2288
4c628e00
AZ
22892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2290
2291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2292 support multiarch for POWER/PPC32.
2293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2294 Likewise.
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2297 Implies file to make multiarch folder appers before the fpu and
2298 default folder for power4 configuration.
2299
f4479220
SP
23002013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2301
2302 * scripts/bench.pl: Append volatile keyword to type.
2303
8517800f
KK
23042013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2305
2306 * sysdeps/sh/sotruss-lib.c: New file.
2307 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2308
180138f1
AZ
23092013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2310
2311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2312
bbf37bdc
JM
23132013-12-05 Joseph Myers <joseph@codesourcery.com>
2314
e47cc4e0
JM
2315 [BZ #6810]
2316 * math/w_tgamma.c: Include <errno.h>.
2317 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2318 * math/w_tgammaf.c: Include <errno.h>.
2319 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2320 * math/w_tgammal.c: Include <errno.h>.
2321 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2322 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2323 underflow. Add more tgamma tests.
2324 * math/auto-libm-test-out: Regenerated.
2325 * sysdeps/i386/fpu/libm-test-ulps: Update.
2326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2327
bbf37bdc
JM
2328 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2329 sin, sinh, tan, tanh, tgamma, y0 and y1.
2330 * math/auto-libm-test-out: Regenerated.
2331 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2332 (TEST_COND_x86): Likewise.
2333 (M_E2l): Remove macro.
2334 (M_E3l): Likewise.
2335 (M_2_SQRT_PIl): Likewise.
2336 (M_SQRT_PIl): Likewise.
2337 (M_1_DIV_El): Likewise.
2338 (log_test_data): Use AUTO_TESTS_f_f.
2339 (log10_test_data): Likewise.
2340 (log1p_test_data): Likewise.
2341 (log2_test_data): Likewise.
2342 (sin_test_data): Likewise.
2343 (sin_tonearest_test_data): Likewise.
2344 (sin_towardzero_test_data): Likewise.
2345 (sin_downward_test_data): Likewise.
2346 (sin_upward_test_data): Likewise.
2347 (sinh_test_data): Likewise.
2348 (sinh_tonearest_test_data): Likewise.
2349 (sinh_towardzero_test_data): Likewise.
2350 (sinh_downward_test_data): Likewise.
2351 (sinh_upward_test_data): Likewise.
2352 (tan_test_data): Likewise.
2353 (tan_tonearest_test_data): Likewise.
2354 (tan_towardzero_test_data): Likewise.
2355 (tan_downward_test_data): Likewise.
2356 (tan_upward_test_data): Likewise.
2357 (tanh_test_data): Likewise.
2358 (tgamma_test_data): Likewise.
2359 (y0_test_data): Likewise.
2360 (y1_test_data): Likewise.
2361 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2362 (special_real_inputs): Add pi/4.
2363 * sysdeps/i386/fpu/libm-test-ulps: Update.
2364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2365
eb5ad6b9
AZ
23662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2367
2368 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2369 "longjmp_target" static probes.
2370 (__longjmp): Rename to __longjmp_symbol.
2371 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2372 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2373 on which longjmp to generate.
2374 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2375 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2376 probe.
2377 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2378 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2379 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2380 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2381 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2382 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2384 __longjmp_symbol based on which __longjmp to generate.
2385 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2386 probe.
2387 (setjmp): Rename to setjmp_symbol.
2388 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2389 (_setjmp): Rename to _setjmp_symbol.
2390 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2391 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2392 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2393 which setjmp to generate.
2394 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2395 "longjmp_target" static probes.
2396
d136c6dc
SP
23972013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2398
9298ecba
SP
2399 * benchtests/README: Add note about output arguments.
2400 * benchtests/bench-sincos.c: Remove file.
2401 * benchtests/sincos-inputs: New file.
2402 * scripts/bench.pl: Identify output arguments and define
2403 static variables for them.
2404
232983e9
SP
2405 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2406
d136c6dc
SP
2407 [BZ #15941]
2408 * Makefile (INSTALL): Add install-plain.texi as the primary
2409 dependency.
2410 * manual/install-plain.texi: New file.
2411 * manual/install.texi: Include node directive only for
2412 non-plaintext output.
2413
699ff837
JM
24142013-12-04 Joseph Myers <joseph@codesourcery.com>
2415
ab07cea8
JM
2416 * stdlib/longlong.h: Update from GCC.
2417
699ff837
JM
2418 [BZ #6807]
2419 [BZ #15901]
2420 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2421 * math/w_j0f.c (y0f): Likewise.
2422 * math/w_j0l.c (__y0l): Likewise.
2423 * math/w_j1.c (y1): Likewise.
2424 * math/w_j1f.c (y1f): Likewise.
2425 * math/w_j1l.c (__y1l): Likewise
2426 * math/w_jn.c (yn): Likewise.
2427 * math/w_jnf.c (ynf): Likewise.
2428 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2429 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2430 value for Bessel function domain errors outside _SVID_ mode.
2431 Adjust sign of return value for yn (negative integer, 0).
2432 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2433 by zero in return for negative x and set sign appropriately for
2434 negative n.
2435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2436 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2437 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2438 expectations in error cases.
2439 (y1_test_data): Likewise.
2440 (yn_test_data): Likewise.
2441 * sysdeps/i386/fpu/libm-test-ulps: Update.
2442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2443
5b118558
UW
24442013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2445
2446 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2447 "64" to "64-v1". Add "64-v2".
2448 (abi-64-options): Rename to ...
2449 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2450 (abi-64-condition): Rename to ...
2451 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2452 (abi-64-ld-soname): Rename to ...
2453 (abi-64-v1-ld-soname): ... this.
2454 (abi-64-v2-options): Define.
2455 (abi-64-v2-condition): Likewise.
2456 (abi-64-v2-ld-soname): Likewise.
2457 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2458 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2462
61cd8fe4
UW
24632013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2464 Alan Modra <amodra@gmail.com>
2465
2466 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2467 New versions for use with the ELFv2 ABI.
2468 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2469 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2470 declaration.
2471 (struct La_ppc64v2_retval): Likewise.
2472 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2473 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2474 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2475 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2476 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2477 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2478 Do not save or restore CR.
2479 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2480 (_dl_profile_resolve): Do no save or restore CR. Support extended
2481 return values for ELFv2 ABI. Fix location of FPR return registers.
2482 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2483 updated values for _CALL_ELF == 2.
2484 (La_regs, La_retval, int_retval): Likewise.
2485
8b8a692c
UW
24862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2487
2488 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2489 (FRAME_MIN_SIZE_PARM): Likewise.
2490 (FRAME_BACKCHAIN): Likewise.
2491 (FRAME_CR_SAVE): Likewise.
2492 (FRAME_LR_SAVE): Likewise.
2493 (FRAME_TOC_SAVE): Likewise.
2494 (FRAME_PARM_SAVE): Likewise.
2495 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2496 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2497 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2498 (call_mcount_parm_offset): New macro.
2499 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2500 (PROF): Use symbolic stack frame offsets.
2501 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2502 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2503 Redefine in terms of FRAME_MIN_SIZE.
2504 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2505 (_dl_profile_resolve): Likewise. Update comment.
2506 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2507 symbols stack frame offsets.
2508 (__sigsetjmp): Likewise.
2509 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2510 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2511 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2512 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2513
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2515 (FRAME_BACKCHAIN): Remove.
2516 (FRAME_CR_SAVE): Likewise.
2517 (FRAME_LR_SAVE): Likewise.
2518 (FRAME_COMPILER_DW): Likewise.
2519 (FRAME_LINKER_DW): Likewise.
2520 (FRAME_TOC_SAVE): Likewise.
2521 (FRAME_PARM_SAVE): Likewise.
2522 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2523 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2524 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2526 (CHECK_SP): Use symbolic stack frame offsets.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2528 zone" instead of caller's parameter save area for temp storage.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2530 Likewise. Also, use symbolic stack frame offsets.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2532 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2533 our own stack frame instead of the caller's.
2534 (__socket): Use symbolic stack frame offsets.
2535
122b66de
UW
25362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2537 Alan Modra <amodra@gmail.com>
2538
2539 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2540 Define.
2541 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2542 PPC64_LOCAL_ENTRY_OFFSET): Define.
2543 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2544 New function.
2545 (elf_machine_fixup_plt): Call it.
2546 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2547 reloc arguments.
2548 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2549 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2550 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2551 r2 before calling target.
2552
696caf1d
UW
25532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2554 Alan Modra <amodra@gmail.com>
2555
2556 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2557 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2558 versions of macros to support ELFv2 ABI.
2559 (LOCALENTRY): New macro.
2560 (ENTRY, EALIGN): Use it.
2561 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2562 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2563 fall through into ENTRY entry point.
2564 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2565 Only define if _CALL_ELF != 2.
2566
2567 (elf_machine_matches_host): Verify ABI version matches.
2568 (RTLD_START): Use LOCALENTRY.
2569 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2570 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2571 (PLT_ENTRY_WORDS): New macro.
2572 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2573 (elf_machine_runtime_setup): Support ELFv2 ABI.
2574 (elf_machine_fixup_plt): Likewise.
2575 (elf_machine_plt_conflict): Likewise.
2576 (resolve_ifunc): Likewise.
2577 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2579 Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2581 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2583 (makecontext): Support ELFv2 ABI.
2584 * elf/elf.h (EF_PPC64_ABI): Define.
2585
d31beafa
UW
25862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2587
2588 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2589 New assembler macro.
2590 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2591 [ASSEMBLER] (ENTRY): ... but instead here ...
2592 [ASSEMBLER] (EALIGN): ... and here.
2593 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2594 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2595 [!ASSEMBLER] (ENTRY_2): Use it.
2596 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2597 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2598 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2599 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2600 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2602 Use PPC64_LOAD_FUNCPTR.
2603
b525166b
UW
26042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2605
2606 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2607
7ec07d9a
AM
26082013-12-04 Alan Modra <amodra@gmail.com>
2609
2610 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2611 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2612 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2613 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2614
2615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2616 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2617 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2618 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2619 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2620 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2621
5162e7dd
UW
26222013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2623
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2625 (__makecontext): Fix incorrect CFI when backtracing out of
2626 context created via makecontext.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2628 (__setcontext): Fix incorrect CFI during switch to new context.
2629 (__novec_setcontext): Likewise.
2630
19e3372b
OB
26312013-12-04 Ondřej Bílka <neleai@seznam.cz>
2632
2633 [BZ #4772]
2634 * time/strptime_l.c (__strptime_internal): Allow modifiers
2635 in strptime.
2636 * time/tst-strptime.c (day_tests): Add testcase.
2637
2638
ecaf142d
SP
26392013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2640
2641 * scripts/bench.pl: Skip over blank lines.
2642
fbf964ae
PE
26432013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2644
2645 [BZ #926]
2646 * manual/time.texi (Calendar Time): Clarify what timezone functions
2647 use.
2648
fa60a674
AZ
26492013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2650
2651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2652
d674f0ef
OB
26532013-12-04 Ondřej Bílka <neleai@seznam.cz>
2654
2655 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2656 implementation.
2657 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2658 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2659 * debug/memset_chk.c (__memset_chk): Likewise.
2660 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2661 * debug/strncpy_chk.c: Likewise.
2662
17dea188
JM
26632013-12-03 Joseph Myers <joseph@codesourcery.com>
2664
749008ff
JM
2665 [BZ #15268]
2666 [BZ #15425]
2667 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2668 (__ieee754_exp): For possibly underflowing results, check size of
2669 result and force underflow exception if required.
2670 * math/auto-libm-test-in: Add more tests of exp.
2671 * math/auto-libm-test-out: Regenerated.
2672 * sysdeps/i386/fpu/libm-test-ulps: Update.
2673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2674
17dea188
JM
2675 [BZ #16283]
2676 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2677 * math/w_exp2f.c (__exp2f): Likewise.
2678 * math/w_exp2l.c (__exp2l): Likewise.
2679 * math/auto-libm-test-in: Do not allow missing errno on exp2
2680 underflow.
2681 * math/auto-libm-test-out: Regenerated.
2682
b20de2c3
OB
26832013-12-03 Ondřej Bílka <neleai@seznam.cz>
2684
2685 [BZ #16274]
2686 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2687 handle filename validation.
2688 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2689 (do_open): Delete.
2690
d8e2dbe3
JM
26912013-12-03 Joseph Myers <joseph@codesourcery.com>
2692
34e16df5
JM
2693 [BZ #6786]
2694 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2695 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2696 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2697 <float.h>.
2698 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2700 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2701 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2702 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2703 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2704 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2705 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2706 Add more erfc tests.
2707 * math/auto-libm-test-out: Regenerated.
2708 * sysdeps/i386/fpu/libm-test-ulps: Update.
2709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2710
d8e2dbe3
JM
2711 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2712 exp2, expm1, j0 and j1.
2713 * math/auto-libm-test-out: Regenerated.
2714 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2715 (erfc_test_data): Likewise.
2716 (exp_test_data): Likewise.
2717 (exp_tonearest_test_data): Likewise.
2718 (exp_towardzero_test_data): Likewise.
2719 (exp_downward_test_data): Likewise.
2720 (exp_upward_test_data): Likewise.
2721 (exp10_test_data): Likewise.
2722 (exp2_test_data): Likewise.
2723 (expm1_test_data): Likewise.
2724 (j0_test_data): Likewise.
2725 (j1_test_data): Likewise.
2726 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2727 (input_flag_type): Add flag_xfail_rounding.
2728 (input_flags): Add xfail-rounding.
2729 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2730 (output_for_one_input_case): Handle flag_xfail_rounding.
2731 * sysdeps/i386/fpu/libm-test-ulps: Update.
2732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2733
18d14251
AJ
27342013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2735
3d2e6075 2736 [BZ #16289]
18d14251
AJ
2737 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2738 division by 0.
2739
520d437b
SP
27402013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2741
2742 [BZ #16195]
2743 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2744 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2745 (STAP_PROBE0): New macro.
2746 (STAP_PROBE1): Likewise.
2747 (STAP_PROBE2): Likewise.
2748 (STAP_PROBE3): Likewise.
2749 (STAP_PROBE4): Likewise.
2750
416e0145
OB
27512013-12-02 Ondřej Bílka <neleai@seznam.cz>
2752
2753 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2754
9d17796a
SE
27552013-12-02 Steve Ellcey <sellcey@mips.com>
2756
2757 * benchtests/Makefile (bench): Add sqrt.
2758 (LDLIBS-bench-sqrt): New.
2759 * benchtests/sqrt-input: New.
2760
f524d6a8
PS
27612013-12-02 Pavel Simerda <psimerda@redhat.com>
2762
639a0ef8
PS
2763 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2764 (GAIH_EAI): Likewise.
2765 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2766 (gaih_inet): Likewise.
2767 (getaddrinfo): Don't use GAIH_EAI.
2768
f524d6a8
PS
2769 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2770 (struct gaih): Remove definition.
2771
df3aedaf
SP
27722013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2773
2774 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2775 Use HERRNOP directly.
2776
1ab19dec
AZ
27772013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2778
b42ad38d 2779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2780
176b0c79
JM
27812013-11-30 Joseph Myers <joseph@codesourcery.com>
2782
2783 * math/gen-auto-libm-tests.c (test_functions): Add more
2784 single-argument functions.
2785 (special_fill_pi_2): New function.
2786 (special_fill_minus_pi_2): Likewise.
2787 (special_fill_pi_6): Likewise.
2788 (special_fill_minus_pi_6): Likewise.
2789 (special_fill_pi_3): Likewise.
2790 (special_fill_2pi_3): Likewise.
2791 (special_fill_e): Likewise.
2792 (special_fill_1_e): Likewise.
2793 (special_fill_e_minus_1): Likewise.
2794 (special_real_inputs): Add more special inputs.
2795 (output_for_one_input_case): Do not require ERANGE on underflow to
2796 zero if round-to-nearest result does not underflow to zero, unless
2797 exact results required.
2798 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2799 atan, atanh, cbrt, cos and cosh.
2800 * math/auto-libm-test-out: Regenerated.
2801 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2802 (acos_tonearest_test_data): Likewise.
2803 (acos_towardzero_test_data): Likewise.
2804 (acos_downward_test_data): Likewise.
2805 (acos_upward_test_data): Likewise.
2806 (acosh_test_data): Likewise.
2807 (asin_test_data): Likewise.
2808 (asin_tonearest_test_data): Likewise.
2809 (asin_towardzero_test_data): Likewise.
2810 (asin_upward_test_data): Likewise.
2811 (asinh_test_data): Likewise.
2812 (atan_test_data): Likewise.
2813 (atanh_test_data): Likewise.
2814 (cbrt_test_data): Likewise.
2815 (cos_test_data): Likewise.
2816 (cos_tonearest_test_data): Likewise.
2817 (cos_towardzero_test_data): Likewise.
2818 (cos_downward_test_data): Likewise.
2819 (cos_upward_test_data): Likewise.
2820 (cosh_test_data): Likewise.
2821 (cosh_tonearest_test_data): Likewise.
2822 (cosh_towardzero_test_data): Likewise.
2823 (cosh_downward_test_data): Likewise.
2824 (cosh_upward_test_data): Likewise.
2825 * sysdeps/i386/fpu/libm-test-ulps: Update.
2826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2827
ffb536d0
JM
28282013-11-29 Joseph Myers <joseph@codesourcery.com>
2829
2a77a467
JM
2830 [BZ #6787]
2831 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2832 * math/w_exp10f.c (__exp10f): Likewise.
2833 * math/w_exp10l.c (__exp10l): Likewise.
2834 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2835 errno settings in existing tests.
2836
ea3bc4e8
JM
2837 [BZ #14032]
2838 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2839 precision control set to double precision.
2840 * sysdeps/i386/fpu/w_sqrt.c: New file.
2841 * math/auto-libm-test-in: Add more tests.
2842 * math/auto-libm-test-out: Update.
2843
0712c9d8
JM
2844 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2845 (sqrt_test_tonearest): New function.
2846 (sqrt_towardzero_test_data): New variable.
2847 (sqrt_test_towardzero): New function.
2848 (sqrt_downward_test_data): New variable.
2849 (sqrt_test_downward): New function.
2850 (sqrt_upward_test_data): New variable.
2851 (sqrt_test_upward): New function.
2852 (main): Call the new functions.
2853
ffb536d0
JM
2854 * math/gen-auto-libm-tests.c: New file.
2855 * math/auto-libm-test-in: Likewise.
2856 * math/auto-libm-test-out: New generated file.
2857 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2858 variables.
2859 (%beautify): Add generated representations of zero.
2860 (top level): Set $auto_input and call parse_auto_input.
2861 (beautify): Remove trailing "f" from hex float constants.
2862 (parse_args): Handle XFAIL_TEST.
2863 (convert_condition): New function.
2864 (or_value): Likewise.
2865 (or_cond_value): Likewise.
2866 (generate_testfile): Handle AUTO_TESTS_* lines.
2867 (parse_auto_input): New function.
2868 * math/libm-test.inc (XFAIL_TEST): New macro.
2869 (ERRNO_UNCHANGED): Update value.
2870 (ERRNO_EDOM): Likewise.
2871 (ERRNO_ERANGE): Likewise.
2872 (IGNORE_RESULT): Likewise.
2873 (TEST_COND_flt_32): New macro.
2874 (TEST_COND_dbl_64): Likewise.
2875 (TEST_COND_ldbl_96_intel): Likewise.
2876 (TEST_COND_ldbl_96_m68k): Likewise.
2877 (TEST_COND_ldbl_128): Likewise.
2878 (TEST_COND_ldbl_128ibm): Likewise.
2879 (TEST_COND_long32): Likewise.
2880 (TEST_COND_long64): Likewise.
2881 (TEST_COND_before_rounding): Likewise.
2882 (TEST_COND_after_rounding): Likewise.
2883 (enable_test): Handle XFAIL_TEST flag.
2884 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2885 with finite results.
2886 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2887 auto-libm-test-out.
2888
acd98a8e
AK
28892013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2890 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2891
2892 [BZ #16214]
2893 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2894 __tls_get_addr_internal instead of __tls_get_offset in order to
2895 avoid GOT pointer dependency. Make rtld export
2896 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2897 __tls_get_addr since we are a __tls_get_offset platform.
2898 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2899 GOT pointer being set up before.
2900 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2901
3c1c46a6
JM
29022013-11-28 Joseph Myers <joseph@codesourcery.com>
2903
7475aef5
JM
2904 * manual/math.texi (Errors in Math Functions): Document accuracy
2905 goals.
2906
8bca7cd8
JM
2907 [BZ #15004]
2908 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2909 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2912 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2913 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2914 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2917 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2924
91a1f3fe
JM
2925 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2926 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2927 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2928 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2929 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2930 Likewise.
2931 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2932 Likewise.
2933 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2934 Likewise.
2935 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2936 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2937 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2938 atomic-feupdateenv and flt-rounds.
2939 * sysdeps/powerpc/nofpu/Versions (libc): Add
2940 __atomic_feholdexcept, __atomic_feclearexcept,
2941 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2942 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2943 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2944 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2945 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2946 here.
2947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2948 Update.
2949
c5df7609
JM
2950 * manual/arith.texi (FP Exceptions): Document that exceptions may
2951 not be raised when matherr is used.
2952 (Math Error Reporting): Document overflow in directed rounding
2953 modes. Document that errno may not be set when finite values are
2954 returned on overflow. Document intent to set errno on underflow
2955 only for underflow to zero.
2956
3c1c46a6
JM
2957 [BZ #16271]
2958 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2959 round-to-nearest then adjust result for other rounding modes.
2960 * include/fenv.h (fegetround): Use libm_hidden_proto.
2961 * math/fegetround.c (fegetround): Use libm_hidden_def.
2962 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2963 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2964 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2965 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2966 Likewise.
2967 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2968 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2969 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2970 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2971
5a4c6d53
SP
29722013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2973
2974 [BZ #16077]
2975 * nss/Versions (libnss_files): Add
2976 _nss_files_gethostbyname3_r.
2977 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2978 New function.
2979 (HOST_DB_LOOKUP): Remove macro.
2980 (_nss_files_gethostbyname_r): Implement function without the
2981 HOST_DB_LOOKUP macro.
2982 (_nss_files_gethostbyname2_r): Likewise.
2983
897b98ba
OB
29842013-11-28 Ondřej Bílka <neleai@seznam.cz>
2985
2986 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2987
6f476861
UB
29882013-11-26 Uros Bizjak <ubizjak@gmail.com>
2989
2990 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2991 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2992 warning.
2993
bd12ab55
AZ
29942013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2995
2996 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2997 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2998 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2999 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3000 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3001 __fe_nomask_env_priv and attribute_hidden.
3002 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3003 (libc_feupdateenv_test_ppc): Likewise.
3004 (libc_feresetround_ppc): Likewise.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3006 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3007 compat_symbol macro.
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3009 (__fe_nomask_env): Likewise.
3010 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3011
52bb6543
OB
30122013-11-26 Ondřej Bílka <neleai@seznam.cz>
3013
3014 * string/Makefile: Remove ifunc tests.
3015 * string/test-string.h: Define TEST_IFUNC.
3016 * string/test-bcopy-ifunc.c: Remove.
3017 * string/test-bzero-ifunc.c: Likewise.
3018 * string/test-memccpy-ifunc.c: Likewise.
3019 * string/test-memchr-ifunc.c: Likewise.
3020 * string/test-memcmp-ifunc.c: Likewise.
3021 * string/test-memcpy-ifunc.c: Likewise.
3022 * string/test-memmem-ifunc.c: Likewise.
3023 * string/test-memmove-ifunc.c: Likewise.
3024 * string/test-mempcpy-ifunc.c: Likewise.
3025 * string/test-memrchr-ifunc.c: Likewise.
3026 * string/test-memset-ifunc.c: Likewise.
3027 * string/test-rawmemchr-ifunc.c: Likewise.
3028 * string/test-stpcpy-ifunc.c: Likewise.
3029 * string/test-stpncpy-ifunc.c: Likewise.
3030 * string/test-strcasecmp-ifunc.c: Likewise.
3031 * string/test-strcasestr-ifunc.c: Likewise.
3032 * string/test-strcat-ifunc.c: Likewise.
3033 * string/test-strchr-ifunc.c: Likewise.
3034 * string/test-strchrnul-ifunc.c: Likewise.
3035 * string/test-strcmp-ifunc.c: Likewise.
3036 * string/test-strcpy-ifunc.c: Likewise.
3037 * string/test-strcspn-ifunc.c: Likewise.
3038 * string/test-strlen-ifunc.c: Likewise.
3039 * string/test-strncasecmp-ifunc.c: Likewise.
3040 * string/test-strncat-ifunc.c: Likewise.
3041 * string/test-strncmp-ifunc.c: Likewise.
3042 * string/test-strncpy-ifunc.c: Likewise.
3043 * string/test-strnlen-ifunc.c: Likewise.
3044 * string/test-strpbrk-ifunc.c: Likewise.
3045 * string/test-strrchr-ifunc.c: Likewise.
3046 * string/test-strspn-ifunc.c: Likewise.
3047 * string/test-strstr-ifunc.c: Likewise.
3048
ab260039 30492013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3050
3051 * benchtests/Makefile: Remove ifunc tests.
3052 * benchtests/bench-string.h: Define TEST_IFUNC.
3053 * benchtests/bench-bcopy-ifunc.c: Remove.
3054 * benchtests/bench-bzero-ifunc.c: Likewise.
3055 * benchtests/bench-memccpy-ifunc.c: Likewise.
3056 * benchtests/bench-memchr-ifunc.c: Likewise.
3057 * benchtests/bench-memcmp-ifunc.c: Likewise.
3058 * benchtests/bench-memcpy-ifunc.c: Likewise.
3059 * benchtests/bench-memmem-ifunc.c: Likewise.
3060 * benchtests/bench-memmove-ifunc.c: Likewise.
3061 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3062 * benchtests/bench-memrchr-ifunc.c: Likewise.
3063 * benchtests/bench-memset-ifunc.c: Likewise.
3064 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3065 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3066 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3067 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3068 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3069 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3070 * benchtests/bench-strcat-ifunc.c: Likewise.
3071 * benchtests/bench-strchr-ifunc.c: Likewise.
3072 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3073 * benchtests/bench-strcmp-ifunc.c: Likewise.
3074 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3075 * benchtests/bench-strcpy-ifunc.c: Likewise.
3076 * benchtests/bench-strcspn-ifunc.c: Likewise.
3077 * benchtests/bench-strlen-ifunc.c: Likewise.
3078 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3079 * benchtests/bench-strncat-ifunc.c: Likewise.
3080 * benchtests/bench-strncmp-ifunc.c: Likewise.
3081 * benchtests/bench-strncpy-ifunc.c: Likewise.
3082 * benchtests/bench-strnlen-ifunc.c: Likewise.
3083 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3084 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3085 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3086 * benchtests/bench-strspn-ifunc.c: Likewise.
3087 * benchtests/bench-strstr-ifunc.c: Likewise.
3088
30892013-11-26 Ondřej Bílka <neleai@seznam.cz>
3090
ab260039
OB
3091 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3092
d1d9eaf4 30932013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3094
d1d9eaf4
OB
3095 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3096 * rt/aio.h: Likewise.
3097 * sysdeps/gnu/bits/utmp.h: Likewise.
3098 * sysdeps/gnu/bits/utmpx.h: Likewise.
3099 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3100 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3101 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3102 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3103 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3104 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3105 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3106 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3107 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3108 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3109 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3111 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3113 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3114 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3115 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3116 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3117 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3118 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3119 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3120 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3121 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3122 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3123 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3125 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3126 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3127 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3128 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3129 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3132 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3134 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3135 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3136 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3137 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3138 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3139 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3140 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3141
a7624ed9
CD
31422013-11-25 Carlos O'Donell <carlos@redhat.com>
3143
3144 [BZ #16245]
3145 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3146 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3147
63cfe52b
JM
31482013-11-25 Joseph Myers <joseph@codesourcery.com>
3149
3150 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3151 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3152 Likewise.
3153
41e8926a
AZ
31542013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155
3156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3157 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3158 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3159 (__fesetround): Remove define.
3160 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3161 rounding and exceptions handling.
3162 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3163 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3164 (__fe_nomask_env): Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3166 __fegetround instead of fegetround.
3167 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3169
6851bd4d
RM
31702013-11-21 Roland McGrath <roland@hack.frob.com>
3171
070906ff
RM
3172 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3173 it's there.
3174
6851bd4d
RM
3175 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3176
84ae135d
MI
31772013-11-21 Meador Inge <meadori@codesourcery.com>
3178
3179 [BZ #11157]
3180 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3181 (encrypt_r): Likewise.
3182 * malloc/obstack.h (obstack_free): Likewise.
3183 * posix/unistd.h (encrypt): Likewise.
3184
daf75146
GM
31852013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3186
3187 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3188 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3189 DL_CALL_DT_FINI() that call the functions directly.
3190 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3191 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3192 * elf/dl-fini.c: Likewise.
3193
10ad46bc
OB
31942013-11-20 Ondřej Bílka <neleai@seznam.cz>
3195
3196 * malloc/hooks.c (memalign_check): Add alignment rounding.
3197 * malloc/malloc.c (_mid_memalign): New function.
3198 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3199 Implement by calling _mid_memalign.
3200 * manual/probes.texi (Memory Allocation Probes): Remove
3201 memory_valloc_retry and memory_pvalloc_retry.
3202
f3fd2628
SP
32032013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3204
4712799f
SP
3205 * locale/programs/locarchive.c (open_archive): Add const
3206 qualifier to ARCHIVEFNAME and copy default fname to
3207 DEFAULT_FNAME.
3208
0417b20f
SP
3209 [BZ #15601]
3210 * libio/tst-widetext.input: Rename Oriya to Odia.
3211 * locale/iso-639.def: Likewise.
3212
f3fd2628
SP
3213 * manual/probes.texi (Mathematical Function Probes): Add
3214 documentation for sin, cos, asin and acos probes.
3215 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3216 (__sin32): Add slowasin probe.
3217 (__cos32): Add slowacos probe.
3218 (__mpsin): Add slowsin probe.
3219 (__mpcos): Add slowcos probe.
3220
73c1ce4f
JM
32212013-11-19 Joseph Myers <joseph@codesourcery.com>
3222
3223 [BZ #15483]
3224 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3225 thread-local __sim_exceptions_thread and global
3226 __sim_exceptions_global.
3227 (__sim_disabled_exceptions): Change to thread-local
3228 __sim_disabled_exceptions_thread and global
3229 __sim_disabled_exceptions_global.
3230 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3231 and global __sim_round_mode_global.
3232 (__simulate_exceptions): Use thread-local floating-point state and
3233 set global state from it as needed.
3234 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3235 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3236 __sim_round_mode_thread.
3237 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3238 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3239 and global __sim_exceptions_global.
3240 (__sim_disabled_exceptions): Change to thread-local
3241 __sim_disabled_exceptions_thread and global
3242 __sim_disabled_exceptions_global.
3243 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3244 and global __sim_round_mode_global.
3245 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3246 (SIM_SET_GLOBAL): Likewise.
3247 * sysdeps/powerpc/soft-fp/sfp-machine.h
3248 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3249 __sim_round_mode_thread.
3250 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3251 __sim_disabled_exceptions_thread.
3252 (__sim_exceptions): Change to __sim_exceptions_thread.
3253 (__sim_disabled_exceptions): Change to
3254 __sim_disabled_exceptions_thread.
3255 (__sim_round_mode): Change to __sim_round_mode_thread.
3256 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3257 thread-local floating-point state and set global state from it as
3258 needed.
3259 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3260 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3261 (__sim_disabled_exceptions): Remove extern declaration.
3262 (feenableexcept): Use thread-local floating-point state and set
3263 global state from it as needed.
3264 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3265 extern declaration.
3266 (__sim_disabled_exceptions): Likewise.
3267 (__sim_round_mode): Likewise.
3268 (__fegetenv): Use thread-local floating-point state.
3269 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3270 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3271 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3272 floating-point state and set global state from it as needed.
3273 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3274 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3275 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3276 Likewise.
3277 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3278 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3279 Likewise.
3280 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3281 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3282 Use __sim_round_mode_thread.
3283 * math/test-fenv-tls.c: New file.
3284 * math/Makefile (tests): Add test-fenv-tls.
3285 ($(objpfx)test-fenv-tls): Depend on
3286 $(common-objpfx)nptl/libpthread.so.
3287
b5449b12
AS
32882013-11-19 Andreas Schwab <schwab@suse.de>
3289
3290 * locale/programs/locale.c (show_info): Decode wordarray elements.
3291 * locale/categories.def (LC_MONETARY): Add element for
3292 _NL_MONETARY_CRNCYSTR.
3293 * locale/C-monetary.c (conversion_rate): New variable.
3294 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3295 element.
3296
e186536b
CM
32972013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3298
3299 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3300 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3301
5c349950
PP
33022013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3303
3304 * elf/Makefile (tst-auxv): New test.
3305 * elf/tst-auxv.c: New
3306 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3307
699df45b
JM
33082013-11-18 Joseph Myers <joseph@codesourcery.com>
3309
3310 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3311 (hidden_proto): Caller changed.
3312 (hidden_tls_proto): New macro.
3313 (libc_hidden_tls_proto): Likewise.
3314 (rtld_hidden_tls_proto): Likewise.
3315 (libm_hidden_tls_proto): Likewise.
3316 (libresolv_hidden_tls_proto): Likewise.
3317 (librt_hidden_tls_proto): Likewise.
3318 (libdl_hidden_tls_proto): Likewise.
3319 (libnss_files_hidden_tls_proto): Likewise.
3320 (libnsl_hidden_tls_proto): Likewise.
3321 (libnss_nisplus_hidden_tls_proto): Likewise.
3322 (libutil_hidden_tls_proto): Likewise.
3323
b7589107
OB
33242013-11-18 Ondřej Bílka <neleai@seznam.cz>
3325
3326 [BZ #10253]
3327 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3328 (decompose_rpath): Defer expansion to fillin_rpath.
3329 (_dl_init_paths): Pass linkmap to fillin_rpath.
3330
250c23bd
RS
33312013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3332
3333 * benchtests/Makefile: Add strsep.
3334 * benchtests/bench-strsep.c: New file: strsep benchtest.
3335 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3336
a7931fcf
AS
33372013-11-18 Andreas Schwab <schwab@suse.de>
3338
3339 * locale/programs/locale.c (show_info) [case byte]: Check for
3340 '\377' instead of '\177'.
3341 * locale/C-monetary.c (not_available): Always use "\377".
3342 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3343 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3344 detect unavailable sign_posn locale elements.
3345 * locale/localeconv.c (__localeconv): For grouping and
3346 mon_grouping handle "\177" and "\377" like no grouping.
3347 (INT_ELEM): New macro. Use it to set all numeric members.
3348 * locale/programs/ld-monetary.c (monetary_read)
3349 <tok_mon_grouping>: Normalize single -1 to the empty string.
3350 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3351 Likewise.
3352
728dab0e
OB
33532013-11-07 Ondřej Bílka <neleai@seznam.cz>
3354
3355 [BZ #16055]
3356 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3357 when we match (nil).
3358 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3359
66294491
JM
33602013-11-16 Joseph Myers <joseph@codesourcery.com>
3361
ce665817
JM
3362 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3363 (NO_TEST_INLINE): Update value.
3364 (ERRNO_UNCHANGED): Likewise.
3365 (ERRNO_EDOM): Likewise.
3366 (ERRNO_ERANGE): Likewise.
3367 (IGNORE_RESULT): Likewise.
3368 (check_float_internal): Check signs of NaN results if
3369 TEST_NAN_SIGN used.
3370 (check_complex): Pass TEST_NAN_SIGN flag through to second
3371 check_float_internal call.
3372 (copysign_test_data): Add tests with quiet NaNs as second
3373 argument. Use TEST_NAN_SIGN.
3374 (fabs_test_data): Add test of negative quiet NaN argument. Use
3375 TEST_NAN_SIGN.
3376 (signbit_test_data): Add tests of quiet NaN argument.
3377 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3378
ee1466a9
JM
3379 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3380 $ignore_result.
3381 (parse_args): Handle function results specified as IGNORE.
3382 * math/libm-test.inc (IGNORE_RESULT): New macro.
3383 (check_float_internal): Do not check numerical result if flag
3384 IGNORE_RESULT set.
3385 (check_complex): Pass through IGNORE_RESULT to second
3386 check_float_internal call.
3387 (check_int): Do not check numerical result if flag IGNORE_RESULT
3388 set.
3389 (check_long): Likewise.
3390 (check_bool): Likewise.
3391 (check_longlong): Likewise.
3392 (lrint_test_data): Add tests of infinite and NaN arguments.
3393 (lrint_tonearest_test_data): Likewise.
3394 (lrint_towardzero_test_data): Likewise.
3395 (lrint_downward_test_data): Likewise.
3396 (lrint_upward_test_data): Likewise.
3397 (llrint_test_data): Likewise.
3398 (llrint_tonearest_test_data): Likewise.
3399 (llrint_towardzero_test_data): Likewise.
3400 (llrint_downward_test_data): Likewise.
3401 (llrint_upward_test_data): Likewise.
3402 (lround_test_data): Likewise.
3403 (llround_test_data): Likewise.
3404
14407b7e
JM
3405 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3406 (ERRNO_UNCHANGED): Update value.
3407 (ERRNO_EDOM): Likewise.
3408 (ERRNO_ERANGE): Likewise.
3409 (NO_TEST_INLINE_FLOAT): New macro.
3410 (NO_TEST_INLINE_DOUBLE): Likewise.
3411 (enable_test): New function.
3412 (RUN_TEST_f_f): Check enable_test before running test.
3413 (RUN_TEST_2_f): Likewise.
3414 (RUN_TEST_fff_f): Likewise.
3415 (RUN_TEST_c_f): Likewise.
3416 (RUN_TEST_f_f1): Likewise.
3417 (RUN_TEST_fF_f1): Likewise.
3418 (RUN_TEST_fI_f1): Likewise.
3419 (RUN_TEST_ffI_f1): Likewise.
3420 (RUN_TEST_c_c): Likewise.
3421 (RUN_TEST_cc_c): Likewise.
3422 (RUN_TEST_f_i): Likewise.
3423 (RUN_TEST_f_i_tg): Likewise.
3424 (RUN_TEST_ff_i_tg): Likewise.
3425 (RUN_TEST_f_b): Likewise.
3426 (RUN_TEST_f_b_tg): Likewise.
3427 (RUN_TEST_f_l): Likewise.
3428 (RUN_TEST_f_L): Likewise.
3429 (RUN_TEST_fFF_11): Likewise.
3430 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3431 conditionals.
3432 (cosh_test_data): Likewise.
3433 (exp_test_data): Likewise.
3434 (expm1_test_data): Likewise.
3435 (hypot_test_data): Likewise.
3436 (pow_test_data): Likewise.
3437 (sinh_test_data): Likewise.
3438 (tanh_test_data): Likewise.
3439 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3440 flags argument.
3441
ca07f197
JM
3442 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3443 tests with quiet NaN input and output.
3444 (acosh_test_data): Likewise.
3445 (asin_test_data): Likewise.
3446 (asinh_test_data): Likewise.
3447 (atan_test_data): Likewise.
3448 (atanh_test_data): Likewise.
3449 (atan2_test_data): Likewise.
3450 (cbrt_test_data): Likewise.
3451 (cos_test_data): Likewise.
3452 (cosh_test_data): Likewise.
3453 (erf_test_data): Likewise.
3454 (erfc_test_data): Likewise.
3455 (exp_test_data): Likewise.
3456 (exp10_test_data): Likewise.
3457 (exp2_test_data): Likewise.
3458 (expm1_test_data): Likewise.
3459 (hypot_test_data): Likewise.
3460 (j0_test_data): Likewise.
3461 (j1_test_data): Likewise.
3462 (jn_test_data): Likewise.
3463 (lgamma_test_data): Likewise.
3464 (log_test_data): Likewise.
3465 (log10_test_data): Likewise.
3466 (log1p_test_data): Likewise.
3467 (log2_test_data): Likewise.
3468 (pow_test_data): Likewise.
3469 (scalb_test_data): Likewise.
3470 (sin_test_data): Likewise.
3471 (sincos_test_data): Likewise.
3472 (sinh_test_data): Likewise.
3473 (tan_test_data): Likewise.
3474 (tanh_test_data): Likewise.
3475 (tgamma_test_data): Likewise.
3476 (y0_test_data): Likewise.
3477 (y1_test_data): Likewise.
3478 (yn_test_data): Likewise.
3479
66294491
JM
3480 [BZ #16167]
3481 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3482 argument being NaN and avoid computations with second argument in
3483 that case.
3484 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3485 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3486 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3487
1820b143
CL
34882013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3489
3490 * locale/iso-639.def: Add Chitwani Tharu (the).
3491
714bd261
AS
34922013-11-14 Andreas Schwab <schwab@suse.de>
3493
3494 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3495 word instead of empty string.
3496
7ab44563
AZ
34972013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3498
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3500 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3502 (__fe_nomask_env): Likewise.
3503
e8470ea2
SE
35042013-11-13 Steve Ellcey <sellcey@mips.com>
3505
3506 * benchtests/bench-timing.h: Include time.h.
3507
17c1d9f0
L
35082013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3509
3510 [BZ #15997]
3511 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3512 to 3.4.0 for x32.
3513 * sysdeps/unix/sysv/linux/configure: Regenerated.
3514
9310c284
JM
35152013-11-13 Joseph Myers <joseph@codesourcery.com>
3516
3517 [BZ #16151]
3518 * stdlib/strtod_l.c (round_and_return): Do not consider
3519 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3520 exponent one less than half the least subnormal exponent.
3521 * stdlib/test-strtod-round-data: Add more tests.
3522 * stdlib/tst-strtod-round.c (tests): Regenerated.
3523
7a2ad8cf
AZ
35242013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
3526 [BZ #14143]
3527 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3528 (__fe_mask_env): Likewise.
3529 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3530 libm_hidden_proto and add function prototype.
3531 (__fe_mask_env): Add function prototype.
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3533 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3535 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3537 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3538
50727aa7
MS
35392013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3540
b2f386c1 3541 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3542 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3543
a615be46
MS
35442013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3545
3546 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3547 of htab_find_slot().
3548
7ddace62
DM
35492013-11-11 David S. Miller <davem@davemloft.net>
3550
3551 [BZ #16150]
3552 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3553 symbol in the non-vis3 case in static builds.
3554 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3555 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3556 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3557 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3558
9182aa67
JK
35592013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 [BZ #387]
3562 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3563 it is empty.
3564
450a2e2d
AZ
35652013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3566
b2f386c1
SP
3567 * benchtests/Makefile: Add bench-strtod.
3568 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3569
8ec3f656
AS
35702013-11-11 Andreas Schwab <schwab@suse.de>
3571
3572 [BZ #16153]
3573 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3574 terminating NUL in key length.
3575
76a9b998
AZ
35762013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3577
3578 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3579 Add artificial ODP entry for vDSO symbol for PPC64.
3580 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3581 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3582
e4368156
OB
35832013-11-07 Ondřej Bílka <neleai@seznam.cz>
3584
3585 [BZ #15374]
3586 * nss/getent.c (services_keys): Recognize services starting with digit.
3587
8d6bb57c
DM
35882013-11-06 David S. Miller <davem@davemloft.net>
3589
3590 [BZ #15985]
3591 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3592 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3593
e256c421
WN
35942013-11-06 Will Newton <will.newton@linaro.org>
3595
3596 * manual/memory.texi (Malloc Examples): Remove register
3597 keyword from examples.
3598
f6e12daa 35992013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3600
f6e12daa 3601 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3602
9d880655
AS
36032013-11-04 Joseph Myers <joseph@codesourcery.com>
3604
3605 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3606 depending on [__GCC_IEC_559 > 0].
3607 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3608 depending on [__GCC_IEC_559_COMPLEX > 0].
3609
ae129d3c
CL
36102013-11-03 Chris Leonard <cjl@sugarlabs.org>
3611
3612 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3613 to iso-639.def.
3614
4a15c2a4 36152013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3616
3617 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3618
8b35e35d
OB
36192013-11-01 Ondřej Bílka <neleai@seznam.cz>
3620
3621 [BZ #16112]
3622 * malloc/malloc (malloc_info): Do not handle first bin as
3623 special case.
3624
1d70fd6c
CL
36252013-11-01 Chris Leonard <cjl@sugarlabs.org>
3626
3627 * locale/iso-639.def: Add Central Nahuatl (nhn).
3628
8c5c2600
BH
36292013-11-01 Bruno Haible <bruno@clisp.org>
3630
3631 [BZ #7003]
3632 * manual/math.texi (BSD Random): Specify range upper bound as
3633 in POSIX.
3634
da5579c2
CL
36352013-10-31 Chris Leonard <cjl@sugarlabs.org>
3636
3637 * locale/iso-639.def: Add Meadow Mari (mhr).
3638
5d30d853
OB
36392013-10-31 Ondřej Bílka <neleai@seznam.cz>
3640
3641 [BZ #14752], [BZ #15763]
3642 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3643 Validate name.
3644 * rt/tst_shm.c: Add test for escaping directory.
3645
a4966c61
AS
36462013-10-31 Andreas Schwab <schwab@suse.de>
3647
8a43e768 3648 [BZ #15917]
a4966c61
AS
3649 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3650 followed by 'x' as part of digit sequence.
3651 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3652
28d708c4
MAP
36532013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3654
3655 [BZ #16037]
3656 * configure.ac: allow GNU Make 4.0 and greater.
3657 * configure: Regenerated.
3658
a56ee40b
WN
36592013-10-30 Will Newton <will.newton@linaro.org>
3660
3661 [BZ #16038]
3662 * malloc/hooks.c (memalign_check): Limit alignment to the
3663 maximum representable power of two.
3664 * malloc/malloc.c (__libc_memalign): Likewise.
3665 * malloc/tst-memalign.c (do_test): Add test for very
3666 large alignment values.
3667 * malloc/tst-posix_memalign.c (do_test): Likewise.
3668
c6e4925d
OB
36692013-10-30 Ondřej Bílka <neleai@seznam.cz>
3670
3671 [BZ #11087]
3672 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3673 (munmap_chunk): Likewise.
3674 (mremap_chunk): Likewise.
3675
36762013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3677
8a43e768 3678 [BZ #15799]
bbea82f7
OB
3679 * stdlib/div.c (div): Remove obsolete code.
3680 * stdlib/ldiv.c (ldiv): Likewise.
3681 * stdlib/lldiv.c (lldiv): Likewise.
3682
977f4b31
SP
36832013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3684
3685 [BZ #16071]
3686 * nss/nss_files/files-XXX.c (get_contents_ret): New
3687 enumerator.
3688 (get_contents): New function.
3689 (internal_getent): Use it. Expand size of LINEBUFLEN.
3690
cb8a6dbd
MF
36912013-10-30 Mike Frysinger <vapier@gentoo.org>
3692
3693 * configure.in: Moved to ...
3694 * configure.ac: ... here. Change reference to configure.in
3695 to configure.ac.
3696 * sysdeps/arm/preconfigure.ac: ... here.
3697 configure.in to configure.ac.
3698 * sysdeps/gnu/configure.in: Moved to ...
3699 * sysdeps/gnu/configure.ac: ... here.
3700 * sysdeps/i386/configure.in: Moved to ...
3701 * sysdeps/i386/configure.ac: ... here.
3702 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3703 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3704 * sysdeps/mach/configure.in: Moved to ...
3705 * sysdeps/mach/configure.ac: ... here.
3706 * sysdeps/mach/hurd/configure.in: Moved to ...
3707 * sysdeps/mach/hurd/configure.ac: ... here.
3708 * sysdeps/powerpc/configure.in: Moved to ...
3709 * sysdeps/powerpc/configure.ac: ... here.
3710 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3711 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3712 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3713 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3714 * sysdeps/s390/s390-32/configure.in: Moved to ...
3715 * sysdeps/s390/s390-32/configure.ac: ... here.
3716 * sysdeps/s390/s390-64/configure.in: Moved to ...
3717 * sysdeps/s390/s390-64/configure.ac: ... here.
3718 * sysdeps/sh/configure.in: Moved to ...
3719 * sysdeps/sh/configure.ac: ... here.
3720 * sysdeps/sparc/configure.in: Moved to ...
3721 * sysdeps/sparc/configure.ac: ... here.
3722 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3723 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3724 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3725 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3726 * sysdeps/x86_64/configure.in: Moved to ...
3727 * sysdeps/x86_64/configure.ac: ... here.
3728 * sysdeps/x86_64/preconfigure.in: Moved to ...
3729 * sysdeps/x86_64/preconfigure.ac: ... here.
3730 * aclocal.m4: Change reference to configure.in to configure.ac.
3731 * config.h.in: Likewise.
3732 * manual/install.texi: Likewise.
3733 * manual/maint.texi: Likewise.
3734 * Makefile: Likewise.
3735 * malloc/Makefile: Likewise.
3736 * nscd/Makefile: Likewise.
3737 * Makeconfig: Change reference to configure.in and
3738 preconfigure.in to configure.ac and preconfigure.ac
3739 respectively.
3740 * INSTALL: Regenerated.
3741 * configure: Likewise.
3742 * sysdeps/gnu/configure: Likewise.
3743 * sysdeps/i386/configure: Likewise.
3744 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3745 * sysdeps/mach/configure: Likewise.
3746 * sysdeps/mach/hurd/configure: Likewise.
3747 * sysdeps/powerpc/configure: Likewise.
3748 * sysdeps/powerpc/powerpc32/configure: Likewise.
3749 * sysdeps/powerpc/powerpc64/configure: Likewise.
3750 * sysdeps/s390/s390-32/configure: Likewise.
3751 * sysdeps/s390/s390-64/configure: Likewise.
3752 * sysdeps/sh/configure: Likewise.
3753 * sysdeps/sparc/configure: Likewise.
3754 * sysdeps/unix/sysv/linux/configure: Likewise.
3755 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3756 * sysdeps/x86_64/configure: Likewise.
3757 * sysdeps/x86_64/preconfigure: Likewise.
3758
36a4953a
AS
37592013-10-29 Andreas Schwab <schwab@suse.de>
3760
3761 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3762
c79a1204
SP
37632013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3764
dfa1b402
SP
3765 * benchtests/pow-inputs: Add new inputs.
3766
54f73d9c
SP
3767 * benchtests/exp-inputs: Add new inputs.
3768
c79a1204
SP
3769 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3770 conditional check for return value.
3771 (__cos32): Likewise.
3772
67beb545 37732013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3774
3775 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3776 to provide a boost for large inputs with word alignment.
3777 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3778 implementation based on optimized PPC64 strcpy.
3779 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3780 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3781 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3782 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3783
151659f6
OB
37842013-10-25 Ondřej Bílka <neleai@seznam.cz>
3785
482a077e 3786 [BZ #2801]
151659f6
OB
3787 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3788
10b0f26b
OB
37892013-10-25 Ondřej Bílka <neleai@seznam.cz>
3790
3791 [BZ #14876]
3792 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3793 * time/tst-strptime.c (day_tests): Add testcase.
3794
ca42d35e
OB
37952013-10-25 Ondřej Bílka <neleai@seznam.cz>
3796
482a077e 3797 [BZ #14029]
ca42d35e
OB
3798 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3799
52e6d801
FB
38002013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3801
3802 [BZ #16074]
3803 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3804 MAP_FAILED on error.
3805
7cbcdb36
SP
38062013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3807
3808 [BZ #16072]
3809 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3810 heap for large requests.
3811
894f3f10
AM
38122013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3813
3814 [BZ #9954]
3815 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3816 result if the result has no associated interface.
3817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3818 interface for all 127.X.Y.Z addresses.
3819
b85545a6
CL
38202013-10-24 Chris Leonard <cjl@sugarlabs.org>
3821
3822 * locale/iso-639.def: Add Ligurian (lij)
3823
d1f23d46
OB
38242013-10-21 Ondřej Bílka <neleai@seznam.cz>
3825
3826 [BZ #15825]
3827 * sunrpc/rpc_main.c: Document rpcgen -5.
3828
4db5b08f
MS
38292013-10-19 Michael Stahl <mstahl@redhat.com>
3830
3831 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3832
a471e96a
OB
38332013-10-19 Ondřej Bílka <neleai@seznam.cz>
3834
d1f23d46 3835 [BZ #10278]
a471e96a
OB
3836 * posix/glob.c: Match only directories when trailing slash is present.
3837 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3838 (main): Add testcase.
3839
45c30c61
OB
38402013-10-19 Ondřej Bílka <neleai@seznam.cz>
3841
3842 [BZ #15670]
3843 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3844
484c12fb
CD
38452013-10-18 Carlos O'Donell <carlos@redhat.com>
3846
3d7dc513
CD
3847 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3848 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3849 AUTH_DES and cindex for FIPS 140-2.
3850 (DES Encryption): Add cindex FIPS 46-3.
3851
484c12fb
CD
3852 * locale/locarchive.h (struct locarhandle): Add fname.
3853 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3854 if an optional argument was specified to --list-archive,
3855 otherwise NULL.
3856 * locale/programs/locarchive.c (show_archive_content): Take new
3857 argument fname and pass it via ah.fname to open_archive.
3858 * locale/programs/localedef.h: Update decl.
3859 (open_archive): If AH->fname is non-null, open that file
3860 rather than the default file name, and don't ignore ENOENT.
3861 (create_archive): Set AH.fname to NULL.
3862 (delete_locales_from_archive): Likewise.
3863 (add_locales_to_archive): Likewise.
3864 * locale/programs/locfile.c (write_all_categories): Likewise.
3865
3c8325fb
JM
38662013-10-18 Joseph Myers <joseph@codesourcery.com>
3867 Aldy Hernandez <aldyh@redhat.com>
3868
3869 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3870 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3871 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3872 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3873 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3874 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3875 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3876 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3877 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3878 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3880 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3881 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3882 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3883 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3884 Likewise.
3885 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3886 Likewise.
3887 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3888 Likewise.
3889 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3890 Likewise.
3891 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3892 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3893 Likewise.
3894 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3895 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3896 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3897 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3898 Likewise.
3899 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3900 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3901 * sysdeps/powerpc/preconfigure: Likewise.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3903 Likewise.
3904 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3905 Replace contents of file by #include of <fenv_libc.h>.
3906 * sysdeps/powerpc/soft-fp/sfp-machine.h
3907 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3908 and <sys/prctl.h>.
3909 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3910 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3912 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3913 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3914 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3916 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3918 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3922 Allow copysignl PLT reference to be missing.
3923
5abe0682
RS
39242013-10-18 Richard Sandiford <richard@codesourcery.com>
3925 Joseph Myers <joseph@codesourcery.com
3926
3927 [BZ #15948]
3928 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3929 single character.
3930 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3931
c7738d08
SP
39322013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3933
3934 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3935 * elf/tst-tls1.c: Likewise.
3936 * elf/tst-tls10.h: Likewise.
3937 * elf/tst-tls14.c: Likewise.
3938 * elf/tst-tls2.c: Likewise.
3939 * elf/tst-tls3.c: Likewise.
3940 * elf/tst-tls4.c: Likewise.
3941 * elf/tst-tls5.c: Likewise.
3942 * elf/tst-tls6.c: Likewise.
3943 * elf/tst-tls7.c: Likewise.
3944 * elf/tst-tls8.c: Likewise.
3945 * elf/tst-tls9.c: Likewise.
3946 * elf/tst-tlsmod1.c: Likewise.
3947 * elf/tst-tlsmod13.c: Likewise.
3948 * elf/tst-tlsmod13a.c: Likewise.
3949 * elf/tst-tlsmod14a.c: Likewise.
3950 * elf/tst-tlsmod16a.c: Likewise.
3951 * elf/tst-tlsmod16b.c: Likewise.
3952 * elf/tst-tlsmod2.c: Likewise.
3953 * elf/tst-tlsmod3.c: Likewise.
3954 * elf/tst-tlsmod4.c: Likewise.
3955 * elf/tst-tlsmod5.c: Likewise.
3956 * elf/tst-tlsmod6.c: Likewise.
3957
0bfcf2c7
OB
39582013-10-18 Ondřej Bílka <neleai@seznam.cz>
3959
3960 [BZ #12486]
3961 * malloc/malloc.c: remove checks for statistics.
3962
264aad1e
OB
39632013-10-17 Ondřej Bílka <neleai@seznam.cz>
3964
3965 [BZ #15277]
3966 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3967 * inet/tst-network.c: Add testcase.
3968
b957ced8
AS
39692013-10-17 Andreas Schwab <schwab@suse.de>
3970
3971 [BZ #15218]
3972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3973 to determine canonical name.
3974
c5d5d574
OB
39752013-10-17 Ondřej Bílka <neleai@seznam.cz>
3976
3977 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3978 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4001 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4002 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4007 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4035
e5c2c2d0
JM
40362013-10-17 Joseph Myers <joseph@codesourcery.com>
4037
4038 [BZ #16041]
4039 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4040 make result into a quiet NaN.
4041
51ca9e29
JM
40422013-10-16 Joseph Myers <joseph@codesourcery.com>
4043
4044 * soft-fp/adddf3.c: Fix horizontal whitespace.
4045 * soft-fp/addsf3.c: Likewise.
4046 * soft-fp/addtf3.c: Likewise.
4047 * soft-fp/divdf3.c: Likewise.
4048 * soft-fp/divsf3.c: Likewise.
4049 * soft-fp/divtf3.c: Likewise.
4050 * soft-fp/double.h: Likewise.
4051 * soft-fp/eqdf2.c: Likewise.
4052 * soft-fp/eqsf2.c: Likewise.
4053 * soft-fp/eqtf2.c: Likewise.
4054 * soft-fp/extenddftf2.c: Likewise.
4055 * soft-fp/extended.h: Likewise.
4056 * soft-fp/extendsfdf2.c: Likewise.
4057 * soft-fp/extendsftf2.c: Likewise.
4058 * soft-fp/extendxftf2.c: Likewise.
4059 * soft-fp/fixdfdi.c: Likewise.
4060 * soft-fp/fixdfsi.c: Likewise.
4061 * soft-fp/fixdfti.c: Likewise.
4062 * soft-fp/fixsfdi.c: Likewise.
4063 * soft-fp/fixsfsi.c: Likewise.
4064 * soft-fp/fixsfti.c: Likewise.
4065 * soft-fp/fixtfdi.c: Likewise.
4066 * soft-fp/fixtfsi.c: Likewise.
4067 * soft-fp/fixtfti.c: Likewise.
4068 * soft-fp/fixunsdfdi.c: Likewise.
4069 * soft-fp/fixunsdfsi.c: Likewise.
4070 * soft-fp/fixunsdfti.c: Likewise.
4071 * soft-fp/fixunssfdi.c: Likewise.
4072 * soft-fp/fixunssfsi.c: Likewise.
4073 * soft-fp/fixunssfti.c: Likewise.
4074 * soft-fp/fixunstfdi.c: Likewise.
4075 * soft-fp/fixunstfsi.c: Likewise.
4076 * soft-fp/fixunstfti.c: Likewise.
4077 * soft-fp/floatdidf.c: Likewise.
4078 * soft-fp/floatdisf.c: Likewise.
4079 * soft-fp/floatditf.c: Likewise.
4080 * soft-fp/floatsidf.c: Likewise.
4081 * soft-fp/floatsisf.c: Likewise.
4082 * soft-fp/floatsitf.c: Likewise.
4083 * soft-fp/floattidf.c: Likewise.
4084 * soft-fp/floattisf.c: Likewise.
4085 * soft-fp/floattitf.c: Likewise.
4086 * soft-fp/floatundidf.c: Likewise.
4087 * soft-fp/floatundisf.c: Likewise.
4088 * soft-fp/floatunditf.c: Likewise.
4089 * soft-fp/floatunsidf.c: Likewise.
4090 * soft-fp/floatunsisf.c: Likewise.
4091 * soft-fp/floatunsitf.c: Likewise.
4092 * soft-fp/floatuntidf.c: Likewise.
4093 * soft-fp/floatuntisf.c: Likewise.
4094 * soft-fp/floatuntitf.c: Likewise.
4095 * soft-fp/fmadf4.c: Likewise.
4096 * soft-fp/fmasf4.c: Likewise.
4097 * soft-fp/fmatf4.c: Likewise.
4098 * soft-fp/gedf2.c: Likewise.
4099 * soft-fp/gesf2.c: Likewise.
4100 * soft-fp/getf2.c: Likewise.
4101 * soft-fp/ledf2.c: Likewise.
4102 * soft-fp/lesf2.c: Likewise.
4103 * soft-fp/letf2.c: Likewise.
4104 * soft-fp/muldf3.c: Likewise.
4105 * soft-fp/mulsf3.c: Likewise.
4106 * soft-fp/multf3.c: Likewise.
4107 * soft-fp/negdf2.c: Likewise.
4108 * soft-fp/negsf2.c: Likewise.
4109 * soft-fp/negtf2.c: Likewise.
4110 * soft-fp/op-1.h: Likewise.
4111 * soft-fp/op-2.h: Likewise.
4112 * soft-fp/op-4.h: Likewise.
4113 * soft-fp/op-8.h: Likewise.
4114 * soft-fp/op-common.h: Likewise.
4115 * soft-fp/quad.h: Likewise.
4116 * soft-fp/single.h: Likewise.
4117 * soft-fp/soft-fp.h: Likewise.
4118 * soft-fp/sqrtdf2.c: Likewise.
4119 * soft-fp/sqrtsf2.c: Likewise.
4120 * soft-fp/sqrttf2.c: Likewise.
4121 * soft-fp/subdf3.c: Likewise.
4122 * soft-fp/subsf3.c: Likewise.
4123 * soft-fp/subtf3.c: Likewise.
4124 * soft-fp/truncdfsf2.c: Likewise.
4125 * soft-fp/trunctfdf2.c: Likewise.
4126 * soft-fp/trunctfsf2.c: Likewise.
4127 * soft-fp/trunctfxf2.c: Likewise.
4128 * soft-fp/unorddf2.c: Likewise.
4129 * soft-fp/unordsf2.c: Likewise.
4130 * soft-fp/unordtf2.c: Likewise.
4131
9ebb0332
JM
41322013-10-15 Joseph Myers <joseph@codesourcery.com>
4133
4134 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4135 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4136
4b1a6d8b
OB
41372013-10-15 Ondřej Bílka <neleai@seznam.cz>
4138
4139 * elf/dl-libc.c: Clear initfini list after freeing.
4140
1e145589
JM
41412013-10-14 Joseph Myers <joseph@codesourcery.com>
4142
4143 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4144 * soft-fp/addsf3.c: Likewise.
4145 * soft-fp/addtf3.c: Likewise.
4146 * soft-fp/divdf3.c: Likewise.
4147 * soft-fp/divsf3.c: Likewise.
4148 * soft-fp/divtf3.c: Likewise.
4149 * soft-fp/double.h: Likewise.
4150 * soft-fp/eqdf2.c: Likewise.
4151 * soft-fp/eqsf2.c: Likewise.
4152 * soft-fp/eqtf2.c: Likewise.
4153 * soft-fp/extenddftf2.c: Likewise.
4154 * soft-fp/extended.h: Likewise.
4155 * soft-fp/extendsfdf2.c: Likewise.
4156 * soft-fp/extendsftf2.c: Likewise.
4157 * soft-fp/extendxftf2.c: Likewise.
4158 * soft-fp/fixdfdi.c: Likewise.
4159 * soft-fp/fixdfsi.c: Likewise.
4160 * soft-fp/fixdfti.c: Likewise.
4161 * soft-fp/fixsfdi.c: Likewise.
4162 * soft-fp/fixsfsi.c: Likewise.
4163 * soft-fp/fixsfti.c: Likewise.
4164 * soft-fp/fixtfdi.c: Likewise.
4165 * soft-fp/fixtfsi.c: Likewise.
4166 * soft-fp/fixtfti.c: Likewise.
4167 * soft-fp/fixunsdfdi.c: Likewise.
4168 * soft-fp/fixunsdfsi.c: Likewise.
4169 * soft-fp/fixunsdfti.c: Likewise.
4170 * soft-fp/fixunssfdi.c: Likewise.
4171 * soft-fp/fixunssfsi.c: Likewise.
4172 * soft-fp/fixunssfti.c: Likewise.
4173 * soft-fp/fixunstfdi.c: Likewise.
4174 * soft-fp/fixunstfsi.c: Likewise.
4175 * soft-fp/fixunstfti.c: Likewise.
4176 * soft-fp/floatdidf.c: Likewise.
4177 * soft-fp/floatdisf.c: Likewise.
4178 * soft-fp/floatditf.c: Likewise.
4179 * soft-fp/floatsidf.c: Likewise.
4180 * soft-fp/floatsisf.c: Likewise.
4181 * soft-fp/floatsitf.c: Likewise.
4182 * soft-fp/floattidf.c: Likewise.
4183 * soft-fp/floattisf.c: Likewise.
4184 * soft-fp/floattitf.c: Likewise.
4185 * soft-fp/floatundidf.c: Likewise.
4186 * soft-fp/floatundisf.c: Likewise.
4187 * soft-fp/floatunsidf.c: Likewise.
4188 * soft-fp/floatunsisf.c: Likewise.
4189 * soft-fp/floatuntidf.c: Likewise.
4190 * soft-fp/floatuntisf.c: Likewise.
4191 * soft-fp/floatuntitf.c: Likewise.
4192 * soft-fp/fmadf4.c: Likewise.
4193 * soft-fp/fmasf4.c: Likewise.
4194 * soft-fp/fmatf4.c: Likewise.
4195 * soft-fp/gedf2.c: Likewise.
4196 * soft-fp/gesf2.c: Likewise.
4197 * soft-fp/getf2.c: Likewise.
4198 * soft-fp/ledf2.c: Likewise.
4199 * soft-fp/lesf2.c: Likewise.
4200 * soft-fp/letf2.c: Likewise.
4201 * soft-fp/muldf3.c: Likewise.
4202 * soft-fp/mulsf3.c: Likewise.
4203 * soft-fp/multf3.c: Likewise.
4204 * soft-fp/negdf2.c: Likewise.
4205 * soft-fp/negsf2.c: Likewise.
4206 * soft-fp/negtf2.c: Likewise.
4207 * soft-fp/op-1.h: Likewise.
4208 * soft-fp/op-2.h: Likewise.
4209 * soft-fp/op-4.h: Likewise.
4210 * soft-fp/op-8.h: Likewise.
4211 * soft-fp/op-common.h: Likewise.
4212 * soft-fp/quad.h: Likewise.
4213 * soft-fp/single.h: Likewise.
4214 * soft-fp/soft-fp.h: Likewise.
4215 * soft-fp/sqrtdf2.c: Likewise.
4216 * soft-fp/sqrtsf2.c: Likewise.
4217 * soft-fp/sqrttf2.c: Likewise.
4218 * soft-fp/subdf3.c: Likewise.
4219 * soft-fp/subsf3.c: Likewise.
4220 * soft-fp/subtf3.c: Likewise.
4221 * soft-fp/truncdfsf2.c: Likewise.
4222 * soft-fp/trunctfdf2.c: Likewise.
4223 * soft-fp/trunctfsf2.c: Likewise.
4224 * soft-fp/trunctfxf2.c: Likewise.
4225 * soft-fp/unorddf2.c: Likewise.
4226 * soft-fp/unordsf2.c: Likewise.
4227 * soft-fp/unordtf2.c: Likewise.
4228
17c48a60
OB
42292013-10-14 Ondřej Bílka <neleai@seznam.cz>
4230
4231 [BZ #15672]
4232 * misc/error.c (error_tail): Fix possible buffer overflow.
4233
cabba934
OB
42342013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4235
4236 [BZ #13028]
4237 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4238 address.
4239
94bf958a
PM
42402013-10-14 P. J. McDermott <pj@pehjota.net>
4241
4242 [BZ #832]
4243 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4244 testing pipefail option.
4245
71b4dea7
JM
42462013-10-12 Joseph Myers <joseph@codesourcery.com>
4247
4248 * soft-fp/double.h: Indent preprocessor directives inside #if.
4249 * soft-fp/extended.h: Likewise.
4250 * soft-fp/op-2.h: Likewise.
4251 * soft-fp/op-4.h: Likewise.
4252 * soft-fp/op-common.h: Likewise.
4253 * soft-fp/quad.h: Likewise.
4254 * soft-fp/single.h: Likewise.
4255 * soft-fp/soft-fp.h: Likewise.
4256
55602758
YC
42572013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4258
4259 * iconv/iconv_prog.c: Fix typos.
4260 * stdio-common/psiginfo-data.h: Likewise.
4261
9cd83302
RT
42622013-10-12 Reuben Thomas <rrt@sc3d.org>
4263
4264 [BZ #15764]
4265 * locale/setlocale.c: Fix typo.
4266
99fd9f47
JM
42672013-10-12 Joseph Myers <joseph@codesourcery.com>
4268
b7ea74f0
JM
4269 [BZ #16036]
4270 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4271 signaling NaN arguments.
4272 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4273 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4274
8a509447
JM
4275 [BZ #14910]
4276 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4277 unordered operands.
4278 * soft-fp/gesf2.c (__gesf2): Likewise.
4279 * soft-fp/getf2.c (__getf2): Likewise.
4280 * soft-fp/ledf2.c (__ledf2): Likewise.
4281 * soft-fp/lesf2.c (__lesf2): Likewise.
4282 * soft-fp/letf2.c (__letf2): Likewise.
4283
98998e9f
JM
4284 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4285 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4286 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4287 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4288 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4289 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4290 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4291 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4292 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4293 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4294 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4295 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4296 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4297 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4298 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4299 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4300 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4301 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4302 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4303 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4304 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4305 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4306 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4307 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4308 * soft-fp/floattidf.c (__floattidf): Likewise.
4309 * soft-fp/floattisf.c (__floattisf): Likewise.
4310 * soft-fp/floattitf.c (__floattitf): Likewise.
4311 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4312 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4313 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4314 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4315 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4316 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4317 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4318 * soft-fp/gesf2.c (__gesf2): Likewise.
4319 * soft-fp/getf2.c (__getf2): Likewise.
4320 * soft-fp/ledf2.c (__ledf2): Likewise.
4321 * soft-fp/lesf2.c (__lesf2): Likewise.
4322 * soft-fp/letf2.c (__letf2): Likewise.
4323
8edc4a11
JM
4324 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4325 Undefine and redefine.
4326 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4327 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4328 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4329 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4330 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4331 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4332 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4333 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4334 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4335 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4336 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4337 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4338 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4339 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4340 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4341
8399acaf
JM
4342 [BZ #16032]
4343 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4344 without decrementing exponent if mantissa >= that for the
4345 denominator, not >.
4346 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4347 denominator, not >. Decrement exponent in < case instead of
4348 incrementing in >= case.
4349 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4350 without decrementing exponent if mantissa >= that for the
4351 denominator, not >.
4352
99fd9f47
JM
4353 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4354 computing saturated result for unsigned overflow.
4355
10e1cf6b
SP
43562013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4357 Jeff Law <law@redhat.com>
4358
4359 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4360 (atan2Mp): Add systemtap probe marker.
4361 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4362 (__ieee754_log): Add systemtap probe marker.
4363 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4364 (atanMp): Add systemtap probe marker.
4365 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4366 (tanMp): Add systemtap probe marker.
4367 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4368 (__slowexp): Add systemtap probe marker.
4369 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4370 (__slowpow): Add systemtap probe marker.
4371 * manual/probes.texi: Document probes.
4372
3d110c7c
EB
43732013-10-11 Eric Biggers <ebiggers3@gmail.com>
4374
4375 [BZ #15362]
4376 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4377 written.
4378 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4379 written.
4380 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4381 written to buffer but not flushed.
4382 * libio/iofwrite_u.c: Likewise.
4383 * libio/iopadn.c: Return bytes returned even if EOF was
4384 encountered.
4385 * libio/iowpadn.c: Likewise.
4386 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4387 if _IO_padn does not write the whole buffer.
4388 [!COMPILE_WPRINTF] (PAD): Likewise.
4389
75b4202a
DM
43902013-10-10 David S. Miller <davem@davemloft.net>
4391
4392 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4393 directory block.
4394
6c6352e6
JM
43952013-10-10 Joseph Myers <joseph@codesourcery.com>
4396
33b853c3
JM
4397 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4398 instead of FSF address.
4399 * soft-fp/fixdfti.c: Likewise.
4400 * soft-fp/fixsfti.c: Likewise.
4401 * soft-fp/fixtfti.c: Likewise.
4402 * soft-fp/fixunsdfti.c: Likewise.
4403 * soft-fp/fixunssfti.c: Likewise.
4404 * soft-fp/fixunstfti.c: Likewise.
4405 * soft-fp/floattidf.c: Likewise.
4406 * soft-fp/floattisf.c: Likewise.
4407 * soft-fp/floattitf.c: Likewise.
4408 * soft-fp/floatuntidf.c: Likewise.
4409 * soft-fp/floatuntisf.c: Likewise.
4410 * soft-fp/floatuntitf.c: Likewise.
4411 * soft-fp/trunctfxf2.c: Likewise.
4412
6c6352e6
JM
4413 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4414 * soft-fp/fixdfti.c: Likewise.
4415 * soft-fp/fixsfti.c: Likewise.
4416 * soft-fp/fixtfti.c: Likewise.
4417 * soft-fp/fixunsdfti.c: Likewise.
4418 * soft-fp/fixunssfti.c: Likewise.
4419 * soft-fp/fixunstfti.c: Likewise.
4420 * soft-fp/floattidf.c: Likewise.
4421 * soft-fp/floattisf.c: Likewise.
4422 * soft-fp/floattitf.c: Likewise.
4423 * soft-fp/floatuntidf.c: Likewise.
4424 * soft-fp/floatuntisf.c: Likewise.
4425 * soft-fp/floatuntitf.c: Likewise.
4426 * soft-fp/trunctfxf2.c: Likewise.
4427
3bf78b71
DM
44282013-10-10 David S. Miller <davem@davemloft.net>
4429
4430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4431
6f10289e
JM
44322013-10-10 Joseph Myers <joseph@codsourcery.com>
4433
bd878fc0
JM
4434 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4435 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4436 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4437 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4438 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4439 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4440 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4441
6f10289e
JM
4442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4443 for NaNs before doing comparisons on argument.
4444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4445 Likewise.
4446
321e2684
WN
44472013-10-10 Will Newton <will.newton@linaro.org>
4448
4449 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4450 passed to _int_memalign does not overflow.
4451
40fefba1
TR
44522013-10-10 Torvald Riegel <triegel@redhat.com>
4453
4454 * scripts/bench.pl: Add include-sources directive.
4455 * benchtests/README: Update documentation.
4456
2ae21ed2
JM
44572013-10-10 Joseph Myers <joseph@codesourcery.com>
4458
dcc2dd3f
JM
4459 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4460 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4461 instead of FP_INIT_ROUNDMODE.
4462 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4463 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4464
2ae21ed2
JM
4465 [BZ #16034]
4466 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4467 copy class of input value.
4468 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4469 not handle exceptions.
4470 * soft-fp/negsf2.c (__negsf2): Likewise.
4471 * soft-fp/negtf2.c (__negtf2): Likewise.
4472 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4473
cb8f9562
JM
44742013-10-09 Joseph Myers <joseph@codesourcery.com>
4475
4476 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4477 semicolon. From Linux kernel.
4478
5b60c59d
AB
44792013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4480
4481 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4482
b86835ca
YC
44832013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4484
4485 [BZ #156]
4486 * manual/socket.texi: Added statement about buffer
4487 for gethostbyname2_r.
4488
e7044ea7
OB
44892013-10-08 Ondřej Bílka <neleai@seznam.cz>
4490
4491 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4492 Use .p2align directive instead, throughout.
4493 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4494 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4495 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4498 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4499 * sysdeps/x86_64/strchr.S: Likewise.
4500 * sysdeps/x86_64/strrchr.S: Likewise.
4501
09544cbc
SP
45022013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4503
88576635
SP
4504 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4505
e7b2d1dd
SP
4506 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4507
09544cbc
SP
4508 * sysdeps/generic/math_private.h (__mpsin1): Remove
4509 declaration.
4510 (__mpcos1): Likewise.
4511 (__mpsin): New argument __range_reduce.
4512 (__mpcos): Likewise.
4513 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4514 (slow): Use __mpsin and __mpcos.
4515 (slow1): Likewise.
4516 (slow2): Likewise.
4517 (sloww): Likewise.
4518 (sloww1): Likewise.
4519 (sloww2): Likewise.
4520 (bsloww): Likewise.
4521 (bsloww1): Likewise.
4522 (bsloww2): Likewise.
4523 (cslow2): Likewise.
4524 (csloww): Likewise.
4525 (csloww1): Likewise.
4526 (csloww2): Likewise.
4527 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4528 range_reduce. Merge in __mpsin1.
4529 (__mpcos): Likewise.
4530 (__mpsin1): Remove.
4531 (__mpcos1): Likewise.
4532
7602d070
JM
45332013-10-07 Joseph Myers <joseph@codesourcery.com>
4534
4535 * locale/loadlocale.c (_nl_intern_locale_data): Use
4536 LOCFILE_ALIGNED_P.
4537 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4538 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4539 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4540 obstack data is appropriately aligned.
4541 (obstack_int32_grow_fast): Likewise.
4542 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4543 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4544 (add_locale_uint32_array): Likewise.
4545
a357259b
SP
45462013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4547
4548 * benchtests/Makefile: Remove ARGLIST and RET variables.
4549 ($(objpfx)bench-%.c): Pass only function name to the script.
4550 * benchtests/README: Update documentation.
4551 * benchtests/acos-inputs: Add new directives.
4552 * benchtests/acosh-inputs: Likewise.
4553 * benchtests/asin-inputs: Likewise.
4554 * benchtests/asinh-inputs: Likewise.
4555 * benchtests/atan-inputs: Likewise.
4556 * benchtests/atanh-inputs: Likewise.
4557 * benchtests/cos-inputs: Likewise.
4558 * benchtests/cosh-inputs: Likewise.
4559 * benchtests/exp-inputs: Likewise.
4560 * benchtests/log-inputs: Likewise.
4561 * benchtests/pow-inputs: Likewise.
4562 * benchtests/rint-inputs: Likewise.
4563 * benchtests/sin-inputs: Likewise.
4564 * benchtests/sinh-inputs: Likewise.
4565 * benchtests/tan-inputs: Likewise.
4566 * benchtests/tanh-inputs: Likewise.
4567 * scripts/bench.pl: Add support for new directives.
4568
9ec1b13d
AM
45692013-10-07 Alan Modra <amodra@gmail.com>
4570
4571 * README: Fix careless merge.
4572
8b7d57cd
AM
45732013-10-05 Alan Modra <amodra@gmail.com>
4574
4575 * NEWS: Mention powerpc64le support and bugs fixed.
4576 * README: Both big-endian and little-endian powerpc64 supported.
4577
7b7bab13
ST
45782013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4579
4580 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4581 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4582 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4583 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4584
d39baad1
RA
45852013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4586
4587 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4588 match prototype.
4589
cd78f7e7
JM
45902013-10-04 Joseph Myers <joseph@codesourcery.com>
4591
29d73d86
JM
4592 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4593 Move -mhard-float appending from
4594 ports/sysdeps/powerpc/powerpc32/Makefile.
4595 [$(with-fp) = yes] (ASFLAGS): Likewise.
4596 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4597 * sysdeps/powerpc/nofpu: Move directory from
4598 ports/sysdeps/powerpc/nofpu.
4599 * sysdeps/powerpc/soft-fp: Move directory from
4600 ports/sysdeps/powerpc/soft-fp.
4601 * sysdeps/powerpc/powerpc32/405: Move directory from
4602 ports/sysdeps/powerpc/powerpc32/405.
4603 * sysdeps/powerpc/powerpc32/440: Move directory from
4604 ports/sysdeps/powerpc/powerpc32/440.
4605 * sysdeps/powerpc/powerpc32/464: Move directory from
4606 ports/sysdeps/powerpc/powerpc32/464.
4607 * sysdeps/powerpc/powerpc32/476: Move directory from
4608 ports/sysdeps/powerpc/powerpc32/476.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4610 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4612 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4614 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4616 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4618 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4619 * README: Update for powerpc-*-linux-gnu software floating point
4620 support in libc.
4621
e246b347
JM
4622 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4623 case to powerpc/powerpc32*.
4624 * sysdeps/unix/sysv/linux/configure: Regenerated.
4625
89c2003e
JM
4626 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4627 (_FPU_MASK_OM): Define as 0x04.
4628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4630 0x00c10080.
4631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4632 0x0000003c.
4633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4634
cd78f7e7
JM
4635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4636 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4637 getcontext_e500.
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4639 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4640 setcontext_e500.
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4642 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4643 and setcontext_e500.
4644
c755294d
CL
46452013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4646
4647 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4648
e16d221c
SP
46492013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
4651 * manual/threads.texi (Default Thread Attributes): Fix typo.
4652
215c7d43
WN
46532013-10-04 Will Newton <will.newton@linaro.org>
4654
4655 * malloc/Makefile: Add tst-memalign.
4656 * malloc/tst-memalign.c: New file.
4657
27d0461b
WN
4658 * malloc/tst-posix_memalign.c: Add comments.
4659 (do_test): Add comments and call free on all potentially
4660 allocated pointers. Add space after cast.
4661
1bc92709
WN
4662 * malloc/tst-pvalloc.c: Add comments.
4663 (do_test): Add comments and call free on all potentially
4664 allocated pointers. Remove duplicate check for NULL pointer.
4665 Add space after cast.
4666
66a9be9d
WN
4667 * malloc/tst-valloc.c: Add comments.
4668 (do_test): Add comments and call free on all potentially
4669 allocated pointers. Remove duplicate check for NULL pointer.
4670 Add space after cast.
4671
4cb81307
AM
46722013-10-04 Alan Modra <amodra@gmail.com>
4673
4674 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4675 Use stdint types in rather than __attribute__((mode())).
4676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4677
f8e3e9f3
AM
46782013-10-04 Alan Modra <amodra@gmail.com>
4679
4680 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4681 Correct handling of unaligned relocs for little-endian.
4682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4683
8f9ebb08
AM
46842013-10-04 Alan Modra <amodra@gmail.com>
4685
4686 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4687 * configure: Regenerate.
4688 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4689 * shlib-versions: Likewise.
4690
0edf96c2
AM
46912013-10-04 Alan Modra <amodra@gmail.com>
4692
4693 * string/tester.c (test_memrchr): Increment reported test cycle.
4694
e0f7a380
AM
46952013-10-04 Alan Modra <amodra@gmail.com>
4696
4697 * string/test-memcpy.c (do_one_test): When reporting errors, print
4698 string address and don't overrun end of string.
4699
466b0393
AM
47002013-10-04 Alan Modra <amodra@gmail.com>
4701
4702 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4703 insrdi. Make better use of reg selection to speed exit slightly.
4704 Schedule entry path a little better. Remove useless "are we done"
4705 checks on entry to main loop. Handle wrapping around zero address.
4706 Correct main loop count. Handle single left-over word from main
4707 loop inline rather than by using loop_small. Remove extra word
4708 case in loop_small caused by wrong loop count. Add little-endian
4709 support.
4710 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4712 cache hint.
4713 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4714 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4715 support. Avoid rlwimi.
4716 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4717
3be87c77
AM
47182013-10-04 Alan Modra <amodra@gmail.com>
4719
4720 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4721 insrdi. Formatting.
3be87c77
AM
4722 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4723 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4724 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4725 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4726 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4727 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4728
759cfef3
AM
47292013-10-04 Alan Modra <amodra@gmail.com>
4730
4731 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4733 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4734 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4735 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4736 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4737 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4738 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4739 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4740 use of regs. Use power7 mtocrf. Tidy function tails.
4741
fe6e95d7
AM
47422013-10-04 Alan Modra <amodra@gmail.com>
4743
4744 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4745 Formatting. Consistently use rXXX register defines or rN defines.
4746 Use early exit labels that avoid restoring unused non-volatile regs.
4747 Make cr field use more consistent with rWORDn compares. Rename
4748 regs used as shift registers for unaligned loop, using rN defines
4749 for short lifetime/multiple use regs.
4750 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4751 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4752 addi 1,1,64 to pop stack frame. Simplify return value code.
4753 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4754
664318c3
AM
47552013-10-04 Alan Modra <amodra@gmail.com>
4756
4757 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4758 support. Correct typos, formatting. Optimize tail. Use insrdi
4759 rather than rlwimi.
4760 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4761 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4762 little-endian support. Correct typos.
4763 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4764 rather than rlwimi.
4765 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4766 in loop and entry code to keep "and." results.
4767 (strchr): Add little-endian support. Comment. Move cntlzd
4768 earlier in tail.
4769 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4770
43b84013
AM
47712013-10-04 Alan Modra <amodra@gmail.com>
4772
4773 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4774 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4775 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4776 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4777
8a7413f9
AM
47782013-10-04 Alan Modra <amodra@gmail.com>
4779
4780 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4781 (rTMP): Define as r11.
4782 (strcmp): Add little-endian support. Optimise tail.
4783 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4784 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4785 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4787 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4790
33ee81de
AM
47912013-10-04 Alan Modra <amodra@gmail.com>
4792
4793 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4794 little-endian support. Remove unnecessary "are we done" tests.
4795 Handle "s" wrapping around zero and extremely large "size".
4796 Correct main loop count. Handle single left-over word from main
4797 loop inline rather than by using small_loop. Correct comments.
4798 Delete "zero" tail, use "end_max" instead.
4799 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4800
db9b4570
AM
48012013-10-04 Alan Modra <amodra@gmail.com>
4802
4803 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4804 support. Don't branch over align.
4805 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4806 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4807 support. Rearrange tmp reg use to suit. Comment.
4808 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4809
f7c399cf
AM
48102013-10-04 Alan Modra <amodra@gmail.com>
4811
4812 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4813
0b2c2ace
AM
48142013-10-04 Alan Modra <amodra@gmail.com>
4815
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4817 conditional form of branch and link when obtaining pc.
4818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4819
02f04a6c
AM
48202013-10-04 Alan Modra <amodra@gmail.com>
4821
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4823 HIWORD/LOWORD.
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4826
9b874b2f
AM
48272013-10-04 Alan Modra <amodra@gmail.com>
4828
4829 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4830 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4831 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4832 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4833 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4834 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4835 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4836 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4837 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4838 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4839
be1e5d31
AB
48402013-10-04 Anton Blanchard <anton@au1.ibm.com>
4841 Alistair Popple <alistair@ozlabs.au.ibm.com>
4842 Alan Modra <amodra@gmail.com>
4843
4844 [BZ #15723]
4845 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4846 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4847 _dl_hwcap access for little-endian.
4848 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4849 destroy vmx regs when saving unaligned.
4850 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4851 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4852 destroy vmx regs when saving unaligned.
4853
fef13a78
AM
48542013-10-04 Alan Modra <amodra@gmail.com>
4855
4856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4857 Don't use a union to pack hi/low value.
4858
76a66d51
AB
48592013-10-04 Anton Blanchard <anton@au1.ibm.com>
4860
4861 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4862 for little-endian.
4863 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4865 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4866 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4867 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4868
6a31fe7f
AM
48692013-10-04 Alan Modra <amodra@gmail.com>
4870
4871 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4872 constants to usual value for .cst8 section, and remove redundant
4873 high address load.
4874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4875 constant for 0x1p52. Load little-endian words of double from
4876 correct stack offsets.
4877
7b88401f
AM
48782013-10-04 Alan Modra <amodra@gmail.com>
4879
4880 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4881 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4882 words of double from correct stack offsets.
4883 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4884 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4885 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4890 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4891 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4892 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4894 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4895 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4896 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4897 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4898 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4899 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4900
9c008155
AM
49012013-10-04 Alan Modra <amodra@gmail.com>
4902
4903 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4904 64-bit int/double union.
4905 (_FPU_SETCW): Likewise.
4906 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4907 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4908
da13146d
AM
49092013-10-04 Alan Modra <amodra@gmail.com>
4910
4911 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4912 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4913
603e8410
AM
49142013-10-04 Alan Modra <amodra@gmail.com>
4915
4916 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4917 use vector int constants.
4918 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4919
4a28b3ca
AB
49202013-10-04 Anton Blanchard <anton@au1.ibm.com>
4921
4922 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4923 array with long long.
4924 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4925 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4926 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4927 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4928 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4929 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4930 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4931 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4932 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4933 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4934 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4935 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4936 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4937
2ca85d2b
AB
49382013-10-04 Anton Blanchard <anton@au1.ibm.com>
4939
4940 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4941 (__signbit): Likewise. Correct for little-endian.
4942 (__signbitl): Call __signbit.
4943 (lrint): Correct for little-endian.
4944 (lrintf): Call lrint.
4945
62a728ae
AM
49462013-10-04 Alan Modra <amodra@gmail.com>
4947
4948 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4949 union 32-bit int array member with 64-bit int array.
4950 (t515, tm256): Double rather than long double.
4951 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4952
32c301df
AM
49532013-10-04 Alan Modra <amodra@gmail.com>
4954
4955 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4956 Delete.
4957 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4959 version of math_ldbl.h.
4960
650ef4bd
AM
49612013-10-04 Alan Modra <amodra@gmail.com>
4962
4963 [BZ #15734], [BZ #15735]
4964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4965 all uses of ieee875 long double macros and unions. Simplify test
4966 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4967 ldbl_extract_mantissa value for ix,iy exponents. Properly
4968 normalize after ldbl_extract_mantissa, and don't add hidden bit
4969 already handled. Don't treat low word of ieee854 mantissa like
4970 low word of IBM long double and mask off bit when testing for
4971 zero.
4972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4973 all uses of ieee875 long double macros and unions. Simplify tests
4974 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4975 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4976 two1022, instead use their values. Recognise that tests for large
4977 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4978 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4979 Rewrite all uses of ieee875 long double macros and unions. Simplify
4980 test for 0.0L and nan. Correct negation.
4981 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4982 ieee875 long double macros and unions. Correct output for large
4983 magnitude x. Correct absolute value calculation.
4984 (__erfcl): Likewise.
4985 * math/libm-test.inc: Add tests for errors discovered in IBM long
4986 double versions of fmodl, remainderl, erfl and erfcl.
4987
765714ca
AM
49882013-10-04 Alan Modra <amodra@gmail.com>
4989
4990 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4991 all uses of ieee854 long double macros and unions. Simplify tests
4992 for long doubles that are fully specified by the high double.
4993 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4994 Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4996 Remove dead code too.
4997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4998 (__ieee754_ynl): Likewise.
4999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5002 Remove dead code too.
5003 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5004 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5005 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5006 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5007 Simplify.
5008 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5009 Simplify.
5010 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5011 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5013 Comment on variable precision.
5014 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5016 Likewise.
5017 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5020 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5021 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5022
4ebd120c
AM
50232013-10-04 Alan Modra <amodra@gmail.com>
5024
5025 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5027 all uses of ieee854 long double macros and unions.
5028 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5030 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5034 Likewise.
5035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5036 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5037 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5038 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5039 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5040 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5041 Simplify sign and nan test too.
5042 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5043 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5044 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5045 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5046 Likewise.
5047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5048 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5049 Likewise.
5050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5051 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5052 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5054 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5056
1b6adf88
AM
50572013-10-04 Alan Modra <amodra@gmail.com>
5058
5059 * stdio-common/printf_size.c (__printf_size): Don't use
5060 union ieee854_long_double in fpnum union.
5061 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5062 signbit macro to retrieve sign from long double.
5063 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5064 retrieve sign from long double.
5065 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5066 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5067 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5068 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5069 * math/test-misc.c (main): Don't use union ieee854_long_double.
5070
4cf69995
AM
50712013-10-04 Alan Modra <amodra@gmail.com>
5072
5073 [BZ #15680]
5074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5075 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5076 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5077 calculation. Remove unnecessary test for denormal exponent.
5078 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5079 Correct handling of denormals. Avoid undefined shift behaviour.
5080 Correct normalisation of low mantissa when low double is denormal.
5081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5082 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5083 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5084 Correct normalisation of low mantissa. Test for overflow of high
5085 mantissa and normalise.
5086 (ldbl_nearbyint): Use more readable constant for two52.
5087 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5088 (__mpn_construct_long_double): Fix test for overflow of high
5089 mantissa and correct normalisation. Avoid undefined shift.
5090
9605ca6c
AM
50912013-10-04 Alan Modra <amodra@gmail.com>
5092
5093 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5094 (union ibm_extended_long_double): Define as an array of ieee754_double.
5095 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5096 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5097 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5106
975569d0
JM
51072013-10-03 Joseph Myers <joseph@codesourcery.com>
5108
d3d23756
JM
5109 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5110 page size instead of calling getpagesize.
5111
975569d0
JM
5112 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5113 (LOCFILE_ALIGN_MASK): Likewise.
5114 (LOCFILE_ALIGN_UP): Likewise.
5115 (LOCFILE_ALIGNED_P): Likewise.
5116 * locale/programs/ld-collate.c (collate_output): Use the new
5117 macros instead of __alignof__ (int32_t).
5118 * locale/weight.h (findidx): Likewise.
5119
b1fe1f2b
OB
51202013-10-03 Ondřej Bílka <neleai@seznam.cz>
5121
5122 [BZ #431]
5123 * manual/string.texi: Fix strncat and wcsncat.
5124
5f855e35
BM
51252013-10-03 Brooks Moses <bmoses@google.com>
5126
5127 [BZ #15915]
5128 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5129 * Makerules: ...here, and adjust associated comments.
5130
3cef6009
WN
51312013-10-02 Will Newton <will.newton@linaro.org>
5132
5133 * malloc/Makefile: Add tst-pvalloc.
5134 * malloc/tst-pvalloc.c: New file.
5135
7815420b
WN
51362013-10-02 Will Newton <will.newton@linaro.org>
5137
5138 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5139 improve test coverage.
5140
4868b204
WN
51412013-10-02 Will Newton <will.newton@linaro.org>
5142
5143 * malloc/Makefile: Add tst-posix_memalign.
5144 * malloc/tst-posix_memalign.c: New file.
5145
29c793b3
EB
51462013-10-01 Eric Blake <eblake@redhat.com>
5147
5148 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5149 Use __THROWNL rather than __THROW on static functions.
5150
fd967522
PM
51512013-09-30 Petr Machata <pmachata@redhat.com>
5152
5153 * elf/elf.h (R_AARCH64_ABS16): New macro.
5154 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5155 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5156 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5157 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5158 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5159 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5160 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5161 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5162 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5163 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5164 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5165 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5166 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5167 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5168 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5169 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5170 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5171 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5172 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5173 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5174 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5175 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5176 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5177 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5178 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5179 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5180 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5181 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5182 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5183 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5184 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5185 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5186 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5187 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5188 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5189 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5190 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5191 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5192 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5193 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5194 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5195 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5196 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5197 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5198 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5199 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5200 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5201 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5202 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5203 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5204 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5205 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5206 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5207 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5208 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5209 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5210 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5211 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5212 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5213 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5214 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5215 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5216 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5217 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5218 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5219 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5220 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5221 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5222 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5223 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5224 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5225 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5226 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5227 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5228 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5229 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5230 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5231 (R_AARCH64_TLSDESC_LDR): Likewise.
5232 (R_AARCH64_TLSDESC_ADD): Likewise.
5233 (R_AARCH64_TLSDESC_CALL): Likewise.
5234
b2179107
AS
52352013-09-30 Andreas Schwab <schwab@suse.de>
5236
5237 [BZ #15048]
5238 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5239 the nss database lookup.
5240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5242
47f28d0a
MF
52432013-09-28 Mike Frysinger <vapier@gentoo.org>
5244
5245 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5246
52472013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5248
5249 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5250 ${Bash-specific parameter/pattern/string} parameter expansion.
5251 * sysdeps/unix/make-syscalls.sh: Likewise.
5252
f4518a17
KK
52532013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5254
5255 * sysdeps/sh/stackguard-macros.h: New file.
5256
dc1a95c7
OB
52572013-09-26 Ondřej Bílka <neleai@seznam.cz>
5258
5259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5261 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5262 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5263 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5264 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5265
5ebbff8f
AZ
52662013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267
5268 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5269 Fix thread ID register.
5270
4fd2cf9f
JM
52712013-09-25 Joseph Myers <joseph@codesourcery.com>
5272
5273 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5274 [POSIX || UNIX98]: Require rather than permitting all symbols from
5275 <time.h>.
5276 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5277 element of struct sched_param.
5278 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5279 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5280 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5281 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5282 constant.
5283
12c22bc4
OL
52842013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5285
5286 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5287 argument calculation.
5288
a03d8ea7
JM
52892013-09-24 Joseph Myers <joseph@codesourcery.com>
5290
5291 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5292 Expect macro.
5293 [POSIX] (pthread_attr_t): Do not require type.
5294 [POSIX] (pthread_cond_t): Likewise.
5295 [POSIX] (pthread_condattr_t): Likewise.
5296 [POSIX] (pthread_key_t): Likewise.
5297 [POSIX] (pthread_mutex_t): Likewise.
5298 [POSIX] (pthread_mutexattr_t): Likewise.
5299 [POSIX] (pthread_once_t): Likewise.
5300 [POSIX] (pthread_t): Likewise.
5301 [POSIX-based standards] (pthread_atfork): Expect function.
5302
6055173a
JM
53032013-09-24 Joseph Myers <joseph@codesourcery.com>
5304 Richard Sandiford <richard@codesourcery.com>
5305
5306 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5307 (swap_endianness_p): New extern variable.
5308 (set_big_endian): New inline function.
5309 (maybe_swap_uint32): Likewise.
5310 (maybe_swap_uint32_array): Likewise.
5311 (maybe_swap_uint32_obstack): Likewise.
5312 * locale/programs/locfile.c: Include <stdbool.h>.
5313 (swap_endianness_p): New variable.
5314 (add_locale_uint32): Call maybe_swap_uint32.
5315 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5316 (write_locale_data): Call maybe_swap_uint32_array.
5317 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5318 maybe_swap_uint32.
5319 (obstack_int32_grow_fast): Likewise.
5320 (output_weightwc): Call maybe_swap_uint32_obstack.
5321 (collate_output): Likewise.
5322 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5323 (OPT_LITTLE_ENDIAN): Likewise.
5324 (options): Add --little-endian and --big-endian options.
5325 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5326 * locale/programs/locarchive.c: Include "locfile.h".
5327 (GET): New macro.
5328 (SET): Likewise.
5329 (INC): Likewise.
5330 (create_archive): Use the new macros to access fields of
5331 structures directly mapped from or written to locale archives.
5332 (oldlocrecentcmp): Likewise.
5333 (enlarge_archive): Likewise.
5334 (insert_name): Likewise.
5335 (add_alias): Likewise.
5336 (add_locale): Likewise.
5337 (delete_locales_from_archive): Likewise.
5338 (show_archive_content): Likewise.
5339 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5340 locale data.
5341
39bf0bb4
RM
53422013-09-24 Roland McGrath <roland@hack.frob.com>
5343
5344 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5345 http://www.gnu.org/doc/freemanuals.texi.
5346 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5347
f02eed10
WN
53482013-09-24 Will Newton <will.newton@linaro.org>
5349
5350 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5351 macro.
5352
a3a6c312
JM
53532013-09-23 Joseph Myers <joseph@codesourcery.com>
5354
5355 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5356 unsigned char.
5357
107375ac
MR
53582013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5359
5360 * manual/threads.texi (POSIX Threads): Fix a typo.
5361
141f3a77
SP
53622013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5363
303e567a
SP
5364 [BZ #14547]
5365 * string/tst-strcoll-overflow.c: New test case.
5366 * string/Makefile (xtests): Add tst-strcoll-overflow.
5367 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5368 cache if string sizes may cause integer overflow.
5369
141f3a77
SP
5370 [BZ #14547]
5371 * string/strcoll_l.c (coll_seq): New members rule, idx,
5372 save_idx and back_us.
5373 (get_next_seq_nocache): New function.
5374 (do_compare_nocache): New function.
5375 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5376 when malloc fails.
5377
c61b4d41
CD
53782013-09-23 Carlos O'Donell <carlos@redhat.com>
5379
0b1f8e35
CD
5380 [BZ #15754]
5381 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5382 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5383 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5384
c61b4d41
CD
5385 [BZ #15754]
5386 * elf/Makefile (tests): Add tst-ptrguard1.
5387 (tests-static): Add tst-ptrguard1-static.
5388 (tst-ptrguard1-ARGS): Define.
5389 (tst-ptrguard1-static-ARGS): Define.
5390 * elf/tst-ptrguard1.c: New file.
5391 * elf/tst-ptrguard1-static.c: New file.
5392 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5393 * sysdeps/i386/stackguard-macros.h: Likewise.
5394 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5395 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5396 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5397 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5398 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5399 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5400
54012013-09-23 Hector Marco <hecmargi@upv.es>
5402 Ismael Ripoll <iripoll@disca.upv.es>
5403 Carlos O'Donell <carlos@redhat.com>
5404
5405 [BZ #15754]
5406 * sysdeps/generic/stackguard-macros.h: Define
5407 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5408 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5409 Define __pointer_chk_guard_local.
5410 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5411 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5412
f5f4e7b4
VV
54132013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5414
5415 [BZ #15859]
5416 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5417
5bb43a43
AS
54182013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5419
5420 * include/string.h (__ffs): Declare as hidden.
5421 * string/ffs.c (__ffs): Define as hidden.
5422 * sysdeps/i386/ffs.c (__ffs): Likewise.
5423 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5424 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5425 * sysdeps/s390/ffs.c (__ffs): Likewise.
5426 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5427
3ea5be54
AO
54282013-09-20 Alexandre Oliva <aoliva@redhat.com>
5429
ffb89e53
AO
5430 * NEWS: Mention malloc probes.
5431
322dea08
AO
5432 * malloc/arena.c (new_heap): New memory_heap_new probe.
5433 (grow_heap): New memory_heap_more probe.
5434 (shrink_heap): New memory_heap_less probe.
5435 (heap_trim): New memory_heap_free probe.
5436 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5437 (systrim): New memory_sbrk_less probe.
5438 * manual/probes.texi: Document them.
5439
655673f3
AO
5440 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5441 * manual/probes.texi: Document it.
5442
35fed6f1
AO
5443 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5444 (__libc_realloc): Add memory_realloc_retry probe.
5445 (__libc_memalign): Add memory_memalign_retry probe.
5446 (__libc_valloc): Add memory_valloc_retry probe.
5447 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5448 (__libc_calloc): Add memory_calloc_retry probe.
5449 * manual/probes.texi: Document them.
5450
6999d38c
AO
5451 * malloc/arena.c (get_free_list): Add probe
5452 memory_arena_reuse_free_list.
5453 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5454 and memory_arena_reuse.
5455 (arena_get2) [!PER_THREAD]: Likewise.
5456 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5457 memory_arena_reuse_realloc.
5458 * manual/probes.texi: Document them.
5459
0653427f
AO
5460 * malloc/malloc.c (__libc_free): Add
5461 memory_mallopt_free_dyn_thresholds probe.
5462 (__libc_mallopt): Add multiple memory_mallopt probes.
5463 * manual/probes.texi: Document them.
5464
3ea5be54
AO
5465 * malloc/malloc.c: Include stap-probe.h.
5466 (__libc_mallopt): Add memory_mallopt probe.
5467 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5468 * manual/probes.texi: New.
5469 * manual/Makefile (chapters): Add probes.
5470 * manual/threads.texi: Set next node.
5471
e35696c3 54722013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5473
e35696c3
CL
5474 [BZ #15963, #13985]
5475 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5476 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5477 Add `Chinese' to `nan' entry name.
5478
4aafb73c
SP
54792013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5480
5481 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5482 (POLYNOMIAL): Likewise.
5483 (TAYLOR_SINCOS): Likewise.
5484 (TAYLOR_SLOW): Likewise.
5485 (__sin): Use TAYLOR_SINCOS.
5486 (__cos): Likewise.
5487 (slow): Use TAYLOR_SLOW.
5488 (sloww): Likewise.
5489 (bsloww): Likewise.
5490 (csloww): Likewise.
5491
d84f25c7
LD
54922013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5493
5494 * stdlib/strtod_l.c: Fix buffer overrun.
5495
5eea0404
SP
54962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5497
7849ff93
SP
5498 * benchtests/Makefile (bench): Add sincos.
5499 * benchtests/bench-sincos.c: New file.
5500
cfa3c886
SP
5501 * math/libm-test.inc (cos_test_data): New test inputs.
5502 (sin_test_data): Likewise.
5503
b348e1e3
SP
5504 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5505 macro.
5506 (__sin): Use it.
5507 (__cos): Likewise.
5508 (slow1): Likewise.
5509 (slow2): Likewise.
5510 (sloww1): Likewise.
5511 (sloww2): Likewise.
5512 (bsloww1): Likewise.
5513 (bsloww2): Likewise.
5514 (cslow2): Likewise.
5515 (csloww1): Likewise.
5516 (csloww2): Likewise.
5517
6cce25f8
SP
5518 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5519 function.
5520 (__sin): Use it.
5521 (__cos): Likewise.
5522
5eea0404
SP
5523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5524 gotos.
5525 (__cos): Likewise.
5526
9c21573c
MR
55272013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5528
5529 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5530 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5531 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5532 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5533 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5534 * elf/cache.c (print_entry): Handle the new cache flags.
5535
24d22e65
JM
55362013-09-18 Joseph Myers <joseph@codesourcery.com>
5537 Aldy Hernandez <aldyh@redhat.com>
5538
5539 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5540 Change condition to [_SOFT_FLOAT].
5541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5553 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5556 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5557 declaration.
5558
d13ef066
JM
55592013-09-18 Joseph Myers <joseph@codesourcery.com>
5560
2e071de0
JM
5561 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5562 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5563 (__longjmp): Use LOAD_GP to load saved GPRs.
5564 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5565 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5566 (__sigsetjmp): Use SAVE_GP to save GPRs.
5567
d13ef066
JM
5568 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5569 Do not append -msoft-float.
5570 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5571
97a0650b
SP
55722013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5573
5574 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5575
11ca09e9
JM
55762013-09-17 Joseph Myers <joseph@codesourcery.com>
5577
5578 [BZ #15966]
5579 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5580 (_FPU_GETCW): Use initial "__" on variable and field names but not
5581 on macro parameter name.
5582 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5583 parentheses around reference to macro parameter.
5584
08ffcf34
RS
55852013-09-13 Richard Sandiford <richard@codesourcery.com>
5586
5587 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5588 prototype.
5589 (ctype_startup): Use uint32_t in cast and sizeof for
5590 ctype->charnames.
5591
ae7080d3
JL
55922013-09-11 Jia Liu <proljc@gmail.com>
5593
5594 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5595 __daddr_t_defined.
5596 [__FreeBSD__]: Likewise.
5597
5905e7b3
OB
55982013-09-11 Ondřej Bílka <neleai@seznam.cz>
5599
5600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5601 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5602 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5603 (strchr): Remove __strchr_sse42 ifunc selection.
5604 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5605 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5606
b987c776
WN
56072013-09-11 Will Newton <will.newton@linaro.org>
5608
5609 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5610 parameter to RES. Remove hardcoded 1000 value.
5611 * benchtests/bench-skeleton.c (main): Pass RES parameter
5612 to TIMING_INIT and multiply result by 1000.
5613
ddf985af
AZ
56142013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5615
5616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5617
ffdd3181
AS
56182013-09-11 Andreas Schwab <schwab@suse.de>
5619
5620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5621 if not defined.
5622 (O_TMPFILE) [__USE_GNU]: Define.
5623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5624 Define.
5625
b73ed247
WN
56262013-09-11 Will Newton <will.newton@linaro.org>
5627
5628 [BZ #15857]
5629 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5630 does not overflow.
5631
55e17aad
WN
56322013-09-11 Will Newton <will.newton@linaro.org>
5633
5634 [BZ #15856]
5635 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5636 does not overflow.
5637
1159a193
WN
56382013-09-11 Will Newton <will.newton@linaro.org>
5639
5640 [BZ #15855]
5641 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5642 does not overflow.
5643
5905e7b3 56442013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5645
5646 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5647 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5649 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5651
cdfc721b
AM
56522013-09-10 Allan McRae <allan@archlinux.org>
5653
aa04af00
AM
5654 [BZ #15748]
5655 * manual/arith.texi (Parsing of Floats): Clarify
5656 cross-reference.
5657
cdfc721b
AM
5658 [BZ #15849]
5659 * manual/install.texi (Running make install): Mention
5660 --enable-pt-chown.
5661 * INSTALL: Regenerated.
5662
95e7cf29
MR
56632013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5664
5665 * csu/init-first.c (_init): Remove the !SHARED condition around
5666 FPU control word initialization.
5667 * elf/dl-support.c (_dl_fpu_control): New variable.
5668 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5669 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5670 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5671 * math/test-fpucw-static.c: New file.
5672 * math/test-fpucw-ieee.c: New file.
5673 * math/test-fpucw-ieee-static.c: New file.
5674 * math/Makefile (tests): Add `test-fpucw-ieee' and
5675 `$(tests-static)'.
5676 (tests-static): New variable.
5677 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5678 dependency to...
5679 [($(build-shared),yes)]
5680 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5681 ... this.
5682 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5683 New dependency.
5684
83e43bf0
AM
56852013-09-09 Allan McRae <allan@archlinux.org>
5686
a9f5ce09
AM
5687 [BZ #15939]
5688 * manual/string.texi (Collation Functions): Fix typo in
5689 strcoll example.
5690 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5691
34829bc2
AM
5692 [BZ #15893]
5693 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5694
3932737d
AM
5695 [BZ #15892]
5696 * libio/memstream.c (open_memstream): Fix memory leak.
5697 * libio/wmemstream.c (open_wmemstream): Likewise.
5698
83e43bf0
AM
5699 [BZ #15895]
5700 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5701
0c66b8e9
WN
57022013-09-09 Will Newton <will.newton@linaro.org>
5703
5704 * malloc/Makefile: Add tst-realloc to tests.
5705 * malloc/tst-realloc.c: New file.
5706
f6b00fd1
AM
57072013-09-09 Allan McRae <allan@archlinux.org>
5708
5709 [BZ #15844]
5710 * COPYING: Update from GNU website to fix FSF address.
5711 * COPYING.LIB: Likewise.
5712
eec55e16
DM
57132013-09-06 David S. Miller <davem@davemloft.net>
5714
5715 * po/zh_TW.po: Update Chinese (traditional) translation from
5716 translation project.
5717
1ecbb381
RS
57182013-09-06 Richard Sandiford <richard@codesourcery.com>
5719 Joseph Myers <joseph@codesourcery.com>
5720
5721 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5722 "localeinfo.h".
5723 (obstack_chunk_alloc): New macro.
5724 (obstack_chunk_free): Likewise.
5725 (record_offset): New function.
5726 (init_locale_data): Likewise.
5727 (align_locale_data): Likewise.
5728 (add_locale_empty): Likewise.
5729 (add_locale_raw_data): Likewise.
5730 (add_locale_raw_obstack): Likewise.
5731 (add_locale_string): Likewise.
5732 (add_locale_wstring): Likewise.
5733 (add_locale_uint32): Likewise.
5734 (add_locale_uint32_array): Likewise.
5735 (add_locale_char): Likewise.
5736 (start_locale_structure): Likewise.
5737 (end_locale_structure): Likewise.
5738 (start_locale_prelude): Likewise.
5739 (end_locale_prelude): Likewise.
5740 (write_locale_data): Take locale_file structure rather than an
5741 iovec.
5742 * locale/programs/locfile.h: Include "obstack.h".
5743 (struct locale_file): Change to store locale file contents instead
5744 of header.
5745 (init_locale_data): New prototype.
5746 (align_locale_data): Likewise.
5747 (add_locale_empty): Likewise.
5748 (add_locale_raw_data): Likewise.
5749 (add_locale_raw_obstack): Likewise.
5750 (add_locale_string): Likewise.
5751 (add_locale_wstring): Likewise.
5752 (add_locale_uint32): Likewise.
5753 (add_locale_uint32_array): Likewise.
5754 (add_locale_char): Likewise.
5755 (start_locale_structure): Likewise.
5756 (end_locale_structure): Likewise.
5757 (start_locale_prelude): Likewise.
5758 (end_locale_prelude): Likewise.
5759 (write_locale_data): Update prototype.
5760 * locale/programs/3level.h (struct TABLE): Remove result field.
5761 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5762 Use new locale_file interface.
5763 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5764 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5765 * locale/programs/ld-address.c (address_output): Use new
5766 locale_file interface.
5767 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5768 NO_ADD_LOCALE.
5769 (collate_finish): Don't call collseq_table_finalize.
5770 (collate_output): Use new locale_file interface.
5771 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5772 in file.
5773 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5774 (TABLE): Move defines earlier in file.
5775 (ELEMENT): Likewise.
5776 (DEFAULT): Likewise.
5777 (wctrans_table_add): Move macro and inline function earlier in
5778 file.
5779 (struct wctype_table): Move type earlier in file.
5780 (add_locale_wctype_table): New static prototype.
5781 (struct locale_ctype_t): Use logical types instead of struct iovec
5782 pointers for members.
5783 (ctype_output): Use new locale_file interface.
5784 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5785 new locale_file interface.
5786 (allocate_arrays): Update for use of new locale_file interface.
5787 * locale/programs/ld-identification.c (identification_output): Use
5788 new locale_file interface.
5789 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5790 * locale/programs/ld-messages.c (messages_output): Likewise.
5791 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5792 * locale/programs/ld-name.c (name_output): Likewise.
5793 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5794 * locale/programs/ld-paper.c (paper_output): Likewise.
5795 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5796 * locale/programs/ld-time.c (time_output): Likewise.
5797
e029e2e5
AZ
57982013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5799
5800 * benchtests/Makefile: Add memrchr benchmark.
5801 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5802 benchmark as memrchr.
5803 * benchtests/bench-memrchr-ifunc.c: New file.
5804 * benchtests/bench-memrchr.c: New file.
5805
bbf6e8e4
WN
58062013-09-06 Will Newton <will.newton@linaro.org>
5807
5808 * benchtests/Makefile (string-bench): Add memcpy.
5809
6c82a2f8
CD
58102013-09-05 Carlos O'Donell <carlos@redhat.com>
5811 Cong Wang <amwang@redhat.com>
5812
e732c5f0 5813 [BZ #15850]
6c82a2f8
CD
5814 * sysdeps/unix/sysv/linux/bits/in.h
5815 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5816 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5817 before __USE_KERNEL_IPV6_DEFS uses.
5818 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5819 IPPROTO_BEETPH.
5820 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5821 sockaddr_in6, or ipv6_mreq.
5822
5430fc65
AZ
58232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5824
5825 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5826 memory access for final bytes in some large inputs.
5827 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5828
4660856c
AZ
58292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830
5831 * string/test-memrchr.c: New file.
5832 * string/test-memrchr-ifunc.c: New file.
5833 * string/Makefile: Add new memrchr testcase.
5834
bb8ea713
MF
58352013-09-05 Mike Frysinger <vapier@gentoo.org>
5836
5837 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5838 fanotify_init returns EPERM.
5839
b92a20b5
JM
58402013-09-04 Joseph Myers <joseph@codesourcery.com>
5841
5842 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5843 errors.
5844 (top level): Treat second token from macro or constant entries for
5845 allowed headers as allowed.
5846 * include/complex.h: Condition internal declarations on
5847 [!_ISOMAC].
5848 * include/fenv.h: Condition include of <stdbool.h> and internal
5849 declarations on [!_ISOMAC].
7447ccd9
CL
5850
58512013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5852
3e181dda 5853 [BZ #15923]
7447ccd9
CL
5854 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5855
3f2e46a4
JM
58562013-09-04 Joseph Myers <joseph@codesourcery.com>
5857
5858 * configure.in (--enable-versioning): Remove configure option.
5859 (libc_cv_asm_symver_directive): Remove configure test.
5860 (libc_cv_ld_version_script_option): Likewise.
5861 (VERSIONING): Remove variable and AC_SUBST.
5862 (DO_VERSIONING): Remove AC_DEFINE.
5863 * configure: Regenerated.
5864 * config.h.in (DO_VERSIONING): Remove macro.
5865 * Makerules [$(versioning) = yes]: Change conditionals to
5866 [$(build-shared) = yes].
5867 * config.make.in (versioning): Remove variable.
5868 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5869 [$(build-shared) = yes].
5870 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5871 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5872 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5873 [$(build-shared) = yes].
5874 * extra-lib.mk [$(versioning) = yes]: Likewise.
5875 * hurd/Makefile [$(versioning) = yes]: Likewise.
5876 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5877 [SHARED].
5878 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5879 [SHARED].
5880 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5881 [SHARED && !NO_HIDDEN].
5882 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5883 [SHARED].
5884 [SHARED && DO_VERSIONING]: Likewise..
5885 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5886 [$(build-shared) = yes].
5887 * manual/install.texi (--disable-versioning): Remove
5888 documentation.
5889 * INSTALL: Regenerated.
5890 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5891 to [SHARED].
5892 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5893 [$(build-shared) = yes].
5894 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5895 * sysdeps/i386/i686/multiarch/strstr-c.c
5896 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5897 [SHARED && !NO_HIDDEN].
5898 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5899 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5900 * sysdeps/powerpc/powerpc32/dl-machine.c
5901 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5902 * sysdeps/powerpc/powerpc32/sysdep.h
5903 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5904 to [SHARED && PIC && !NO_HIDDEN].
5905 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5906 conditional to [SHARED].
5907
44558701
WN
59082013-09-04 Will Newton <will.newton@linaro.org>
5909
5910 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5911 * benchtests/bench-string.h: Include bench-timing.h instead
5912 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5913 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5914 call to HP_TIMING_DIFF_INIT.
5915 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5916 instead of hp-timing.h macros.
5917 * benchtests/bench-memchr.c: Likewise.
5918 * benchtests/bench-memcmp.c: Likewise.
5919 * benchtests/bench-memcpy.c: Likewise.
5920 * benchtests/bench-memmem.c: Likewise.
5921 * benchtests/bench-memmove.c: Likewise.
5922 * benchtests/bench-memset.c: Likewise.
5923 * benchtests/bench-rawmemchr.c: Likewise.
5924 * benchtests/bench-strcasecmp.c: Likewise.
5925 * benchtests/bench-strcasestr.c: Likewise.
5926 * benchtests/bench-strcat.c: Likewise.
5927 * benchtests/bench-strchr.c: Likewise.
5928 * benchtests/bench-strcmp.c: Likewise.
5929 * benchtests/bench-strcpy.c: Likewise.
5930 * benchtests/bench-strcpy_chk.c: Likewise.
5931 * benchtests/bench-strlen.c: Likewise.
5932 * benchtests/bench-strncasecmp.c: Likewise.
5933 * benchtests/bench-strncat.c: Likewise.
5934 * benchtests/bench-strncmp.c: Likewise.
5935 * benchtests/bench-strncpy.c: Likewise.
5936 * benchtests/bench-strnlen.c: Likewise.
5937 * benchtests/bench-strpbrk.c: Likewise.
5938 * benchtests/bench-strrchr.c: Likewise.
5939 * benchtests/bench-strspn.c: Likewise.
5940 * benchtests/bench-strstr.c: Likewise.
5941
cae16d66
WN
59422013-09-04 Will Newton <will.newton@linaro.org>
5943
5944 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5945
ffa3cd7f
JM
59462013-09-03 Joseph Myers <joseph@codesourcery.com>
5947
5948 [BZ #15427]
5949 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5950 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5951 * math/libm-test.inc (lgamma_test_data): Add more tests.
5952 * sysdeps/i386/fpu/libm-test-ulps: Update.
5953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5954
8f02859f
OB
59552013-09-03 Ondřej Bílka <neleai@seznam.cz>
5956
5957 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5959 Add ifunc.
5960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5961 Add strcmp-sse2-unaligned
5962 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5963
18d43716
MF
59642013-09-02 Mike Frysinger <vapier@gentoo.org>
5965
5966 * Versions.def (libc): Add GLIBC_2.19.
5967
ac444012
MF
59682013-09-02 Mike Frysinger <vapier@gentoo.org>
5969
5970 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5971 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5972
b7835e32
JM
59732013-09-02 Joseph Myers <joseph@codesourcery.com>
5974
5975 [BZ #14155]
5976 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5977 intermediate calculations in recurrence.
5978 (__ieee754_ynf): Likewise.
5979 * math/libm-test.inc (jn_test_data): Do not allow spurious
5980 underflow exception. Add more tests.
5981 (yn_test_data): Add more tests.
5982 * sysdeps/i386/fpu/libm-test-ulps: Update.
5983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5984
8220f4f0
OB
59852013-09-02 Ondřej Bílka <neleai@seznam.cz>
5986
5987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5988
f24a6d08
OB
59892013-08-30 Ondřej Bílka <neleai@seznam.cz>
5990
5991 * csu/init-first.c: Fix then/than typos.
5992 * locale/programs/ld-collate.c: Likewise.
5993 * locale/programs/linereader.h: Likewise.
5994 * manual/charset.texi: Likewise.
5995 * manual/filesys.texi: Likewise.
5996 * manual/stdio.texi: Likewise.
5997 * manual/string.texi: Likewise.
5998 * stdlib/fmtmsg.c: Likewise.
5999 * sysdeps/i386/stpncpy.S: Likewise.
6000 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6001 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6002 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6003 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6004
382466e0
OB
60052013-08-30 Ondřej Bílka <neleai@seznam.cz>
6006
6007 * elf/dl-open.c: Fix typos.
6008 * iconvdata/gbbig5.c: Likewise.
6009 * iconvdata/iso-2022-jp.c: Likewise.
6010 * iconv/gconv_int.h: Likewise.
6011 * iconv/loop.c: Likewise.
6012 * nis/rpcsvc/nis.h: Likewise.
6013 * resolv/ns_name.c: Likewise.
6014 * stdio-common/vfscanf.c: Likewise.
6015 * streams/stropts.h: Likewise.
6016 * sunrpc/rpc_thread.c: Likewise.
6017 * sysdeps/i386/strpbrk.S: Likewise.
6018 * sysdeps/ieee754/k_standard.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6021 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6022 * sysdeps/mach/hurd/profil.c: Likewise.
6023 * sysdeps/s390/dl-procinfo.h: Likewise.
6024 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6025 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6026 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6027 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6029
0186c6e9
OB
60302013-08-30 Ondřej Bílka <neleai@seznam.cz>
6031
6032 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6034
d4e16af1
OB
60352013-08-29 Ondřej Bílka <neleai@seznam.cz>
6036
6037 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6038 aix specific files.
6039 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6040 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6041 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6043 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6044 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6045 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6046 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6047
88335980
TS
60482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6049 Roland McGrath <roland@hack.frob.com>
6050
6051 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6052 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6053
ed479b02
ST
60542013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6055
6056 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6057 __executable_start symbol instead of _start.
6058
f1cc4c86
TS
60592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6060
d821f07c
TS
6061 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6062 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6063 Move macros to...
6064 * sysdeps/gnu/ldsodefs.h: ... this new file.
6065
c54290cf
TS
6066 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6067 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6068 instead of ELFOSABI_LINUX.
6069
0007fc9b 6070 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6071 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6072 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6073 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6074 Likewise.
6075 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6076 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6077 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6078 Likewise.
6079 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6080 (ibm_extended_long_double): Add ieee_nan member.
6081 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6082 (do_test): New function.
6083
f1cc4c86
TS
6084 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6085 TEST_TRUNC.
6086 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6087 functions, renamed from truncdfsf_test, trunctfsf_test,
6088 trunctfdf_test.
6089 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6090 functions.
6091 (do_test): Run all these.
6092
6f65e668
OB
60932013-08-29 Ondřej Bílka <neleai@seznam.cz>
6094
6095 * argp/argp-help.c: Fix typos.
6096 * argp/argp-parse.c: Likewise.
6097 * debug/backtracesyms.c: Likewise.
6098 * elf/elf.h: Likewise.
6099 * malloc/malloc.c: Likewise.
6100 * nis/nis_print.c: Likewise.
6101 * resolv/res_comp.c: Likewise.
6102 * stdlib/stdlib.h: Likewise.
6103 * sunrpc/clnt_tcp.c: Likewise.
6104 * sunrpc/clnt_udp.c: Likewise.
6105 * sunrpc/clnt_unix.c: Likewise.
6106 * sysdeps/unix/bsd/ptsname.c: Likewise.
6107 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6108 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6110 Likewise.
6111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6112 Likewise.
6113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6114 Likewise.
6f65e668
OB
6115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6116
3a309239
SP
61172013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6118
6119 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6121
3b813b29
MF
61222013-08-27 Mike Frysinger <vapier@gentoo.org>
6123
6124 [BZ #15897]
6125 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6126 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6127 ($(objpfx)bug-dl-leaf): New rule.
6128 ($(objpfx)bug-dl-leaf.so): Likewise.
6129 ($(objpfx)bug-dl-leaf.out): Likewise.
6130 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6131 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6132 * dlfcn/bug-dl-leaf.c: New test.
6133 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6134 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6135 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6136 (dlclose): Likewise.
6137 (dlmopen): Likewise.
6138
8cc3269f
RM
61392013-08-27 Roland McGrath <roland@hack.frob.com>
6140
7f9d0034
RM
6141 * include/netdb.h [!_ISOMAC]:
6142 Don't include <tls.h>.
6143 (h_errno, __libc_h_errno): Move declaration and macros out of
6144 [_LIBC_REENTRANT].
6145
fb431262
RM
6146 * include/resolv.h [_RESOLV_H_]:
6147 Don't include <tls.h>.
6148 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6149 * resolv/res_libc.c: Don't include <tls.h>.
6150 (_res): Use __attribute__ ((nocommon)) in place of
6151 __attribute__ ((section (".bss"))).
6152
bd81123a
RM
6153 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6154 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6155
c4e42566
RM
6156 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6157
f890a59b
RM
6158 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6159 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6160
6161 * resolv/res_mkquery.c: Include <sys/time.h>.
6162
5d1f0a09
RM
6163 * inet/ifreq.c: Moved to ...
6164 * sysdeps/unix/ifreq.c: ... here.
6165 * inet/ifreq.c: New file, true stub version.
6166
6fcf28b3
RM
6167 * socket/sa_len.c: New file.
6168 * socket/Makefile (aux): Add it.
6169 * sysdeps/unix/sysv/linux/Makefile
6170 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6171 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6172 and #include <socket/sa_len.c>.
6173 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6174 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6175
e041fb8b
RM
6176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6177 * bits/socket.h: ... here.
6178
8cc3269f
RM
6179 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6180 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6181 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6182
5d228a43
AS
61832013-08-27 Andreas Schwab <schwab@suse.de>
6184
45b8accc
AS
6185 [BZ #15736]
6186 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6187 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6188 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6189 * string/test-strcasecmp.c (test_main): Run tests in several
6190 locales.
6191 * string/test-strncasecmp.c (test_main): Likewise.
6192
5d228a43
AS
6193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6194 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6195 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6197 (__strncasecmp_ssse3) [PIC]: Likewise.
6198
59d112a4
RM
61992013-08-26 Roland McGrath <roland@hack.frob.com>
6200
53234cc3
RM
6201 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6202
59d112a4
RM
6203 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6204 instead of explicitly declaring xdecrypt.
6205 * nis/nss_nis/nis-publickey.c: Likewise.
6206
595aba70
SP
62072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6208
6209 [BZ #15890]
6210 * nscd/aicache.c: Include res_hconf.h.
6211 (addhstaiX): Initialize res_hconf.
6212
ffabd393
AS
62132013-08-26 Andreas Schwab <schwab@suse.de>
6214
6215 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6216 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6217
e0a69f5c
SP
62182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6219
6220 * nscd/aicache.c (addhstaiX): Fix indentation.
6221
8c12f01d
MF
62222013-08-25 Mike Frysinger <vapier@gentoo.org>
6223
6224 * configure.ac: Quote $build_pt_chown test.
6225 * configure: Regenerated.
6226
8fe89494
JM
62272013-08-23 Joseph Myers <joseph@codesourcery.com>
6228
6229 [BZ #15532]
6230 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6231 * math/s_cexpf.c (__cexpf): Likewise.
6232 * math/s_cexpl.c (__cexpl): Likewise.
6233 * math/libm-test.inc (cexp_test_data): Correct expected return
6234 value for NaN + i0. Add another test.
6235
75b181d6
DM
62362013-08-22 David S. Miller <davem@davemloft.net>
6237
6238 * po/ca.po: Update Catalan translation from translation project.
936241e4 6239 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6240
acd06bb1
JM
62412013-08-21 Joseph Myers <joseph@codesourcery.com>
6242
6243 [BZ #15797]
6244 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6245 is infinite, not alongside NaN test.
6246 * math/s_fdimf.c (__fdimf): Likewise.
6247 * math/s_fdiml.c (__fdiml): Likewise.
6248 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6249 errno is unchanged.
6250
c0c3f78a
OB
62512013-08-21 Ondřej Bílka <neleai@seznam.cz>
6252
6253 * argp/argp-help.c: Fix typos.
6254 * crypt/speeds.c: Likewise.
6255 * csu/check_fds.c: Likewise.
6256 * elf/dl-load.c: Likewise.
6257 * elf/dl-open.c: Likewise.
6258 * elf/reldep3.c: Likewise.
6259 * elf/reldep.c: Likewise.
6260 * elf/sprof.c: Likewise.
6261 * iconv/iconv_charmap.c: Likewise.
6262 * iconv/skeleton.c: Likewise.
6263 * iconv/strtab.c: Likewise.
6264 * io/lockf64.c: Likewise.
6265 * libio/libioP.h: Likewise.
6266 * resolv/gai_notify.c: Likewise.
6267 * resolv/ns_name.c: Likewise.
6268 * resolv/ns_samedomain.c: Likewise.
6269 * resolv/res_send.c: Likewise.
6270 * stdlib/random.c: Likewise.
6271 * sunrpc/rpc/xdr.h: Likewise.
6272 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6273 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6274 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6275 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6276 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6277 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6279 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6280 * sysdeps/mach/hurd/check_fds.c: Likewise.
6281 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6282 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6283 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6285 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6286 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6287 * sysdeps/pthread/aio_notify.c: Likewise.
6288 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6289 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6290 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6292 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6293
46ed1038
LD
62942013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6295
6296 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6297 version if bit_Slow_SSE4_2 is set.
6298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6300
d400dcac
AZ
63012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302
6303 [BZ #15867]
6304 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6305 trampoline stack frame information.
6306 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6308 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6309 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6310 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6311 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6312 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6313 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6314 sa_flags value.
6315 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6316 interrupting a syscall and set with option SA_SIGINFO.
6317
42c8fdd8
JM
63182013-08-20 Joseph Myers <joseph@codesourcery.com>
6319
c980f2f4
JM
6320 [BZ #15531]
6321 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6322 argument is infinite.
6323 * math/s_cprojf.c (__cprojf): Likewise.
6324 * math/s_cprojl.c (__cprojl): Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6326 * math/libm-test.inc (cproj_test_data): Add more tests.
6327
0716c4fc
JM
6328 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6329
42c8fdd8
JM
6330 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6331 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6332 size. Use __ffs to determine corresponding shift.
6333
b31469d0
JM
63342013-08-20 Joseph Myers <joseph@codesourcery.com>
6335 Roland McGrath <roland@hack.frob.com>
6336
6337 * Makefile (INSTALL): Remove trailing blank lines from output of
6338 makeinfo.
6339
4e39af6e
AK
63402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6341
6342 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6343 Align 32 bit compat elf_greg to 8 bytes.
6344
f315524e
AA
63452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6346
6347 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6348
1326ba1a
SP
63492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6350
6351 * string/strcoll_l.c (coll_seq): New structure.
6352 (get_next_seq_cached): New function.
6353 (get_next_seq): New function.
6354 (do_compare): New function.
6355 (STRCOLL): Use GNU style definition. Simplify implementation
6356 by using get_next_seq, get_next_seq_cached and do_compare.
6357
91ce4085
FW
63582013-08-16 Florian Weimer <fweimer@redhat.com>
6359
6360 [BZ #14699]
6361 CVE-2013-4237
6362 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6363 member.
6364 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6365 member.
6366 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6367 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6368 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6369 conditional.
6370 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6371 GETDENTS_64BIT_ALIGNED.
6372 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6373 * manual/filesys.texi (Reading/Closing Directory): Document
6374 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6375 strongly.
6376 * manual/conf.texi (Limits for Files): Add portability note to
6377 NAME_MAX, PATH_MAX.
6378 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6379
ca0a6bc4
AS
63802013-08-13 Andreas Schwab <schwab@suse.de>
6381
6382 [BZ #15749]
6383 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6384 of fabs.
6385 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6386 LDBL_MAX_EXP >= 16384]: Add tests for it.
6387
6c1fd795
DM
63882013-08-12 David S. Miller <davem@davemloft.net>
6389
6390 * version.h (RELEASE): Set to "development".
6391 (VERSION): Set to "2.18.90".
6392 * NEWS: Add 2.19 section.
6393
31ad488d
DM
63942013-08-03 David S. Miller <davem@davemloft.net>
6395
6396 * po/ko.po: Update Korean translation from translation project.
6397
db24e684
DM
63982013-08-01 David S. Miller <davem@davemloft.net>
6399
6400 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6401 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6402 Bilka.
6403
f723285b
DM
64042013-07-30 David S. Miller <davem@davemloft.net>
6405
6406 * po/fr.po: Update French translation from translation project.
6407
3cbc52db
DM
64082013-07-28 David S. Miller <davem@davemloft.net>
6409
30bbc0cc
DM
6410 * po/cs.po: Update Czech translation from translation project.
6411
3cbc52db
DM
6412 * po/sv.po: Update Swedish translation from translation project.
6413
d492e6d0
DM
64142013-07-27 David S. Miller <davem@davemloft.net>
6415
f1a7f492
DM
6416 * po/eo.po: Update Esperanto translation from translation project.
6417
90e62a4a
DM
6418 * po/vi.po: Update Vietnamese translation from translation project.
6419
d492e6d0
DM
6420 * po/de.po: Update German translation from translation project.
6421
d4baa62d
DM
64222013-07-26 David S. Miller <davem@davemloft.net>
6423
641aa7b4
DM
6424 * po/bg.po: Update Bulgarian translation from translation project.
6425
d4baa62d
DM
6426 * po/nl.po: Update Dutch translation from translation project.
6427 * po/pl.po: Update Polish translation from translation project.
6428 * po/ru.po: Update Russian translation from translation project.
6429
61a9dcb9
DM
64302013-07-24 David S. Miller <davem@davemloft.net>
6431
6432 * po/libc.pot: Update.
6433
7b1f8b58
AZ
64342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6435
6436 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6437 variable page size.
6438 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6439 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6440 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6441
a8fc7a03
AK
64422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6443
6444 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6445
e4608715
CD
64462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6447 Andreas Schwab <schwab@suse.de>
6448 Roland McGrath <roland@hack.frob.com>
6449 Joseph Myers <joseph@codesourcery.com>
6450 Carlos O'Donell <carlos@redhat.com>
6451
6452 [BZ #15755]
6453 * config.h.in: Define HAVE_PT_CHOWN.
6454 * config.make.in (build-pt-chown): New variable.
6455 * configure.in (--enable-pt_chown): New configure option.
6456 * configure: Regenerate.
6457 * login/Makefile: Include Makeconfig. Build pt_chown only if
6458 build-pt-chown is enabled.
6459 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6460 pt_chown to fix pty ownership.
6461 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6462 CLOSE_ALL_FDS.
6463 * manual/install.texi (Configuring and compiling): Mention
6464 --enable-pt_chown. Add @findex for grantpt.
6465 * INSTALL: Regenerate.
6466
da2d62df
DM
64672013-07-20 David S. Miller <davem@davemloft.net>
6468
6469 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6470 difference between 32-bit and 64-bit.
6471
d7e06450
CD
64722013-07-15 Carlos O'Donell <carlos@redhat.com>
6473
6474 [BZ #15711]
6475 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6476 Avoid system header dependency with -ffreestanding.
6477 ($(objpfx)bits/syscall%d): Likewise.
6478
f959cfd7
DM
64792013-07-13 David S. Miller <davem@davemloft.net>
6480
6481 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6482 underflows from atanl/atan2l due to bug 15319.
6483 (casinh_test_data): Likewise.
6484
c61f8513
DM
64852013-07-07 David S. Miller <davem@davemloft.net>
6486
6487 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6488
72c90ed0
JA
64892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6490
6491 * sysdeps/i386/fpu/libm-test-ulps: Update.
6492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6493
52dfbe13
SP
64942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6495
6496 * configure.in (--enable-lock-elision): Fix message text.
6497 * INSTALL: Regenerate.
6498 * configure: Regenerate.
6499
3f169543
AZ
65002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6501
6502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6503
521c6785
AJ
65042013-07-03 Andreas Jaeger <aj@suse.de>
6505
6506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6507 define.
6508 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6509 (ptrace_peeksiginfo_args): Add.
6510 (__ptrace_peeksiginfo_flags): Add.
6511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6514
d2cc15cb
AM
65152013-07-03 Allan McRae <allan@archlinux.org>
6516
6517 * sysdeps/i386/fpu/libm-test-ulps: Update.
6518
3aaeeca7
DM
65192013-07-02 David S. Miller <davem@davemloft.net>
6520
6521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6522
5314ed1a
MT
65232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6524
6525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6526
67338156
JM
65272013-07-02 Joseph Myers <joseph@codesourcery.com>
6528
6529 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6531
1717da59
AK
65322013-07-02 Andi Kleen <ak@linux.intel.com>
6533
6534 * config.h.in (ENABLE_LOCK_ELISION): Add.
6535 * configure.in (--enable-lock-elision): Add option.
6536 * manual/install.texi: Document --enable lock elision.
6537 * configure: Regenerate
6538 * INSTALL: Regenerate.
6539
1c81621c
L
65402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6541
6542 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6543 SSE4.2 strcasecmp for libc.a.
6544 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6545
77f01ab5
JM
65462013-07-02 Joseph Myers <joseph@codesourcery.com>
6547
6548 [BZ #13304]
6549 * soft-fp/op-common.h (_FP_FMA): New macro.
6550 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6551 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6552 (_FP_MUL_MEAT_1_imm): ... here.
6553 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6554 (_FP_MUL_MEAT_1_wide): ... here.
6555 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6556 (_FP_MUL_MEAT_1_hard): ... here.
6557 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6558 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6559 (_FP_MUL_MEAT_2_wide): ... here.
6560 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6561 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6562 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6563 (_FP_MUL_MEAT_2_gmp): ... here.
6564 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6565 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6566 (_FP_MUL_MEAT_4_wide): ... here.
6567 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6568 (_FP_MUL_MEAT_4_gmp): ... here.
6569 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6570 (_FP_WFRACBITS_DW_S): Likewise.
6571 (_FP_WFRACXBITS_DW_S): Likewise.
6572 (_FP_HIGHBIT_DW_S): Likewise.
6573 (FP_FMA_S): Likewise.
6574 (_FP_FRAC_HIGH_DW_S): Likewise.
6575 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6576 (_FP_WFRACBITS_DW_D): Likewise.
6577 (_FP_WFRACXBITS_DW_D): Likewise.
6578 (_FP_HIGHBIT_DW_D): Likewise.
6579 (FP_FMA_D): Likewise.
6580 (_FP_FRAC_HIGH_DW_D): Likewise.
6581 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6582 (_FP_WFRACBITS_DW_E): Likewise.
6583 (_FP_WFRACXBITS_DW_E): Likewise.
6584 (_FP_HIGHBIT_DW_E): Likewise.
6585 (FP_FMA_E): Likewise.
6586 (_FP_FRAC_HIGH_DW_E): Likewise.
6587 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6588 (_FP_WFRACBITS_DW_Q): Likewise.
6589 (_FP_WFRACXBITS_DW_Q): Likewise.
6590 (_FP_HIGHBIT_DW_Q): Likewise.
6591 (FP_FMA_Q): Likewise.
6592 (_FP_FRAC_HIGH_DW_Q): Likewise.
6593 * soft-fp/fmasf4.c: New file.
6594 * soft-fp/fmadf4.c: Likewise.
6595 * soft-fp/fmatf4.c: Likewise.
6596
6308fd9a
LD
65972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6598
6599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6600 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6601 Silvermont.
6602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6603 macro.
6604 (index_Slow_SSE4_2): Likewise.
6605 (index_Prefer_PMINUB_for_stringop): Likewise.
6606 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6607 bit_Slow_SSE4_2 is set.
6608 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6609 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6610
89cd9569
RA
66112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6612
6613 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6614 rtld_global._dl_hwcap2.
6615 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6616 POWER8.
6617 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6618 POWER8 feature descriptions defined in _dl_hwcap2.
6619 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6620 string handling for POWER8 feature bits.
6621 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6622 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6623 _dl_powerpc_cap_flags.
6624 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6625 * sysdeps/powerpc/rtld-global-offsets.sym
6626 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6627 _dl_hwcap2 in the rtld_global_ro structure.
6628
1ae8bfe0
RA
66292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6630
6631 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6632 hardware capabilities in support of AT_HWCAP2.
6633 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6634 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6635 GLRO(dl_hwcap2).
6636 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6637 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6638 explicitly the unknown a_type display mechanism is used.
6639 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6640 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6641 struct member.
6642 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6643 to macro prototype for AT_HWCAP2 support.
6644 * sysdeps/i386/dl-procinfo.h: Likewise.
6645 * sysdeps/s390/dl-procinfo.h: Likewise.
6646 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6647 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6648 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6649 return -1 for unknown a_type display fallback.
6650 * sysdeps/sparc/dl-procinfo.h: Likewise.
6651 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6652 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6653
8fbec010
JM
66542013-06-28 Joseph Myers <joseph@codesourcery.com>
6655
6656 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6657 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6658
0432680e
PY
66592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6660
6661 [BZ #12492]
6662 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6663 mprotect making __stack_prot writable.
6664
ce61a2ad
NF
66652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6666 Joseph Myers <joseph@codesourcery.com>
6667
6668 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6669 as being properly aligned.
6670
f91f1c0f
MR
66712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6672
3d0f5d0c
MR
6673 * dlfcn/modstatic5.c: New file.
6674 * dlfcn/tststatic5.c: New file.
6675 * dlfcn/Makefile (tests): Add tststatic5.
6676 (tests-static): Likewise.
6677 (modules-names): Add modstatic5.
6678 (tststatic5-ENV): New variable.
6679 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6680
f91f1c0f
MR
6681 [BZ #15022]
6682 * elf/dl-support.c (_dl_main_map): New variable.
6683 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6684 (_dl_nns, _dl_load_adds): Set to 1.
6685 (_dl_initial_searchlist): Refer to _dl_main_map.
6686 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6687 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6688 call to _dl_get_origin.
6689 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6690 around call_map.
6691 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6692 * dlfcn/modstatic3.c: New file.
6693 * dlfcn/tststatic3.c: New file.
6694 * dlfcn/tststatic4.c: New file.
6695 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6696 (tests-static): Likewise.
6697 (modules-names): Add modstatic3.
6698 (tststatic3-ENV, tststatic4-ENV): New variables.
6699 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6700 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6701
cbe7d24b
JM
67022013-06-26 Joseph Myers <joseph@codesourcery.com>
6703
6704 * configure.in (CC): Require GCC version 4.4 or later.
6705 * configure: Regenerated.
6706 * manual/install.texi (Tools for Compilation): Update GCC version
6707 requirement.
6708 * INSTALL: Regenerated.
6709
11b8a0e1
LD
67102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6711
6712 [BZ #15674]
bb5bb87c
L
6713 * string/test-memcmp.c (check2): New.
6714 (main): Call check2.
6715
11b8a0e1
LD
6716 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6717
b0037103
MR
67182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6719
6720 [BZ #15022]
6721 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6722 over to...
6723 (dl_open_worker) [!SHARED]: ... here.
6724
c18c701d
RA
67252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6726
6727 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6728
1d17fa5f
RH
67292013-06-25 Richard Henderson <rth@redhat.com>
6730
6731 * locale/programs/locarchive.c: Include <libc-internal.h>
6732
8fcb833a
JM
67332013-06-25 Joseph Myers <joseph@codesourcery.com>
6734
6735 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6736 trailing whitespace removed.
6737
17db6e8d
MF
67382013-06-24 Mike Frysinger <vapier@gentoo.org>
6739
6740 [BZ #10283]
17db6e8d
MF
6741 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6742 * locale/programs/locarchive.c: Include libc-mmap.h.
6743 (prepare_address_space): Take two new outputs (the mmap base and len).
6744 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6745 values.
6746 (create_archive): Declare new mmap base and len values for
6747 prepare_address_space, and store the result in ah.
6748 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6749 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6750 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6751 Declare new mmap base and len values for
6752 prepare_address_space, and store the result in new_ah.
6753 (open_archive): Declare new mmap base and len values for
6754 prepare_address_space, and store the result in ah.
6755 (close_archive): If ah->mmap_base is not NULL, use that and
6756 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6757 * sysdeps/generic/libc-mmap.h: New file.
6758
d605071e
MF
67592013-06-24 Mike Frysinger <vapier@gentoo.org>
6760
6761 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6762 (ALIGN_UP): Likewise.
6763 (PTR_ALIGN_DOWN): Likewise.
6764 (PTR_ALIGN_UP): Likewise.
6765
2f063a6e
RA
67662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6767
6768 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6769 entry mapped to PPC_PLATFORM_POWER8.
6770 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6771 POWER8.
6772 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6773 (_dl_string_platform): Add case for exporting platform position for
6774 POWER8.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6776 search path to sysdeps/powerpc/powerpc32/power8 directory.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6778 search path to sysdeps/powerpc/powerpc64/power8 directory.
6779 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6780 power7 directories.
6781 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6782 power7 directories.
6783
a31ee4b3
SP
67842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6785
a74ca98f
SP
6786 * INSTALL: Regenerate.
6787
a31ee4b3
SP
6788 * nscd/connections.c (nscd_init): Fix comment.
6789
695c378f
JM
67902013-06-22 Joseph Myers <joseph@codesourcery.com>
6791
d8412221
JM
6792 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6793
695c378f
JM
6794 [BZ #15667]
6795 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6796 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6797
d1d54715
MR
67982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6799
6800 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6801 DL_DST_REQ_STATIC.
6802 (DL_DST_REQ_STATIC): Remove macro.
6803
8fdda7af
JM
68042013-06-21 Joseph Myers <joseph@codesourcery.com>
6805
6806 [BZ #7006]
6807 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6808 with a shift of 0 bits.
6809
f3bc5e5a
MR
68102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6811
6812 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6813 $(tststatic-ENV).
6814
be09e8c9
KK
68152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6816
6817 [BZ #15655]
6818 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6819
85c2e611
AZ
68202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6821
6822 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6823 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6824 accepts -fno-tree-loop-distribute-patterns.
6825 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6826 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6827 recursive call.
6828 * string/memset.c (memset): Likewise.
6829 * string/test-memmove.c (simple_memmove): Disable loop transformation
6830 to library calls.
6831 * string/test-memset.c (simple_memset): Likewise.
6832 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6833 * benchtests/bench-memset.c (simple_memset): Likewise.
6834 * configure: Regenerated.
6835
c91e0825
JM
68362013-06-20 Joseph Myers <joseph@codesourcery.com>
6837
b8c792af
JM
6838 * math/test-misc.c (main): Ignore fesetround failure when failures
6839 of subsequent rounding tests would be ignored.
6840
c91e0825
JM
6841 [BZ #15654]
6842 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6843 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6844 * math/fegetenv.c (__fegetenv): Return 0.
6845 * math/fegetexcept.c (fegetexcept): Return 0.
6846 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6847 FE_TONEAREST.
6848 * math/feholdexcpt.c (feholdexcept): Return 0.
6849 * math/fesetenv.c (__fesetenv): Return 0.
6850 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6851 argument FE_TONEAREST.
6852 * math/feupdateenv.c (__feupdateenv): Return 0.
6853 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6854
bfcacbde
RM
68552013-06-18 Roland McGrath <roland@hack.frob.com>
6856
6857 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6858 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6859 ($(objpfx)rtld-%.os rules): Use them.
6860
e55a9b25
AZ
68612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6862
6863 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6864 fields.
6865
346d65b3
RM
68662013-06-17 Roland McGrath <roland@hack.frob.com>
6867
12086fb4
RM
6868 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6869 length of target pattern, then descending length of dependency pattern.
6870 * configure.in (AWK): Require gawk 3.1.2 or newer.
6871 * manual/install.texi (Tools for Compilation): Say that we do.
6872 * configure: Regenerated.
6873
346d65b3
RM
6874 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6875 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6876 * scripts/sysd-rules.awk: ... this new script.
6877 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6878 than a glob-style pattern.
6879
1a846317
JM
68802013-06-17 Joseph Myers <joseph@codesourcery.com>
6881
6882 * math/test-misc.c (main): Do not treat incorrectly rounded
6883 conversions as failure unless ROUNDING_TESTS passes.
6884
8fc75e6f
JM
68852013-06-15 Joseph Myers <joseph@codesourcery.com>
6886
3711a167
JM
6887 [BZ #15631]
6888 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6889 restore exception state around main square root computation, then
6890 check for inexactness explicitly.
6891
8fc75e6f
JM
6892 * math/libm-test.inc (fma_test_data): Add another test.
6893
61dd6208
SP
68942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6895
adf23d2c
SP
6896 * manual/threads.texi (Non-POSIX Extensions): New document
6897 node. Document pthread_getattr_default_np and
6898 pthread_setattr_default_np.
6899
61dd6208
SP
6900 * Versions.def (libpthread): Add GLIBC_2.18.
6901 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6903 Likewise.
6904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6905 Likewise.
6906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6907 Likewise.
6908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6909 Likewise.
6910 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6911 Likewise.
6912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6913 Likewise.
6914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6915 Likewise.
6916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6917 Likewise.
6918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6919 Likewise.
6920
d086fc7b
LD
69212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6922
6923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6924 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6925
747ef469
SP
69262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6927 H.J. Lu <hjl.tools@gmail.com>
6928
6929 [BZ #15627]
6930 * sysdeps/x86_64/rtld-memset.c: Remove file.
6931 * sysdeps/x86_64/rtld-memset.S: New file.
6932
1b2feed2
JM
69332013-06-14 Joseph Myers <joseph@codesourcery.com>
6934
6935 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6936 (test_in_one_mode): Take arguments for whether the rounding mode
6937 is supported for each floating-point type.
6938 (do_test): Pass new arguments to test_in_one_mode using
6939 ROUNDING_TESTS.
6940
a58ad3f8
RM
69412013-06-13 Roland McGrath <roland@hack.frob.com>
6942
6943 * posix/tst-waitid.c (do_test): Distinguish different instances of
6944 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6945 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6946 before entering the kernel for waitpid.
6947
c204ab28
SP
69482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6949
6950 * NEWS: Fix note on clock function precision. Text by Roland
6951 McGrath.
6952
f4a29fba
RM
69532013-06-13 Roland McGrath <roland@hack.frob.com>
6954
6955 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6956 it into place only when and if the sanity check passes.
6957
1f24b9ad
JM
69582013-06-13 Joseph Myers <joseph@codesourcery.com>
6959
6960 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6961 output for whether conversion result is exact. Take argument
6962 indicating whether type is IBM long double.
6963 (round_for_all): Change need_exact field to ibm_ld.
6964 * stdlib/tst-strtod-round.c (struct exactness): New type.
6965 (struct test): Change bool ld_ok field to struct exactness exact.
6966 (TEST): Update all definitions for change to field.
6967 (tests): Regenerate array contents.
6968 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6969 field value. Check for IBM long double here.
6970 (do_test): Update calls to test_in_one_mode.
6971
58206c68
SP
69722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6973
6974 [BZ #12515]
6975 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6976 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6977
2d6f4c5b 69782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6979
6980 [BZ #15605]
6981 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6982 generated by the compiler on loop optimizations.
6983 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6984 general definitions.
6985
94f2c076
JM
69862013-06-12 Joseph Myers <joseph@codesourcery.com>
6987
6988 * math/bug-nextafter.c: Include <math-tests.h>.
6989 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6990 the relevant type.
6991 * math/bug-nexttoward.c: Include <math-tests.h>.
6992 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6993 the relevant type.
6994 * math/test-misc.c: Include <math-tests.h>.
6995 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6996 the relevant type.
6997
e0e50a0a
AJ
69982013-06-12 Andreas Jaeger <aj@suse.de>
6999
7000 * po/ia.po: Update Interlingua translation from translation
7001 project.
7002
25061094
SP
70032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7004
7005 * include/fenv.h: Include stdbool.h.
7006 (struct rm_ctx): New structure.
7007 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7008 Define macro.
7009 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7010 (SET_RESTORE_ROUNDF): Likewise.
7011 (SET_RESTORE_ROUNDL): Likewise.
7012 (SET_RESTORE_ROUND_NOEX): Likewise.
7013 (SET_RESTORE_ROUND_NOEXF): Likewise.
7014 (SET_RESTORE_ROUND_NOEXL): Likewise.
7015 (SET_RESTORE_ROUND_53BIT): Likewise.
7016 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7017 (libc_feresetround_noexf_ctx): Likewise.
7018 (libc_feresetround_noexl_ctx): Likewise.
7019 (libc_feholdsetround_53bit_ctx): Likewise.
7020 (libc_feresetround_53bit_ctx): Likewise.
7021 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7022 (libc_feholdexcept_setround_sse_ctx): New function.
7023 (libc_fesetenv_sse_ctx): Likewise.
7024 (libc_feupdateenv_sse_ctx): Likewise.
7025 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7026 (libc_feholdexcept_setround_387_ctx): Likewise.
7027 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7028 (libc_feholdsetround_387_prec_ctx): Likewise.
7029 (libc_feholdsetround_387_ctx): Likewise.
7030 (libc_feholdsetround_387_53bit_ctx): Likewise.
7031 (libc_feholdsetround_sse_ctx): Likewise.
7032 (libc_feresetround_sse_ctx): Likewise.
7033 (libc_feresetround_387_ctx): Likewise.
7034 (libc_feupdateenv_387_ctx): Likewise.
7035 (libc_feholdexcept_setroundf_ctx): Define macro.
7036 (libc_fesetenvf_ctx): Likewise.
7037 (libc_feupdateenvf_ctx): Likewise.
7038 (libc_feholdsetroundf_ctx): Likewise.
7039 (libc_feresetroundf_ctx): Likewise.
7040 (libc_feholdexcept_setround_ctx): Likewise.
7041 (libc_fesetenv_ctx): Likewise.
7042 (libc_feupdateenv_ctx): Likewise.
7043 (libc_feholdsetround_ctx): Likewise.
7044 (libc_feresetround_ctx): Likewise.
7045 (libc_feholdexcept_setroundl_ctx): Likewise.
7046 (libc_feupdateenvl_ctx): Likewise.
7047 (libc_feholdsetroundl_ctx): Likewise.
7048 (libc_feresetroundl_ctx): Likewise.
7049 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7050 (libc_feresetround_53bit_ctx): Likewise.
7051
59b30555
SP
70522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7053
7054 * locale/iso-639.def: Convert to UTF-8.
7055
f1d73d30
JM
70562013-06-11 Joseph Myers <joseph@codesourcery.com>
7057
7058 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7059 (EXCEPTION_TESTS_double): Likewise.
7060 (EXCEPTION_TESTS_long_double): Likewise.
7061 (EXCEPTION_TESTS): Likewise.
7062 * math/libm-test.inc (test_exceptions): Only test exceptions if
7063 EXCEPTION_TESTS (FLOAT).
7064
94aca5e7
SP
70652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7066
7067 * benchtests/Makefile (string-bench): Add strcpy_chk and
7068 stpcpy_chk.
7069 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7070 * benchtests/bench-stpcpy_chk.c: New file.
7071 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7072 * benchtests/bench-strcpy_chk.c: New file.
7073 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7074 code.
7075 (do_test): Likewise.
7076
fac0c5f2
RA
70772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7078
7079 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7080 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7081 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7082 with tabs where appropriate.
7083 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7084 dl-procinfo.h.
7085 [PPC_PLATFORM_PPC440]: Likewise.
7086 [PPC_PLATFORM_PPC464]: Likewise.
7087 [PPC_PLATFORM_PPC476]: Likewise.
7088 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7089 ppc464, and ppc476 platform strings merging from ports/
7090 dl-procinfo.h.
7091
f22bc486
AS
70922013-06-11 Andreas Schwab <schwab@suse.de>
7093
7094 [BZ #14991]
7095 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7096 (from_ucs4_idx): Regenerate.
7097 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7098 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7099 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7100 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7101 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7102 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7103 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7104 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7105 from FROM_LOOP and TO_LOOP specific macros.
7106 (BODY): Handle combining characters.
7107 * iconvdata/BIG5HKSCS.irreversible: Update.
7108 * iconvdata/BIG5HKSCS.precomposed: New file.
7109 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7110 characters.
7111 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7112
c1f75dc3
SP
71132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7114
4eacded2
SP
7115 * include/sys/time.h: Fix indentation and add copyright header.
7116
fec799f8
SP
7117 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7118 (do_test): Likewise.
7119 * string/test-memchr.c (do_one_test): Likewise.
7120 (do_test): Likewise.
7121 * string/test-memcmp.c (do_one_test): Likewise.
7122 (do_test): Likewise.
7123 * string/test-memcpy.c (do_one_test): Likewise.
7124 (do_test): Likewise.
7125 * string/test-memmem.c (do_one_test): Likewise.
7126 (do_test): Likewise.
7127 (do_random_tests): Likewise.
7128 * string/test-memmove.c (do_one_test): Likewise.
7129 (do_test): Likewise.
7130 * string/test-memset.c (do_one_test): Likewise.
7131 (do_test): Likewise.
7132 * string/test-rawmemchr.c (do_one_test): Likewise.
7133 (do_test): Likewise.
7134 * string/test-strcasecmp.c (do_one_test): Likewise.
7135 (do_test): Likewise.
7136 * string/test-strcasestr.c (do_one_test): Likewise.
7137 (do_test): Likewise.
7138 * string/test-strcat.c (do_one_test): Likewise.
7139 (do_test): Likewise.
7140 * string/test-strchr.c (do_one_test): Likewise.
7141 (do_test): Likewise.
7142 * string/test-strcmp.c (do_one_test): Likewise.
7143 (do_test): Likewise.
7144 * string/test-strcpy.c (do_one_test): Likewise.
7145 (do_test): Likewise.
7146 * string/test-string.h: Likewise.
7147 (test_init): Likewise.
7148 * string/test-strlen.c (do_one_test): Likewise.
7149 (do_test): Likewise.
7150 * string/test-strncasecmp.c (do_one_test): Likewise.
7151 (do_test): Likewise.
7152 * string/test-strncat.c (do_one_test): Likewise.
7153 (do_test): Likewise.
7154 * string/test-strncmp.c (do_one_test): Likewise.
7155 (do_test_limit): Likewise.
7156 (do_test): Likewise.
7157 * string/test-strncpy.c (do_one_test): Likewise.
7158 (do_test): Likewise.
7159 * string/test-strnlen.c (do_one_test): Likewise.
7160 (do_test): Likewise.
7161 * string/test-strpbrk.c (do_one_test): Likewise.
7162 (do_test): Likewise.
7163 * string/test-strrchr.c (do_one_test): Likewise.
7164 (do_test): Likewise.
7165 * string/test-strspn.c (do_one_test): Likewise.
7166 (do_test): Likewise.
7167 * string/test-strstr.c (do_one_test): Likewise.
7168 (do_test): Likewise.
7169
97020474
SP
7170 * benchtests/Makefile (string-bench): Add string benchmarks.
7171 * benchtests/bench-bcopy-ifunc.c: New file.
7172 * benchtests/bench-bcopy.c: New file.
7173 * benchtests/bench-bzero-ifunc.c: New file.
7174 * benchtests/bench-bzero.c: New file.
7175 * benchtests/bench-memccpy-ifunc.c: New file.
7176 * benchtests/bench-memccpy.c: New file.
7177 * benchtests/bench-memchr-ifunc.c: New file.
7178 * benchtests/bench-memchr.c: New file.
7179 * benchtests/bench-memcmp-ifunc.c: New file.
7180 * benchtests/bench-memcmp.c: New file.
7181 * benchtests/bench-memmem-ifunc.c: New file.
7182 * benchtests/bench-memmem.c: New file.
7183 * benchtests/bench-memmove-ifunc.c: New file.
7184 * benchtests/bench-memmove.c: New file.
7185 * benchtests/bench-mempcpy-ifunc.c: New file.
7186 * benchtests/bench-mempcpy.c: New file.
7187 * benchtests/bench-memset-ifunc.c: New file.
7188 * benchtests/bench-memset.c: New file.
7189 * benchtests/bench-rawmemchr-ifunc.c: New file.
7190 * benchtests/bench-rawmemchr.c: New file.
7191 * benchtests/bench-stpcpy-ifunc.c: New file.
7192 * benchtests/bench-stpcpy.c: New file.
7193 * benchtests/bench-stpncpy-ifunc.c: New file.
7194 * benchtests/bench-stpncpy.c: New file.
7195 * benchtests/bench-strcasecmp-ifunc.c: New file.
7196 * benchtests/bench-strcasecmp.c: New file.
7197 * benchtests/bench-strcasestr-ifunc.c: New file.
7198 * benchtests/bench-strcasestr.c: New file.
7199 * benchtests/bench-strcat-ifunc.c: New file.
7200 * benchtests/bench-strcat.c: New file.
7201 * benchtests/bench-strchr-ifunc.c: New file.
7202 * benchtests/bench-strchr.c: New file.
7203 * benchtests/bench-strchrnul-ifunc.c: New file.
7204 * benchtests/bench-strchrnul.c: New file.
7205 * benchtests/bench-strcmp-ifunc.c: New file.
7206 * benchtests/bench-strcmp.c: New file.
7207 * benchtests/bench-strcpy-ifunc.c: New file.
7208 * benchtests/bench-strcpy.c: New file.
7209 * benchtests/bench-strcspn-ifunc.c: New file.
7210 * benchtests/bench-strcspn.c: New file.
7211 * benchtests/bench-strlen-ifunc.c: New file.
7212 * benchtests/bench-strlen.c: New file.
7213 * benchtests/bench-strncasecmp-ifunc.c: New file.
7214 * benchtests/bench-strncasecmp.c: New file.
7215 * benchtests/bench-strncat-ifunc.c: New file.
7216 * benchtests/bench-strncat.c: New file.
7217 * benchtests/bench-strncmp-ifunc.c: New file.
7218 * benchtests/bench-strncmp.c: New file.
7219 * benchtests/bench-strncpy-ifunc.c: New file.
7220 * benchtests/bench-strncpy.c: New file.
7221 * benchtests/bench-strnlen-ifunc.c: New file.
7222 * benchtests/bench-strnlen.c: New file.
7223 * benchtests/bench-strpbrk-ifunc.c: New file.
7224 * benchtests/bench-strpbrk.c: New file.
7225 * benchtests/bench-strrchr-ifunc.c: New file.
7226 * benchtests/bench-strrchr.c: New file.
7227 * benchtests/bench-strspn-ifunc.c: New file.
7228 * benchtests/bench-strspn.c: New file.
7229 * benchtests/bench-strstr-ifunc.c: New file.
7230 * benchtests/bench-strstr.c: New file.
7231
c1f75dc3
SP
7232 * benchtests/Makefile: Disable parallel execution of targets.
7233 (string-bench): Add memcpy.
7234 (benchset): New variable to store a list of benchmark sets.
7235 (bench-func): Renamed from bench.
7236 (bench-set): New target.
7237 (bench): Depend on bench-func and bench-set.
7238 * benchtests/README: Add section on benchmark sets.
7239 * benchtests/bench-memcpy-ifunc.c: New file.
7240 * benchtests/bench-memcpy.c: New file.
7241 * benchtests/bench-string.h: New file.
7242
50fd745b
AS
72432013-06-11 Andreas Schwab <schwab@suse.de>
7244
7245 [BZ #15577]
7246 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7247 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7248 values in the triple.
7249 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7250 terminator in the group key.
7251
3ee7e9fe
AJ
72522013-06-11 Andreas Jaeger <aj@suse.de>
7253
7254 * po/zh_TW.po: Update Chinese (traditional) translation from
7255 translation project.
7256
89fb6835
SP
72572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7258
7259 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7260 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7261 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7263 (clock_getcpuclockid): Likewise.
7264 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7265 Add weak_alias and libc_hidden_def.
7266 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7267 * rt/clock_gettime.c (clock_gettime): Rename to
7268 __clock_gettime. Add weak_alias and libc_hidden_def.
7269 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7270 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7271 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7272 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7273 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7274 Likewise.
7275 * rt/clock_settime.c (clock_settime): Rename to
7276 __clock_settime. Add weak_alias and libc_hidden_def.
7277 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7278
0efa6f8b
JM
72792013-06-10 Joseph Myers <joseph@codesourcery.com>
7280
b8c61b4b
JM
7281 * mach/err_boot.sub: Remove trailing whitespace.
7282 * mach/err_ipc.sub: Likewise.
7283 * mach/err_mach.sub: Likewise.
7284
0efa6f8b
JM
7285 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7286 (ROUNDING_TESTS_double): Likewise.
7287 (ROUNDING_TESTS_long_double): Likewise.
7288 (ROUNDING_TESTS): Likewise.
7289 * math/libm-test.inc: Include <math-tests.h>.
7290 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7291 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7292 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7293 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7294
50b818bf
SP
72952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7296
7297 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7298 of assigning.
7299
60d2f8f3
JM
73002013-06-08 Joseph Myers <joseph@codesourcery.com>
7301
4902d2c3
JM
7302 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7303 otherwise empty TRANS lines.
7304 * sysdeps/gnu/errlist.c: Regenerated.
7305
60d2f8f3
JM
7306 * catgets/gencat.c (error_print): Use (void) in function
7307 definition.
7308 * crypt/crypt_util.c (__init_des): Likewise.
7309 * crypt/speeds.c (Stop): Likewise.
7310 (main): Likewise.
7311 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7312 * inet/ruserpass.c (token): Likewise.
7313 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7314 * intl/localealias.c (extend_alias_table): Likewise.
7315 * intl/plural-exp.c (init_germanic_plural): Likewise.
7316 * libio/fcloseall.c (__fcloseall): Likewise.
7317 * libio/genops.c (_IO_flush_all): Likewise.
7318 (_IO_flush_all_linebuffered): Likewise.
7319 (_IO_cleanup): Likewise.
7320 (_IO_iter_begin): Likewise.
7321 (_IO_iter_end): Likewise.
7322 (_IO_list_lock): Likewise.
7323 (_IO_list_unlock): Likewise.
7324 (_IO_list_resetlock): Likewise.
7325 * libio/getchar.c (getchar): Likewise.
7326 * libio/getchar_u.c (getchar_unlocked): Likewise.
7327 * libio/getwchar.c (getwchar): Likewise.
7328 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7329 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7330 * login/getpt.c (__getpt): Likewise.
7331 * login/tst-utmp.c (main): Likewise.
7332 * malloc/hooks.c (__malloc_check_init): Likewise.
7333 * malloc/malloc.c (__malloc_stats): Likewise.
7334 * malloc/mtrace.c (tr_break): Likewise.
7335 (mtrace): Likewise.
7336 (muntrace): Likewise.
7337 * misc/fstab.c (endfsent): Likewise.
7338 * misc/getclktck.c (__getclktck): Likewise.
7339 * misc/getdtsz.c (__getdtablesize): Likewise.
7340 * misc/gethostid.c (gethostid): Likewise.
7341 * misc/getpagesize.c (__getpagesize): Likewise.
7342 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7343 (__get_nprocs): Likewise.
7344 (__get_phys_pages): Likewise.
7345 (__get_avphys_pages): Likewise.
7346 * misc/getttyent.c (getttyent): Likewise.
7347 (setttyent): Likewise.
7348 (endttyent): Likewise.
7349 * misc/getusershell.c (getusershell): Likewise.
7350 (endusershell): Likewise.
7351 (setusershell): Likewise.
7352 (initshells): Likewise.
7353 * misc/hsearch.c (__hdestroy): Likewise.
7354 * misc/sync.c (sync): Likewise.
7355 * misc/syslog.c (closelog_internal): Likewise.
7356 (closelog): Likewise.
7357 * misc/ttyslot.c (ttyslot): Likewise.
7358 * misc/vhangup.c (vhangup): Likewise.
7359 * posix/fork.c (__fork): Likewise.
7360 * posix/getegid.c (__getegid): Likewise.
7361 * posix/geteuid.c (__geteuid): Likewise.
7362 * posix/getgid.c (__getgid): Likewise.
7363 * posix/getpid.c (__getpid): Likewise.
7364 * posix/getppid.c (__getppid): Likewise.
7365 * posix/getuid.c (__getuid): Likewise.
7366 * posix/pause.c (pause): Likewise.
7367 * posix/setpgrp.c (setpgrp): Likewise.
7368 * posix/setsid.c (__setsid): Likewise.
7369 * posix/test-vfork.c (noop): Likewise.
7370 * resolv/gethnamaddr.c (_endhtent): Likewise.
7371 (_gethtent): Likewise.
7372 (ht_endhostent): Likewise.
7373 (gethostent): Likewise.
7374 (dns_service): Likewise.
7375 * stdlib/drand48.c (drand48): Likewise.
7376 * stdlib/lrand48.c (lrand48): Likewise.
7377 * stdlib/mrand48.c (mrand48): Likewise.
7378 * stdlib/rand.c (rand): Likewise.
7379 * stdlib/random.c (__random): Likewise.
7380 * stdlib/setenv.c (clearenv): Likewise.
7381 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7382 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7383 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7384 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7385 (__get_nprocs): Likewise.
7386 (__get_phys_pages): Likewise.
7387 (__get_avphys_pages): Likewise.
7388 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7389 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7390 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7391 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7392 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7393 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7394 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7395 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7396 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7397 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7398 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7399 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7400 * sysdeps/posix/clock.c (clock): Likewise.
7401 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7402 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7403 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7404 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7405 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7407 (__get_nprocs_conf): Likewise.
7408 (__get_phys_pages): Likewise.
7409 (__get_avphys_pages): Likewise.
7410 * time/clock.c (clock): Likewise.
7411 * time/tzset.c (__tzname_max): Likewise.
7412
2e09a79a
JM
74132013-06-07 Joseph Myers <joseph@codesourcery.com>
7414
7415 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7416 (__bswap_32): Do not use "register".
7417 * crypt/crypt.c (_ufc_doit_r): Likewise.
7418 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7419 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7420 * gmon/gmon.c (__monstartup): Likewise.
7421 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7422 * hurd/hurdmalloc.c (more_memory): Likewise.
7423 (malloc): Likewise.
7424 (free): Likewise.
7425 (realloc): Likewise.
7426 (malloc_fork_prepare): Likewise.
7427 (malloc_fork_parent): Likewise.
7428 (malloc_fork_child): Likewise.
7429 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7430 (_svcauth_des): Likewise.
7431 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7432 * inet/inet_net.c (inet_network): Likewise.
7433 * inet/inet_netof.c (inet_netof): Likewise.
7434 * inet/rcmd.c (__validuser2_sa): Likewise.
7435 * io/fts.c (fts_open): Likewise.
7436 (fts_load): Likewise.
7437 (fts_close): Likewise.
7438 (fts_read): Likewise.
7439 (fts_children): Likewise.
7440 (fts_build): Likewise.
7441 (fts_stat): Likewise.
7442 (fts_sort): Likewise.
7443 (fts_alloc): Likewise.
7444 (fts_lfree): Likewise.
7445 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7446 (_IO_file_xsgetn): Likewise.
7447 (_IO_file_xsgetn_mmap): Likewise.
7448 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7449 (_IO_cookie_write): Likewise.
7450 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7451 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7452 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7453 * malloc/obstack.c (_obstack_begin): Likewise.
7454 (_obstack_begin_1): Likewise.
7455 (_obstack_newchunk): Likewise.
7456 (_obstack_allocated_p): Likewise.
7457 (obstack_free): Likewise.
7458 (_obstack_memory_used): Likewise.
7459 * misc/getttyent.c (getttynam): Likewise.
7460 (getttyent): Likewise.
7461 (skip): Likewise.
7462 (value): Likewise.
7463 * misc/getusershell.c (initshells): Likewise.
7464 * misc/syslog.c (__vsyslog_chk): Likewise.
7465 * misc/ttyslot.c (ttyslot): Likewise.
7466 * nis/nis_hash.c (__nis_hash): Likewise.
7467 * posix/fnmatch_loop.c (FCT): Likewise.
7468 * posix/getconf.c (print_all): Likewise.
7469 (main): Likewise.
7470 * posix/getopt.c (exchange): Likewise.
7471 * posix/glob.c (globfree): Likewise.
7472 (prefix_array): Likewise.
7473 (__glob_pattern_type): Likewise.
7474 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7475 (NS_GET32): Likewise.
7476 (NS_PUT16): Likewise.
7477 (NS_PUT32): Likewise.
7478 * resolv/gethnamaddr.c (getanswer): Likewise.
7479 (gethostbyname2): Likewise.
7480 (gethostbyaddr): Likewise.
7481 (_gethtent): Likewise.
7482 (_gethtbyname2): Likewise.
7483 (_gethtbyaddr): Likewise.
7484 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7485 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7486 * resolv/res_init.c (__res_vinit): Likewise.
7487 (net_mask): Likewise.
7488 * resolv/res_mkquery.c (outchar): Likewise.
7489 (PRINT): Likewise.
7490 * stdio-common/printf_fp.c (outchar): Likewise.
7491 (PRINT): Likewise.
7492 * stdio-common/printf_fphex.c (outchar): Likewise.
7493 (PRINT): Likewise.
7494 * stdio-common/printf_size.c (outchar): Likewise.
7495 (PRINT): Likewise.
7496 * stdio-common/test_rdwr.c (main): Likewise.
7497 * stdio-common/tfformat.c (matches): Likewise.
7498 * stdio-common/vfprintf.c (outchar): Likewise.
7499 (printf_unknown): Likewise.
7500 (buffered_vfprintf): Likewise.
7501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7502 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7503 (ReadFile): Likewise.
7504 * stdlib/qsort.c (SWAP): Likewise.
7505 (_quicksort): Likewise.
7506 * stdlib/setenv.c (__add_to_environ): Likewise.
7507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7508 * stdlib/strtol_l.c (__strtol_l): Likewise.
7509 * stdlib/tst-strtod.c (main): Likewise.
7510 * stdlib/tst-strtol.c (main): Likewise.
7511 * stdlib/tst-strtoll.c (main): Likewise.
7512 * string/bits/string2.h (__strcmp_cc): Likewise.
7513 (__strcmp_cg): Likewise.
7514 (__strcspn_c1): Likewise.
7515 (__strcspn_c2): Likewise.
7516 (__strcspn_c3): Likewise.
7517 (__strspn_c1): Likewise.
7518 (__strspn_c2): Likewise.
7519 (__strspn_c3): Likewise.
7520 (__strsep_1c): Likewise.
7521 (__strsep_2c): Likewise.
7522 (__strsep_3c): Likewise.
7523 * string/memccpy.c (__memccpy): Likewise.
7524 * string/stpcpy.c (__stpcpy): Likewise.
7525 * string/strcmp.c (strcmp): Likewise.
7526 * string/strrchr.c (strrchr): Likewise.
7527 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7528 Likewise.
7529 * sysdeps/mach/hurd/getcwd.c
7530 (_hurd_canonicalize_directory_name_internal): Likewise.
7531 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7532 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7533 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7534 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7535 Likewise, in both definitions.
7536 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7537 definitions.
7538 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7539 64] (__bswap_64): Likewise.
7540 * time/test_time.c (main): Likewise.
7541 * time/tzfile.c (__tzfile_read): Likewise.
7542 (__tzfile_compute): Likewise.
7543 * time/tzset.c (__tzset_parse_tz): Likewise.
7544 (tzset_internal): Likewise.
7545 (compute_change): Likewise.
7546 * wcsmbs/wcscat.c (__wcscat): Likewise.
7547 * wcsmbs/wcschr.c (wcschr): Likewise.
7548 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7549 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7550 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7551 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7552 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7553 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7554 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7555 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7556 * wcsmbs/wmemset.c (wmemset): Likewise.
7557
9e54314b
JM
75582013-06-06 Joseph Myers <joseph@codesourcery.com>
7559
7560 * scripts/config.guess: Update to version 2013-05-16.
7561 * scripts/config.sub: Update to version 2013-04-24.
7562 * scripts/install-sh: Update to version 2011-11-20.07.
7563 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7564 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7565
350635a5
OB
75662013-06-06 Ondřej Bílka <neleai@seznam.cz>
7567
7568 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7569 * elf/sln.c: Likewise.
7570 * hurd/hurd/ioctl.h: Likewise.
7571 * hurd/hurdmalloc.c: Likewise.
7572 * hurd/xattr.c: Likewise.
7573 * include/shlib-compat.h: Likewise.
7574 * inet/ruserpass.c: Likewise.
7575 * libio/iofgets_u.c: Likewise.
7576 * libio/iofgetws_u.c: Likewise.
7577 * locale/programs/ld-identification.c: Likewise.
7578 * locale/programs/ld-time.c: Likewise.
7579 * mach/msg-destroy.c: Likewise.
7580 * nss/nss_files/files-netgrp.c: Likewise.
7581 * resolv/res_data.c: Likewise.
7582 * soft-fp/op-1.h: Likewise.
7583 * soft-fp/op-2.h: Likewise.
7584 * soft-fp/op-4.h: Likewise.
7585 * soft-fp/op-common.h: Likewise.
7586 * stdio-common/printf_fphex.c: Likewise.
7587 * stdlib/strtod_l.c: Likewise.
7588 * sunrpc/rpc/clnt.h: Likewise.
7589 * sysdeps/generic/framestate.c: Likewise.
7590 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7591 * sysdeps/i386/bsd-setjmp.S: Likewise.
7592 * sysdeps/i386/__longjmp.S: Likewise.
7593 * sysdeps/i386/setjmp.S: Likewise.
7594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7595 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7612 * sysdeps/ieee754/support.c: Likewise.
7613 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7614 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7615 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7616 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7617 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7618 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7619 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7620 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7621 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7622 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7623 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7624 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7625 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7626 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7627 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7628 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7629 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7631
44a988af
OB
76322013-06-05 Ondřej Bílka <neleai@seznam.cz>
7633
25506f09 7634 * posix/transbug.c: Remove executable mode.
44a988af 7635
9c84384c
JM
76362013-06-05 Joseph Myers <joseph@codesourcery.com>
7637
7638 * crypt/speeds.c: Remove trailing whitespace.
7639 * dlfcn/default.c: Likewise.
7640 * elf/ifuncdep2.c: Likewise.
7641 * elf/ifuncmain1.c: Likewise.
7642 * elf/ifuncmain1vis.c: Likewise.
7643 * elf/testobj.h: Likewise.
7644 * elf/tst-stackguard1.c: Likewise.
7645 * gmon/sys/gmon.h: Likewise.
7646 * hurd/hurdmsg.c: Likewise.
7647 * hurd/new-fd.c: Likewise.
7648 * hurd/ports-get.c: Likewise.
7649 * iconvdata/ibm1008_420.c: Likewise.
7650 * inet/tst-getni1.c: Likewise.
7651 * inet/tst-getni2.c: Likewise.
7652 * libio/ioungetc.c: Likewise.
7653 * libio/wfiledoalloc.c: Likewise.
7654 * manual/libm-err-tab.pl: Likewise.
7655 * math/w_dremf.c: Likewise.
7656 * misc/ftruncate.c: Likewise.
7657 * posix/bug-glob2.c: Likewise.
7658 * posix/tst-pcre.c: Likewise.
7659 * posix/wait4.c: Likewise.
7660 * resolv/README: Likewise.
7661 * resolv/res_debug.h: Likewise.
7662 * resolv/tst-inet_ntop.c: Likewise.
7663 * setjmp/bug269-setjmp.c: Likewise.
7664 * soft-fp/extended.h: Likewise.
7665 * soft-fp/op-1.h: Likewise.
7666 * soft-fp/op-2.h: Likewise.
7667 * soft-fp/op-4.h: Likewise.
7668 * soft-fp/op-8.h: Likewise.
7669 * soft-fp/testit.c: Likewise.
7670 * stdio-common/bug16.c: Likewise.
7671 * stdlib/random.c: Likewise.
7672 * sunrpc/rpcsvc/rquota.x: Likewise.
7673 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7674 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7682 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7683 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7702 * sysdeps/ieee754/s_lib_version.c: Likewise.
7703 * sysdeps/mach/hurd/check_fds.c: Likewise.
7704 * sysdeps/mach/hurd/getsockname.c: Likewise.
7705 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7706 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7707 * sysdeps/powerpc/bits/link.h: Likewise.
7708 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7709 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7710 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7711 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7712 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7713 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7714 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7715 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7716 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7717 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7718 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7719 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7720 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7721 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7722 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7723 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7724 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7725 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7726 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7727 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7728 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7729 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7731 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7732 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7733 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7734 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7735 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7736 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7737 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7739 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7742 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7743 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7744 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7745 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7746 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7747 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7748 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7749 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7750 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7751 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7752 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7753 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7754 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7755 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7756 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7757 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7760 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7761 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7762 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7763 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7764 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7766 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7767 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7768 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7769 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7770 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7771 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7772 * sysdeps/powerpc/sysdep.h: Likewise.
7773 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7774 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7775 * sysdeps/sh/dl-trampoline.S: Likewise.
7776 * sysdeps/sh/memset.S: Likewise.
7777 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7778 * sysdeps/sh/strlen.S: Likewise.
7779 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7780 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7781 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7782 * sysdeps/sparc/sparc32/rem.S: Likewise.
7783 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7784 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7785 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7786 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7787 * sysdeps/sparc/sparc32/urem.S: Likewise.
7788 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7789 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7790 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7791 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7793 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7794 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7795 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7796 * sysdeps/unix/bsd/times.c: Likewise.
7797 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7798 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7803 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7804 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7805 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7806 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7807 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7808 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7809 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7810 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7811 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7812 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7813 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7814 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7815 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7816 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7817 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7818 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7819 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7820 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7821 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7822 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7825 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7826 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7827 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7828 * sysdeps/x86_64/strcspn.S: Likewise.
7829
869378a5
RA
78302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7831
7832 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7833 generated file. Regenerate properly from gen-translit.pl.
7834 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7835 locale/C-translit.h.
7836
840e2943
AS
78372013-06-05 Andreas Schwab <schwab@suse.de>
7838
7839 [BZ #15100]
7840 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7841 week as 6 instead of -1.
7842 * time/tst-strptime.c (day_tests): Add test case.
7843
4c60cb0c
SP
78442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7845
7846 * sysdeps/generic/math_private.h
7847 (libc_feholdexcept_setround_53bit): Replace with
7848 libc_feholdsetround_53bit.
7849 (libc_feupdateenv_53bit): Replace with
7850 libc_feresetround_53bit.
7851 (SET_RESTORE_ROUND_53BIT): Adjust.
7852
d180203e
SP
78532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7854
96df079a
SP
7855 * string/test-strchrnul.c: Add copyright header.
7856
d180203e
SP
7857 * posix/tst-getaddrinfo4.c: Increase test timeout.
7858
8b0ccb2d
CD
78592013-06-03 Carlos O'Donell <carlos@redhat.com>
7860
7861 [BZ #15536]
7862 * math/libm-test.inc (MAX_EXP): Remove
7863 (MIN_EXP): Define.
7864 (ulp): Use MIN_EXP - MANT_DIG.
7865 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7866
3b3c4d40
CD
78672013-05-31 Carlos O'Donell <carlos@redhat.com>
7868
7869 * po/be.po: Revert last change.
7870 * po/zh_CN.po: Likewise.
7871 * po/header.pot: Likewise.
7872
fab7ce3f
JM
78732013-05-31 Joseph Myers <joseph@codesourcery.com>
7874
7875 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7876 link-libc-deps to empty as target-specific variable.
7877 * Makerules (link-libc-args): New variable.
7878 (libc-for-link): Likewise.
7879 (link-libc-deps): Likewise.
7880 (lib%.so): Depend on $(link-libc-deps). Link with
7881 $(link-libc-args).
7882 (build-module): Link with $(link-libc-args).
7883 (build-module-asneeded): Likewise.
7884 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7885 list of objects.
7886 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7887 target-specific variable.
7888 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7889 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7890 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7891 libc.
7892 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7893 libc and ld.so.
7894 ($(objpfx)libpcprofile.so): Likewise.
7895 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7896 libc_nonshared.a.
7897 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7898 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7899 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7900 $(link-libc-deps).
7901 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7902 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7903 * login/Makefile ($(objpfx)libutil.so): Likewise.
7904 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7905 * math/Makefile ($(objpfx)libm.so): Likewise.
7906 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7907 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7908 variable instead of depending directly on libc.
7909 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7910 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7911 $(link-libc-deps).
7912 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7913 libc.
7914 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7915 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7916 ($(objpfx)libanl.so): Likewise.
7917 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7918 ld.so.
7919 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7920 $(link-libc-deps).
7921 * sysdeps/i386/fpu/Makefile: Remove file.
7922 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7923 ($(objpfx)libm.so): Remove dependency on ld.so.
7924
eca5920c
PF
79252013-05-30 Patsy Franklin <pfrankli@redhat.com>
7926
7927 [BZ # 15553]
7928 * nis/yp_xdr.c (XDRMAXNAME): Define.
7929 (XDRMAXRECORD): Define.
7930 (xdr_domainname): Use XDRMAXNAME.
7931 (xdr_mapname): Likewise.
7932 (xdr_peername): Likewise.
7933 (xdr_keydat): Use XDRMAXRECORD.
7934 (xdr_valdat): Likewise.
7935
79362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7937
7938 [BZ #14256]
7939 * manual/errno.texi (ESTALE): Update to account for more than
7940 just NFS file systems.
7941 * sysdeps/gnu/errlist.c: Regenerated.
7942
b9375348
SP
79432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7944
7945 [BZ #15465]
7946 * elf/Makefile (tests): Add tst-null-argv.
7947 (modules-names): Add tst-null-argv-lib.
7948 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7949 (tst-null-argv-ENV): Set environment for tst-null-argv.
7950 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7951 (RTLD_PROGNAME): New macro.
7952 * elf/tst-null-argv.c: New test case.
7953 * elf/tst-null-argv-lib.c: Library for test case.
7954 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7955 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7956 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7957 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7958 * elf/dl-init.c (call_init): Likewise.
7959 (_dl_init): Likewise.
7960 * elf/dl-load.c (print_search_path): Likewise.
7961 (_dl_map_object): Likewise.
7962 * elf/dl-lookup.c (do_lookup_x): Likewise.
7963 (add_dependency): Likewise.
7964 (_dl_lookup_symbol_x): Likewise.
7965 (_dl_debug_bindings): Likewise.
7966 * elf/dl-open.c (_dl_show_scope): Likewise.
7967 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7968 * elf/dl-version.c (match_symbol): Likewise.
7969 (_dl_check_map_versions): Likewise.
7970 * elf/rtld.c (dl_main): Likewise.
7971 (print_unresolved): Use RTLD_PROGNAME.
7972 (print_missing_version): Likewise.
7973 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7974 (elf_machine_rela): Likewise.
7975 * sysdeps/powerpc/powerpc32/dl-machine.c
7976 (__process_machine_rela): Likewise.
7977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7978 Likewise.
7979 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7980 Likewise.
7981 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7982 Likewise.
7983 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7985 Likewise.
7986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7987 Likewise.
7988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7989
8a9f20c8
CD
79902013-05-28 Carlos O'Donell <carlos@redhat.com>
7991
7992 * po/be.po: Add descriptive title.
7993 * po/zh_CN.po: Likewise.
7994 * po/header.pot: Likewise.
7995
0e60d68e
MF
79962013-05-28 Mike Frysinger <vapier@gentoo.org>
7997
7998 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7999 error message.
8000 (enlarge_archive): Likewise.
8001
56b672e9
BN
80022013-05-28 Ben North <ben@redfrontdoor.org>
8003
8004 * manual/arith.texi (frexp): It is the magnitude of the return
8005 value which lies in [0.5, 1), not the return value itself.
8006
5e056687
AZ
80072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8008
8009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8010
2b66ef5d
TS
80112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8012
528c2405
TS
8013 * stdio-common/bug26.c (main): Correct fscanf template.
8014
07b4c13d
TS
8015 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8016 declare _dl_skip_args.
8017
ec9dd97c
TS
8018 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8019 Don't declare.
8020
2b66ef5d
TS
8021 * manual/platform.texi: Add missing @end deftypefun.
8022
4f8dfe27
JM
80232013-05-24 Joseph Myers <joseph@codesourcery.com>
8024
0323d086
JM
8025 [BZ #15529]
8026 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8027 bit of mantissa of 2^16382.
8028 * math/libm-test.inc (hypot_test_data): Add more tests.
8029
dd4259b9
JM
8030 * math/libm-test.inc: Add drem and pow10 to list of tested
8031 functions.
8032 (pow10_test): New function.
8033 (drem_test): Likewise.
8034 (drem_test_tonearest): Likewise.
8035 (drem_test_towardzero): Likewise.
8036 (drem_test_downward): Likewise.
8037 (drem_test_upward): Likewise.
8038 (main): Call the new functions.
8039
4f8dfe27
JM
8040 * math/libm-test.inc (finite_test_data): Remove.
8041 (finite_test): Run tests from isfinite_test_data.
8042 (gamma_test_data): Remove.
8043 (gamma_test): Run tests from lgamma_test_data.
8044 * sysdeps/i386/fpu/libm-test-ulps: Update.
8045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8046
d116b7c4
AZ
80472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8048
8049 * manual/platform.texi: Add PowerPC PPR function set documentation.
8050 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8051 implementation.
8052
e96e3767
CD
80532013-05-24 Carlos O'Donell <carlos@redhat.com>
8054
8055 * math/libm-test.inc (MAX_EXP): Define.
8056 (ULPDIFF): Define.
8057 (ulp): New function.
8058 (check_float_internal): Use ULPDIFF.
8059 (cpow_test): Disable failing test.
8060 (check_ulp): Test ulp() implemetnation.
8061 (main): Call check_ulp before starting tests.
8062
b679a606
JM
80632013-05-24 Joseph Myers <joseph@codesourcery.com>
8064
e8bdba36
JM
8065 * math/gen-libm-test.pl (generate_testfile): Do not handle
8066 START_DATA and END_DATA.
8067 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8068 END_DATA.
8069 (acos_tonearest_test_data): Likewise.
8070 (acos_towardzero_test_data): Likewise.
8071 (acos_downward_test_data): Likewise.
8072 (acos_upward_test_data): Likewise.
8073 (acosh_test_data): Likewise.
8074 (asin_test_data): Likewise.
8075 (asin_tonearest_test_data): Likewise.
8076 (asin_towardzero_test_data): Likewise.
8077 (asin_downward_test_data): Likewise.
8078 (asin_upward_test_data): Likewise.
8079 (asinh_test_data): Likewise.
8080 (atan_test_data): Likewise.
8081 (atanh_test_data): Likewise.
8082 (atan2_test_data): Likewise.
8083 (cabs_test_data): Likewise.
8084 (cacos_test_data): Likewise.
8085 (cacosh_test_data): Likewise.
8086 (carg_test_data): Likewise.
8087 (casin_test_data): Likewise.
8088 (casinh_test_data): Likewise.
8089 (catan_test_data): Likewise.
8090 (catanh_test_data): Likewise.
8091 (cbrt_test_data): Likewise.
8092 (ccos_test_data): Likewise.
8093 (ccosh_test_data): Likewise.
8094 (ceil_test_data): Likewise.
8095 (cexp_test_data): Likewise.
8096 (cimag_test_data): Likewise.
8097 (clog_test_data): Likewise.
8098 (clog10_test_data): Likewise.
8099 (conj_test_data): Likewise.
8100 (copysign_test_data): Likewise.
8101 (cos_test_data): Likewise.
8102 (cos_tonearest_test_data): Likewise.
8103 (cos_towardzero_test_data): Likewise.
8104 (cos_downward_test_data): Likewise.
8105 (cos_upward_test_data): Likewise.
8106 (cosh_test_data): Likewise.
8107 (cosh_tonearest_test_data): Likewise.
8108 (cosh_towardzero_test_data): Likewise.
8109 (cosh_downward_test_data): Likewise.
8110 (cosh_upward_test_data): Likewise.
8111 (cpow_test_data): Likewise.
8112 (cproj_test_data): Likewise.
8113 (creal_test_data): Likewise.
8114 (csin_test_data): Likewise.
8115 (csinh_test_data): Likewise.
8116 (csqrt_test_data): Likewise.
8117 (ctan_test_data): Likewise.
8118 (ctan_tonearest_test_data): Likewise.
8119 (ctan_towardzero_test_data): Likewise.
8120 (ctan_downward_test_data): Likewise.
8121 (ctan_upward_test_data): Likewise.
8122 (ctanh_test_data): Likewise.
8123 (ctanh_tonearest_test_data): Likewise.
8124 (ctanh_towardzero_test_data): Likewise.
8125 (ctanh_downward_test_data): Likewise.
8126 (ctanh_upward_test_data): Likewise.
8127 (erf_test_data): Likewise.
8128 (erfc_test_data): Likewise.
8129 (exp_test_data): Likewise.
8130 (exp_tonearest_test_data): Likewise.
8131 (exp_towardzero_test_data): Likewise.
8132 (exp_downward_test_data): Likewise.
8133 (exp_upward_test_data): Likewise.
8134 (exp10_test_data): Likewise.
8135 (exp2_test_data): Likewise.
8136 (expm1_test_data): Likewise.
8137 (fabs_test_data): Likewise.
8138 (fdim_test_data): Likewise.
8139 (finite_test_data): Likewise.
8140 (floor_test_data): Likewise.
8141 (fma_test_data): Likewise.
8142 (fma_towardzero_test_data): Likewise.
8143 (fma_downward_test_data): Likewise.
8144 (fma_upward_test_data): Likewise.
8145 (fmax_test_data): Likewise.
8146 (fmin_test_data): Likewise.
8147 (fmod_test_data): Likewise.
8148 (fpclassify_test_data): Likewise.
8149 (frexp_test_data): Likewise.
8150 (gamma_test_data): Likewise.
8151 (hypot_test_data): Likewise.
8152 (ilogb_test_data): Likewise.
8153 (isfinite_test_data): Likewise.
8154 (isgreater_test_data): Likewise.
8155 (isgreaterequal_test_data): Likewise.
8156 (isinf_test_data): Likewise.
8157 (isless_test_data): Likewise.
8158 (islessequal_test_data): Likewise.
8159 (islessgreater_test_data): Likewise.
8160 (isnan_test_data): Likewise.
8161 (isnormal_test_data): Likewise.
8162 (issignaling_test_data): Likewise.
8163 (isunordered_test_data): Likewise.
8164 (j0_test_data): Likewise.
8165 (j1_test_data): Likewise.
8166 (jn_test_data): Likewise.
8167 (ldexp_test_data): Likewise.
8168 (lgamma_test_data): Likewise.
8169 (lrint_test_data): Likewise.
8170 (lrint_tonearest_test_data): Likewise.
8171 (lrint_towardzero_test_data): Likewise.
8172 (lrint_downward_test_data): Likewise.
8173 (lrint_upward_test_data): Likewise.
8174 (llrint_test_data): Likewise.
8175 (llrint_tonearest_test_data): Likewise.
8176 (llrint_towardzero_test_data): Likewise.
8177 (llrint_downward_test_data): Likewise.
8178 (llrint_upward_test_data): Likewise.
8179 (log_test_data): Likewise.
8180 (log10_test_data): Likewise.
8181 (log1p_test_data): Likewise.
8182 (log2_test_data): Likewise.
8183 (logb_test_data): Likewise.
8184 (logb_downward_test_data): Likewise.
8185 (lround_test_data): Likewise.
8186 (llround_test_data): Likewise.
8187 (modf_test_data): Likewise.
8188 (nearbyint_test_data): Likewise.
8189 (nextafter_test_data): Likewise.
8190 (nexttoward_test_data): Likewise.
8191 (pow_test_data): Likewise.
8192 (pow_tonearest_test_data): Likewise.
8193 (pow_towardzero_test_data): Likewise.
8194 (pow_downward_test_data): Likewise.
8195 (pow_upward_test_data): Likewise.
8196 (remainder_test_data): Likewise.
8197 (remainder_tonearest_test_data): Likewise.
8198 (remainder_towardzero_test_data): Likewise.
8199 (remainder_downward_test_data): Likewise.
8200 (remainder_upward_test_data): Likewise.
8201 (remquo_test_data): Likewise.
8202 (rint_test_data): Likewise.
8203 (rint_tonearest_test_data): Likewise.
8204 (rint_towardzero_test_data): Likewise.
8205 (rint_downward_test_data): Likewise.
8206 (rint_upward_test_data): Likewise.
8207 (round_test_data): Likewise.
8208 (scalb_test_data): Likewise.
8209 (scalbn_test_data): Likewise.
8210 (scalbln_test_data): Likewise.
8211 (signbit_test_data): Likewise.
8212 (sin_test_data): Likewise.
8213 (sin_tonearest_test_data): Likewise.
8214 (sin_towardzero_test_data): Likewise.
8215 (sin_downward_test_data): Likewise.
8216 (sin_upward_test_data): Likewise.
8217 (sincos_test_data): Likewise.
8218 (sinh_test_data): Likewise.
8219 (sinh_tonearest_test_data): Likewise.
8220 (sinh_towardzero_test_data): Likewise.
8221 (sinh_downward_test_data): Likewise.
8222 (sinh_upward_test_data): Likewise.
8223 (sqrt_test_data): Likewise.
8224 (tan_test_data): Likewise.
8225 (tan_tonearest_test_data): Likewise.
8226 (tan_towardzero_test_data): Likewise.
8227 (tan_downward_test_data): Likewise.
8228 (tan_upward_test_data): Likewise.
8229 (tanh_test_data): Likewise.
8230 (tgamma_test_data): Likewise.
8231 (trunc_test_data): Likewise.
8232 (y0_test_data): Likewise.
8233 (y1_test_data): Likewise.
8234 (yn_test_data): Likewise.
8235 (significand_test_data): Likewise.
8236
b679a606
JM
8237 * math/gen-libm-test.pl (@functions): Remove variable.
8238 (generate_testfile): Don't handle START and END lines.
8239 * math/libm-test.inc (START): New macro.
8240 (END): Likewise.
8241 (END_COMPLEX): Likewise.
8242 (acos_test): Use END macro without arguments.
8243 (acos_test_tonearest): Likewise.
8244 (acos_test_towardzero): Likewise.
8245 (acos_test_downward): Likewise.
8246 (acos_test_upward): Likewise.
8247 (acosh_test): Likewise.
8248 (asin_test): Likewise.
8249 (asin_test_tonearest): Likewise.
8250 (asin_test_towardzero): Likewise.
8251 (asin_test_downward): Likewise.
8252 (asin_test_upward): Likewise.
8253 (asinh_test): Likewise.
8254 (atan_test): Likewise.
8255 (atanh_test): Likewise.
8256 (atan2_test): Likewise.
8257 (cabs_test): Likewise.
8258 (cacos_test): Use END_COMPLEX macro without arguments.
8259 (cacosh_test): Likewise.
8260 (carg_test): Use END macro without arguments.
8261 (casin_test): Use END_COMPLEX macro without arguments.
8262 (casinh_test): Likewise.
8263 (catan_test): Likewise.
8264 (catanh_test): Likewise.
8265 (cbrt_test): Use END macro without arguments.
8266 (ccos_test): Use END_COMPLEX macro without arguments.
8267 (ccosh_test): Likewise.
8268 (ceil_test): Use END macro without arguments.
8269 (cexp_test): Use END_COMPLEX macro without arguments.
8270 (cimag_test): Use END macro without arguments.
8271 (clog_test): Use END_COMPLEX macro without arguments.
8272 (clog10_test): Likewise.
8273 (conj_test): Likewise.
8274 (copysign_test): Use END macro without arguments.
8275 (cos_test): Likewise.
8276 (cos_test_tonearest): Likewise.
8277 (cos_test_towardzero): Likewise.
8278 (cos_test_downward): Likewise.
8279 (cos_test_upward): Likewise.
8280 (cosh_test): Likewise.
8281 (cosh_test_tonearest): Likewise.
8282 (cosh_test_towardzero): Likewise.
8283 (cosh_test_downward): Likewise.
8284 (cosh_test_upward): Likewise.
8285 (cpow_test): Use END_COMPLEX macro without arguments.
8286 (cproj_test): Likewise.
8287 (creal_test): Use END macro without arguments.
8288 (csin_test): Use END_COMPLEX macro without arguments.
8289 (csinh_test): Likewise.
8290 (csqrt_test): Likewise.
8291 (ctan_test): Likewise.
8292 (ctan_test_tonearest): Likewise.
8293 (ctan_test_towardzero): Likewise.
8294 (ctan_test_downward): Likewise.
8295 (ctan_test_upward): Likewise.
8296 (ctanh_test): Likewise.
8297 (ctanh_test_tonearest): Likewise.
8298 (ctanh_test_towardzero): Likewise.
8299 (ctanh_test_downward): Likewise.
8300 (ctanh_test_upward): Likewise.
8301 (erf_test): Use END macro without arguments.
8302 (erfc_test): Likewise.
8303 (exp_test): Likewise.
8304 (exp_test_tonearest): Likewise.
8305 (exp_test_towardzero): Likewise.
8306 (exp_test_downward): Likewise.
8307 (exp_test_upward): Likewise.
8308 (exp10_test): Likewise.
8309 (exp2_test): Likewise.
8310 (expm1_test): Likewise.
8311 (fabs_test): Likewise.
8312 (fdim_test): Likewise.
8313 (finite_test): Likewise.
8314 (floor_test): Likewise.
8315 (fma_test): Likewise.
8316 (fma_test_towardzero): Likewise.
8317 (fma_test_downward): Likewise.
8318 (fma_test_upward): Likewise.
8319 (fmax_test): Likewise.
8320 (fmin_test): Likewise.
8321 (fmod_test): Likewise.
8322 (fpclassify_test): Likewise.
8323 (frexp_test): Likewise.
8324 (gamma_test): Likewise.
8325 (hypot_test): Likewise.
8326 (ilogb_test): Likewise.
8327 (isfinite_test): Likewise.
8328 (isgreater_test): Likewise.
8329 (isgreaterequal_test): Likewise.
8330 (isinf_test): Likewise.
8331 (isless_test): Likewise.
8332 (islessequal_test): Likewise.
8333 (islessgreater_test): Likewise.
8334 (isnan_test): Likewise.
8335 (isnormal_test): Likewise.
8336 (issignaling_test): Likewise.
8337 (isunordered_test): Likewise.
8338 (j0_test): Likewise.
8339 (j1_test): Likewise.
8340 (jn_test): Likewise.
8341 (ldexp_test): Likewise.
8342 (lgamma_test): Likewise.
8343 (lrint_test): Likewise.
8344 (lrint_test_tonearest): Likewise.
8345 (lrint_test_towardzero): Likewise.
8346 (lrint_test_downward): Likewise.
8347 (lrint_test_upward): Likewise.
8348 (llrint_test): Likewise.
8349 (llrint_test_tonearest): Likewise.
8350 (llrint_test_towardzero): Likewise.
8351 (llrint_test_downward): Likewise.
8352 (llrint_test_upward): Likewise.
8353 (log_test): Likewise.
8354 (log10_test): Likewise.
8355 (log1p_test): Likewise.
8356 (log2_test): Likewise.
8357 (logb_test): Likewise.
8358 (logb_test_downward): Likewise.
8359 (lround_test): Likewise.
8360 (llround_test): Likewise.
8361 (modf_test): Likewise.
8362 (nearbyint_test): Likewise.
8363 (nextafter_test): Likewise.
8364 (nexttoward_test): Likewise.
8365 (pow_test): Likewise.
8366 (pow_test_tonearest): Likewise.
8367 (pow_test_towardzero): Likewise.
8368 (pow_test_downward): Likewise.
8369 (pow_test_upward): Likewise.
8370 (remainder_test): Likewise.
8371 (remainder_test_tonearest): Likewise.
8372 (remainder_test_towardzero): Likewise.
8373 (remainder_test_downward): Likewise.
8374 (remainder_test_upward): Likewise.
8375 (remquo_test): Likewise.
8376 (rint_test): Likewise.
8377 (rint_test_tonearest): Likewise.
8378 (rint_test_towardzero): Likewise.
8379 (rint_test_downward): Likewise.
8380 (rint_test_upward): Likewise.
8381 (round_test): Likewise.
8382 (scalb_test): Likewise.
8383 (scalbn_test): Likewise.
8384 (scalbln_test): Likewise.
8385 (signbit_test): Likewise.
8386 (sin_test): Likewise.
8387 (sin_test_tonearest): Likewise.
8388 (sin_test_towardzero): Likewise.
8389 (sin_test_downward): Likewise.
8390 (sin_test_upward): Likewise.
8391 (sincos_test): Likewise.
8392 (sinh_test): Likewise.
8393 (sinh_test_tonearest): Likewise.
8394 (sinh_test_towardzero): Likewise.
8395 (sinh_test_downward): Likewise.
8396 (sinh_test_upward): Likewise.
8397 (sqrt_test): Likewise.
8398 (tan_test): Likewise.
8399 (tan_test_tonearest): Likewise.
8400 (tan_test_towardzero): Likewise.
8401 (tan_test_downward): Likewise.
8402 (tan_test_upward): Likewise.
8403 (tanh_test): Likewise.
8404 (tgamma_test): Likewise.
8405 (trunc_test): Likewise.
8406 (y0_test): Likewise.
8407 (y1_test): Likewise.
8408 (yn_test): Likewise.
8409 (significand_test): Likewise.
8410
bae143d2
OB
84112013-05-24 Ondřej Bílka <neleai@seznam.cz>
8412
8413 [BZ #15381]
8414 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8415
9323d39b
EM
84162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8417
d4ea44a0 8418 [BZ #14894]
9323d39b
EM
8419 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8420 __ppc_mdoio and __ppc_mdoom.
8421 * manual/platform.texi: Document new functions __ppc_yield,
8422 __ppc_mdoio and __ppc_mdoom.
8423
13e23af7
CD
84242013-05-22 Carlos O'Donell <carlos@redhat.com>
8425
8426 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8427 (main): Mention "tls" pseudo-hwcap is legacy.
8428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8429
351fe550
JM
84302013-05-22 Joseph Myers <joseph@codesourcery.com>
8431
8432 * math/gen-libm-test.pl (parse_args): Output only string of
8433 arguments as text for test name, not full call or descriptions of
8434 tests for extra outputs.
8435 (generate_testfile): Do not pass function name to parse_args.
8436 Generate this_func variable from START.
8437 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8438 field to arg_str.
8439 (struct test_ff_f_data): Likewise.
8440 (test_ff_f_data_nexttoward): Likewise.
8441 (struct test_fi_f_data): Likewise.
8442 (struct test_fl_f_data): Likewise.
8443 (struct test_if_f_data): Likewise.
8444 (struct test_fff_f_data): Likewise.
8445 (struct test_c_f_data): Likewise.
8446 (struct test_f_f1_data): Likewise. Remove field extra_name.
8447 (struct test_fF_f1_data): Likewise.
8448 (struct test_ffI_f1_data): Likewise.
8449 (struct test_c_c_data): Rename test_name field to arg_str.
8450 (struct test_cc_c_data): Likewise.
8451 (struct test_f_i_data): Likewise.
8452 (struct test_ff_i_data): Likewise.
8453 (struct test_f_l_data): Likewise.
8454 (struct test_f_L_data): Likewise.
8455 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8456 and extra2_name.
8457 (COMMON_TEST_SETUP): New macro.
8458 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8459 (COMMON_TEST_CLEANUP): Likewise.
8460 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8461 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8462 macros.
8463 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8464 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8465 macros.
8466 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8467 (RUN_TEST_fff_f): Take argument string. Call new setup and
8468 cleanup macros.
8469 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8470 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8471 macros.
8472 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8473 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8474 macros.
8475 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8476 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8477 cleanup macros.
8478 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8479 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8480 cleanup macros.
8481 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8482 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8483 cleanup macros.
8484 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8485 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8486 macros.
8487 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8488 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8489 macros.
8490 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8491 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8492 macros.
8493 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8494 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8495 cleanup macros.
8496 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8497 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8498 cleanup macros.
8499 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8500 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8501 macros.
8502 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8503 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8504 cleanup macros.
8505 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8506 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8507 macros.
8508 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8509 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8510 macros.
8511 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8512 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8513 cleanup macros.
8514 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8515
85118d4d
EBM
85162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8517
8518 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8519 to _sifields.sigfault.
8520 (si_addr_lsb): Define new macro.
8521 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8523 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8524
7a44c18f
CD
85252013-05-03 Carlos O'Donell <carlos at redhat.com>
8526
8527 [BZ #15441]
8528 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8529 returns -1.
8530 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8531 null return -1.
8532 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8533 loading the domain.
8534
b50a7181
JM
85352013-05-22 Joseph Myers <joseph@codesourcery.com>
8536
8537 * math/gen-libm-test.pl (parse_args): Do not include expected
8538 result in test name.
8539 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8541 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8542 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8543 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8545
051063c8
SP
85462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8547
3ce9e010
SP
8548 * benchtests/Makefile: Sort function entries.
8549
051063c8
SP
8550 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8551 tanh, asinh, acosh, atanh.
8552 * benchtests/acos-inputs: New file.
8553 * benchtests/acosh-inputs: New file.
8554 * benchtests/asin-inputs: New file.
8555 * benchtests/asinh-inputs: New file.
8556 * benchtests/atanh-inputs: New file.
8557 * benchtests/cosh-inputs: New file.
8558 * benchtests/log-inputs: New file.
8559 * benchtests/sinh-inputs: New file.
8560 * benchtests/tanh-inputs: New file.
8561
47c22455
DL
85622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8563
8564 [BZ #15339]
8565 * posix/tst-getaddrinfo4.c: New test.
8566 * posix/Makefile (tests): Add it.
8567
3d04f5db
SP
85682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8569
8570 [BZ #15339]
8571 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8572 when no services were used.
8573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8574 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8575
d5dd6189
AS
85762013-05-21 Andreas Schwab <schwab@suse.de>
8577
8578 [BZ #15014]
8579 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8580 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8581 successful.
8582 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8583 redundant variable declarations and reallocation of buffer when
8584 parsing as IPv6 address. Always set NSS status when called from
8585 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8586 buffer too small. Correct computation of needed size.
8587 * nss/Makefile (tests): Add test-digits-dots.
8588 * nss/test-digits-dots.c: New test.
8589
fef94eab
SP
85902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8591
8592 * benchtests/Makefile: Remove instructions for adding
8593 benchmark tests.
8594 * benchtests/README: New file to explain how to execute and
8595 enhance the benchmark tests.
8596
e39adf43
AS
85972013-05-21 Andreas Schwab <schwab@suse.de>
8598
8599 [BZ #15493]
8600 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8601 * setjmp/tst-sigsetjmp.c: New test.
8602
b2b671b6
OB
86032013-05-20 Ondřej Bílka <neleai@seznam.cz>
8604
8605 * sysdeps/x86_64/memset.S (memset): New implementation.
8606 (__bzero): Likewise.
8607 (__memset_tail): New function.
8608
2d48b41c
OB
86092013-05-20 Ondřej Bílka <neleai@seznam.cz>
8610
8611 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8612 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8613 __memcpy_sse2_unaligned ifunc selection.
8614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8615 Add memcpy-sse2-unaligned.S.
8616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8617 Add: __memcpy_sse2_unaligned.
8618
f16cc3eb
JM
86192013-05-19 Joseph Myers <joseph@codesourcery.com>
8620
3e694268
JM
8621 [BZ #15490]
8622 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8623 math_force_eval before restoring floating-point envrionment.
8624 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8626 Likewise.
8627 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8628 <math_private.h>.
8629 (__nearbyintl): Use math_force_eval before restoring
8630 floating-point environment.
8631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8632
db62a907
JM
8633 * math/gen-libm-test.pl (special_functions): Remove.
8634 (parse_args): Don't handle TEST_extra. Handle functions with no
8635 return value.
8636 * math/libm-test.inc (struct test_sincos_data): Replace with
8637 struct test_fFF_11_data.
8638 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8639 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8640 (sincos_test_data): Change element type to struct
8641 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8642 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8643 RUN_TEST_LOOP_sincos.
8644 * math/README.libm-test: Don't mention special handling of
8645 individual functions.
8646 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8648 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8649 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8650 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8652
f16cc3eb
JM
8653 * math/gen-libm-test.pl (get_variable): Remove function.
8654 (parse_args): Don't show pointer parameters to call in test
8655 names. Use "extra output N" in test names for extra outputs
8656 rather than naming variables.
8657
3779b5b6
JM
86582013-05-18 Joseph Myers <joseph@codesourcery.com>
8659
2ee094ff
JM
8660 [BZ #15488]
8661 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8662 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8663 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8664 double tests.
8665 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8666 disable.
8667 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8668 check_long_double.
8669
3779b5b6
JM
8670 * math/gen-libm-test.pl (@tests): Remove variable.
8671 ($count): Likewise.
8672 (new_test): Remove function.
8673 (show_exceptions): New function.
8674 (special_functions): Use show_exceptions instead of new_test.
8675 (parse_args): Likewise.
8676 (generate_testfile): Pass only function name in generated call to
8677 print_max_error or print_complex_max_error.
8678 (get_ulps): Do not handle complex tests specially.
8679 (output_test): Rename to ...
8680 (get_all_ulps_for_test): ... this. Return a string rather than
8681 printing to a file. Require ulps to be present.
8682 (output_ulps): Generate arrays rather than #defines.
8683 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8684 (struct ulp_data): New type.
8685 (BUILD_COMPLEX_ULP): Remove macro.
8686 (compare_ulp_data): New function.
8687 (find_ulps): Likewise.
8688 (find_test_ulps): Likewise.
8689 (find_function_ulps): Likewise.
8690 (find_complex_function_ulps): Likewise.
8691 (print_max_error): Determine allowed ulps using
8692 find_function_ulps.
8693 (print_complex_max_error): Determine allowed ulps using
8694 find_complex_function_ulps.
8695 (check_float_internal): Determine max ulps using find_test_ulps.
8696 (check_float): Do not take max_ulp parameter. Update call to
8697 check_float_internal.
8698 (check_complex): Likewise.
8699 (check_int): Do not take max_ulp parameter.
8700 (check_long): Likewise.
8701 (check_bool): Likewise.
8702 (check_longlong): Likewise.
8703 (struct test_f_f_data): Remove max_ulp field.
8704 (struct test_ff_f_data): Likewise.
8705 (struct test_ff_f_data_nexttoward): Likewise.
8706 (struct test_fi_f_data): Likewise.
8707 (struct test_fl_f_data): Likewise.
8708 (struct test_if_f_data): Likewise.
8709 (struct test_fff_f_data): Likewise.
8710 (struct test_c_f_data): Likewise.
8711 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8712 (struct test_fF_f1_data): Likewise.
8713 (struct test_ffI_f1_data): Likewise.
8714 (struct test_c_c_data): Remove max_ulp field.
8715 (struct test_cc_c_data): Likewise.
8716 (struct test_f_i_data): Likewise.
8717 (struct test_ff_i_data): Likewise.
8718 (struct test_f_l_data): Likewise.
8719 (struct test_f_L_data): Likewise.
8720 (struct test_sincos_data): Likewise.
8721 (RUN_TEST_f_f): Do not handle ulps.
8722 (RUN_TEST_LOOP_f_f): Likewise.
8723 (RUN_TEST_2_f): Likewise.
8724 (RUN_TEST_LOOP_2_f): Likewise.
8725 (RUN_TEST_fff_f): Likewise.
8726 (RUN_TEST_LOOP_fff_f): Likewise.
8727 (RUN_TEST_c_f): Likewise.
8728 (RUN_TEST_LOOP_c_f): Likewise.
8729 (RUN_TEST_f_f1): Likewise.
8730 (RUN_TEST_LOOP_f_f1): Likewise.
8731 (RUN_TEST_fF_f1): Likewise.
8732 (RUN_TEST_LOOP_fF_f1): Likewise.
8733 (RUN_TEST_fI_f1): Likewise.
8734 (RUN_TEST_LOOP_fI_f1): Likewise.
8735 (RUN_TEST_ffI_f1): Likewise.
8736 (RUN_TEST_LOOP_ffI_f1): Likewise.
8737 (RUN_TEST_c_c): Likewise.
8738 (RUN_TEST_LOOP_c_c): Likewise.
8739 (RUN_TEST_cc_c): Likewise.
8740 (RUN_TEST_LOOP_cc_c): Likewise.
8741 (RUN_TEST_f_i): Likewise.
8742 (RUN_TEST_LOOP_f_i): Likewise.
8743 (RUN_TEST_f_i_tg): Likewise.
8744 (RUN_TEST_LOOP_f_i_tg): Likewise.
8745 (RUN_TEST_ff_i_tg): Likewise.
8746 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8747 (RUN_TEST_f_b): Likewise.
8748 (RUN_TEST_LOOP_f_b): Likewise.
8749 (RUN_TEST_f_b_tg): Likewise.
8750 (RUN_TEST_LOOP_f_b_tg): Likewise.
8751 (RUN_TEST_f_l): Likewise.
8752 (RUN_TEST_LOOP_f_l): Likewise.
8753 (RUN_TEST_f_L): Likewise.
8754 (RUN_TEST_LOOP_f_L): Likewise.
8755 (RUN_TEST_sincos): Likewise.
8756 (RUN_TEST_LOOP_sincos): Likewise.
8757
8269107f
JM
87582013-05-17 Joseph Myers <joseph@codesourcery.com>
8759
bb38759d
JM
8760 [BZ #15480]
8761 [BZ #15485]
8762 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8763 main case of finite arguments, set rounding mode to FE_TONEAREST
8764 and discard exceptions.
8765 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8766 exceptions.
8767 (remainder_tonearest_test_data): New variable.
8768 (remainder_test_tonearest): New function.
8769 (remainder_towardzero_test_data): New variable.
8770 (remainder_test_towardzero): New function.
8771 (remainder_downward_test_data): New variable.
8772 (remainder_test_downward): New function.
8773 (remainder_upward_test_data): New variable.
8774 (remainder_test_upward): New function.
8775 (main): Call the new test functions.
8776
a00bdcf0
JM
8777 * math/libm-test.inc (struct test_f_f1_data): Remove field
8778 extra_init.
8779 (struct test_fF_f1_data): Likewise.
8780 (struct test_ffI_f1_data): Likewise.
8781 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8782 based on value of EXTRA_EXPECTED.
8783 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8784 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8785 EXTRA_VAR based on value of EXTRA_EXPECTED.
8786 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8787 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8788 EXTRA_VAR based on value of EXTRA_EXPECTED.
8789 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8790 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8791 EXTRA_VAR based on value of EXTRA_EXPECTED.
8792 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8793 * math/gen-libm-test.pl (parse_args): Don't output initializers
8794 for extra output values.
8795
de407f79
JM
8796 * math/libm-test.inc (check_int): Expect result to be exactly
8797 equal to expected value and do not handle ulps.
8798 (check_long): Likewise.
8799 (check_longlong): Likewise.
8800
8269107f
JM
8801 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8802 exceptions.
8803 (cimag_test_data): Likewise.
8804 (conj_test_data): Likewise.
8805 (copysign_test_data): Likewise.
8806 (cproj_test_data): Likewise.
8807 (creal_test_data): Likewise.
8808 (fabs_test_data): Likewise.
8809 (fdim_test_data): Likewise.
8810 (finite_test_data): Likewise.
8811 (floor_test_data): Likewise.
8812 (fmax_test_data): Likewise.
8813 (fmin_test_data): Likewise.
8814 (fmod_test_data): Likewise.
8815 (fpclassify_test_data): Likewise.
8816 (frexp_test_data): Likewise.
8817 (ilogb_test_data): Likewise.
8818 (isfinite_test_data): Likewise.
8819 (isgreater_test_data): Likewise.
8820 (isgreaterequal_test_data): Likewise.
8821 (isinf_test_data): Likewise.
8822 (isless_test_data): Likewise.
8823 (islessequal_test_data): Likewise.
8824 (islessgreater_test_data): Likewise.
8825 (isnan_test_data): Likewise.
8826 (isnormal_test_data): Likewise.
8827 (issignaling_test_data): Likewise.
8828 (isunordered_test_data): Likewise.
8829 (ldexp_test_data): Likewise.
8830 (lrint_test_data): Likewise.
8831 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8832 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8833 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8834 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8835 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8836 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8837 test input.
8838 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8839 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8840 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8841 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8842 that test input.
8843 (lrint_downward_test_data): Test for "inexact" exceptions.
8844 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8845 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8846 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8847 test input.
8848 (lrint_upward_test_data): Test for "inexact" exceptions.
8849 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8850 test input.
8851 (llrint_test_data): Test for "inexact" exceptions.
8852 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8853 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8854 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8855 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8856 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8857 (llrint_downward_test_data): Test for "inexact" exceptions.
8858 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8859 (llrint_upward_test_data): Test for "inexact" exceptions.
8860 (logb_test_data): Likewise.
8861 (logb_downward_test_data): Likewise.
8862 (nextafter_test_data): Likewise.
8863 (nexttoward_test_data): Likewise.
8864 (remainder_test_data): Likewise.
8865 (remquo_test_data): Likewise.
8866 (scalbn_test_data): Likewise.
8867 (scalbln_test_data): Likewise.
8868 (signbit_test_data): Likewise.
8869 (sqrt_test_data): Likewise.
8870 (significand_test_data): Likewise.
8871
48a18de1
SP
88722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8873
8874 [BZ #15424]
8875 * benchtests/bench-modf.c (struct args): Mark arg0 as
8876 volatile.
8877 * scripts/bench.pl: Mark members of struct args as volatile.
8878
13d3b41a
AZ
88792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8880
68191c1d 8881 [BZ # 15497]
13d3b41a
AZ
8882 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8883 negative infinity on POWER6 or lower.
8884 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8885
2848b105
MR
88862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8887
8888 [BZ #15442]
8889 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8890 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8891 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8892 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8893 (_FP_SETQNAN): New macro.
8894 (_FP_SETQNAN_SEMIRAW): Likewise.
8895 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8896 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8897 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8898 (FP_EXTEND): Use _FP_FRAC_SNANP.
8899 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8900 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8901 into account.
8902 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8903 New macro.
8904 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8905 Likewise.
8906
323e5cb7
JM
89072013-05-16 Joseph Myers <joseph@codesourcery.com>
8908
c58b274f
JM
8909 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8910 with DIVIDE_BY_ZERO_EXCEPTION.
8911 (gamma_test_data): Likewise.
8912 (lgamma_test_data): Likewise.
8913 (log_test_data): Likewise.
8914 (log10_test_data): Likewise.
8915 (log2_test_data): Likewise.
8916 (tgamma_test_data): Likewise.
8917
0ab34904
JM
8918 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8919 (acos_test_tonearest): Likewise.
8920 (acos_test_towardzero): Likewise.
8921 (acos_test_downward): Likewise.
8922 (acos_test_upward): Likewise.
8923 (acosh_test): Likewise.
8924 (asin_test): Likewise.
8925 (asin_test_tonearest): Likewise.
8926 (asin_test_towardzero): Likewise.
8927 (asin_test_downward): Likewise.
8928 (asin_test_upward): Likewise.
8929 (asinh_test): Likewise.
8930 (atan_test): Likewise.
8931 (atanh_test): Likewise.
8932 (atan2_test): Likewise.
8933 (cabs_test): Likewise.
8934 (cacos_test): Likewise.
8935 (cacosh_test): Likewise.
8936 (casin_test): Likewise.
8937 (casinh_test): Likewise.
8938 (catan_test): Likewise.
8939 (catanh_test): Likewise.
8940 (cbrt_test): Likewise.
8941 (ccos_test): Likewise.
8942 (ccosh_test): Likewise.
8943 (cexp_test): Likewise.
8944 (clog_test): Likewise.
8945 (clog10_test): Likewise.
8946 (cos_test): Likewise.
8947 (cos_test_tonearest): Likewise.
8948 (cos_test_towardzero): Likewise.
8949 (cos_test_downward): Likewise.
8950 (cos_test_upward): Likewise.
8951 (cosh_test): Likewise.
8952 (cosh_test_tonearest): Likewise.
8953 (cosh_test_towardzero): Likewise.
8954 (cosh_test_downward): Likewise.
8955 (cosh_test_upward): Likewise.
8956 (cpow_test): Likewise.
8957 (csin_test): Likewise.
8958 (csinh_test): Likewise.
8959 (csqrt_test): Likewise.
8960 (ctan_test): Likewise.
8961 (ctan_test_tonearest): Likewise.
8962 (ctan_test_towardzero): Likewise.
8963 (ctan_test_downward): Likewise.
8964 (ctan_test_upward): Likewise.
8965 (ctanh_test): Likewise.
8966 (ctanh_test_tonearest): Likewise.
8967 (ctanh_test_towardzero): Likewise.
8968 (ctanh_test_downward): Likewise.
8969 (ctanh_test_upward): Likewise.
8970 (erf_test): Likewise.
8971 (erfc_test): Likewise.
8972 (exp_test): Likewise.
8973 (exp_test_tonearest): Likewise.
8974 (exp_test_towardzero): Likewise.
8975 (exp_test_downward): Likewise.
8976 (exp_test_upward): Likewise.
8977 (exp10_test): Likewise.
8978 (exp2_test): Likewise.
8979 (expm1_test): Likewise.
8980 (fmod_test): Likewise.
8981 (gamma_test): Likewise.
8982 (hypot_test): Likewise.
8983 (j0_test): Likewise.
8984 (j1_test): Likewise.
8985 (jn_test): Likewise.
8986 (lgamma_test): Likewise.
8987 (log_test): Likewise.
8988 (log10_test): Likewise.
8989 (log1p_test): Likewise.
8990 (log2_test): Likewise.
8991 (logb_test_downward): Likewise.
8992 (pow_test): Likewise.
8993 (pow_test_tonearest): Likewise.
8994 (pow_test_towardzero): Likewise.
8995 (pow_test_downward): Likewise.
8996 (pow_test_upward): Likewise.
8997 (remainder_test): Likewise.
8998 (remquo_test): Likewise.
8999 (sin_test): Likewise.
9000 (sin_test_tonearest): Likewise.
9001 (sin_test_towardzero): Likewise.
9002 (sin_test_downward): Likewise.
9003 (sin_test_upward): Likewise.
9004 (sincos_test): Likewise.
9005 (sinh_test): Likewise.
9006 (sinh_test_tonearest): Likewise.
9007 (sinh_test_towardzero): Likewise.
9008 (sinh_test_downward): Likewise.
9009 (sinh_test_upward): Likewise.
9010 (sqrt_test): Likewise.
9011 (tan_test): Likewise.
9012 (tan_test_tonearest): Likewise.
9013 (tan_test_towardzero): Likewise.
9014 (tan_test_downward): Likewise.
9015 (tan_test_upward): Likewise.
9016 (tanh_test): Likewise.
9017 (tgamma_test): Likewise.
9018 (y0_test): Likewise.
9019 (y1_test): Likewise.
9020 (yn_test): Likewise.
9021
323e5cb7
JM
9022 * math/gen-libm-test.pl (adjust_arg): Remove function.
9023 (special_function): Remove argument $in_func. Only handle
9024 generating output for tables of tests, not inside functions.
9025 (parse_args): Likewise.
9026 (generate_testfile): Remove variable $in_func. Update call to
9027 parse_args.
9028 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9029 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9030 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9031 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9032 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9033 (MAX_VALUE_INIT): Rename macro to max_value.
9034 (MIN_VALUE_INIT): Rename macro to min_value.
9035 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9036 (plus_zero): Remove variable.
9037 (minus_zero): Likewise.
9038 (plus_infty): Likewise.
9039 (minus_infty): Likewise.
9040 (qnan_value): Likewise.
9041 (max_value): Likewise.
9042 (min_value): Likewise.
9043 (min_subnorm_value): Likewise.
9044
e054f494
RA
90452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9046
9047 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9048 uint64_t or uint32_t usage.
9049 * crypt/sha256-block.c: Likewise.
9050 * crypt/sha256-crypt.c: Likewise.
9051 * crypt/sha256.c: Likewise.
9052 * crypt/sha512-block.c: Likewise.
9053 * crypt/sha512-crypt.c: Likewise.
9054 * crypt/sha512.c: Likewise.
9055 * debug/backtrace-tst.c: Likewise.
9056 * debug/pcprofiledump.c: Likewise.
9057 * elf/cache.c: Likewise.
9058 * elf/dl-cache.c: Likewise.
9059 * elf/dl-misc.c: Likewise.
9060 * elf/dl-profile.c: Likewise.
9061 * elf/dl-support.c: Likewise.
9062 * elf/ldconfig.c: Likewise.
9063 * elf/sprof.c: Likewise.
9064 * iconv/dummy-repertoire.c: Likewise.
9065 * iconv/iconv_charmap.c: Likewise.
9066 * iconv/skeleton.c: Likewise.
9067 * iconvdata/8bit-generic.c: Likewise.
9068 * iconvdata/cp737.h: Likewise.
9069 * iconvdata/cp775.h: Likewise.
9070 * iconvdata/ibm1008.h: Likewise.
9071 * iconvdata/ibm1025.h: Likewise.
9072 * iconvdata/ibm1046.h: Likewise.
9073 * iconvdata/ibm1097.h: Likewise.
9074 * iconvdata/ibm1112.h: Likewise.
9075 * iconvdata/ibm1122.h: Likewise.
9076 * iconvdata/ibm1123.h: Likewise.
9077 * iconvdata/ibm1124.h: Likewise.
9078 * iconvdata/ibm1129.h: Likewise.
9079 * iconvdata/ibm1130.h: Likewise.
9080 * iconvdata/ibm1132.h: Likewise.
9081 * iconvdata/ibm1133.h: Likewise.
9082 * iconvdata/ibm1137.h: Likewise.
9083 * iconvdata/ibm1140.h: Likewise.
9084 * iconvdata/ibm1141.h: Likewise.
9085 * iconvdata/ibm1142.h: Likewise.
9086 * iconvdata/ibm1143.h: Likewise.
9087 * iconvdata/ibm1144.h: Likewise.
9088 * iconvdata/ibm1145.h: Likewise.
9089 * iconvdata/ibm1146.h: Likewise.
9090 * iconvdata/ibm1147.h: Likewise.
9091 * iconvdata/ibm1148.h: Likewise.
9092 * iconvdata/ibm1149.h: Likewise.
9093 * iconvdata/ibm1153.h: Likewise.
9094 * iconvdata/ibm1154.h: Likewise.
9095 * iconvdata/ibm1155.h: Likewise.
9096 * iconvdata/ibm1156.h: Likewise.
9097 * iconvdata/ibm1157.h: Likewise.
9098 * iconvdata/ibm1158.h: Likewise.
9099 * iconvdata/ibm1160.h: Likewise.
9100 * iconvdata/ibm1161.h: Likewise.
9101 * iconvdata/ibm1162.h: Likewise.
9102 * iconvdata/ibm1163.h: Likewise.
9103 * iconvdata/ibm1164.h: Likewise.
9104 * iconvdata/ibm1166.h: Likewise.
9105 * iconvdata/ibm1167.h: Likewise.
9106 * iconvdata/ibm12712.h: Likewise.
9107 * iconvdata/ibm1390.h: Likewise.
9108 * iconvdata/ibm1399.h: Likewise.
9109 * iconvdata/ibm16804.h: Likewise.
9110 * iconvdata/ibm4517.h: Likewise.
9111 * iconvdata/ibm4899.h: Likewise.
9112 * iconvdata/ibm4909.h: Likewise.
9113 * iconvdata/ibm4971.h: Likewise.
9114 * iconvdata/ibm5347.h: Likewise.
9115 * iconvdata/ibm803.h: Likewise.
9116 * iconvdata/ibm856.h: Likewise.
9117 * iconvdata/ibm901.h: Likewise.
9118 * iconvdata/ibm902.h: Likewise.
9119 * iconvdata/ibm9030.h: Likewise.
9120 * iconvdata/ibm9066.h: Likewise.
9121 * iconvdata/ibm921.h: Likewise.
9122 * iconvdata/ibm922.h: Likewise.
9123 * iconvdata/ibm9448.h: Likewise.
9124 * iconvdata/isiri-3342.h: Likewise.
9125 * iconvdata/jis0201.h: Likewise.
9126 * include/link.h: Likewise.
9127 * include/netdb.h: Likewise.
9128 * inet/check_native.c: Likewise.
9129 * inet/check_pf.c: Likewise.
9130 * inet/getipv4sourcefilter.c: Likewise.
9131 * inet/getnameinfo.c: Likewise.
9132 * inet/getsourcefilter.c: Likewise.
9133 * inet/htonl.c: Likewise.
9134 * inet/setipv4sourcefilter.c: Likewise.
9135 * inet/setsourcefilter.c: Likewise.
9136 * inet/test-inet6_opt.c: Likewise.
9137 * inet/tst-network.c: Likewise.
9138 * locale/C-collate.c: Likewise.
9139 * locale/C-ctype.c: Likewise.
9140 * locale/C-time.c: Likewise.
9141 * locale/C-translit.h: Likewise.
9142 * locale/loadarchive.c: Likewise.
9143 * locale/programs/3level.h: Likewise.
9144 * locale/programs/charmap.c: Likewise.
9145 * locale/programs/charmap.h: Likewise.
9146 * locale/programs/ld-address.c: Likewise.
9147 * locale/programs/ld-collate.c: Likewise.
9148 * locale/programs/ld-ctype.c: Likewise.
9149 * locale/programs/ld-identification.c: Likewise.
9150 * locale/programs/ld-measurement.c: Likewise.
9151 * locale/programs/ld-messages.c: Likewise.
9152 * locale/programs/ld-monetary.c: Likewise.
9153 * locale/programs/ld-name.c: Likewise.
9154 * locale/programs/ld-numeric.c: Likewise.
9155 * locale/programs/ld-paper.c: Likewise.
9156 * locale/programs/ld-telephone.c: Likewise.
9157 * locale/programs/ld-time.c: Likewise.
9158 * locale/programs/linereader.c: Likewise.
9159 * locale/programs/locale.c: Likewise.
9160 * locale/programs/locarchive.c: Likewise.
9161 * locale/programs/locfile.h: Likewise.
9162 * locale/programs/repertoire.c: Likewise.
9163 * locale/programs/simple-hash.c: Likewise.
9164 * locale/programs/simple-hash.h: Likewise.
9165 * malloc/memusage.c: Likewise.
9166 * malloc/memusagestat.c: Likewise.
9167 * nis/nis_defaults.c: Likewise.
9168 * nis/nis_hash.c: Likewise.
9169 * nis/nis_print.c: Likewise.
9170 * nis/nis_xdr.c: Likewise.
9171 * nscd/connections.c: Likewise.
9172 * nscd/hstcache.c: Likewise.
9173 * nscd/nscd_gethst_r.c: Likewise.
9174 * nscd/nscd_getserv_r.c: Likewise.
9175 * nscd/nscd_helper.c: Likewise.
9176 * nscd/servicescache.c: Likewise.
9177 * nss/makedb.c: Likewise.
9178 * nss/nss_db/db-XXX.c: Likewise.
9179 * nss/nss_db/db-initgroups.c: Likewise.
9180 * nss/nss_db/db-netgrp.c: Likewise.
9181 * nss/nss_files/files-network.c: Likewise.
9182 * nss/nss_files/files-parse.c: Likewise.
9183 * posix/bug-regex5.c: Likewise.
9184 * posix/fnmatch_loop.c: Likewise.
9185 * posix/regcomp.c: Likewise.
9186 * posix/regexec.c: Likewise.
9187 * posix/tst-rfc3484-2.c: Likewise.
9188 * posix/tst-rfc3484-3.c: Likewise.
9189 * posix/tst-rfc3484.c: Likewise.
9190 * resolv/nss_dns/dns-canon.c: Likewise.
9191 * resolv/nss_dns/dns-network.c: Likewise.
9192 * resolv/res_init.c: Likewise.
9193 * resolv/res_mkquery.c: Likewise.
9194 * resolv/tst-aton.c: Likewise.
9195 * stdlib/cxa_atexit.c: Likewise.
9196 * stdlib/cxa_finalize.c: Likewise.
9197 * stdlib/gen-fpioconst.c: Likewise.
9198 * stdlib/strtol_l.c: Likewise.
9199 * string/tst-endian.c: Likewise.
9200 * sunrpc/auth_des.c: Likewise.
9201 * sunrpc/clnt_udp.c: Likewise.
9202 * sunrpc/rtime.c: Likewise.
9203 * sunrpc/svcauth_des.c: Likewise.
9204 * sunrpc/xdr.c: Likewise.
9205 * sunrpc/xdr_intXX_t.c: Likewise.
9206 * sunrpc/xdr_rec.c: Likewise.
9207 * sysdeps/generic/ldconfig.h: Likewise.
9208 * sysdeps/generic/ldsodefs.h: Likewise.
9209 * sysdeps/generic/memusage.h: Likewise.
9210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9216 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9217 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9220 * sysdeps/posix/getaddrinfo.c: Likewise.
9221 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9222 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9223 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9224 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9225 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9226 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9227 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9228 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9229 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9230 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9231 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9232 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9233 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9234 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9235 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9236 * sysdeps/x86_64/dl-tls.h: Likewise.
9237 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9238 * time/alt_digit.c: Likewise.
9239 * time/era.c: Likewise.
9240 * wcsmbs/tst-c16c32-1.c: Likewise.
9241
8c75f674
JM
92422013-05-16 Joseph Myers <joseph@codesourcery.com>
9243
9244 * math/libm-test.inc (struct test_sincos_data): New type.
9245 (RUN_TEST_LOOP_sincos): New macro.
9246 (sincos_test_data): New variable.
9247 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9248
e6e49e59
RH
92492013-05-16 Richard Henderson <rth@redhat.com>
9250
9251 * math/atest-exp2.c (LIMB64): New macro.
9252 (CONSTSZ): New macro.
9253 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9254 (hexdig): Move ...
9255 (print_mpn_fp): ... to function scope.
9256 (read_mpn_hex): Remove.
9257 (get_log2): Remove.
9258 (exp2_mpn): Use mp_log2.
9259 (main): Use mp_exp1.
9260
15c7c18d
JM
92612013-05-16 Joseph Myers <joseph@codesourcery.com>
9262
105a07df
JM
9263 * math/libm-test.inc: Remove comment about not testing "inexact"
9264 exceptions.
9265 (INEXACT_EXCEPTION): New macro.
9266 (NO_INEXACT_EXCEPTION): Likewise.
9267 (INVALID_EXCEPTION_OK): Update value.
9268 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9269 (OVERFLOW_EXCEPTION_OK): Likewise.
9270 (UNDERFLOW_EXCEPTION_OK): Likewise.
9271 (IGNORE_ZERO_INF_SIGN): Likewise.
9272 (ERRNO_UNCHANGED): Likewise.
9273 (ERRNO_EDOM): Likewise.
9274 (ERRNO_ERANGE): Likewise.
9275 (test_exceptions): Handle testing "inexact" exceptions.
9276 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9277 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9278 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9279 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9280 INEXACT_EXCEPTION.
9281 (rint_towardzero_test_data): Likewise.
9282 (rint_downward_test_data): Likewise.
9283 (rint_upward_test_data): Likewise.
9284
e9eee333
JM
9285 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9286 with OVERFLOW_EXCEPTION.
9287 (exp10_test_data): Likewise.
9288 (exp2_test_data): Likewise.
9289 (expm1_test_data): Likewise.
9290 (lgamma_test_data): Likewise.
9291 (pow_test_data): Likewise.
9292 (tgamma_test_data): Likewise.
9293 (yn_test_data): Remove duplicate test of overflow.
9294
1c38ff73
JM
9295 * math/libm-test.inc (struct test_cc_c_data): New type.
9296 (RUN_TEST_LOOP_cc_c): New macro.
9297 (cpow_test_data): New variable.
9298 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9299
15c7c18d
JM
9300 * math/libm-test.inc (struct test_f_L_data): New type.
9301 (RUN_TEST_LOOP_f_L): New macro.
9302 (llrint_test_data): New variable.
9303 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9304 (llrint_tonearest_test_data): New variable.
9305 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9306 (llrint_towardzero_test_data): New variable.
9307 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9308 (llrint_downward_test_data): New variable.
9309 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9310 (llrint_upward_test_data): New variable.
9311 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9312 (llround_test_data): New variable.
9313 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9314
f137ff13
PC
93152013-05-13 Peter Collingbourne <pcc@google.com>
9316
9317 * math/atest-exp2.c (get_log2): Remove const attribute.
9318
3608cb24
JM
93192013-05-15 Joseph Myers <joseph@codesourcery.com>
9320
9321 * math/libm-test.inc (struct test_f_l_data): New type.
9322 (RUN_TEST_LOOP_f_l): New macro.
9323 (lrint_test_data): New variable.
9324 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9325 (lrint_tonearest_test_data): New variable.
9326 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9327 (lrint_towardzero_test_data): New variable.
9328 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9329 (lrint_downward_test_data): New variable.
9330 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9331 (lrint_upward_test_data): New variable.
9332 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9333 (lround_test_data): New variable.
9334 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9335
39b1f617
PC
93362013-05-15 Peter Collingbourne <pcc@google.com>
9337
1deff3dc
PC
9338 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9339 (EXTRACT_WORDS64) Use where appropriate.
9340 (INSERT_WORDS64) Likewise.
9341
791f3ba0
PC
9342 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9343 constraints with x constraints.
9344 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9345
39b1f617
PC
9346 * malloc/obstack.c (_obstack_compat): Add initializer.
9347
12fba011
EM
93482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9349
9350 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9351 si_trapno and add si_addr_lsb to _sifields.sigfault.
9352 (si_trapno): Remove macro.
9353 (si_addr_lsb): Define new macro.
9354 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9355
d369f531
JM
93562013-05-15 Joseph Myers <joseph@codesourcery.com>
9357
b861c6c4
JM
9358 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9359 instead of TEST_f_l.
9360 (llrint_test_tonearest): Likewise.
9361 (llrint_test_towardzero): Likewise.
9362 (llrint_test_downward): Likewise.
9363 (llrint_test_upward): Likewise.
9364 (llround_test): Likewise.
9365
7abeee12
JM
9366 * math/libm-test.inc (struct test_f_i_data): Add comment.
9367 (RUN_TEST_LOOP_f_b): New macro.
9368 (RUN_TEST_LOOP_f_b_tg): Likewise.
9369 (finite_test_data): New variable.
9370 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9371 (isfinite_test_data): New variable.
9372 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9373 (isinf_test_data): New variable.
9374 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9375 (isnan_test_data): New variable.
9376 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9377 (isnormal_test_data): New variable.
9378 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9379 (issignaling_test_data): New variable.
9380 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9381 (signbit_test_data): New variable.
9382 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9383
cbe8c4d3
JM
9384 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9385 with INVALID_EXCEPTION.
9386 (acosh_test_data): Likewise.
9387 (asin_test_data): Likewise.
9388 (atanh_test_data): Likewise.
9389 (fmod_test_data): Likewise.
9390 (log_test_data): Likewise.
9391 (log10_test_data): Likewise.
9392 (log2_test_data): Likewise.
9393 (pow_test_data): Likewise.
9394 (sqrt_test_data): Likewise.
9395 (y0_test_data): Likewise.
9396 (y1_test_data): Likewise.
9397 (yn_test_data): Likewise.
9398
5575c0e5
JM
9399 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9400 function contents.
9401
d369f531
JM
9402 * math/libm-test.inc (struct test_ff_i_data): New type.
9403 (RUN_TEST_LOOP_ff_i_tg): New macro.
9404 (isgreater_test_data): New variable.
9405 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9406 (isgreaterequal_test_data): New variable.
9407 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9408 (isless_test_data): New variable.
9409 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9410 (islessequal_test_data): New variable.
9411 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9412 (islessgreater_test_data): New variable.
9413 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9414 (isunordered_test_data): New variable.
9415 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9416
781fd748
DM
94172013-05-14 David S. Miller <davem@davemloft.net>
9418
9419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9420
87aa21df
JM
94212013-05-14 Joseph Myers <joseph@codesourcery.com>
9422
5e908270
JM
9423 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9424
f71172e5
JM
9425 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9426 extra_test to int.
9427 (struct test_f_i_data): Change type of max_ulp to int.
9428
8cfa635a
JM
9429 * math/libm-test.inc (test_ffI_f1_data): New type.
9430 (RUN_TEST_LOOP_ffI_f1): New macro.
9431 (remquo_test_data): New variable.
9432 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9433
2bcb36b2
JM
9434 * setjmp/tst-setjmp-fp.c: New file.
9435 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9436 (link-libm): New variable.
9437 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9438
acbd839a
JM
9439 * math/libm-test.inc (struct test_f_i_data): New type.
9440 (RUN_TEST_LOOP_f_i): New macro.
9441 (RUN_TEST_LOOP_f_i_tg): Likewise.
9442 (fpclassify_test_data): New variable.
9443 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9444 (ilogb_test_data): New variable.
9445 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9446
e414d745
JM
9447 * math/libm-test.inc (scalbln_test): Correct function name in END
9448 call.
9449
d9c2a0fd
JM
9450 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9451 (RUN_TEST_LOOP_fI_f1): New macro.
9452 (frexp_test_data): New variable.
9453 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9454
9dc9095d
JM
9455 * math/libm-test.inc (struct test_fF_f1_data): New type.
9456 (RUN_TEST_LOOP_fF_f1): New macro.
9457 (modf_test_data): New variable.
9458 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9459
87aa21df
JM
9460 * math/libm-test.inc (struct test_f_f1_data): New type.
9461 (RUN_TEST_LOOP_f_f1): New macro.
9462 (gamma_test_data): New variable.
9463 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9464 (lgamma_test_data): New variable.
9465 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9466
141af660
CD
94672013-05-13 Carlos O'Donell <carlos@redhat.com>
9468
9469 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9470 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9471 (main): Comment "tls" pseudo-hwcap.
9472
6d33265c
JM
94732013-05-13 Joseph Myers <joseph@codesourcery.com>
9474
68fc074c
JM
9475 * math/libm-test.inc (struct test_fl_f_data): New type.
9476 (RUN_TEST_LOOP_fl_f): New variable.
9477 (scalbln_test_data): New variable.
9478 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9479
243216e1
JM
9480 * math/libm-test.inc (struct test_fi_f_data): New type.
9481 (RUN_TEST_LOOP_fi_f): New macro.
9482 (ldexp_test_data): New variable.
9483 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9484 (scalbn_test_data): New variable.
9485 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9486
6a1992e2
JM
9487 * math/libm-test.inc (struct test_c_f_data): New type.
9488 (RUN_TEST_LOOP_c_f): New macro.
9489 (cabs_test_data): New variable.
9490 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9491 (carg_test_data): New variable.
9492 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9493 (cimag_test_data): New variable.
9494 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9495 (creal_test_data): New variable.
9496 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9497
0e400df5
JM
9498 * math/libm-test.inc (struct test_if_f_data): New type.
9499 (RUN_TEST_LOOP_if_f): New macro.
9500 (jn_test_data): New variable.
9501 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9502 (yn_test_data): New variable.
9503 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9504
6d33265c
JM
9505 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9506
f98ece5f
AZ
95072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9508
9509 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9510 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9511
0f7d347b
SP
95122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9513
43fe811b
SP
9514 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9515 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9516 (bench-deps): Add bench-timing.h.
9517 * benchtests-bench-skeleton.c: Include bench-timing.h.
9518 (main): Use TIMING_* macros instead of clock_gettime.
9519 * benchtests/bench-timing.h: New file.
9520
0f7d347b
SP
9521 [BZ #14582]
9522 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9523 Renamed from _LIB_VERSION.
9524 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9525
601a3a5f
JM
95262013-05-12 Joseph Myers <joseph@codesourcery.com>
9527
4f184d30
JM
9528 * math/libm-test.inc (struct test_fff_f_data): New type.
9529 (RUN_TEST_LOOP_fff_f): New macro.
9530 (fma_test_data): New variable.
9531 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9532 (fma_towardzero_test_data): New variable.
9533 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9534 (fma_downward_test_data): New variable.
9535 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9536 (fma_upward_test_data): New variable.
9537 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9538
08198877
JM
9539 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9540 (struct test_c_c_data): New type.
9541 (RUN_TEST_LOOP_c_c): New macro.
9542 (cacos_test_data): New variable.
9543 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9544 (cacosh_test_data): New variable.
9545 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9546 (casin_test_data): New variable.
9547 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9548 (casinh_test_data): New variable.
9549 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9550 (catan_test_data): New variable.
9551 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9552 (catanh_test_data): New variable.
9553 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9554 (ccos_test_data): New variable.
9555 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9556 (ccosh_test_data): New variable.
9557 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9558 (cexp_test_data): New variable.
9559 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9560 (clog_test_data): New variable.
9561 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9562 (clog10_test_data): New variable.
9563 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9564 (conj_test_data): New variable.
9565 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9566 (cproj_test_data): New variable.
9567 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9568 (csin_test_data): New variable.
9569 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9570 (csinh_test_data): New variable.
9571 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9572 (csqrt_test_data): New variable.
9573 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9574 (ctan_test_data): New variable.
9575 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9576 (ctan_tonearest_test_data): New variable.
9577 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9578 (ctan_towardzero_test_data): New variable.
9579 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9580 (ctan_downward_test_data): New variable.
9581 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9582 (ctan_upward_test_data): New variable.
9583 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9584 (ctanh_test_data): New variable.
9585 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9586 (ctanh_tonearest_test_data): New variable.
9587 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9588 (ctanh_towardzero_test_data): New variable.
9589 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9590 (ctanh_downward_test_data): New variable.
9591 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9592 (ctanh_upward_test_data): New variable.
9593 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9594 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9595 of BUILD_COMPLEX.
9596
601a3a5f
JM
9597 * math/libm-test.inc (struct test_ff_f_data): New type.
9598 (struct test_ff_f_data_nexttoward): Likewise.
9599 (RUN_TEST_LOOP_2_f): New macro.
9600 (RUN_TEST_LOOP_ff_f): Likewise.
9601 (atan2_test_data): New variable.
9602 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9603 (copysign_test_data): New variable.
9604 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9605 (fdim_test_data): New variable.
9606 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9607 (fmax_test_data): New variable.
9608 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9609 (fmin_test_data): New variable.
9610 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9611 (fmod_test_data): New variable.
9612 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9613 (hypot_test_data): New variable.
9614 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9615 (nextafter_test_data): New variable.
9616 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9617 (nexttoward_test_data): New variable.
9618 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9619 (pow_test_data): New variable.
9620 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9621 (pow_tonearest_test_data): New variable.
9622 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9623 (pow_towardzero_test_data): New variable.
9624 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9625 (pow_downward_test_data): New variable.
9626 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9627 (pow_upward_test_data): New variable.
9628 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9629 (remainder_test_data): New variable.
9630 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9631 (scalb_test_data): New variable.
9632 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9633 * sysdeps/i386/fpu/libm-test-ulps: Update.
9634
74c57478
JM
96352013-05-11 Joseph Myers <joseph@codesourcery.com>
9636
8329e4da
JM
9637 * math/libm-test.inc (fma_test): Use max_value instead of local
9638 variable fltmax.
9639 (nextafter_test): Likewise.
9640
74c57478
JM
9641 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9642 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9643 (acos_downward_test_data): New variable.
9644 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9645 (acos_upward_test_data): New variable.
9646 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9647 (acosh_test_data): New variable.
9648 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9649 (asin_test_data): New variable.
9650 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9651 (asin_tonearest_test_data): New variable.
9652 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9653 (asin_towardzero_test_data): New variable.
9654 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9655 (asin_downward_test_data): New variable.
9656 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9657 (asin_upward_test_data): New variable.
9658 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9659 (asinh_test_data): New variable.
9660 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9661 (atan_test_data): New variable.
9662 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9663 (atanh_test_data): New variable.
9664 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9665 (cbrt_test_data): New variable.
9666 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9667 (ceil_test_data): New variable.
9668 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9669 (cos_test_data): New variable.
9670 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9671 (cos_tonearest_test_data): New variable.
9672 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9673 (cos_towardzero_test_data): New variable.
9674 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9675 (cos_downward_test_data): New variable.
9676 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9677 (cos_upward_test_data): New variable.
9678 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9679 (cosh_test_data): New variable.
9680 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9681 (cosh_tonearest_test_data): New variable.
9682 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9683 (cosh_towardzero_test_data): New variable.
9684 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9685 (cosh_downward_test_data): New variable.
9686 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9687 (cosh_upward_test_data): New variable.
9688 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9689 (erf_test_data): New variable.
9690 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9691 (erfc_test_data): New variable.
9692 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9693 (exp_test_data): New variable.
9694 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9695 (exp_tonearest_test_data): New variable.
9696 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9697 (exp_towardzero_test_data): New variable.
9698 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9699 (exp_downward_test_data): New variable.
9700 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9701 (exp_upward_test_data): New variable.
9702 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9703 (exp10_test_data): New variable.
9704 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9705 (exp2_test_data): New variable.
9706 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9707 (expm1_test_data): New variable.
9708 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9709 (fabs_test_data): New variable.
9710 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9711 (floor_test_data): New variable.
9712 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9713 (j0_test_data): New variable.
9714 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9715 (j1_test_data): New variable.
9716 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9717 (log_test_data): New variable.
9718 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9719 (log10_test_data): New variable.
9720 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9721 (log1p_test_data): New variable.
9722 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9723 (log2_test_data): New variable.
9724 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9725 (logb_test_data): New variable.
9726 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9727 (logb_downward_test_data): New variable.
9728 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9729 (nearbyint_test_data): New variable.
9730 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9731 (rint_test_data): New variable.
9732 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9733 (rint_tonearest_test_data): New variable.
9734 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9735 (rint_towardzero_test_data): New variable.
9736 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9737 (rint_downward_test_data): New variable.
9738 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9739 (rint_upward_test_data): New variable.
9740 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9741 (round_test_data): New variable.
9742 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9743 (sin_test_data): New variable.
9744 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9745 (sin_tonearest_test_data): New variable.
9746 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9747 (sin_towardzero_test_data): New variable.
9748 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9749 (sin_downward_test_data): New variable.
9750 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9751 (sin_upward_test_data): New variable.
9752 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9753 (sinh_test_data): New variable.
9754 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9755 (sinh_tonearest_test_data): New variable.
9756 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9757 (sinh_towardzero_test_data): New variable.
9758 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9759 (sinh_downward_test_data): New variable.
9760 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9761 (sinh_upward_test_data): New variable.
9762 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9763 (sqrt_test_data): New variable.
9764 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9765 (tan_test_data): New variable.
9766 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9767 (tan_tonearest_test_data): New variable.
9768 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9769 (tan_towardzero_test_data): New variable.
9770 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9771 (tan_downward_test_data): New variable.
9772 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9773 (tan_upward_test_data): New variable.
9774 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9775 (tanh_test_data): New variable.
9776 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9777 (tgamma_test_data): New variable.
9778 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9779 (trunc_test_data): New variable.
9780 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9781 (y0_test_data): New variable.
9782 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9783 (y1_test_data): New variable.
9784 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9785 (significand_test_data): New variable.
9786 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9787
7187d844
CG
97882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9789
9790 [BZ #12387]
9791 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9792
f63fae73
PT
97932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9794
9795 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9796
8a67a4b3
AJ
97972013-05-10 Andreas Jaeger <aj@suse.de>
9798
9799 [BZ #15448]
9800 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9801 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9802
51df539d
JM
98032013-05-10 Joseph Myers <joseph@codesourcery.com>
9804
9805 * math/gen-libm-test.pl (adjust_arg): New function.
9806 (special_functions): Handle generating output in both functions
9807 and arrays.
9808 (parse_args): Likewise.
9809 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9810 $in_func argument to parse_args.
9811 * math/libm-test.inc (struct test_f_f_data): New type.
9812 (IF_ROUND_INIT_): New macro.
9813 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9814 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9815 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9816 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9817 (ROUND_RESTORE_): Likewise.
9818 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9819 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9820 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9821 (ROUND_RESTORE_FE_UPWARD): Likewise.
9822 (RUN_TEST_LOOP_f_f): New macro.
9823 (acos_test_data): New variable.
9824 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9825 (acos_tonearest_test_data): New variable.
9826 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9827
5c637fe5
SP
98282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9829
9830 * benchtests/bench-skeleton.c (startup): Fix coding style.
9831
ab2b9461
JM
98322013-05-10 Joseph Myers <joseph@codesourcery.com>
9833
9834 [BZ #6809]
9835 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9836 negative infinity argument.
9837 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9838 negative infinity argument.
9839 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9840 negative infinity argument.
9841 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9842 domain errors.
9843
4c0fe6fe
FW
98442013-05-10 Florian Weimer <fweimer@redhat.com>
9845
9846 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9847 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9848 * iconv/iconv_prog.c (main): Likewise.
9849 * locale/programs/charmap-dir.c (charmap_readdir)
9850 (fopen_uncompressed): Likewise.
9851 * locale/programs/locfile.c (siblings_uncached)
9852 (write_locale_data): Use lstat64 instead of lstat.
9853 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9854 stat.
9855
a3375d29
AJ
98562013-05-10 Andreas Jaeger <aj@suse.de>
9857
9858 [BZ #15395]
9859 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9860 localization.
9861 Include <locale.h>.
9862
36129722
CD
98632013-05-09 Carlos O'Donell <carlos@redhat.com>
9864
9865 * elf/dl-close.c (_dl_close_worker): Add comments.
9866
faa7f811
JM
98672013-05-09 Joseph Myers <joseph@codesourcery.com>
9868
ed41ffef
JM
9869 [BZ #15359]
9870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9871 high part of pi/2.
9872 (__ieee754_rem_pio2l): Update comments.
9873
d0213cd0
JM
9874 [BZ #15429]
9875 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9876 high part of pi/2.
9877 (__ieee754_rem_pio2l): Update comments.
9878
0d3e777a
JM
9879 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9880 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9881
24f56066
JM
9882 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9883 M_PI_4l.
9884
faa7f811
JM
9885 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9886 (M_PI_34_LOG10El): Likewise.
9887 (M_PI2_LOG10El): Likewise.
9888 (M_PI4_LOG10El): Likewise.
9889 (M_PI_LOG10El): Likewise.
9890
e9a5e0fd
AZ
98912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9892
9893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9894
d8cd06db
JM
98952013-05-08 Joseph Myers <joseph@codesourcery.com>
9896
a0d9f9d7
JM
9897 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9898 (MINUS_ZERO_INIT): Likewise.
9899 (PLUS_INFTY_INIT): Likewise.
9900 (MINUS_INFTY_INIT): Likewise.
9901 (QNAN_VALUE_INIT): Likewise.
9902 (MAX_VALUE_INIT): Likewise.
9903 (MIN_VALUE_INIT): Likewise.
9904 (MIN_SUBNORM_VALUE_INIT): Likewise.
9905 (plus_zero): Initialize with PLUS_ZERO_INIT.
9906 (minus_zero): Initialize with MINUS_ZERO_INIT.
9907 (plus_infty): Initialize with PLUS_INFTY_INIT.
9908 (minus_infty): Initialize with MINUS_INFTY_INIT.
9909 (qnan_value): Initialize with QNAN_VALUE_INIT.
9910 (max_value): Initialize with MAX_VALUE_INIT.
9911 (min_value): Initialize with MIN_VALUE_INIT.
9912 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9913
ae08db3b
JM
9914 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9915 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9916 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9917 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9918
f44bf14a
JM
9919 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9920 (RUN_TEST_2_f): Likewise.
9921 (RUN_TEST_ff_f): Likewise.
9922 (RUN_TEST_fi_f): Likewise.
9923 (RUN_TEST_fl_f): Likewise.
9924 (RUN_TEST_fff_f): Likewise.
9925 (RUN_TEST_c_f): Likewise.
9926 (RUN_TEST_f_f1): Likewise.
9927 (RUN_TEST_fF_f1): Likewise.
9928 (RUN_TEST_fI_f1): Likewise.
9929 (RUN_TEST_ffI_f1): Likewise.
9930 (RUN_TEST_c_c): Likewise.
9931 (RUN_TEST_cc_c): Likewise.
9932 (RUN_TEST_f_i): Likewise.
9933 (RUN_TEST_f_i_tg): Likewise.
9934 (RUN_TEST_ff_i_tg): Likewise.
9935 (RUN_TEST_f_b): Likewise.
9936 (RUN_TEST_f_b_tg): Likewise.
9937 (RUN_TEST_f_l): Likewise.
9938 (RUN_TEST_f_L): Likewise.
9939 (RUN_TEST_sincos): Likewise.
9940 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9941 whether to show exceptions. Do not include ");\n" in return
9942 value.
9943 (special_functions): Output call to RUN_TEST_sincos instead of
9944 check_float calls. Update calls to new_test.
9945 (parse_args): Output call to single RUN_TEST_* macro instead of
9946 check_* calls and other assignments. Update calls to new_test.
9947
d8cd06db
JM
9948 [BZ #2546]
9949 [BZ #2560]
9950 [BZ #5159]
9951 [BZ #15426]
9952 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9953 input to result for tgamma overflow.
9954 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9955 (gamma_coeff): New variable.
9956 (NCOEFF): New macro.
9957 (gamma_positive): New function.
9958 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9959 underflow here. Use gamma_positive instead of exp (lgamma) for
9960 other arguments.
9961 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9962 (gamma_coeff): New variable.
9963 (NCOEFF): New macro.
9964 (gammaf_positive): New function.
9965 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9966 underflow here. Use gamma_positive instead of exp (lgamma) for
9967 other arguments.
9968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9969 (gamma_coeff): New variable.
9970 (NCOEFF): New macro.
9971 (gammal_positive): New function.
9972 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9973 underflow here. Use gamma_positive instead of exp (lgamma) for
9974 other arguments.
9975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9976 (gamma_coeff): New variable.
9977 (NCOEFF): New macro.
9978 (gammal_positive): New function.
9979 (__ieee754_gammal_r): Handle positive infinity, overflow and
9980 underflow here. Handle NaN the same as positive infinity. Remove
9981 check x < 0xffffffff for negative integers. Use gamma_positive
9982 instead of exp (lgamma) for other arguments.
9983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9984 (gamma_coeff): New variable.
9985 (NCOEFF): New macro.
9986 (gammal_positive): New function.
9987 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9988 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9989 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9992 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9993 * sysdeps/generic/math_private.h (__gamma_productf): New
9994 prototype.
9995 (__gamma_product): Likewise.
9996 (__gamma_productl): Likewise.
9997 * math/Makefile (libm-calls): Add gamma_product.
9998 * math/libm-test.inc (tgamma_test): Add more tests.
9999 * sysdeps/i386/fpu/libm-test-ulps: Update.
10000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10001
bb7cf681
OB
100022013-05-08 Ondřej Bílka <neleai@seznam.cz>
10003
10004 * benchtests/bench-skeleton.c (main): Preheat CPU.
10005
ba853947
AJ
100062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10007
10008 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10009
8347c74c
RM
100102013-05-07 Roland McGrath <roland@hack.frob.com>
10011
10012 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10013 and _dl_skip_args_internal.
10014
e8dd4791
CD
100152013-05-07 Carlos O'Donell <carlos@redhat.com>
10016
10017 * manual/message.texi (Message Translation): Talk about users.
10018 Message to key mapping impacts design.
10019
c7405830
RM
100202013-05-06 Roland McGrath <roland@hack.frob.com>
10021
a9173057
RM
10022 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10023
976e2f03
RM
10024 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10025
9723ffc5
RM
10026 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10027 * sysdeps/wordsize-64/glob64.c: ... here.
10028
962e6658
RM
10029 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10030 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10031 New macros.
10032
ee586a6d
RM
10033 * debug/getlogin_r_chk.c: Moved to ...
10034 * login/getlogin_r_chk.c: ... here.
10035 * debug/Makefile (routines): Move getlogin_r_chk to ...
10036 * login/Makefile (routines): ... here.
10037 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10038 * login/Versions (libc: GLIBC_2.4): ... here.
10039
355f9165
RM
10040 * io/poll.c (__poll): Renamed from poll.
10041 Add libc_hidden_def.
10042 (poll): Define as weak alias.
10043
bd9ffde6
RM
10044 * debug/ptsname_r_chk.c: Moved to ...
10045 * login/ptsname_r_chk.c: ... here.
10046 * debug/Makefile (routines): Move ptsname_r_chk to ...
10047 * login/Makefile (routines): ... here.
10048 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10049 * login/Versions (libc: GLIBC_2.4): ... here.
10050
8fb16a04
RM
10051 * posix/getlogin.c: Moved to ...
10052 * login/getlogin.c: ... here.
10053 * posix/getlogin_r.c: Moved to ...
10054 * login/getlogin_r.c: ... here.
10055 * posix/getlogin_r.c: Moved to ...
10056 * login/getlogin_r.c: ... here.
10057 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10058 * login/Makefile (routines): ... here.
10059 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10060 * login/Versions (libc: GLIBC_2.0): ... here.
10061
b99b892f
RM
10062 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10063 (setrlimit): Define as weak alias.
10064
c7405830
RM
10065 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10066 Call __ names for open, ftruncate, and close.
10067 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10068 (truncate): Define as weak alias.
10069
5bf96de5
JM
100702013-05-06 Joseph Myers <joseph@codesourcery.com>
10071
9ea3513c
JM
10072 * math/gen-libm-test.pl (parse_args): Initialize x before each
10073 test of frexp, modf and remquo.
10074
5bf96de5
JM
10075 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10076 test signgam value.
10077
16e616a7
AZ
100782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10079
10080 [BZ #15418]
10081 [BZ #15419]
10082 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10083 internal tests.
10084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10085
d5e82754
RM
100862013-05-06 Roland McGrath <roland@hack.frob.com>
10087
10088 * elf/dl-writev.h: New file.
10089 * elf/dl-misc.c: Include it.
10090 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10091 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10092
a7548d41
JM
100932013-05-04 Joseph Myers <joseph@codesourcery.com>
10094
b7dab1e4
JM
10095 * math/libm-test.inc (noXFails): Remove variable.
10096 (noXPasses): Likewise.
10097 (BUILD_COMPLEX_INT): Remove macro.
10098 (print_screen): Remove xfail argument.
10099 (print_screen_max_error): Likewise.
10100 (update_stats): Likewise.
10101 (print_max_error): Likewise. Update calls to other affected
10102 functions.
10103 (print_complex_max_error): Likewise.
10104 (test_single_exception): Update calls to print_screen.
10105 (test_single_errno): Likewise.
10106 (check_float_internal): Remove xfail argument. Update calls to
10107 other affected functions.
10108 (check_float): Likewise.
10109 (check_complex): Likewise.
10110 (check_int): Likewise.
10111 (check_long): Likewise.
10112 (check_bool): Likewise.
10113 (check_longlong): Likewise.
10114 (main): Don't print noXFails and noXPasses.
10115 * math/gen-libm-test.pl (top level): Don't mention expected
10116 failure handling in comment.
10117 (new_test): Don't handle expected failures.
10118 (parse_args): Don't mention expected failure handling in comment.
10119 (generate_testfile): Don't handle expected failures.
10120 (parse_ulps): Likewise.
10121 (print_ulps_file): Likewise.
10122 (get_failure): Remove function.
10123 (output_test): Don't handle expected failures.
10124 * make/README.libm-test: Don't mention expected failure handling.
10125
a7548d41
JM
10126 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10127 (minus_zero): Likewise.
10128 (plus_infty): Likewise.
10129 (minus_infty): Likewise.
10130 (qnan_value): Likewise.
10131 (max_value): Likewise.
10132 (min_value): Likewise.
10133 (min_subnorm_value): Likewise.
10134 (initialize): Do not initialize those variables dynamically.
10135
60bfd54c
RM
101362013-05-03 Roland McGrath <roland@hack.frob.com>
10137
cc0e6ed8
RM
10138 * io/open.c (__open_2): Moved to ...
10139 * io/open_2.c: ... this new file.
10140 * io/open64.c (__open64_2): Moved to ...
10141 * io/open64_2.c: ... this new file.
10142 * io/openat.c (__openat_2): Moved to ...
10143 * io/openat_2.c: ... this new file.
10144 * io/openat64.c (__openat64_2): Moved to ...
10145 * io/openat64_2.c: ... this new file.
10146 * io/Makefile (routines): Add them.
10147 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10148 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10149 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10150 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10151 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10152 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10153 (__openat64): Add hidden_ver.
10154 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10155 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10156
60bfd54c
RM
10157 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10158 Separately conditionalize setting of GLRO(dl_sysinfo) so
10159 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10160 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10161
83e7640f
AZ
101622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10163
10164 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10166 definition.
10167 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10168 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10169 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10170 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10171 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10172
d5dc2af3
JM
101732013-05-03 Joseph Myers <joseph@codesourcery.com>
10174
c31a5b1e
JM
10175 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10176 test signgam value.
10177
d5dc2af3
JM
10178 * math/libm-test.inc (hypot_test): Do not use
10179 IGNORE_ZERO_INF_SIGN.
10180
164fd39d
AJ
101812013-05-03 Andreas Jaeger <aj@suse.de>
10182
10183 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10184 Linux 3.9.
10185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10186 (PF_MAX): Adjust for VSOCK change.
10187
8237f48c
AZ
101882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10189
10190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10191
9df02941
CD
101922013-05-02 Carlos O'Donell <carlos@redhat.com>
10193
10194 [BZ #15264]
10195 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10196 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10197 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10198
d422395e
DM
101992013-05-02 David S. Miller <davem@davemloft.net>
10200
10201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10202
a07c5731
OB
102032013-05-01 Ondřej Bílka <neleai@seznam.cz>
10204
10205 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10206
1324e37f
RM
102072013-05-01 Roland McGrath <roland@hack.frob.com>
10208
10209 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10210
0695940b
RS
102112013-05-01 Richard Smith <richard@metafoo.co.uk>
10212
bb5f27ad 10213 [BZ #14952]
0695940b
RS
10214 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10215 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10216 Use __attribute__ ((__gnu_inline__)).
10217 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10218 Don't use __attribute__ ((__gnu_inline__)).
10219
10de07f5
JM
102202013-05-01 Joseph Myers <joseph@codesourcery.com>
10221
10222 [BZ #15423]
10223 * math/s_catan.c (__catan): Handle small real or imaginary part of
10224 input specially to avoid spurious underflow.
10225 * math/s_catanf.c (__catanf): Likewise.
10226 * math/s_catanh.c (__catanh): Likewise.
10227 * math/s_catanhf.c (__catanhf): Likewise.
10228 * math/s_catanhl.c (__catanhl): Likewise.
10229 * math/s_catanl.c (__catanl): Likewise.
10230 * math/libm-test.inc (catan_test): Add more tests.
10231 (catanh_test): Likewise.
10232 * sysdeps/i386/fpu/libm-test-ulps: Update.
10233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10234
cb4d5414
AZ
102352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10236
10237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10238
caf84319
JM
102392013-04-30 Joseph Myers <joseph@codesourcery.com>
10240
10241 [BZ #15416]
10242 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10243 accurately for denominator in atan2.
10244 * math/s_catanf.c (__catanf): Likewise.
10245 * math/s_catanh.c (__catanh): Likewise.
10246 * math/s_catanhf.c (__catanhf): Likewise.
10247 * math/s_catanhl.c (__catanhl): Likewise.
10248 * math/s_catanl.c (__catanl): Likewise.
10249 * math/libm-test.inc (catan_test): Add more tests.
10250 (catanh_test): Likewise.
10251 * sysdeps/i386/fpu/libm-test-ulps: Update.
10252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10253
d569c6ee
SP
102542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10255
6dbe713d
SP
10256 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10257
f0ee064b
SP
10258 * benchtests/Makefile (bench): Remove slow benchmarks.
10259 * benchtests/atan-inputs: Add slow benchmark inputs.
10260 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10261 (BENCH_FUNC): Accept variant offset.
10262 (VARIANT): Define.
10263 * benchtests/bench-skeleton.c (main): Run benchmark for each
10264 variant.
10265 * benchtests/cos-inputs: Add slow benchmark inputs.
10266 * benchtests/exp-inputs: Likewise.
10267 * benchtests/pow-inputs: Likewise.
10268 * benchtests/sin-inputs: Likewise.
10269 * benchtests/slowatan-inputs: Remove.
10270 * benchtests/slowatan.c: Remove.
10271 * benchtests/slowcos-inputs: Remove.
10272 * benchtests/slowcos.c: Remove.
10273 * benchtests/slowexp-inputs: Remove.
10274 * benchtests/slowexp.c: Remove.
10275 * benchtests/slowpow-inputs: Remove.
10276 * benchtests/slowpow.c: Remove.
10277 * benchtests/slowsin-inputs: Remove.
10278 * benchtests/slowsin.c: Remove.
10279 * benchtests/slowtan-inputs: Remove.
10280 * benchtests/slowtan.c: Remove.
10281 * benchtests/tan-inputs: Add slow benchmark inputs.
10282 * scripts/bench.pl: Parse comments and directives.
10283
d569c6ee
SP
10284 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10285 in CPPFLAGS.
10286 ($(objpfx)bench-%.c): Remove *-ITER.
10287 * benchtests/bench-modf.c: Remove definition of ITER.
10288 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10289 (main): Loop for DURATION seconds instead of fixed number of
10290 iterations.
10291 * scripts/bench.pl: Don't expect iterations in parameters.
10292
a6a242fe
RM
102932013-04-29 Roland McGrath <roland@hack.frob.com>
10294
10295 * io/fchdir.c (__fchdir): Renamed from fchdir.
10296 (fchdir): Define as weak alias.
10297
f2da7793
JM
102982013-04-29 Joseph Myers <joseph@codesourcery.com>
10299
10300 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10301 (ERRNO_EDOM): Likewise.
10302 (ERRNO_ERANGE): Likewise.
10303 (noErrnoTests): New variable.
10304 (init_max_error): Set errno to 0.
10305 (test_single_errno): New function.
10306 (test_errno): Likewise.
10307 (check_float_internal): Call test_errno. Set errno to 0.
10308 (check_complex): Refer to errno tests in comment.
10309 (check_int): Call test_errno. Set errno to 0.
10310 (check_long): Likewise.
10311 (check_bool): Likewise.
10312 (check_longlong): Likewise.
10313 (cos_test): Use ERRNO_* flags for errno tests instead of
10314 check_int.
10315 (expm1_test): Likewise.
10316 (fmod_test): Likewise.
10317 (ilogb_test): Likewise.
10318 (lgamma_test): Likewise.
10319 (pow_test): Likewise.
10320 (remainder_test): Likewise.
10321 (sin_test): Likewise.
10322 (tan_test): Likewise.
10323 (yn_test): Likewise.
10324 (initialize): Set errno to 0.
10325 (main): Print number of errno tests.
10326 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10327
b1a36ceb
AJ
103282013-04-29 Andreas Jaeger <aj@suse.de>
10329
c3ed8088
AJ
10330 [BZ #15084]
10331 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10332 and RES_USEVC.
10333
f1a24198
AJ
10334 [BZ #15085]
10335 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10336 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10337 unimplemented.
10338
9ce3b2cb
AJ
10339 [BZ #15380]
10340 * stdlib/random.c (__initstate): Return NULL if
10341 __initstate fails.
10342
f1a24198 10343 [BZ #15086]
b1a36ceb
AJ
10344 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10345 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10346 RES_SNGLKUPREOP.
10347
7e7b6f36
AZ
103482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10349
10350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10351
4d14f449
JM
103522013-04-29 Joseph Myers <joseph@codesourcery.com>
10353
10354 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10355 of individual tests.
10356 (casin_test): Likewise.
10357 (casinh_test): Likewise.
10358
5b4217d7
JM
103592013-04-27 Joseph Myers <joseph@codesourcery.com>
10360
10361 [BZ #15409]
10362 * math/s_catan.c (__catan): Handle arguments with large real or
10363 imaginary part separately without squaring.
10364 * math/s_catanf.c (__catanf): Likewise.
10365 * math/s_catanh.c (__catanh): Likewise.
10366 * math/s_catanhf.c (__catanhf): Likewise.
10367 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10368 and redefine.
10369 (__catanhl): Handle arguments with large real or imaginary part
10370 separately without squaring.
10371 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10372 and redefine.
10373 (__catanl): Handle arguments with large real or imaginary part
10374 separately without squaring.
10375 * math/libm-test.inc (catan_test): Add more tests.
10376 (catanh_test): Likewise.
10377 * sysdeps/i386/fpu/libm-test-ulps: Update.
10378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10379
4220c3ef
AJ
103802013-04-27 Andreas Jaeger <aj@suse.de>
10381
10382 [BZ #15007]
10383 * stdlib/stdlib.h: Update guards for qecvt.
10384 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10385 <stdlib.h>.
10386
4721b2d1
AM
103872013-04-27 Allan McRae <allan@archlinux.org>
10388
10389 * sysdeps/i386/fpu/libm-test-ulps: Update.
10390
f0302940
JM
103912013-04-26 Joseph Myers <joseph@codesourcery.com>
10392
9457fd95
JM
10393 [BZ #15406]
10394 * math/s_catan.c: Include <float.h>.
10395 (__catan): Ensure underflow exception occurs for underflowed
10396 result.
10397 * math/s_catanf.c: Include <float.h>.
10398 (__catanf): Ensure underflow exception occurs for underflowed
10399 result.
10400 * math/s_catanh.c: Include <float.h>.
10401 (__catanh): Ensure underflow exception occurs for underflowed
10402 result.
10403 * math/s_catanhf.c: Include <float.h>.
10404 (__catanhf): Ensure underflow exception occurs for underflowed
10405 result.
10406 * math/s_catanhl.c: Include <float.h>.
10407 (__catanhl): Ensure underflow exception occurs for underflowed
10408 result.
10409 * math/s_catanl.c: Include <float.h>.
10410 (__catanl): Ensure underflow exception occurs for underflowed
10411 result.
10412 * math/libm-test.inc (catan_test): Add more tests.
10413 (catanh_test): Likewise.
10414
f0302940
JM
10415 [BZ #15405]
10416 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10417 underflowed result.
10418 * math/s_ccoshf.c (__ccoshf): Likewise.
10419 * math/s_ccoshl.c (__ccoshl): Likewise.
10420 * math/s_csin.c (__csin): Likewise.
10421 * math/s_csinf.c (__csinf): Likewise.
10422 * math/s_csinh.c (__csinh): Likewise.
10423 * math/s_csinhf.c (__csinhf): Likewise.
10424 * math/s_csinhl.c (__csinhl): Likewise.
10425 * math/s_csinl.c (__csinl): Likewise.
10426 * math/libm-test.inc (ccos_test): Add more tests.
10427 (ccosh_test): Likewise.
10428 (csin_test): Likewise.
10429 (csinh_test): Likewise.
10430
aa630f59
AZ
104312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10432
10433 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10434 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10435 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10436 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10437 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10438 powerpc/power5+/fpu folders.
10439 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10440
10441
1b835983
MT
104422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10443
10444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10445
73709b26
JM
104462013-04-25 Joseph Myers <joseph@codesourcery.com>
10447
10448 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10449 additions to variable.
10450 [$(config-machine) = x86_64] (modules-names): Likewise.
10451 ($(objpfx)tst-audit3): Remove dependency.
10452 ($(objpfx)tst-audit3.out): Likewise.
10453 ($(objpfx)tst-audit4): Likewise.
10454 ($(objpfx)tst-audit4.out): Likewise.
10455 ($(objpfx)tst-audit5): Likewise.
10456 ($(objpfx)tst-audit5.out): Likewise.
10457 ($(objpfx)tst-audit6): Likewise.
10458 ($(objpfx)tst-audit6.out): Likewise.
10459 ($(objpfx)tst-audit7): Likewise.
10460 ($(objpfx)tst-audit7.out): Likewise.
10461 (tst-audit3-ENV): Remove variable.
10462 (tst-audit4-ENV): Likewise.
10463 (tst-audit5-ENV): Likewise.
10464 (tst-audit6-ENV): Likewise.
10465 (tst-audit7-ENV): Likewise.
10466 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10467 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10468 addition to variable.
10469 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10470 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10471 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10472 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10473 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10474 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10475 tst-audit3, tst-audit4 and tst-audit5.
10476 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10477 tst-audit6 and tst-audit7.
10478 [$(subdir) = elf] (modules-names): Add audit modules for those
10479 tests.
10480 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10481 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10482 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10483 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10484 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10485 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10486 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10487 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10488 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10489 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10490 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10491 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10492 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10493 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10494 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10495 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10496 Likewise.
10497 [$(subdir) = elf && $(config-cflags-avx) = yes]
10498 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10499 [$(subdir) = elf && $(config-cflags-avx) = yes]
10500 (CFLAGS-tst-auditmod4a.c): Likewise.
10501 [$(subdir) = elf && $(config-cflags-avx) = yes]
10502 (CFLAGS-tst-auditmod4b.c): Likewise.
10503 [$(subdir) = elf && $(config-cflags-avx) = yes]
10504 (CFLAGS-tst-auditmod6b.c): Likewise.
10505 [$(subdir) = elf && $(config-cflags-avx) = yes]
10506 (CFLAGS-tst-auditmod6c.c): Likewise.
10507 [$(subdir) = elf && $(config-cflags-avx) = yes]
10508 (CFLAGS-tst-auditmod7b.c): Likewise.
10509 * elf/tst-audit3.c: Move to ...
10510 * sysdeps/x86_64/tst-audit3.c: ... here.
10511 * elf/tst-audit4.c: Move to ...
10512 * sysdeps/x86_64/tst-audit4.c: ... here.
10513 * elf/tst-audit5.c: Move to ...
10514 * sysdeps/x86_64/tst-audit5.c: ... here.
10515 * elf/tst-audit6.c: Move to ...
10516 * sysdeps/x86_64/tst-audit6.c: ... here.
10517 * elf/tst-audit7.c: Move to ...
10518 * sysdeps/x86_64/tst-audit7.c: ... here.
10519 * elf/tst-auditmod3a.c: Move to ...
10520 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10521 * elf/tst-auditmod3b.c: Move to ...
10522 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10523 * elf/tst-auditmod4a.c: Move to ...
10524 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10525 * elf/tst-auditmod4b.c: Move to ...
10526 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10527 * elf/tst-auditmod5a.c: Move to ...
10528 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10529 * elf/tst-auditmod5b.c: Move to ...
10530 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10531 * elf/tst-auditmod6a.c: Move to ...
10532 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10533 * elf/tst-auditmod6b.c: Move to ...
10534 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10535 * elf/tst-auditmod6c.c: Move to ...
10536 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10537 * elf/tst-auditmod7a.c: Move to ...
10538 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10539 * elf/tst-auditmod7b.c: Move to ...
10540 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10541
1ef74943
PP
105422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10543
10544 [BZ #15366]
10545 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10546 define unconditionally.
10547 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10548 define unconditionally.
10549 (INT8_C, INT16_C, etc.): Likewise.
10550
93fd48c5
MR
105512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10552
ae9552cf
MR
10553 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10554 __ehdr_start with hidden visibility.
10555
93fd48c5
MR
10556 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10557
418601aa
CD
105582013-04-24 Carlos O'Donell <carlos@redhat.com>
10559
10560 * math/libm-test.inc (cos_test): Use accurate hex constants.
10561 (sincost_test): Likewise.
10562
2f38fbfe
JM
105632013-04-24 Joseph Myers <joseph@codesourcery.com>
10564
5e221800
JM
10565 * math/libm-test.inc (catan_test): Add more tests.
10566 (catanh_test): Likewise.
10567
77f143fd
JM
10568 * math/s_catanf.c (__catanf): Use suffixed floating-point
10569 constants.
10570 * math/s_catanhf.c (__catanhf): Likewise.
10571 * math/s_catanhl.c (__catanhl): Likewise.
10572 * math/s_catanl.c (__catanl): Likewise.
10573
2f38fbfe
JM
10574 [BZ #15394]
10575 * math/s_catan.c (__catan): Calculate imaginary part of result
10576 with log1p not log unless computing log of number close to 0.
10577 * math/s_catanf.c (__catanf): Likewise.
10578 * math/s_catanl.c (__catanl): Likewise.
10579 * math/s_catanh.c (__catanh): Calculate real part of result with
10580 log1p not log unless computing log of number close to 0.
10581 * math/s_catanhf.c (__catanhf): Likewise.
10582 * math/s_catanhl.c (__catanhl): Likewise.
10583 * math/libm-test.inc (catan_test): Add more tests.
10584 (catanh_test): Likewise.
10585 * sysdeps/i386/fpu/libm-test-ulps: Update.
10586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10587
45d69176
SP
105882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10589
10590 * benchtests/Makefile: Mention files in which fast and slow
10591 paths of math functions are implemented.
10592
87f51853
RM
105932013-04-23 Roland McGrath <roland@hack.frob.com>
10594
10595 * sysdeps/posix/timespec_get.c: New file.
10596
3c026539
AZ
105972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10598
10599 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10600 POWER.
10601 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10602 for POWER.
10603 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10604 powerpc/power5/fpu folders.
10605 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10606 * benchtests/Makefile: Add modf testcase.
10607 * benchtests/bench-modf.c: New file: Benchmark test for mo
10608
ff491d14
SP
106092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10610
10611 [BZ #14888]
10612 * time/Makefile (tests): Add tst-strptime-whitespace.
10613 * time/strptime_l.c (get_number): Use ISSPACE.
10614 (__strptime_internal): Likewise.
10615 * time/tst-strptime-whitespace.c: New test case.
10616
7ed3f4e8
AS
106172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10618
10619 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10620 member.
10621 (_nss_files_init): Set it here.
10622
5c95f7b6
HC
106232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10624
10625 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10626 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10627 unsigned.
10628
d34c9158
JBG
106292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10630
10631 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10632
2169712d
SP
106332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10634
10635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10636 size just once.
10637
29c5de99
DM
106382013-04-21 David S. Miller <davem@davemloft.net>
10639
10640 * po/ru.po: Update Russion translation from translation project.
10641
ccdad15d
AC
106422013-04-17 Adam Conrad <adconrad@0c3.net>
10643
10644 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10645 and setfsgid.
10646
0f122b8d
CD
106472013-04-17 Carlos O'Donell <carlos@redhat.com>
10648
5c5b07da 10649 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10650 * configure: Regenerate.
5c5b07da 10651 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10652 Add example to error message.
10653 * sysdeps/i386/configure: Regenerate.
10654
037714dd
SP
106552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10656
10657 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10658 slowtan.
10659 * benchtests/cos-inputs: New file.
10660 * benchtests/slowcos-inputs: New file.
10661 * benchtests/slowcos.c: New file.
10662 * benchtests/slowtan-inputs: New file.
10663 * benchtests/slowtan.c: New file.
10664 * benchtests/tan-inputs: New file.
10665
e913141d
RM
106662013-04-16 Roland McGrath <roland@hack.frob.com>
10667
10668 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10669 considered kosher.
10670
a2964074
SP
106712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10672
4856bcd2
SP
10673 * benchtests/Makefile: Include cppflags-iterator.mk to add
10674 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10675
a2964074
SP
10676 * Makefile.in (bench-clean): New target.
10677 * benchtests/Makefile (bench-clean): Likewise.
10678
9fbf9aca
DH
106792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10680
10681 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10682
207d1e2a
TS
106832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10684
10685 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10686
306dfba9
AS
106872013-04-15 Andreas Schwab <schwab@suse.de>
10688
10689 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10691 * nscd/pwdcache.c (cache_addpw): Likewise.
10692 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10693 more than recsize.
10694
206a6699
SP
106952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10696
10697 * benchtests/Makefile (bench): Write all output to
10698 bench-out.tmp together.
10699
0582f6b3
AS
107002013-04-15 Andreas Schwab <schwab@suse.de>
10701
10702 * nscd/nscd.c (main): Don't fork again after closing files.
10703
acb4325f
SP
107042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10705
5cb26d0a
SP
10706 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10707
acb4325f
SP
10708 * benchtests/Rules (bench-deps): Collect dependencies into a
10709 single variable. Add Makefile to dependencies.
10710 ($(objpfx)bench-%.c): Depend on bench-deps.
10711
47792506
RM
107122013-04-12 Roland McGrath <roland@hack.frob.com>
10713 Xavier Roche <roche+kml2@exalead.com>
10714
10715 [BZ #15361]
10716 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10717 just that it's a file descriptor.
10718 * manual/llio.texi (Synchronizing AIO Operations): Update description
10719 for EBADF error from aio_fsync.
10720
8fc1bee5
SP
107212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10722
10723 * Rules (bench): Move target definition...
10724 * benchtests/Makefile: ... here.
10725
aba5e333
CD
107262013-04-11 Carlos O'Donell <carlos@redhat.com>
10727
10728 * math/libm-test.inc (cos_test): Fix PI/2 test.
10729 (sincos_test): Likewise.
10730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10731 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10732
273cdee8
AS
107332013-04-11 Andreas Schwab <schwab@suse.de>
10734
6ecec3b6
AS
10735 [BZ #13988]
10736 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10737 accept exponent character only when digits were seen.
10738 * stdio-common/Makefile (tests): Add bug26.
10739 * stdio-common/bug26.c: New file.
10740
273cdee8
AS
10741 [BZ #14293]
10742 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10743 non-freeable.
10744
8da491f5
SP
107452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10746
01dc6df9
SP
10747 * Makeconfig (rtld-prefix): Define built linker prefix.
10748 * Rules (run-bench): Use it.
10749 * math/Makefile (run-regen-ulps): Likewise.
10750
8da491f5
SP
10751 * Rules (bench): Remove eval.
10752
abe7f530
SP
107532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10754 Roland McGrath <roland@hack.frob.com>
10755 Ondrej Bilka <neleai@seznam.cz>
10756
10757 [BZ #15346]
10758 * time/getdate.c: Include ctype.h and alloca.h.
10759 (__getdate_r): Trim leading and trailing spaces of input.
10760 * time/tst-getdate.c (tests): Add tests with leading and
10761 trailing spaces.
10762
61c23e62
RM
107632013-04-08 Roland McGrath <roland@hack.frob.com>
10764
10765 [BZ #14280]
10766 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10767 when computing value.
10768
7208a313
CD
107692013-04-06 Carlos O'Donell <carlos@redhat.com>
10770
085b2d41
CD
10771 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10772 Use testrun.sh to run libm tests.
10773
7208a313
CD
10774 [BZ #15309]
10775 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10776
872c0acd
MM
107772013-04-06 Marko Myllynen <myllynen@redhat.com>
10778
10779 [BZ #15264]
10780 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10781
26510bdd
CD
107822013-04-06 Carlos O'Donell <carlos@redhat.com>
10783
10784 * Makefile.in (regen-ulps): New target.
10785 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10786 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10787 [ifneq (no,$(PERL)] (regen-ulps): New target.
10788 [ifeq (no,$(PERL)] (regen-ulps): New target.
10789 * math/libm-test.inc (ulps_file_name): Define.
10790 (output_dir): New variable.
10791 (options): Add "output-dir" option.
10792 (parse_opt): Handle 'o' case.
10793 (main): If output_dir is non-NULL use it as a prefix
10794 otherwise use "".
10795 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10796
a01f19c8
CD
107972013-04-06 Carlos O'Donell <carlos@redhat.com>
10798
10799 [BZ #10060, #10062]
10800 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10801 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10802 fail configure if __sync_val_compare_and_swap is not inlined.
10803 * sysdeps/i386/configure: Regenerate.
10804 * configure.in: Build for i686 when configured for i386.
10805 * configure: Regenerate.
10806 * README: Remove i386 reference.
10807
b7a329a5
CD
108082013-04-06 Carlos O'Donell <carlos@redhat.com>
10809
10810 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10812
bf0f50df
TS
108132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10814
ee091edf
TS
10815 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10816 (lmsnanval): New variables.
10817 (F): Add conversion tests.
10818 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10819 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10820
a8b792d6
TS
10821 * stdio-common/tstdiomisc.c (F): Properly collect individual
10822 tests' results.
10823
a1cbf437
TS
10824 [BZ #14686, #15336]
10825 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10826 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10827 Instead, use input NaN values or generate a qNaN by arithmetic
10828 operation. Also fix bugs to comply with the standard.
10829 * math/libm-test.inc (remainder_test): Add more tests.
10830
8b43a0c9
TS
10831 [BZ #15335, #15342]
10832 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10834 input NaN values or generate a qNaN by arithmetic operation.
10835
d91da4ce
TS
10836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10837 unreachable code.
10838
bf0f50df
TS
10839 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10840 definitions.
10841
05e166c8
JM
108422013-04-03 Joseph Myers <joseph@codesourcery.com>
10843
10844 [BZ #14478]
10845 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10846 underflowed result.
10847 * math/s_cexpf.c (__cexpf): Likewise.
10848 * math/s_cexpl.c (__cexpl): Likewise.
10849 * math/libm-test.inc (cexp_test): Add more tests.
10850
1cef1b19
AS
108512013-04-03 Andreas Schwab <schwab@suse.de>
10852
10853 [BZ #15330]
10854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10855 order arrays from heap if bigger than alloca cutoff.
10856
74d87055
TS
108572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10858
10859 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10860 (SNAN_TESTS_double): Refer to GCC PR56831.
10861 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10862 GCC PR56828.
10863
d755bba4
SP
108642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10865
90d5d5bb
SP
10866 * Rules (bench): Move bench.out after the run is complete.
10867
73e0cd5d
SP
10868 * Rules (bench): Echo currently running benchmark.
10869
64aabd4b
SP
10870 * benchtests/Makefile (bench): Add atan and slowatan.
10871 * benchtests/atan-inputs: New file.
10872 * benchtests/slowatan-inputs: New file.
10873 * benchtests/slowatan.c: New file.
10874
c871eccd
SP
10875 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10877 its value.
10878
d755bba4
SP
10879 [BZ #15305]
10880 * sysdeps/unix/sysv/linux/kernel-features.h
10881 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10882 __ASSUME_XFS_RESTRICTED_CHOWN.
10883 * sysdeps/unix/sysv/linux/pathconf.c
10884 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10885 Save and restore errno.
10886
52ce4860
JM
108872013-04-02 Joseph Myers <joseph@codesourcery.com>
10888
10889 [BZ #15327]
10890 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10891 arguments using __kernel_casinh.
10892 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10893 arguments using __kernel_casinhf.
10894 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10895 arguments using __kernel_casinhl.
10896 * math/libm-test.inc (cacosh_test): Add more tests.
10897 * sysdeps/i386/fpu/libm-test-ulps: Update.
10898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10899
81f311c2
SP
109002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10901
e7906a47
SP
10902 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10904
92e3664b
SP
10905 * bench/Makefile (bench): Add sin and slowsin.
10906 * benchtests/sin-inputs: New file.
10907 * benchtests/slowsin-inputs: New file.
10908 * benchtests/slowsin.c: New file.
10909
81f311c2
SP
10910 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10911 (bench): Add slowexp and slowpow.
10912 (exp-ITER): Increase iterations.
10913 (pow-ITER): Likewise.
10914 * benchtests/exp-inputs: Change input.
10915 * benchtests/pow-inputs: Likewise.
10916 * benchtests/slowexp-inputs: New file.
10917 * benchtests/slowexp.c: New file.
10918 * benchtests/slowpow-inputs: New file.
10919 * benchtests/slowpow.c: New file.
10920
ab0f1aa9
AZ
109212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10922
10923 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10924 instructions.
10925 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10926 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10927 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10928 * benchtests/Makefile: Add rint benchtest.
10929 * benchtests/rint-inputs: Input for rint benchtest.
10930
57267616
TS
109312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10932
10933 * Versions.def (libm): Add GLIBC_2.18.
10934 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10935 hidden libm prototypes.
10936 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10937 * math/Makefile (libm-calls): Add s_issignaling.
10938 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10939 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10940 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10941 declaration.
10942 * math/math.h [__USE_GNU] (issignaling): New macro.
10943 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10944 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10946 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10949 * manual/arith.texi (issignaling): New section.
10950 * manual/libm-err-tab.pl (@all_functions): Update comment.
10951 * math/gen-libm-test.pl (parse_args): Apply special handling for
10952 issignaling.
10953 * math/libm-test.inc (print_float, issignaling_test): New
10954 functions.
10955 (check_float_internal): Add issignaling checks.
10956 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10957 default definition.
10958 * sysdeps/powerpc/math-tests.h: New file.
10959 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10960 tests.
10961 * math/test-snan.c (TEST_FUNC): Likewise.
10962
6142896d
DM
109632013-03-30 David S. Miller <davem@davemloft.net>
10964
10965 * po/de.po: Update from translation team.
10966
ccc8cadf
JM
109672013-03-30 Joseph Myers <joseph@codesourcery.com>
10968
10969 [BZ #10357]
10970 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10971 imaginary part less than 1.0 and real part less than 0.5
10972 specially.
10973 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10974 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10975 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10976 (cacos_test): Add more tests.
10977 (casin_test): Likewise.
10978 (casinh_test): Likewise.
10979 * sysdeps/i386/fpu/libm-test-ulps: Update.
10980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10981
0f6a8d4b
SP
109822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10983
0d1029de
SP
10984 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10985 ONE with its value.
10986
c2d94018
SP
10987 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10988 (__pow_mp): Replace ONE and MONE with their values.
10989 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10991 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10992 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10993 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10995
27ec37f1
SP
10996 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10997
a64d7e0e
SP
10998 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10999 (__pow_mp): Replace ZERO and MZERO with their values.
11000 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11001 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11002 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11004 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11005 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11006 (__sqr): Likewise.
11007
d26dd3eb
SP
11008 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11009
0f6a8d4b
SP
11010 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11011
e57b0c61
RM
110122013-03-28 Roland McGrath <roland@hack.frob.com>
11013
11014 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11015 Declare with __attribute__ ((weak)).
11016 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11017 Call __call_tls_dtors only if it's not NULL.
11018
356b3480
RM
110192013-03-28 Roland McGrath <roland@hack.frob.com>
11020
288f7d79
RM
11021 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11022 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11023 magic __ehdr_start linker symbol if it's defined.
11024 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11025 them up here if it was already done.
11026
dc0a0263
RM
11027 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11028 (_dl_aux_init): Use const in cast when setting it.
11029 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11030 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11031 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11032
3d3436ae
RM
11033 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11034 Declare them here.
11035 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11036 * csu/libc-tls.c: Nor here.
11037 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11038
356b3480
RM
11039 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11040 (__libc_message): Never call vsyslog.
11041
b0f1246a
AM
110422013-03-28 Alan Modra <amodra@gmail.com>
11043
11044 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11045 Define as empty.
11046 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11047 Likewise.
11048
fbbe2b9a
AZ
110492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11050
11051 [BZ #15214]
11052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11053 underflow.
11054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11055
1728ab37
SP
110562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11057
7a86be6e
SP
11058 [BZ #15304]
11059 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11060 Don't add gid passed as argument.
11061
1728ab37
SP
11062 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11063
3a7182a1
JM
110642013-03-27 Joseph Myers <joseph@codesourcery.com>
11065
11066 [BZ #15307]
11067 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11068 imaginary part between 1.0 and 1.5 and real part less than 0.5
11069 specially.
11070 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11071 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11072 * math/libm-test.inc (cacos_test): Add more tests.
11073 (casin_test): Likewise.
11074 (casinh_test): Likewise.
11075 * sysdeps/i386/fpu/libm-test-ulps: Update.
11076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11077
6f2e90e7
SP
110782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11079
5739f705
SP
11080 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11081 constants.
11082 (norm): Likewise.
11083 (denorm): Likewise.
11084 (__dbl_mp): Likewise.
11085 (add_magnitudes): Likewise.
11086 (sub_magnitudes): Likewise.
11087 (__add): Likewise.
11088 (__sub): Likewise.
11089 (__mul): Likewise.
11090 (__sqr): Likewise.
11091 (__inv): Likewise.
11092 (__dvd): Likewise.
11093
e375e83d
SP
11094 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11095 commented code.
11096 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11097 (__dubcos): Likewise.
11098 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11099 (__ieee754_acos): Likewise.
11100 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11101 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11102 (__exp1): Likewise.
11103 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11105 (log1): Likewise.
11106 (my_log2): Likewise.
11107 (checkint): Likewise.
11108 * sysdeps/ieee754/dbl-64/e_remainder.c
11109 (__ieee754_remainder): Likewise.
11110 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11111 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11112 (bsloww): Likewise.
11113 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11114
6f2e90e7
SP
11115 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11116 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11117 MANTISSA_STORE_T to store computations on mantissa. Use
11118 macros for rounding and division.
11119 (denorm): Likewise.
11120 (__dbl_mp): Likewise.
11121 (add_magnitudes): Likewise.
11122 (sub_magnitudes): Likewise.
11123 (__mul): Likewise.
11124 (__sqr): Likewise.
11125 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11126 powers of two in terms of TWOPOW macro.
11127 (mp_no): Make type of mantissa as MANTISSA_T.
11128 [!RADIXI]: Define RADIXI.
11129 [!TWO52]: Define TWO52.
11130 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11131
fce14d4e
AZ
111322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11133
11134 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11135 llroundl symbol when building for PPC32.
11136
9ad027fb
MW
111372013-03-24 Mark H Weaver <mhw@netris.org>
11138
11139 * manual/arith.texi (Normalization Functions): Fix prototypes for
11140 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11141
e42a38dd
AZ
111422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11143
11144 [BZ #13889]
11145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11146 high value to check if expl overflow.
11147 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11148 to check for underflow and overflow.
11149 * math/libm-test.inc: Add exp test.
11150
2e0fb521
DL
111512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11152
11153 [BZ #11120]
11154 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11155 with NOT_IN_libc.
11156
b5784d95
AZ
111572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11158
11159 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11160 symbol.
11161
5aa4a1a1
TS
111622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11163
bdef0be7
TS
11164 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11165 wrap blocks consisting of several statements.
11166
5aa4a1a1
TS
11167 * sysdeps/generic/math-tests.h: New file.
11168 * sysdeps/i386/fpu/math-tests.h: Likewise.
11169 * math/test-snan.c: Include it.
11170 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11171
98c48fe5
JM
111722013-03-21 Joseph Myers <joseph@codesourcery.com>
11173
11174 [BZ #15285]
11175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11176 (__ieee754_j0l): Do not improve calculations using cos of twice
11177 input for inputs above LDBL_MAX / 2.0L.
11178 (__ieee754_y0l): Likewise.
11179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11180 (__ieee754_j1l): Do not improve calculations using cos of twice
11181 input for inputs above LDBL_MAX / 2.0L.
11182 (__ieee754_y1l): Likewise.
11183 * math/libm-test.inc (j0_test): Add another test.
11184 (j1_test): Likewise.
11185 (y0_test): Likewise.
11186 (y1_test): Likewise.
11187 * sysdeps/i386/fpu/libm-test-ulps: Update.
11188
3775a8bc
SP
111892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11190
11191 * Rules ($(objpfx)bench-%.c): Include code from a C source
11192 file.
11193
0a1b2ae6
JM
111942013-03-21 Joseph Myers <joseph@codesourcery.com>
11195
11196 [BZ #15287]
11197 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11198 imaginary part 1.0 and real part less than 0.5 specially.
11199 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11200 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11201 * math/libm-test.inc (cacos_test): Add more tests.
11202 (casin_test): Likewise.
11203 (casinh_test): Likewise.
11204 * sysdeps/i386/fpu/libm-test-ulps: Update.
11205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11206
b33d4ce4
SP
112072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11208
11209 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11210 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11211
bef0b507
JM
112122013-03-20 Joseph Myers <joseph@codesourcery.com>
11213
11214 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11215 * config.make.in (config-cflags-sse4): Remove variable.
11216 (config-cflags-avx): Likewise.
11217 (config-cflags-sse2avx): Likewise.
11218 (config-cflags-novzeroupper): Likewise.
11219 (config-asflags-i686): Likewise.
11220 (have-mfma4): Likewise.
11221 (have-as-vis3): Likewise.
11222 (MIG): Likewise.
11223 * configure.in (MIG): Do not AC_SUBST.
11224 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11225 (libc_cv_cc_sse4): Do not AC_SUBST.
11226 (libc_cv_cc_avx): Likewise.
11227 (libc_cv_cc_sse2avx): Likewise.
11228 (libc_cv_cc_novzeroupper): Likewise.
11229 (libc_cv_cc_fma4): Likewise.
11230 (libc_cv_as_i686): Likewise.
11231 (libc_cv_sparc_as_vis3): Likewise.
11232 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11233 LIBC_CONFIG_VAR.
11234 (config-asflags-i686): Likewise.
11235 (config-cflags-avx): Likewise.
11236 (config-cflags-sse2avx): Likewise.
11237 (have-mfma4): Likewise.
11238 (config-cflags-novzeroupper): Likewise.
11239 * sysdeps/mach/configure.in (MIG): Likewise.
11240 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11241 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11242 LIBC_CONFIG_VAR.
11243 (config-cflags-avx): Likewise.
11244 (config-cflags-sse2avx): Likewise.
11245 (have-mfma4): Likewise.
11246 (config-cflags-novzeroupper): Likewise.
11247 * configure: Regenerated.
11248 * sysdeps/i386/configure: Likewise.
11249 * sysdeps/mach/configure: Likewise.
11250 * sysdeps/sparc/configure: Likewise.
11251 * sysdeps/x86_64/configure: Likewise.
11252
912cc4b3
RM
112532013-03-20 Roland McGrath <roland@hack.frob.com>
11254
11255 [BZ #14812]
11256 * locale/programs/localedef.c (options): Put N_ translation marker
11257 on argument names, not just descriptions.
11258
04eed2b0
MS
112592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11260
11261 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11262
a065ceff
OB
112632013-03-20 Ondřej Bílka <neleai@seznam.cz>
11264
9bb2a810 11265 [BZ #14176]
a065ceff
OB
11266 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11267
a600e5ce
RM
112682013-03-19 Roland McGrath <roland@hack.frob.com>
11269
11270 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11271 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11272 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11273 [!BEFORE_ABORT] (before_abort): New function.
11274 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11275 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11276 (writev_for_fatal): New function.
11277 (WRITEV_FOR_FATAL): New macro; call that.
11278 (backtrace_and_maps): New function.
11279 (BEFORE_ABORT): New macro; call that.
11280 (struct str_list): Type removed.
11281 (__libc_message, __libc_fatal): Functions removed.
11282 Include <sysdeps/posix/libc_fatal.c> instead.
11283
6b18bea6
JM
112842013-03-19 Joseph Myers <joseph@codesourcery.com>
11285
11286 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11287 constants.
11288 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11289 double constants.
11290
aaa8cb4b
AS
112912013-03-19 Andreas Schwab <schwab@suse.de>
11292
44673770
AS
11293 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11294 * sysdeps/gnu/configure: Regenerate.
11295
aaa8cb4b
AS
11296 * configure.in: Substitute libc_cv_rtlddir.
11297 * configure: Regenerate.
11298 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11299 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11300 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11301 * elf/Makefile (install-others, CFLAGS-interp.c)
11302 (ldso_install, common-ldd-rewrite): Likewise.
11303 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11304 $(inst_slibdir)/$(rtld-installed-name).
11305 * scripts/rellns-sh: Add -p option.
11306 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11307 for source.
11308
d3cfc668
SP
113092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11310
11311 * manual/nptl.texi: Renamed to ...
11312 * manual/threads.texi: ... this.
11313 * manual/Makefile (chapters): Update.
11314
0e2b9cdd
RM
113152013-03-18 Roland McGrath <roland@hack.frob.com>
11316
11317 [BZ #14812]
11318 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11319 on argument names, not just descriptions.
0e2b9cdd
RM
11320 * malloc/memusagestat.c (options): Likewise.
11321 * nss/getent.c (options): Likewise.
63270c24
RM
11322
113232013-03-18 Benno Schulenberg <bensberg@justemail.net>
11324
11325 [BZ #14812]
11326 * iconv/iconv_prog.c (options): Put N_ translation marker
11327 on argument names, not just descriptions.
11328 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11329
b2e1393c
OB
113302013-03-18 Ondrej Bilka <neleai@seznam.cz>
11331
11332 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11333 implementation which is faster on all x86_64 architectures.
11334 Tested on AMD, Intel Nehalem, SNB, IVB.
11335 * sysdeps/x86_64/strnlen.S: Likewise.
11336
11337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11338 Remove all multiarch strlen and strnlen versions.
11339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11340 Remove strlen and strnlen related parts.
11341
11342 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11343 Inline strlen part.
11344 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11345
11346 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11347 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11348 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11349 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11350 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11351 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11352
ec4ff04d
CD
113532013-03-17 Carlos O'Donell <carlos@redhat.com>
11354
11355 * manual/memory.texi (Malloc Tunable Parameters):
11356 Sort parameters alphabetically. Add comments for missing entries.
11357
cd18e90a
DM
113582013-03-17 David S. Miller <davem@davemloft.net>
11359
11360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11361
2a185d32
JM
113622013-03-16 Joseph Myers <joseph@codesourcery.com>
11363
d2f9799e
JM
11364 [BZ #15283]
11365 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11366 for arguments at most half maximum finite value.
11367 * math/libm-test.inc (j0_test): Add more tests.
11368 (j1_test): Likewise.
11369 (y0_test): Likewise.
11370 (y1_test): Likewise.
11371 * sysdeps/i386/fpu/libm-test-ulps: Update.
11372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11373
2a185d32
JM
11374 [BZ #14155]
11375 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11376 1 / x and functions P and Q for arguments above 0x1p256L.
11377 (__ieee754_y0l): Likewise.
11378 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11379 (__ieee754_y1l): Likewise.
11380 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11381 (j1_test): Likewise.
11382 (y0_test): Likewise.
11383 (y1_test): Likewise.
11384
6cbec759
TS
113852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11386
11387 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11388 variable.
11389
bc16e260
RM
113902013-03-15 Roland McGrath <roland@hack.frob.com>
11391
aefc9b8c
RM
11392 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11393 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11394 zero since it's initialized to EXEC_PAGESIZE.
11395
bc16e260
RM
11396 * sysdeps/unix/sysv/linux/ldsodefs.h
11397 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11398 * sysdeps/generic/ldsodefs.h: ... here.
11399
a57da955
TS
114002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11401
af00a34d
TS
11402 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11403
495ded2c
TS
11404 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11405 math/test-snan.c.
11406 * math/test-snan.c: Renamed from
11407 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11408 * math/Makefile (tests): Add test-snan.
11409 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11410 test-powerpc-snan.
11411
777b0332
TS
11412 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11413 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11414 functions.
11415 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11416 __builtin_nan family of functions.
11417 * math/libm-test.inc (initialize): Initialize qnan_value with
11418 __builtin_nan family of functions.
11419 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11420 Remove variables.
11421 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11422 Remove functions.
11423 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11424 storage class. Initialize qNaN_var and sNaN_var with
11425 __builtin_nan and __builtin_nans families of functions,
11426 respectively.
11427
64d063b8
TS
11428 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11429 (sqrt_test): Remove duplicate test with qNaN input.
11430 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11431 (round_test, signbit_test, significand_test): Note missing +/-Inf
11432 as well as qNaN tests.
11433
67e971f1
TS
11434 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11435 qNaN_var. Fix a few strings, too.
11436 * math/libm-test.inc (nan_value): Rename to qnan_value.
11437 * math/gen-libm-test.pl (%beautify): Adjust to that.
11438 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11439 * math/test-misc.c (main): Likewise.
11440 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11441 to __qnan_bytes, and __qnan_union, respectively.
11442 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11443 Likewise.
11444 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11445 and lqnanval, respectively.
11446 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11447 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11448 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11449 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11450
64487e12
TS
11451 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11452 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11453 doubles.
11454
e015e27b
TS
11455 * math/test-misc.c (main): Fix copy'n'pastos.
11456 * misc/tst-efgcvt.c (special): Likewise.
11457
a57da955
TS
11458 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11459 Remove declarations.
11460
1e380345
SP
114612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11462
11463 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11464 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11465 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11466 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11467
ef26eece
AZ
114682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11469
11470 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11471 macro to return vdso values correctly in IFUNC implementations.
11472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11473 Optimization by using IFUNC.
11474
8cfdb7e0
SP
114752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11476 Richard Henderson <rth@redhat.com>
11477 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11478
11479 * Makefile.in (bench): New target.
11480 * NEWS: Mention the benchmark framework.
11481 * Rules (bench): Likewise.
11482 (binaries-bench): Generate binaries for functions to
11483 benchmark.
11484 * benchtests/Makefile: New makefile for benchmark tests.
11485 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11486 programs.
11487 * benchtests/exp-inputs: New input file for EXP function.
11488 * benchtests/pow-inputs: New input file for POW function.
11489 * scripts/bench.pl: New script to generate source files for
11490 benchmark programs.
11491
bcda9880
SP
114922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11493
d22ca8cd
SP
11494 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11496 computations on mantissa. Use macros for rounding and
11497 division.
11498 (denorm): Likewise.
11499 (__dbl_mp): Likewise.
11500 (add_magnitudes): Likewise.
11501 (sub_magnitudes): Likewise.
11502 (__mul): Likewise.
11503 (__sqr): Likewise.
11504 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11505 powers of two in terms of TWOPOW macro.
11506 (mp_no): Make type of mantissa as MANTISSA_T.
11507 [!RADIXI]: Define RADIXI.
11508 [!TWO52]: Define TWO52.
11509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11510
bcda9880
SP
11511 * manual/nptl.texi (cindex): Modify threads to pthreads.
11512
06d5adfb
JM
115132013-03-15 Joseph Myers <joseph@codesourcery.com>
11514
11515 * sysdeps/x86_64/preconfigure: Regenerated.
11516
41c7328e
JM
115172013-03-14 Joseph Myers <joseph@codesourcery.com>
11518
11519 [BZ #14155]
11520 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11521 0x1p28 and above.
11522 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11523 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11524 0x1p28 and above.
11525 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11526 * math/libm-test.inc (j0_test): Do not allow one spurious
11527 underflow exception.
11528 (y1_test): Likewise.
11529
e25cfa60
SP
115302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11531
0409959c
SP
11532 * manual/Makefile (chapters): Add nptl.
11533 * manual/debug.texi (Debugging Support): Add link to Threads
11534 chapter.
11535 * manual/nptl.texi: New file.
11536
e25cfa60
SP
11537 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11538
58a1335e
PB
115392013-03-14 Petr Baudis <pasky@ucw.cz>
11540
11541 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11542 for non-NULL pointer before the memory validity test. Pointed
11543 out by Holger Brunck <holger.brunck@keymile.com>.
11544
9dc7c64f
AS
115452013-03-13 Andreas Schwab <schwab@suse.de>
11546
11547 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11548 instead of .os.
11549
54206aa6
JM
115502013-03-13 Joseph Myers <joseph@codesourcery.com>
11551
11552 * timezone/zic.c: Update from tzcode 2013b.
11553
e98cdb38
CD
115542013-03-12 Carlos O'Donell <carlos@redhat.com>
11555
11556 * manual/install.texi (Configuring and compiling):
11557 Mention i686 and i586.
11558 * INSTALL: Regenerate.
11559
9967e003
RM
115602013-03-12 Roland McGrath <roland@hack.frob.com>
11561
11562 * sysdeps/init_array/elf-init.c: New file.
11563 * csu/elf-init.c
11564 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11565 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11566
11567 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11568 __gmon_start__ as global, but as static with a .preinit_array pointer.
11569 * sysdeps/init_array/gmon-start.c: New file. Use that.
11570 * sysdeps/init_array/crti.S: New file, empty except for comments.
11571 * sysdeps/init_array/crtn.S: Likewise.
11572
e6b5a293 115732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11574
11575 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11576 definining bcopy.
80f844c9
OB
11577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11578 Remove Prefer_SSE_for_memop.
11579 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11580 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11581 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11583 memset-x86-64.
80f844c9 11584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11585 Remove bzero, memset ifunc support.
80f844c9
OB
11586 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11588 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11589 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11590
fb6b0fcb
AS
115912013-03-11 Andreas Schwab <schwab@suse.de>
11592
11593 [BZ #15234]
11594 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11595 by SHLIB_COMPAT.
11596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11597 (GLIBC_2.16): Remove pthread_atfork.
11598
3e6bd4b1
PP
115992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11600
11601 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11602 (ptestcases.h): Likewise.
11603
222d7f00
RM
116042013-03-08 Roland McGrath <roland@hack.frob.com>
11605
11606 * Makeconfig ($(common-objpfx)config.status): Depend on
11607 sysdeps/*/preconfigure{,.in} too.
11608
1ba4f030
JM
116092013-03-08 Joseph Myers <joseph@codesourcery.com>
11610
a222d91a
JM
11611 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11612 (__free_hook): Use void * instead of __malloc_ptr_t.
11613 (__malloc_hook): Likewise.
11614 (__realloc_hook): Likewise.
11615 (__memalign_hook): Likewise.
11616 (__after_morecore_hook): Likewise.
11617 * malloc/arena.c (save_malloc_hook): Likewise.
11618 (save_free_hook): Likewise.
11619 * malloc/hooks.c (malloc_hook_ini): Likewise.
11620 (realloc_hook_ini): Likewise.
11621 (memalign_hook_ini): Likewise.
11622 * malloc/malloc.c (malloc_hook_ini): Likewise.
11623 (realloc_hook_ini): Likewise.
11624 (memalign_hook_ini): Likewise.
11625 (__free_hook): Likewise.
11626 (__malloc_hook): Likewise.
11627 (__realloc_hook): Likewise.
11628 (__memalign_hook): Likewise.
11629 (__libc_malloc): Likewise.
11630 (__libc_free): Likewise.
11631 (__libc_realloc): Likewise.
11632 (__libc_memalign): Likewise.
11633 (__libc_valloc): Likewise.
11634 (__libc_pvalloc): Likewise.
11635 (__libc_calloc): Likewise.
11636 (__posix_memalign): Likewise.
11637 * malloc/morecore.c (__sbrk): Likewise.
11638 (__default_morecore): Likewise.
11639
5cc45e10
JM
11640 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11641
dd54b864
JM
11642 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11643 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11644 __malloc_ptrdiff_t.
11645
1ba4f030
JM
11646 * malloc/malloc.h (__malloc_size_t): Remove macro.
11647 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11648 __malloc_size_t.
11649 (old_memalign_hook): Likewise.
11650 (old_realloc_hook): Likewise.
11651 (struct hdr): Likewise.
11652 (flood): Likewise.
11653 (mallochook): Likewise.
11654 (memalignhook): Likewise.
11655 (reallochook): Likewise.
11656 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11657 (tr_old_realloc_hook): Likewise.
11658 (tr_old_memalign_hook): Likewise.
11659 (tr_mallochook): Likewise.
11660 (tr_reallochook): Likewise.
11661 (tr_memalignhook): Likewise.
11662
edf66e57
AZ
116632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11664
11665 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11666 default_ldbl_pack and using as default implementation.
11667 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11668 implementation.
11669 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11670 redundant definition.
11671 (ldbl_insert_mantissa): Likewise.
11672 (ldbl_canonicalize): Likewise.
11673 (ldbl_nearbyint): Likewise.
11674 (ldbl_pack): Rename to ldbl_pack_ppc.
11675 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11676 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11677 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11678
6d9145d8
SP
116792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11680
11681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11682 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11683 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11684 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11686 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11687 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11688 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11689
4dd4e157
AJ
116902013-03-07 Andreas Jaeger <aj@suse.de>
11691
11692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11693 bits/mman-linux.h.
11694
adbb8027
SP
116952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11696
ce544b5b
SP
11697 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11698 Include mpa.h and declare __MPEXP.
11699 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11700 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11701 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11702 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11703 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11704 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11705 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11706
4cc149fd
SP
11707 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11708 (__slowpow): Use long double EXPL and LOGL functions to
11709 compute POW.
11710 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11711 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11712 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11714 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11715 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11716
e6ebd4a7
SP
11717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11718 intermediate variable to calculate exponent.
11719 (__sqr): Likewise.
11720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11721 Likewise.
11722 (__sqr): Likewise.
11723
82a9811d
SP
11724 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11725 [!NO__SQR]: Define __sqr.
11726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11727 and NO__SQR. Remove all code except __mul and __sqr. Include
11728 sysdeps/ieee754/dbl-64/mpa.c.
11729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11730
adbb8027
SP
11731 [BZ #12723]
11732 * posix/Makefile (tests): Add tst-pathconf.
11733 * posix/tst-pathconf.c: New test case.
11734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11735 _PC_PIPE_BUF.
11736 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11737
39120df9
PF
117382013-03-06 Patsy Franklin <pfrankli@redhat.com>
11739
11740 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11741
67525cb8
AJ
117422013-03-06 Andreas Jaeger <aj@suse.de>
11743
664a9ce4
AJ
11744 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11745 definition via __MAP_ANONYMOUS.
11746
8e39047d
AJ
11747 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11748 it's not part of Linux headers.
11749
67525cb8
AJ
11750 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11751 (MAP_HUGE_MASK): Define.
11752
11753 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11754 Define.
11755 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11757 Define.
11758 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11759 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11760 Define.
11761 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11763 Define.
11764 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11765
11766 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11767 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11768 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11769 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11770 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11771 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11772
11773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11774 Handle f2fs.
11775
11776 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11777 Handle f2fs and efivarfs.
11778
11779 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11780 f2fs.
11781
11782 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11783 (EFIVARFS_MAGIC): Add.
11784 (F2FS_LINK_MAX): Add.
11785
e1b42695
PP
117862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11787
11788 * stdio-common/vfprintf.c: Replace __builtin_expect with
11789 __glibc_unlikely.
11790
2d67d91a
JM
117912013-03-06 Joseph Myers <joseph@codesourcery.com>
11792
11793 [BZ #13550]
11794 * sysdeps/generic/bp-sym.h: Remove file.
11795 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11796 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11797 <bp-sym.h> and <bp-asm.h>.
11798 (__longjmp): Don't use BP_SYM.
11799 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11800 and <bp-asm.h>.
11801 (memcpy): Don't use BP_SYM.
11802 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11803 <bp-sym.h> and <bp-asm.h>.
11804 (memcpy): Don't use BP_SYM.
11805 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11806 <bp-asm.h>.
11807 (memcpy): Don't use BP_SYM.
11808 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11809 <bp-asm.h>.
11810 (memset): Don't use BP_SYM.
11811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11813 (__bzero): Don't use BP_SYM.
11814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11816 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11817 <bp-sym.h> and <bp-asm.h>.
11818 (memcmp): Don't use BP_SYM. Remove comment about bounded
11819 pointers.
11820 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11821 <bp-sym.h> and <bp-asm.h>.
11822 (memcpy): Don't use BP_SYM.
11823 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11824 <bp-sym.h> and <bp-asm.h>.
11825 (memset): Don't use BP_SYM.
11826 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11827 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11828 (__bzero): Don't use BP_SYM.
11829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11831 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11832 <bp-sym.h> and <bp-asm.h>.
11833 (strncmp): Don't use BP_SYM. Remove comment about bounded
11834 pointers.
11835 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11836 <bp-sym.h> and <bp-asm.h>.
11837 (memcpy): Don't use BP_SYM.
11838 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11839 <bp-sym.h> and <bp-asm.h>.
11840 (memset): Don't use BP_SYM.
11841 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11842 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11843 (__bzero): Don't use BP_SYM.
11844 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11845 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11847 <bp-sym.h> and <bp-asm.h>.
11848 (__memchr): Don't use BP_SYM.
11849 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11850 <bp-sym.h> and <bp-asm.h>.
11851 (memcmp): Don't use BP_SYM. Remove comment about bounded
11852 pointers.
11853 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11854 <bp-sym.h> and <bp-asm.h>.
11855 (memcpy): Don't use BP_SYM.
11856 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11857 <bp-sym.h> and <bp-asm.h>.
11858 (__mempcpy): Don't use BP_SYM.
11859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11860 <bp-sym.h> and <bp-asm.h>.
11861 (__memrchr): Don't use BP_SYM.
11862 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11863 <bp-sym.h> and <bp-asm.h>.
11864 (memset): Don't use BP_SYM.
11865 (__bzero): Likewise.
11866 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11867 <bp-sym.h> and <bp-asm.h>.
11868 (__rawmemchr): Don't use BP_SYM.
11869 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11870 <bp-sym.h> and <bp-asm.h>.
11871 (__STRCMP): Don't use BP_SYM.
11872 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11873 <bp-sym.h> and <bp-asm.h>.
11874 (strchr): Don't use BP_SYM.
11875 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11876 <bp-sym.h> and <bp-asm.h>.
11877 (__strchrnul): Don't use BP_SYM.
11878 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11879 <bp-sym.h> and <bp-asm.h>.
11880 (strlen): Don't use BP_SYM.
11881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11882 <bp-sym.h> and <bp-asm.h>.
11883 (strncmp): Don't use BP_SYM. Remove comment about bounded
11884 pointers.
11885 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11886 <bp-sym.h> and <bp-asm.h>.
11887 (__strnlen): Don't use BP_SYM.
11888 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11889 <bp-sym.h> and <bp-asm.h>.
11890 (__GI__setjmp): Don't use BP_SYM.
11891 (_setjmp): Likewise.
11892 (__sigsetjmp): Likewise.
11893 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11894 (L(start_addresses)): Don't use BP_SYM.
11895 (_start): Likewise.
11896 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11897 <bp-asm.h>.
11898 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11899 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11900 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11901 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11902 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11903 <bp-asm.h>.
11904 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11905 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11906 about bounded pointers.
11907 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11908 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11909 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11910 <bp-asm.h>.
11911 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11912 about bounded pointers. Remove GKM FIXME comments.
11913 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11914 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11915 <bp-asm.h>.
11916 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11917 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11918 Remove GKM FIXME comments.
11919 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11920 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11921 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11922 <bp-asm.h>.
11923 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11924 about bounded pointers. Remove GKM FIXME comment.
11925 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11926 and <bp-asm.h>.
11927 (strncmp): Don't use BP_SYM. Remove comment about bounded
11928 pointers.
11929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11930 <bp-sym.h> and <bp-asm.h>.
11931 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11933 <bp-sym.h> and <bp-asm.h>.
11934 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11935 comment.
11936
cdcf361f
PP
119372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11938
11939 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11940 call free(NULL).
11941
3c4a2b15
DM
119422013-03-05 David S. Miller <davem@davemloft.net>
11943
11944 * po/es.po: Update from translation team.
11945
cdcf361f 119462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11947
11948 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11949 <bits/mman-linux.h>.
11950 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11951 is fine.
11952 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11953 <bits/mman-linux.h> to end of file.
11954 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11955 is fine.
11956 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11957 <bits/mman-linux.h> to end of file.
11958 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11959 is fine.
11960 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11961 <bits/mman-linux.h> to end of file.
11962
11963 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11964 (MCL_CURRENT, MCL_FUTURE): Define here.
11965
5f67c04f
AK
119662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11967
8a4473cc 11968 [BZ #15232]
5f67c04f
AK
11969 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11970 attribute_hidden.
11971 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11972
c3e94a95
AK
119732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11974
11975 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11976 fourth parameter needed for rt_sigprocmask syscall.
11977 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11979 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11980 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11981 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11982 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11983
cfb6382a
JM
119842013-03-04 Joseph Myers <joseph@codesourcery.com>
11985
11986 [BZ #13550]
11987 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11988 comment about bounded pointers.
11989 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11990 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11991
539d8e01
AJ
119922013-03-04 Andreas Jaeger <aj@suse.de>
11993
11994 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11995 common definitions.
11996
11997 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11998 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11999 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12000 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12002 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12003
2e167a70 120042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12005
12006 [BZ #15055]
12007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12008 __ieee754_sqrl instead of __sqrl.
12009
68508633
JM
120102013-03-01 Joseph Myers <joseph@codesourcery.com>
12011
12012 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12013 * sysdeps/powerpc/fpu_control.h: ... here.
12014 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12015 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12016 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12017 * sysdeps/powerpc/bits/mathinline.h: ... here.
12018
7775448e
RM
120192013-03-01 Roland McGrath <roland@hack.frob.com>
12020
12021 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12022 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12023 to just [NEED_DL_SYSINFO_DSO].
12024 * elf/dl-support.c: Likewise.
12025 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12026 * elf/rtld.c (dl_main): Likewise.
12027 * elf/setup-vdso.h (setup_vdso): Likewise.
12028 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12029 * sysdeps/unix/sysv/linux/dl-sysdep.c
12030 (_dl_discover_osversion): Likewise.
12031
4e9b5995
CD
120322013-03-01 Carlos O'Donell <carlos@redhat.com>
12033
12034 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12035 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12036
e23872c8
SP
120372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12038
e5c74c63
SP
12039 * NEWS: Mention libm performance improvements and non-x86 PI
12040 futex support.
12041
e23872c8
SP
12042 * csu/libc-start.c (__pthread_initialize_minimal): Change
12043 function arguments.
12044 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12045
b5510883
JM
120462013-02-28 Joseph Myers <joseph@codesourcery.com>
12047
12048 [BZ #13550]
12049 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12050 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12051 <bp-sym.h> and <bp-asm.h>.
12052 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12053 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12054 and <bp-asm.h>.
12055 (memcpy): Don't use BP_SYM.
12056 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12057 <bp-asm.h>.
12058 (__mpn_add_n): Don't use BP_SYM.
12059 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12060 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12061 and <bp-asm.h>.
12062 (__mpn_addmul_1): Don't use BP_SYM.
12063 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12064 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12065 <bp-sym.h>.
12066 (_setjmp): Don't use BP_SYM.
12067 (__novmx_setjmp): Likewise.
12068 (__GI__setjmp): Likewise.
12069 (__vmx_setjmp): Likewise.
12070 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12071 <bp-sym.h>.
12072 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12073 (__bzero): Don't use BP_SYM.
12074 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12075 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12076 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12077 <bp-sym.h> and <bp-asm.h>.
12078 (memcpy): Don't use BP_SYM.
12079 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12080 <bp-sym.h> and <bp-asm.h>.
12081 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12082 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12083 <bp-sym.h> and <bp-asm.h>.
12084 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12085 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12086 <bp-asm.h>.
12087 (__mpn_lshift): Don't use BP_SYM.
12088 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12089 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12090 <bp-asm.h>.
12091 (memset): Don't use BP_SYM.
12092 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12093 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12094 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12095 <bp-asm.h>.
12096 (__mpn_mul_1): Don't use BP_SYM.
12097 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12098 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12099 <bp-sym.h> and <bp-asm.h>.
12100 (memcmp): Don't use BP_SYM.
12101 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12102 <bp-sym.h> and <bp-asm.h>.
12103 (memcpy): Don't use BP_SYM.
12104 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12105 <bp-sym.h> and <bp-asm.h>.
12106 (memset): Don't use BP_SYM.
12107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12108 <bp-sym.h> and <bp-asm.h>.
12109 (strncmp): Don't use BP_SYM.
12110 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12111 <bp-sym.h> and <bp-asm.h>.
12112 (memcpy): Don't use BP_SYM.
12113 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12114 <bp-sym.h> and <bp-asm.h>.
12115 (memset): Don't use BP_SYM.
12116 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12117 <bp-sym.h> and <bp-asm.h>.
12118 (__memchr): Don't use BP_SYM.
12119 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12120 <bp-sym.h> and <bp-asm.h>.
12121 (memcmp): Don't use BP_SYM.
12122 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12123 <bp-sym.h> and <bp-asm.h>.
12124 (memcpy): Don't use BP_SYM.
12125 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12126 <bp-sym.h> and <bp-asm.h>.
12127 (__mempcpy): Don't use BP_SYM.
12128 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12129 <bp-sym.h> and <bp-asm.h>.
12130 (__memrchr): Don't use BP_SYM.
12131 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12132 <bp-sym.h> and <bp-asm.h>.
12133 (memset): Don't use BP_SYM.
12134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12135 <bp-sym.h> and <bp-asm.h>.
12136 (__rawmemchr): Don't use BP_SYM.
12137 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12138 <bp-sym.h> and <bp-asm.h>.
12139 (__STRCMP): Don't use BP_SYM.
12140 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12141 <bp-sym.h> and <bp-asm.h>.
12142 (strchr): Don't use BP_SYM.
12143 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12144 <bp-sym.h> and <bp-asm.h>.
12145 (__strchrnul): Don't use BP_SYM.
12146 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12147 <bp-sym.h> and <bp-asm.h>.
12148 (strlen): Don't use BP_SYM.
12149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12150 <bp-sym.h> and <bp-asm.h>.
12151 (strncmp): Don't use BP_SYM.
12152 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12153 <bp-sym.h> and <bp-asm.h>.
12154 (__strnlen): Don't use BP_SYM.
12155 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12156 <bp-asm.h>.
12157 (__mpn_rshift): Don't use BP_SYM.
12158 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12159 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12160 <bp-sym.h> and <bp-asm.h>.
12161 (__sigsetjmp): Don't use BP_SYM.
12162 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12163 (L(start_addresses)): Don't use BP_SYM.
12164 (_start): Likewise.
12165 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12166 <bp-asm.h>.
12167 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12168 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12169 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12170 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12171 <bp-asm.h>.
12172 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12173 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12174 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12175 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12176 <bp-asm.h>.
12177 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12178 comments.
12179 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12180 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12181 <bp-asm.h>.
12182 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12183 FIXME comments.
12184 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12185 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12186 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12187 <bp-asm.h>.
12188 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12189 comment.
12190 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12191 and <bp-asm.h>.
12192 (strncmp): Don't use BP_SYM,
12193 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12194 <bp-asm.h>.
12195 (__mpn_sub_n): Don't use BP_SYM.
12196 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12197 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12198 and <bp-asm.h>.
12199 (__mpn_submul_1): Don't use BP_SYM.
12200 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12202 <bp-sym.h> and <bp-asm.h>.
12203 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12205 <bp-sym.h> and <bp-asm.h>.
12206 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12207 comment.
12208
8d19fe64
SP
122092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12210
12211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12212 Use ZK to minimize writes to Z.
12213 (sub_magnitudes): Simplify code a bit.
12214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12215 Use ZK to minimize writes to Z.
12216 (sub_magnitudes): Simplify code a bit.
12217
85bd816a
RM
122182013-02-27 Roland McGrath <roland@hack.frob.com>
12219
12220 * csu/gmon-start.c: Add special exception to license text.
12221
b5977bf2
RH
122222013-02-27 Richard Henderson <rth@redhat.com>
12223
12224 * scripts/config.guess: Update from config.git.
12225 * scripts/config.sub: Likewise.
12226
11d6e2f2
SP
122272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12228
09c14ed2
SP
12229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12230
a688864e
SP
12231 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12232
6295157a
SP
12233 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12234
b8de2202
SP
12235 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12236
11d6e2f2
SP
12237 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12238
7e80ddb8
RM
122392013-02-26 Roland McGrath <roland@hack.frob.com>
12240
12241 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12242 [$(build-shared = yes].
7e80ddb8 12243
7da6d9ed
SP
122442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12245
45f05884
SP
12246 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12247 (__mul): Reduce iterations for calculating mantissa.
12248
2236d359
SP
12249 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12250 MPTWO.
12251 (__mpranred): Likewise.
12252
7da6d9ed
SP
12253 [BZ #15160]
12254 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12255 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12256
b7688c42
PE
122572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12258
12259 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12260 Define __attribute__.
12261
53a5c423
SP
122622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12263
12264 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12265 unused.
12266 * posix/regex_internal.h (__attribute): Remove.
12267 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12268 (re_string_context_at): Likewise.
12269 (bitset_not): Use __attribute__ and mark function as possibly
12270 unused.
12271 (bitset_merge): Likewise.
12272 (bitset_mask): Likewise.
12273 (re_string_char_size_at): Likewise.
12274 (re_string_wchar_at): Likewise.
12275 (re_string_elem_size_at): Likewise.
12276
60f5a8b5
SP
122772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
2a983a2e
SP
12279 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12280 code.
12281 (cc32): Likewise.
12282
e69804d1
SP
12283 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12284 (__acr): Likewise.
12285 (__cpy): Likewise.
12286 (norm): Likewise.
12287 (denorm): Likewise.
12288 (__dbl_mp): Likewise.
12289 (add_magnitudes): Likewise.
12290 (sub_magnitudes): Likewise.
12291 (__mul): Likewise.
12292 (__inv): Likewise.
12293
2f22a1e8
SP
12294 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12295 style.
12296
8930ddc7
SP
12297 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12298 style.
12299
dc60cb11
SP
12300 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12301 code.
12302
60f5a8b5
SP
12303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12304 up changes with default code.
12305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12306 Likewise.
12307
b4d1fd33
AM
123082013-02-24 Allan McRae <allan@archlinux.org>
12309
faf6f8bc
AM
12310 * manual/socket.texi (The Internet Namespace): Order menu items
12311 to match that in the file.
12312
b4d1fd33
AM
12313 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12314 node listing of the info page menu.
12315
2366713d
JM
123162013-02-21 Joseph Myers <joseph@codesourcery.com>
12317
12318 [BZ #13550]
12319 * sysdeps/i386/bp-asm.h: Remove file.
12320 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12321 (PARMS): Do not use macros from bp-asm.h.
12322 (S1): Likewise.
12323 (S2): Likewise.
12324 (SIZE): Likewise.
12325 (__mpn_add_n): Do not use BP_SYM
12326 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12327 "bp-asm.h".
12328 (PARMS): Do not use macros from bp-asm.h.
12329 (S1): Likewise.
12330 (SIZE): Likewise.
12331 (__mpn_addmul_1): Do not use BP_SYM
12332 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12333 "bp-asm.h".
12334 (PARMS): Do not use macros from bp-asm.h.
12335 (SIGMSK): Likewise.
12336 (_setjmp): Likewise. Do not use BP_SYM.
12337 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12338 "bp-asm.h".
12339 (PARMS): Do not use macros from bp-asm.h.
12340 (SIGMSK): Likewise.
12341 (setjmp): Likewise. Do not use BP_SYM.
12342 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12343 "bp-asm.h".
12344 (PARMS): Do not use macros from bp-asm.h.
12345 (__frexp): Do not use BP_SYM.
12346 (frexp): Likewise.
12347 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12348 "bp-asm.h".
12349 (PARMS): Do not use macros from bp-asm.h.
12350 (__frexpf): Do not use BP_SYM.
12351 (frexpf): Likewise.
12352 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12353 "bp-asm.h".
12354 (PARMS): Do not use macros from bp-asm.h.
12355 (__frexpl): Do not use BP_SYM.
12356 (frexpl): Likewise.
12357 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12358 "bp-asm.h".
12359 (PARMS): Do not use macros from bp-asm.h.
12360 (__remquo): Do not use BP_SYM.
12361 (remquo): Likewise.
12362 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12363 "bp-asm.h".
12364 (PARMS): Do not use macros from bp-asm.h.
12365 (__remquof): Do not use BP_SYM.
12366 (remquof): Likewise.
12367 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12368 "bp-asm.h".
12369 (PARMS): Do not use macros from bp-asm.h.
12370 (__remquol): Do not use BP_SYM.
12371 (remquol): Likewise.
12372 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12373 "bp-asm.h".
12374 (PARMS): Do not use macros from bp-asm.h.
12375 (DEST): Likewise.
12376 (SRC): Likewise.
12377 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12378 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12379 "bp-asm.h".
12380 (PARMS): Do not use macros from bp-asm.h.
12381 (strlen): Do not use BP_SYM.
12382 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12383 "bp-asm.h".
12384 (PARMS): Do not use macros from bp-asm.h.
12385 (S1): Likewise.
12386 (S2): Likewise.
12387 (SIZE): Likewise.
12388 (__mpn_add_n): Do not use BP_SYM.
12389 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12390 "bp-asm.h".
12391 (PARMS): Do not use macros from bp-asm.h.
12392 (S1): Likewise.
12393 (SIZE): Likewise.
12394 (__mpn_addmul_1): Do not use BP_SYM.
12395 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12396 weak_alias.
12397 (bzero): Likewise.
12398 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12399 "bp-asm.h".
12400 (PARMS): Do not use macros from bp-asm.h.
12401 (S): Likewise.
12402 (SIZE): Likewise.
12403 (__mpn_lshift): Do not use BP_SYM.
12404 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12405 "bp-asm.h".
12406 (PARMS): Do not use macros from bp-asm.h.
12407 (DEST): Likewise.
12408 (SRC): Likewise.
12409 (LEN): Likewise.
12410 (memcpy): Likewise. Do not use BP_SYM.
12411 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12412 libc_hidden_def and weak_alias.
12413 (mempcpy): Do not use BP_SYM in weak_alias.
12414 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12415 "bp-asm.h".
12416 (PARMS): Do not use macros from bp-asm.h.
12417 (DEST): Likewise.
12418 (LEN): Likewise.
12419 [!BZERO_P] (CHR): Likewise.
12420 (memset): Likewise. Do not use BP_SYM.
12421 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12422 "bp-asm.h".
12423 (PARMS): Do not use macros from bp-asm.h.
12424 (S1): Likewise.
12425 (SIZE): Likewise.
12426 (__mpn_mul_1): Do not use BP_SYM.
12427 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12428 "bp-asm.h".
12429 (PARMS): Do not use macros from bp-asm.h.
12430 (S): Likewise.
12431 (SIZE): Likewise.
12432 (__mpn_rshift): Do not use BP_SYM.
12433 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12434 "bp-asm.h".
12435 (PARMS): Do not use macros from bp-asm.h.
12436 (STR): Likewise.
12437 (CHR): Likewise.
12438 (strchr): Likewise. Do not use BP_SYM.
12439 (index): Do not use BP_SYM in weak_alias.
12440 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12441 "bp-asm.h".
12442 (PARMS): Do not use macros from bp-asm.h.
12443 (DEST): Likewise.
12444 (SRC): Likewise.
12445 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12446 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12447 "bp-asm.h".
12448 (PARMS): Do not use macros from bp-asm.h.
12449 (strlen): Do not use BP_SYM.
12450 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12451 "bp-asm.h".
12452 (PARMS): Do not use macros from bp-asm.h.
12453 (S1): Likewise.
12454 (S2): Likewise.
12455 (SIZE): Likewise.
12456 (__mpn_sub_n): Do not use BP_SYM.
12457 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12458 "bp-asm.h".
12459 (PARMS): Do not use macros from bp-asm.h.
12460 (S1): Likewise.
12461 (SIZE): Likewise.
12462 (__mpn_submul_1): Do not use BP_SYM.
12463 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12464 "bp-asm.h".
12465 (PARMS): Do not use macros from bp-asm.h.
12466 (S1): Likewise.
12467 (S2): Likewise.
12468 (SIZE): Likewise.
12469 (__mpn_add_n): Do not use BP_SYM.
12470 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12471 weak_alias.
12472 (bzero): Likewise.
12473 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12474 "bp-asm.h".
12475 (PARMS): Do not use macros from bp-asm.h.
12476 (BLK2): Likewise.
12477 (LEN): Likewise.
12478 (memcmp): Do not use BP_SYM.
12479 (bcmp): Do not use BP_SYM in weak_alias.
12480 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12481 "bp-asm.h".
12482 (PARMS): Do not use macros from bp-asm.h.
12483 (DEST): Likewise.
12484 (SRC): Likewise.
12485 (LEN): Likewise.
12486 (memcpy): Likewise. Do not use BP_SYM.
12487 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12488 "bp-asm.h".
12489 (PARMS): Do not use macros from bp-asm.h.
12490 (DEST): Likewise.
12491 (SRC): Likewise.
12492 (LEN): Likewise.
12493 (memmove): Likewise. Do not use BP_SYM.
12494 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12495 "bp-asm.h".
12496 (PARMS): Do not use macros from bp-asm.h.
12497 (DEST): Likewise.
12498 (SRC): Likewise.
12499 (LEN): Likewise.
12500 (__mempcpy): Likewise. Do not use BP_SYM.
12501 (mempcpy): Do not use BP_SYM in weak_alias.
12502 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12503 "bp-asm.h".
12504 (PARMS): Do not use macros from bp-asm.h.
12505 (DEST): Likewise.
12506 (LEN): Likewise.
12507 [!BZERO_P] (CHR): Likewise.
12508 (memset): Likewise. Do not use BP_SYM.
12509 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12510 "bp-asm.h".
12511 (PARMS): Do not use macros from bp-asm.h.
12512 (STR2): Likewise.
12513 (strcmp): Do not use BP_SYM.
12514 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12515 "bp-asm.h".
12516 (PARMS): Do not use macros from bp-asm.h.
12517 (STR): Likewise.
12518 (DELIM): Likewise.
12519 [USE_AS_STRTOK_R] (SAVE): Likewise.
12520 (FUNCTION): Likewise. Do not use BP_SYM.
12521 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12522 aliases.
12523 (strtok_r): Likewise.
12524 (__GI___strtok_r): Likewise.
12525 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12526 (PARMS): Do not use macros from bp-asm.h.
12527 (S): Likewise.
12528 (SIZE): Likewise.
12529 (__mpn_lshift): Do not use BP_SYM.
12530 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12531 (PARMS): Do not use macros from bp-asm.h.
12532 (STR): Likewise.
12533 (CHR): Likewise.
12534 (__memchr): Do not use BP_SYM.
12535 (memchr): Do not use BP_SYM in weak_alias.
12536 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12537 (PARMS): Do not use macros from bp-asm.h.
12538 (BLK2): Likewise.
12539 (LEN): Likewise.
12540 (memcmp): Do not use BP_SYM.
12541 (bcmp): Do not use BP_SYM in weak_alias.
12542 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12543 (PARMS): Do not use macros from bp-asm.h.
12544 (S1): Likewise.
12545 (SIZE): Likewise.
12546 (__mpn_mul_1): Do not use BP_SYM.
12547 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12548 "bp-asm.h".
12549 (PARMS): Do not use macros from bp-asm.h.
12550 (STR): Likewise.
12551 (CHR): Likewise.
12552 (__rawmemchr): Do not use BP_SYM.
12553 (rawmemchr): Do not use BP_SYM in weak_alias.
12554 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12555 (PARMS): Do not use macros from bp-asm.h.
12556 (S): Likewise.
12557 (SIZE): Likewise.
12558 (__mpn_rshift): Do not use BP_SYM.
12559 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12560 (PARMS): Do not use macros from bp-asm.h.
12561 (SIGMSK): Likewise.
12562 (__sigsetjmp): Likewise. Do not use BP_SYM.
12563 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12564 (_start): Do not use BP_SYM.
12565 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12566 (PARMS): Do not use macros from bp-asm.h.
12567 (DEST): Likewise.
12568 (SRC): Likewise.
12569 (__stpcpy): Likewise. Do not use BP_SYM.
12570 (stpcpy): Do not use BP_SYM in weak_alias.
12571 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12572 "bp-asm.h".
12573 (PARMS): Do not use macros from bp-asm.h.
12574 (DEST): Likewise.
12575 (SRC): Likewise.
12576 (LEN): Likewise.
12577 (__stpncpy): Likewise. Do not use BP_SYM.
12578 (stpncpy): Do not use BP_SYM in weak_alias.
12579 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12580 (PARMS): Do not use macros from bp-asm.h.
12581 (STR): Likewise.
12582 (CHR): Likewise.
12583 (strchr): Likewise. Do not use BP_SYM.
12584 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12585 "bp-asm.h".
12586 (PARMS): Do not use macros from bp-asm.h.
12587 (STR): Likewise.
12588 (CHR): Likewise.
12589 (__strchrnul): Likewise. Do not use BP_SYM.
12590 (strchrnul): Do not use BP_SYM in weak_alias.
12591 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12592 "bp-asm.h".
12593 (PARMS): Do not use macros from bp-asm.h.
12594 (STOP): Likewise.
12595 (strcspn): Do not use BP_SYM.
12596 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12597 "bp-asm.h".
12598 (PARMS): Do not use macros from bp-asm.h.
12599 (STR): Likewise.
12600 (STOP): Likewise.
12601 (strpbrk): Likewise. Do not use BP_SYM.
12602 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12603 "bp-asm.h".
12604 (PARMS): Do not use macros from bp-asm.h.
12605 (STR): Likewise.
12606 (CHR): Likewise.
12607 (strrchr): Likewise. Do not use BP_SYM.
12608 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12609 (PARMS): Do not use macros from bp-asm.h.
12610 (SKIP): Likewise.
12611 (strspn): Do not use BP_SYM.
12612 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12613 (PARMS): Do not use macros from bp-asm.h.
12614 (STR): Likewise.
12615 (DELIM): Likewise.
12616 (SAVE): Likewise.
12617 (FUNCTION): Likewise. Do not use BP_SYM.
12618 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12619 aliases.
12620 (strtok_r): Likewise.
12621 (__GI___strtok_r): Likewise.
12622 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12623 (PARMS): Do not use macros from bp-asm.h.
12624 (S1): Likewise.
12625 (S2): Likewise.
12626 (SIZE): Likewise.
12627 (__mpn_sub_n): Do not use BP_SYM.
12628 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12629 "bp-asm.h".
12630 (PARMS): Do not use macros from bp-asm.h.
12631 (S1): Likewise.
12632 (SIZE): Likewise.
12633 (__mpn_submul_1): Do not use BP_SYM.
12634 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12635 <bp-sym.h>.
12636 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12637 and <bp-asm.h>.
12638 (PARMS): Do not use macros from bp-asm.h.
12639 (FLAGS): Likewise.
12640 (PTID): Likewise.
12641 (TLS): Likewise.
12642 (CTID): Likewise.
12643 (__clone): Do not use BP_SYM.
12644 (clone): Do not use BP_SYM in weak_alias.
12645 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12646 and <bp-asm.h>.
12647 (PARMS): Do not use macros from bp-asm.h.
12648 (LEN): Likewise.
12649 (__mmap64): Do not use BP_SYM.
12650 (mmap64): Do not use BP_SYM in weak_alias.
12651 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12652 <bp-sym.h> and <bp-asm.h>.
12653 (PARMS): Do not use macros from bp-asm.h.
12654 (__posix_fadvise64_l64): Do not use BP_SYM.
12655 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12656 (PARMS): Do not use macros from bp-asm.h.
12657 (NSOPS): Likewise.
12658 (semtimedop): Do not use BP_SYM.
12659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12660 and <bp-asm.h>.
12661
582a3cff
AM
126622013-02-21 Allan McRae <allan@archlinux.org>
12663
12664 * manual/message.texi (Charset conversion in gettext):
12665 Move @end statement to beginning of line.
12666
bab8a695
SP
126672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12668
80945231
SP
12669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12670 static.
12671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12672 Likewise.
12673
bab8a695
SP
12674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12675 (denorm): Likewise.
12676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12678
e21d7aa7
AK
126792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12680
12681 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12682 tail-call to the resolved function if pltexit isn't needed.
12683
4c7a4263
SP
126842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12685
12686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12687 or Y being zero as being unlikely.
12688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12689 Likewise.
12690
41f49342
CD
126912013-02-20 Carlos O'Donell <carlos@redhat.com>
12692
12693 * manual/nss.texi (System Databases and Name Service Switch):
12694 Remove frobnicate @pxref.
12695
50022a93
TS
126962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12697
12698 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12699 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12700
08cbd996
PM
127012013-02-20 Petr Machata <pmachata@redhat.com>
12702
12703 * elf/elf.h (R_ARM_TARGET1): New macro.
12704 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12705 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12706 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12707 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12708 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12709 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12710 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12711 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12712 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12713 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12714 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12715 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12716 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12717 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12718 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12719 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12720 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12721 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12722 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12723 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12724 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12725 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12726 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12727 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12728 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12729 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12730 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12731 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12732 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12733 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12734 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12735 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12736 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12737 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12738 (R_ARM_THM_GOT_BREL12): Likewise.
12739 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12740 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12741 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12742 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12743 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12744 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12745 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12746 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12747 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12748
c7b275d6
TS
127492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12750
12751 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12752 __attribute_used__ to __attribute__ ((unused)).
12753
20cd7fb3
SP
127542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12755
12756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12757 powerpc mpa.c.
12758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12759 comment formatting.
12760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12761
92945b52
JM
127622013-02-19 Joseph Myers <joseph@codesourcery.com>
12763
12764 [BZ #13550]
12765 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12766 Remove macro.
12767 (ENTER): Remove both macro definitions.
12768 (LEAVE): Likewise.
12769 (CHECK_BOUNDS_LOW): Likewise.
12770 (CHECK_BOUNDS_HIGH): Likewise.
12771 (CHECK_BOUNDS_BOTH): Likewise.
12772 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12773 (RETURN_BOUNDED_POINTER): Likewise.
12774 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12775 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12776 (POP_ERRNO_LOCATION_RETURN): Likewise.
12777 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12778 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12779 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12780 macros.
12781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12782 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12783 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12784 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12785 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12786 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12787 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12788 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12789 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12790 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12791 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12792 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12793 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12794 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12795 removed macros.
12796 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12797 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12798 macros.
12799 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12800 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12801 * sysdeps/i386/i586/memset.S (memset): Likewise.
12802 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12804 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12805 macros.
12806 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12807 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12808 Change uses of L(2) to L(out).
12809 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12810 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12811 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12812 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12813 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12814 removed macros.
12815 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12816 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12817 macros.
12818 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12819 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12820 (RETURN): Do not use macro LEAVE.
12821 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12822 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12823 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12824 * sysdeps/i386/i686/memset.S (memset): Likewise.
12825 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12826 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12827 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12828 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12829 Likewise.
12830 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12831 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12832 L(1_2) and L(1_3) into L(1).
12833 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12834 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12836 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12837 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12838 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12839 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12840 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12841 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12842 macros.
12843 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12844 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12845 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12846 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12847 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12848 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12849 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12850 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12851 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12852 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12853 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12854 * sysdeps/i386/strspn.S (strspn): Likewise.
12855 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12856 conditional code.
12857 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12858 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12859 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12860 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12861 L(1_3) into L(1_1).
12862 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12863 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12864 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12865 macros.
12866 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12867
2389741a
JJ
128682013-02-19 Jakub Jelinek <jakub@redhat.com>
12869
12870 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12871 macro.
12872
2016b3cd
SP
128732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12874
e4f22324
SP
12875 * math/atest-exp.c (exp_mpn): Remove ROUND.
12876 * math/atest-exp2.c (exp_mpn): Likewise.
12877 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12878
2016b3cd
SP
12879 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12880 * stdlib/tst-tls-atexit-lib.c: Likewise.
12881 * stdlib/tst-tls-atexit.c: Likewise.
12882
4be9b544
MF
128832013-02-18 Mike Frysinger <vapier@gentoo.org>
12884
12885 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12886 and __attribute_alloc_size__.
12887
2f62b9ee
MF
128882013-02-18 Mike Frysinger <vapier@gentoo.org>
12889
12890 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12891 __attribute_alloc_size__.
12892 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12893 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12894
6ff444c4
MF
128952013-02-18 Mike Frysinger <vapier@gentoo.org>
12896
12897 * include/programs/xmalloc.h: New file.
12898 * catgets/gencat.c: Include it.
12899 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12900 * elf/pldd.c: Likewise.
12901 * iconv/iconv_charmap.c: Likewise.
12902 * iconv/iconvconfig.c: Likewise.
12903 * iconv/strtab.c: Likewise.
12904 * locale/programs/locale.c: Likewise.
12905 * locale/programs/localedef.h: Likewise.
12906 * locale/programs/simple-hash.c: Likewise.
12907 * nscd/nscd.h: Likewise.
12908 * nss/makedb.c: Likewise.
12909 * sysdeps/generic/ldconfig.h: Likewise.
12910
be179c8a
SP
129112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12912
ba384f6e
SP
12913 * Versions.def: Add GLIBC_2.18.
12914 * include/link.h (struct link_map): New member l_tls_dtor_count.
12915 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12916 (__call_tls_dtors): Likewise.
12917 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12918 __cxa_thread_atexit_impl.
12919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12920 Likewise.
12921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12922 Likewise.
12923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12924 Likewise.
12925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12926 Likewise.
12927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12929 Likewise.
12930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12931 Likewise.
12932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12934 Likewise.
12935 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12936 (tests): Add test case tst-tls-atexit.
12937 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12938 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12939 (GLIBC_PRIVATE): Add __call_tls_dtors.
12940 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12941 for libstdc++.
12942 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12943 * stdlib/tst-tls-atexit.c: New test case.
12944 * stdlib/tst-tls-atexit-lib.c: New test case.
12945
ffaa74cf 12946 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12947
be179c8a
SP
12948 * elf/Versions (ld): Add _dl_find_dso_for_object.
12949 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12950 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12951 (dl_open_worker): Use _dl_find_dso_for_object.
12952 * elf/dl-sym.c (do_sym): Likewise.
12953 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12954
f78b5caa
AK
129552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12956
12957 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12958 Syntactic changes only.
12959 (_dl_runtime_profile): Do a tail-call to the resolved function.
12960
29691210
JM
129612013-02-17 Joseph Myers <joseph@codesourcery.com>
12962
12963 [BZ #13550]
12964 * sysdeps/x86_64/bp-asm.h: Remove file.
12965 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12966 <bp-sym.h> and <bp-asm.h>.
12967 (__clone): Do not use BP_SYM.
12968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12969 <bp-sym.h> and <bp-asm.h>.
12970 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12971 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12972 "bp-asm.h".
12973 (_setjmp): Do not use BP_SYM.
12974 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12975 "bp-asm.h".
12976 (setjmp): Do not use BP_SYM.
12977 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12978 libc_hidden_def.
12979 (mempcpy): Do not use BP_SYM in weak_alias.
12980 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12981 "bp-asm.h".
12982 (strchr): Do not use BP_SYM.
12983 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12984 "bp-asm.h".
12985 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12986 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12987 (_start): Do not use BP_SYM.
12988 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12989 "bp-asm.h".
12990 (strcat): Do not use BP_SYM.
12991 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12992 "bp-asm.h".
12993 (STRCMP): Do not use BP_SYM.
12994 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12995 "bp-asm.h".
12996 (STRCPY): Do not use BP_SYM.
12997 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12998 "bp-asm.h".
12999 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13000 "bp-asm.h".
13001 (FUNCTION): Do not use BP_SYM.
13002 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13003 weak_alias.
13004 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13005
f238fd19
AJ
130062013-02-17 Andreas Jaeger <aj@suse.de>
13007
13008 * time/Versions: Sort entries.
13009 * string/Versions: Likewise.
13010 * resolv/Versions: Likewise.
13011 * posix/Versions: Likewise.
13012 * iconv/Versions: Likewise.
13013 * elf/Versions: Likewise.
13014 * wcsmbs/Versions: Likewise.
13015
bd07f23c 130162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13017
22af19f9
SP
13018 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13019 loop termination condition.
13020
4709fe76
SP
13021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13022 variable to calculate EZ.
13023 (__sqr): Likewise.
2d0e0f29
SP
13024
13025 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13026 the lower precision input.
13027
daaa7713
JM
130282013-02-15 Joseph Myers <joseph@codesourcery.com>
13029
13030 [BZ #13550]
13031 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13032 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13033 (run-via-rtld-prefix): Do not handle %-bp tests.
13034 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13035 (all-object-suffixes): Remove .ob.
13036 (bppfx): Remove variable.
13037 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13038 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13039 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13040 [$(build-bounded) = yes] (libtype.ob): Likewise.
13041 * Makerules (elide-routines.ob): Remove variable.
13042 (do-tests-clean): Do not handle *-bp.out.
13043 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13044 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13045 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13046 (tests): Do not include $(tests-bp.out).
13047 (xtests): Do not include $(xtests-bp.out).
13048 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13049 [$(build-bounded) = yes] ($(addprefix
13050 $(objpfx),$(binaries-bounded))): Remove rule.
13051 ($(objpfx)%-bp.out): Remove rule.
13052 * config.make.in (build-bounded): Remove variable.
13053 * crypt/Makefile [$(build-bounded) = yes]
13054 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13055 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13056 append to variable.
13057 [$(build-bounded) = yes] (install-lib): Likewise.
13058 [$(build-bounded) = yes] (generated): Likewise.
13059 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13060 Remove rule.
13061 * intl/Makefile [$(build-bounded) = yes]
13062 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13063 * math/Makefile [$(build-bounded) = yes]
13064 ($(tests:%=$(objpfx)%-bp): Likewise.
13065 * misc/Makefile [$(build-bounded) = yes]
13066 ($(objpfx)tst-tsearch-bp): Likewise.
13067 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13068 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13069 Remove dependency.
13070 * string/Makefile (o-objects.ob): Remove variable.
13071 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13072 (CFLAGS-.ob): Remove variable.
13073 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13074 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13075 both definitions of variable.
13076 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13077 (ASFLAGS-.ob): Remove variable.
13078
e97ed6dd
JM
130792013-02-14 Joseph Myers <joseph@codesourcery.com>
13080
2bdd4ca6
JM
13081 [BZ #13550]
13082 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13083 Remove __BOUNDED_POINTERS__ from condition.
13084 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13085 * string/bits/string2.h [!__NO_STRING_INLINES &&
13086 !__BOUNDED_POINTERS__]: Likewise.
13087 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13088 Likewise.
13089 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13090 Remove conditional code.
13091 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13092 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13093 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13094 condition.
13095
e97ed6dd
JM
13096 [BZ #13550]
13097 * csu/libc-start.c: Do not include <bp-sym.h>.
13098 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13099 * elf/dl-open.c: Do not include <bp-sym.h>.
13100 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13101 * math/fegetenv.c: Do not include <bp-sym.h>.
13102 (fegetenv): Do not use BP_SYM in versioned symbols.
13103 * nptl/sysdeps/pthread/bits/libc-lockP.h
13104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13105 <bp-sym.h>.
13106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13107 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13109 (__pthread_mutex_destroy): Likewise.
13110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13111 (__pthread_mutex_lock): Likewise.
13112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13113 (__pthread_mutex_trylock): Likewise.
13114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13115 (__pthread_mutex_unlock): Likewise.
13116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13117 (__pthread_mutexattr_init): Likewise.
13118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13119 (__pthread_mutexattr_destroy): Likewise.
13120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13121 (__pthread_mutexattr_settype): Likewise.
13122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13123 (__pthread_rwlock_init): Likewise.
13124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13125 (__pthread_rwlock_destroy): Likewise.
13126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13127 (__pthread_rwlock_rdlock): Likewise.
13128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13129 (__pthread_rwlock_tryrdlock): Likewise.
13130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13131 (__pthread_rwlock_wrlock): Likewise.
13132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13133 (__pthread_rwlock_trywrlock): Likewise.
13134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13135 (__pthread_rwlock_unlock): Likewise.
13136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13137 (__pthread_key_create): Likewise.
13138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13139 (__pthread_setspecific): Likewise.
13140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13141 (__pthread_getspecific): Likewise.
13142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13143 Likewise.
13144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13145 (_pthread_cleanup_push_defer): Likewise.
13146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13147 (_pthread_cleanup_pop_restore): Likewise.
13148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13149 (pthread_setcancelstate): Likewise.
13150 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13151 <bp-sym.h>.
13152 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13153 (memchr): Do not use BP_SYM in weak_alias.
13154 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13155 (fegetenv): Do not use BP_SYM in versioned symbols.
13156 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13157 (fesetenv): Do not use BP_SYM in versioned symbols.
13158 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13159 (feupdateenv): Do not use BP_SYM in versioned symbols.
13160 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13161 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13162 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13163 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13164 (open64): Do not use BP_SYM in weak_alias.
13165 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13166 (fegetenv): Do not use BP_SYM in versioned symbols.
13167 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13168 (fesetenv): Do not use BP_SYM in versioned symbols.
13169 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13170 (feupdateenv): Do not use BP_SYM in versioned symbols.
13171 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13172 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13173 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13174 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13175 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13176 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13177 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13178 <bp-sym.h>.
13179 (__libc_start_main): Do not use BP_SYM.
13180
d6752ccd
SP
131812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13182
cb57ce60
SP
13183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13184 redundant return line.
13185 (norm): Likewise.
13186 (denorm): Likewise.
13187 (dbl_mp): Likewise.
13188 (sub_magnitudes): Likewise.
13189 (__add): Likewise.
13190 (__sub): Likewise.
13191 (__mul): Likewise.
13192 (__inv): Likewise.
13193 (__dvd): Likewise.
13194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13195 (norm): Likewise.
13196 (denorm): Likewise.
13197 (dbl_mp): Likewise.
13198 (sub_magnitudes): Likewise.
13199 (__add): Likewise.
13200 (__sub): Likewise.
13201 (__mul): Likewise.
13202 (__inv): Likewise.
13203 (__dvd): Likewise.
13204
f414520d
SP
13205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13206 instead of __mul.
13207 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13208 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13209 (cc32): Likewise.
13210
d6752ccd
SP
13211 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13212 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13214 of __mul for squares.
13215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13216 function
13217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13218 Likewise.
13219 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13220 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13221
70d9946a
JM
132222013-02-13 Joseph Myers <joseph@codesourcery.com>
13223
13224 [BZ #13550]
13225 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13226 code.
13227 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13228 prototype or function definition. Rename ubp_* variables and
13229 parameters. Remove argv definitions conditional on
13230 [__BOUNDED_POINTERS__].
13231 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13232 * elf/dl-runtime.c (_dl_fixup): Likewise.
13233 * include/set-hooks.h (RUN_HOOK): Likewise.
13234 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13235 definition.
13236 * string/strcpy.c (strcpy): Do not use __unbounded.
13237 * sysdeps/generic/frame.h (struct layout): Likewise.
13238 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13239 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13240 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13241 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13242 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13243 (__backtrace): Likewise.
13244 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13245 use __ptrvalue.
13246 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13247 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13248 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13249 Likewise.
13250 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13251 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13252 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13253 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13254 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13255 Do not use __unbounded.
13256 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13257 Rename __unboundedrlimits parameter to rlimits in prototype.
13258 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13259 Do not use __unbounded.
13260 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13261 not use __ptrvalue.
13262 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13263 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13264 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13265 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13266 __ptrvalue or __unbounded.
13267 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13268 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13269 use __unbounded.
13270 (__new_msgctl): Do not use __ptrvalue.
13271 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13272 __unbounded.
13273 (__libc_msgrcv): Do not use __ptrvalue.
13274 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13275 startup_info): Do not use __unbounded.
13276 (__libc_start_main): Likewise. Rename ubp_* variables and
13277 parameters. Remove argv definitions conditional on
13278 [__BOUNDED_POINTERS__].
13279 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13280 __ptrvalue.
13281 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13282 use __unbounded.
13283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13284 or __ptrvalue.
13285 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13286 use __unbounded.
13287 (__new_shmctl): Do not use __ptrvalue.
13288 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13289 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13290 Likewise.
13291 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13293 (__libc_sigaction): Likewise.
13294 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13295 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13296 Likewise.
13297 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13298
cc7834d6
OB
132992013-02-13 Ondřej Bílka <neleai@seznam.cz>
13300
ffb1ec7b 13301 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13302
13303 * string/mempcpy.c: Implement by calling memcpy.
13304
bdf02814
SP
133052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13306
c2af38aa
SP
13307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13308
4e92d59e
SP
13309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13310 evaluation.
13311
909279a5
SP
13312 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13313 values in the mantissa.
13314
bdf02814
SP
13315 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13316 minimize writes to Z.
13317 (sub_magnitudes): Simplify code a bit.
13318
cd525923
RM
133192013-02-12 Roland McGrath <roland@hack.frob.com>
13320
13321 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13322 from the message. The linker prefixes all warnings with that already.
13323
7e2f0d2d
AS
133242013-02-12 Andreas Schwab <schwab@suse.de>
13325
a445af0b
AS
13326 [BZ #15078]
13327 * posix/regexec.c (extend_buffers): Add parameter min_len.
13328 (check_matching): Pass minimum needed length.
13329 (clean_state_log_if_needed): Likewise.
13330 (get_subexp): Likewise.
13331 * posix/Makefile (tests): Add bug-regex34.
13332 (bug-regex34-ENV): Define.
13333 * posix/bug-regex34.c: New file.
13334
7e2f0d2d
AS
13335 [BZ #11561]
13336 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13337 elements compare against the byte sequence of it, not its name.
13338 * posix/Makefile (tests): Add bug-regex35.
13339 (bug-regex35-ENV): Define.
13340 * posix/bug-regex35.c: New file.
13341
a175b684
TV
133422013-02-11 Tom de Vries <tom@codesourcery.com>
13343
13344 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13345 comment.
13346 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13347 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13348 (CHECK_EOL): Add undef.
13349
310998fe 133502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13351
13352 * bits/stdlib-bsearch.h: New file.
13353 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13354 * stdlib/stdlib.h: Likewise.
41eda41d 13355
8ded91fb
RM
133562013-02-11 Roland McGrath <roland@hack.frob.com>
13357
13358 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13359 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13360 declaration.
13361 * manual/search.texi (Array Search Function): Add missing const in
13362 lfind prototype.
13363 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13364 declaration to use rlim_t.
13365 (Basic Scheduling Functions): Remove erroneous const from
13366 sched_getparam prototype. Remove erroneous * from
13367 sched_get_priority_max and sched_get_priority_min prototypes.
13368 (Resource Usage): Fix summary @comment on vtimes to refer to
13369 sys/vtimes.h rather than vtimes.h.
13370 Add missing *s in vtimes prototype.
13371 (Limits on Resources): Fix ulimit prototype to return long int.
13372 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13373 prototypes to use long int rather than double.
13374 (BSD Random): Fix initstate and setstate to use char *, not void *.
13375 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13376 prototype to make second argument 'struct aiocb64 *const[]'.
13377 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13378 (Status of AIO Operations): Remove erroneous const in aio_return and
13379 aio_return64 prototypes.
13380 (Synchronizing I/O): Fix sync prototype to return void.
13381 * manual/startup.texi (Suboptions): Remove an erroneous const in
13382 getsubopt prototype.
13383 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13384 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13385 use size_t rather than int.
13386 (Scanning All Users): Likewise for getpwent_r.
13387 (Setting Groups): Add missing const to setgroups prototype.
13388 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13389 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13390 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13391 'const void *' rather than 'const char *'.
13392 (Host Address Functions): Likewise for inet_ntop.
13393 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13394 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13395 ssize_t for return value.
13396 (Sending Data): Likewise for send, sendto, sendmsg.
13397 (Socket Option Functions): Add a missing const in setsockopt prototype.
13398 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13399 use wchar_t for the argument.
13400 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13401 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13402 take no arguments.
13403 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13404 double/float/long double for second argument.
13405 Fix return types of significand, significandf, significandl.
13406 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13407 argument in fchmod prototype.
13408 (File Owner): Use uid_t and gid_t in fchown prototype.
13409 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13410 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13411 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13412 use 'const struct dirent **' as argument types to CMP function pointer
13413 argument.
13414 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13415 (File Times): Fix summary magic @comment for struct utimbuf and utime
13416 to refer to utime.h, not time.h.
13417 * manual/string.texi (Argz Functions): Add missing const in
13418 argz_extract and argz_next prototypes.
13419 (Finding Tokens in a String): Likewise for basename.
13420 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13421 (Copying and Concatenation): Fix typo in wmemmove prototype.
13422 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13423 (Signal Stack): Remove erroneous const in sigstack prototype.
13424 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13425 prototype.
13426 (Simple Calendar Time): Likewise for stime.
13427 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13428 prototype.
13429 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13430 say sys/sysctl.h instead.
13431 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13432 and vsyslog prototypes.
13433
fe77fe6d
TV
134342013-02-11 Tom de Vries <tom@codesourcery.com>
13435
13436 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13437 Remove.
13438
3a09b620
RM
134392013-02-11 Roland McGrath <roland@hack.frob.com>
13440
13441 * misc/sys/mman.h: Fix typo in mremap comment.
13442
550a0b89
RM
134432013-02-08 Roland McGrath <roland@hack.frob.com>
13444
13445 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13446 the '\0' terminator.
13447
a2da1673
JM
134482013-02-08 Joseph Myers <joseph@codesourcery.com>
13449
13450 [BZ #13550]
13451 * debug/segfault.c: Don't include <bp-checks.h>.
13452 * sysdeps/generic/bp-checks.h: Remove file.
13453 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13454 (__GETDENTS): Don't use CHECK_N.
13455 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13456 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13457 (__getgroups): Don't use CHECK_N.
13458 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13459 (setgroups): Don't use CHECK_N.
13460 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13461 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13462 (__libc_msgrcv): Don't use CHECK_N.
13463 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13464 (__libc_msgsnd): Don't use CHECK_N.
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13466 <bp-checks.h>.
13467 (__libc_pread): Don't use CHECK_N.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13469 include <bp-checks.h>.
13470 (__libc_pread64): Don't use CHECK_N.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13472 include <bp-checks.h>.
13473 (__libc_pwrite): Don't use CHECK_N.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13475 include <bp-checks.h>.
13476 (__libc_pwrite64): Don't use CHECK_N.
13477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13478 <bp-checks.h>.
13479 (__libc_pread): Don't use CHECK_N.
13480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13481 include <bp-checks.h>.
13482 (__libc_pread64): Don't use CHECK_N.
13483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13484 include <bp-checks.h>.
13485 (__libc_pwrite): Don't use CHECK_N.
13486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13487 include <bp-checks.h>.
13488 (__libc_pwrite64): Don't use CHECK_N.
13489 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13490 (do_pread): Don't use CHECK_N.
13491 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13492 (do_pread64): Don't use CHECK_N.
13493 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13494 (do_pwrite): Don't use CHECK_N.
13495 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13496 (do_pwrite64): Don't use CHECK_N.
13497 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13498 (__libc_readv): Don't use CHECK_N.
13499 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13500 (semop): Don't use CHECK_N.
13501 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13502 <bp-checks.h>.
13503 (semtimedop): Don't use CHECK_N.
13504 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13505 (__libc_pread): Don't use CHECK_N.
13506 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13507 <bp-checks.h>.
13508 (__libc_pread64): Don't use CHECK_N.
13509 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13510 <bp-checks.h>.
13511 (__libc_pwrite): Don't use CHECK_N.
13512 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13513 <bp-checks.h>.
13514 (__libc_pwrite64): Don't use CHECK_N.
13515 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13516 <bp-checks.h>.
13517 (__libc_msgrcv): Don't use CHECK_N.
13518 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13519 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13520 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13521 (__libc_writev): Don't use CHECK_N.
13522
b84660a8
RM
135232013-02-08 Roland McGrath <roland@hack.frob.com>
13524
7f3e75f8
RM
13525 * string/strcpy.c: Removed unused variable.
13526
b84660a8
RM
13527 * Makeconfig (+sysdep-includes): Define with := rather than =.
13528 Use an existing include/ subdir of each sysdeps dir before it.
13529
471514d3
CD
135302013-02-08 Carlos O'Donell <carlos@redhat.com>
13531
13532 * nscd/connection.c (register_traced_file): Comment function.
13533 [HAVE_INOTIFY] (union __inev): Define.
13534 [HAVE_INOTIFY] (inotify_check_files): New function.
13535 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13536 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13537 clear_db_cache.
13538 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13539
b2d3c3be
CD
135402013-02-08 Carlos O'Donell <carlos@redhat.com>
13541
13542 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13543 loaded if not already and that a failure is permanent.
13544
b39949d2
CD
135452013-02-08 Carlos O'Donell <carlos@redhat.com>
13546
ddacd1db 13547 [BZ #15006]
b39949d2
CD
13548 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13549 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13550
b2c9eff4
JM
135512013-02-08 Joseph Myers <joseph@codesourcery.com>
13552
f3aae3f3
JM
13553 [BZ #13550]
13554 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13555 (CHECK_1_NULL_OK): Likewise.
13556 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13557 (__fxstat): Do not use CHECK_1.
13558 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13559 <bp-checks.h>.
13560 (___fxstat64): Do not use CHECK_1.
13561 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13562 <bp-checks.h>.
13563 (__fxstatat): Do not use CHECK_1.
13564 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13565 <bp-checks.h>.
13566 (__fxstatat64): Do not use CHECK_1.
13567 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13568 <bp-checks.h>.
13569 (__fxstat): Do not use CHECK_1.
13570 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13571 <bp-checks.h>.
13572 (__fxstatat): Do not use CHECK_1.
13573 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13574 <bp-checks.h>.
13575 (__getresgid): Do not use CHECK_1.
13576 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13577 <bp-checks.h>.
13578 (__getresuid): Do not use CHECK_1.
13579 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13580 <bp-checks.h>.
13581 (__lxstat): Do not use CHECK_1.
13582 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13583 <bp-checks.h>.
13584 (__old_msgctl): Do not use CHECK_1.
13585 (__new_msgctl): Likewise.
13586 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13587 <bp-checks.h>.
13588 (__new_setrlimit): Do not use CHECK_1.
13589 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13590 <bp-checks.h>.
13591 (__old_shmctl): Do not use CHECK_1.
13592 (__new_shmctl): Likewise.
13593 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13594 <bp-checks.h>.
13595 (__xstat): Do not use CHECK_1.
13596 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13597 (__lxstat): Do not use CHECK_1.
13598 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13599 <bp-checks.h>.
13600 (___lxstat64): Do not use CHECK_1.
13601 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13602 (__old_msgctl): Do not use CHECK_1.
13603 (__new_msgctl): Likewise.
13604 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13605 <bp-checks.h>.
13606 (__gettimeofday): Do not use CHECK_1.
13607 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13608 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13609 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13610 <bp-checks.h>.
13611 (__gettimeofday): Do not use CHECK_1.
13612 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13613 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13614 (__new_shmctl): Do not use CHECK_1.
13615 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13616 <bp-checks.h>.
13617 (do_sigtimedwait): Do not use CHECK_1.
13618 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13619 <bp-checks.h>.
13620 (do_sigwaitinfo): Do not use CHECK_1.
13621 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13622 <bp-checks.h>.
13623 (msgctl): Do not use CHECK_1.
13624 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13625 <bp-checks.h>.
13626 (shmctl): Do not use CHECK_1.
13627 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13628 (ustat): Do not use CHECK_1.
13629 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13630 <bp-checks.h>.
13631 (__fxstat): Do not use CHECK_1.
13632 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13633 <bp-checks.h>.
13634 (__fxstatat): Do not use CHECK_1.
13635 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13636 <bp-checks.h>.
13637 (__lxstat): Do not use CHECK_1.
13638 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13639 <bp-checks.h>.
13640 (__xstat): Do not use CHECK_1.
13641 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13642 (__xstat): Do not use CHECK_1.
13643 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13644 (___xstat64): Do not use CHECK_1.
13645
b2c9eff4
JM
13646 [BZ #13550]
13647 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13648 definitions.
13649 (CHECK_BOUNDS_HIGH): Likewise.
13650 * string/strcpy.c: Do not include <bp-checks.h>.
13651 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13652
f1d70dad
RM
136532013-02-07 Roland McGrath <roland@hack.frob.com>
13654
13655 * nscd/nscd-client.h (__nscd_drop_map_ref):
13656 Add __attribute__ ((unused)).
13657 * nis/nss-nisplus.h (niserr2nss): Likewise.
13658
13659 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13660 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13661
13662 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13663 Remove inline keyword.
13664 * include/rounding-mode.h (round_away): Likewise.
13665 * libio/wfileops.c (adjust_wide_data): Likewise.
13666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13667 (__m128i_strloadu_tolower): Likewise.
13668 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13669 (__m128i_strloadu_tolower): Likewise.
13670 * time/mktime.c (ydhms_diff): Likewise.
13671 * locale/elem-hash.h (elem_hash): Likewise.
13672 * locale/setlocale.c (setdata): Likewise.
13673 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13674 (re_string_wchar_at): Likewise.
13675 (bitset_not, bitset_merge, bitset_mask): Likewise.
13676 [!(__GNUC__ > 3)] (inline): Remove macro.
13677 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13678 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13679 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13680 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13681 * string/memcmp.c (memcmp_bytes): Likewise.
13682 * locale/programs/locarchive.c (compute_hashval): Likewise.
13683 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13684 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13685 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13686 * nss/getent.c (print_rpc, print_protocols): Likewise.
13687 (print_passwd, print_group, print_aliases): Likewise.
13688 * nis/nss-nisplus.h (niserr2nss): Likewise.
13689 * nscd/connections.c (restart_p): Likewise.
13690 Change return type to bool.
13691
eab55bfb
RM
136922013-02-05 Roland McGrath <roland@hack.frob.com>
13693
7bd642f5
RM
13694 * Makeconfig (all-Depend-files): Add existing
13695 $(sorted-subdirs:=/Depend) files.
13696 (all-subdirs): Remove nss.
13697 * sysdeps/unix/inet/Subdirs: Add it here instead.
13698 * hesiod/Depend: New file.
13699
573c29b2
RM
13700 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13701 instead of calling alloca.
13702
b2e25af0
RM
13703 * io/lseek.c (__lseek): Rename to __libc_lseek.
13704 Define __lseek as an alias.
13705
eab55bfb
RM
13706 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13707
9a0d1941
CD
137082013-02-04 Carlos O'Donell <carlos@redhat.com>
13709
13710 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13711 else clause and remove check for non-standard endianness.
13712
b83bbec4
DM
137132013-02-04 David S. Miller <davem@davemloft.net>
13714
13715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13716
6277fdab
JM
137172013-02-04 Joseph Myers <joseph@codesourcery.com>
13718
13719 [BZ #13550]
13720 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13721 (__ubp_memchr): Remove prototype.
13722 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13723 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13724 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13725 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13726 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13727 Remove alias.
13728 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13729 (__ubp_memchr): Likewise.
13730 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13731 (__ubp_memchr): Likewise.
13732 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13733 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13734 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13735 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13736 CHECK_STRING.
13737 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13738 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13739 (__getcwd): Do not use CHECK_STRING.
13740 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13741 <bp-checks.h>.
13742 (__real_chown): Do not use CHECK_STRING.
13743 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13744 <bp-checks.h>.
13745 (fchownat): Do not use CHECK_STRING.
13746 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13747 CHECK_STRING.
13748 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13749 <bp-checks.h>.
13750 (__lchown): Do not use CHECK_STRING.
13751 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13752 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13753 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13754 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13756 include <bp-checks.h>.
13757 (truncate64): Do not use CHECK_STRING.
13758 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13759 <bp-checks.h>.
13760 (__real_chown): Do not use CHECK_STRING.
13761 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13762 <bp-checks.h>.
13763 (__lchown): Do not use CHECK_STRING.
13764 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13765 <bp-checks.h>.
13766 (__chown): Do not use CHECK_STRING.
13767 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13768 <bp-checks.h>.
13769 (truncate64): Do not use CHECK_STRING.
13770 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13771 Likewise.
13772 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13773 (__xmknod): Do not use CHECK_STRING.
13774 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13775 <bp-checks.h>.
13776 (__xmknodat): Do not use CHECK_STRING.
13777 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13778 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13779
903ae060
AS
137802013-02-04 Andreas Schwab <schwab@suse.de>
13781
13782 [BZ #14142]
13783 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13784 * include/netdb.h: Likewise for h_errno.
13785 * elf/tst-stackguard1.c: Include <tls.h>.
13786
542f9466
JK
137872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13788
13789 * elf/link.h (struct link_map): Extend the l_addr comment.
13790 * include/link.h (struct link_map): Likewise.
13791
e782a927
JM
137922013-02-01 Joseph Myers <joseph@codesourcery.com>
13793
13794 [BZ #13550]
13795 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13796 (BOUNDED_1): Remove macro.
13797 * debug/backtrace.c: Don't include <bp-checks.h>.
13798 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13799 (__backtrace): Likewise.
13800 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13801 <bp-checks.h>.
13802 (__backtrace): Don't use BOUNDED_1.
13803 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13804 <bp-checks.h>.
13805 (__backtrace): Don't use BOUNDED_1.
13806 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13807 (__backtrace): Don't use BOUNDED_1.
13808 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13809 (shmat): Don't use BOUNDED_N.
13810
8cf28c5e
JM
138112013-01-31 Joseph Myers <joseph@codesourcery.com>
13812
3a7ac8a0
JM
13813 [BZ #13550]
13814 * sysdeps/generic/bp-start.h: Remove file.
13815 * csu/libc-start.c: Don't include <bp-start.h>.
13816 (LIBC_START_MAIN): Set up __environ directly instead of using
13817 INIT_ARGV_and_ENVIRON.
13818 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13819 <bp-start.h>.
13820
f3499f95
JM
13821 [BZ #13550]
13822 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13823 definitions.
13824 (CHECK_FCNTL): Likewise.
13825 (CHECK_N_PAGES): Likewise.
13826
32a45bea
JM
13827 [BZ #13550]
13828 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13829 definitions.
13830 (CHECK_SIGSET_NULL_OK): Likewise.
13831 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13832 <bp-checks.h>.
13833 (sigpending): Don't use CHECK_SIGSET.
13834 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13835 <bp-checks.h>.
13836 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13837 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13838 <bp-checks.h>.
13839 (do_sigsuspend): Don't use CHECK_SIGSET.
13840 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13841 use CHECK_SIGSET.
13842 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13843 (do_sigwait): Don't use CHECK_SIGSET.
13844 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13845 use CHECK_SIGSET.
13846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13847 include <bp-checks.h>.
13848 (sigpending): Don't use CHECK_SIGSET.
13849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13850 include <bp-checks.h>.
13851 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13852 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13853 <bp-checks.h>.
13854 (sigpending): Don't use CHECK_SIGSET.
13855 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13856 <bp-checks.h>.
13857 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13858
2e8a5c8c
JM
13859 [BZ #13550]
13860 * sysdeps/generic/bp-semctl.h: Remove file.
13861 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13862 <bp-checks.h> and <bp-semctl.h>.
13863 (__old_semctl): Don't use CHECK_SEMCTL.
13864 (__new_semctl): Likewise.
13865 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13866 and <bp-semctl.h>.
13867 (__old_semctl): Don't use CHECK_SEMCTL.
13868 (__new_semctl): Likewise.
13869 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13870 <bp-checks.h> and <bp-semctl.h>.
13871 (__old_semctl): Don't use CHECK_SEMCTL.
13872 (__new_semctl): Likewise.
13873 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13874 <bp-checks.h> and <bp-semctl.h>.
13875 (semctl): Don't use CHECK_SEMCTL.
13876
c2d54929
JM
13877 [BZ #13550]
13878 * Makerules (elide-bp-thunks): Remove variable.
13879 (elide-routines.oS): Don't use $(elide-bp-thunks).
13880 (elide-routines.os): Likewise.
13881 (elide-routines.o): Likewise.
13882 (elide-routines.op): Likewise.
13883 (elide-routines.og): Likewise.
13884 (objects): Don't use $(bp-thunks).
13885 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13886 include.
13887 (common-generated): Do not add s-proto-bp.d.
13888 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13889 (int): Likewise.
13890 (typ): Likewise.
13891 Do not generate makefile rules for bounded-pointer thunks.
13892 * sysdeps/generic/bp-thunks.h: Remove file.
13893 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13894 * sysdeps/unix/s-proto-bp.S: Likewise.
13895
8cf28c5e
JM
13896 [BZ #15062]
13897 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13898 parts of result separately when argument is not close to line from
13899 -i to i and one part of argument is small.
13900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13902 * math/libm-test.inc (cacos_test): Add more tests.
13903 (casin_test): Likewise.
13904 (casinh_test): Likewise.
13905 * sysdeps/i386/fpu/libm-test-ulps: Update.
13906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13907
c4e33b8d
DM
139082013-01-31 David S. Miller <davem@davemloft.net>
13909
13910 * po/de.po: Update from translation team.
13911
3b60b421
MK
139122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13913
13914 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13915
bb931195
TS
139162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13917
b5a5da23
TS
13918 * configure.in (_AC_PROG_CC_C89): New definition.
13919 * configure: Regenerate.
13920
bb931195
TS
13921 * configure.in (AC_PROG_CPP): New definition.
13922 * configure: Regenerate.
13923
8c53a12c
JM
139242013-01-23 Joseph Myers <joseph@codesourcery.com>
13925
13926 * debug/tst-backtrace.h: New file.
13927 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13928 (ret): Remove variable.
13929 (x): Likewise.
13930 (FAIL): Remove macro.
13931 (NO_INLINE): Likewise.
13932 (fn1): Use match function instead of strstr.
13933 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13934 (ret): Remove variable.
13935 (x): Likewise.
13936 (FAIL): Remove macro.
13937 (NO_INLINE): Likewise.
13938 (fn): Use match function instead of strstr.
13939 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13940 (ret): Remove variable.
13941 (x): Likewise.
13942 (FAIL): Remove macro.
13943 (NO_INLINE): Likewise.
13944 (handle_signal): Use match function instead of strstr.
13945 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13946 (ret): Remove variable.
13947 (x): Likewise.
13948 (FAIL): Remove macro.
13949 (NO_INLINE): Likewise.
13950 (handle_signal): Use match function instead of strstr.
13951
4858fa2a
RM
139522013-01-23 Roland McGrath <roland@hack.frob.com>
13953
13954 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13955
bae8e7f5
DM
139562013-01-23 David S. Miller <davem@davemloft.net>
13957
13958 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13959 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13960 argument of CAS if possible.
13961 * sysdeps/sparc/sparc64/bits/atomic.h
13962 (__arch_compare_and_exchange_val_32_acq): Likewise.
13963 (__arch_compare_and_exchange_val_64_acq): Likewise.
13964
9cbbc4ae
PT
139652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13966
13967 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13968 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13969 Include <limits.h>.
67b3f58c 13970 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13971
5655a0b5
AC
139722013-01-23 Adam Conrad <adconrad@0c3.net>
13973
13974 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13975 (LDFLAGS-tst-array5): Likewise.
13976
052aff95
JM
139772013-01-23 Joseph Myers <joseph@codesourcery.com>
13978
13979 [BZ #15036]
13980 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13981 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13982 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13983 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13984
7c1e01aa
DM
139852013-01-21 David S. Miller <davem@davemloft.net>
13986
13987 * sysdeps/sparc/backtrace.c: New file.
13988 * sysdeps/sparc/sparc32/backtrace.h: New file.
13989 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13990 * sysdeps/sparc/sparc64/backtrace.h: New file.
13991 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13992 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13993 -funwind-tables.
13994
ab087e0a
AS
139952013-01-21 Andreas Schwab <schwab@suse.de>
13996
13997 [BZ #15020]
13998 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13999 closed its stdout.
14000
ed689c2f
AS
140012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14002
14003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14004 "mpa2.h".
14005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14006
31d470ac
JM
140072013-01-18 Joseph Myers <joseph@codesourcery.com>
14008 Mark Mitchell <mark@codesourcery.com>
14009 Tom de Vries <tom@codesourcery.com>
14010 Paul Pluzhnikov <ppluzhnikov@google.com>
14011
14012 * debug/tst-backtrace2.c: New file.
14013 * debug/tst-backtrace3.c: Likewise.
14014 * debug/tst-backtrace4.c: Likewise.
14015 * debug/tst-backtrace5.c: Likewise.
14016 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14017 (CFLAGS-tst-backtrace3.c): Likewise.
14018 (CFLAGS-tst-backtrace4.c): Likewise.
14019 (CFLAGS-tst-backtrace5.c): Likewise.
14020 (LDFLAGS-tst-backtrace2): Likewise.
14021 (LDFLAGS-tst-backtrace3): Likewise.
14022 (LDFLAGS-tst-backtrace4): Likewise.
14023 (LDFLAGS-tst-backtrace5): Likewise.
14024 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14025 tst-backtrace4 and tst-backtrace5.
14026
90567f30 140272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14028 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14029
14030 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14031 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14033 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14035 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14036 "+r" and remove output regs list as redundant. Add explicit inline
14037 asm to specify register of return val to work around compiler codegen
14038 bug. Remove (int) cast on return value. Add return type parameter to
14039 use in macro so that this macro does not truncate return value for
14040 64-bit values.
14041 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14042 pass to INTERNAL_VSYSCALL_NCS.
14043 (INLINE_VSYSCALL): Add 'long int' as return type to
14044 INTERNAL_VSYSCALL_NCS macro invocation.
14045 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14046 INTERNAL_VSYSCALL_NCS macro invocation.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14048
d3b9ea61
SP
140492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14050
0b57daeb
SP
14051 [BZ #14496]
14052 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14053 Fix application of SIMD FP exception mask.
14054
caa99d06
SP
14055 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14056 mp_no from a power of two.
14057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14058 __mpexp_twomm1. Use __pow_mp.
14059
d3b9ea61
SP
14060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14061 multiplication.
14062
1dbaee3c
DM
140632013-01-17 David S. Miller <davem@davemloft.net>
14064
14065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14066
728d7b43
JM
140672013-01-17 Joseph Myers <joseph@codesourcery.com>
14068
14069 [BZ #15023]
14070 * include/complex.h: Condition contents on [!_COMPLEX_H].
14071 (__kernel_casinhf): New prototype.
14072 (__kernel_casinh): Likewise.
14073 (__kernel_casinhl): Likewise.
14074 * math/Makefile (libm_calls): Add k_casinh.
14075 * math/k_casinh.c: New file.
14076 * math/k_casinhf.c: Likewise.
14077 * math/k_casinhl.c: Likewise.
14078 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14079 finite nonzero arguments.
14080 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14081 finite nonzero arguments.
14082 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14083 finite nonzero arguments.
14084 * math/s_casinh.c: Do not include <float.h>.
14085 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14086 * math/s_casinhf.c: Do not include <float.h>.
14087 (__casinhf): Move code for finite nonzero arguments to
14088 k_casinhf.c.
14089 * math/s_casinhl.c: Do not include <float.h>.
14090 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14091 redefine.
14092 (__casinhl): Move code for finite nonzero arguments to
14093 k_casinhl.c.
14094 * math/libm-test.inc (cacos_test): Add more tests.
14095 * sysdeps/i386/fpu/libm-test-ulps: Update.
14096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14097
2a26ef3a
PT
140982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14099
14100 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14101 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14102 [!HAVE_MREMAP]: Remove [defined linux] case.
14103 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14104
a897655d
SP
141052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14106
14107 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14108
881ebe89 141092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14110
14111 * elf/elf.h (R_386_SIZE32): New relocation.
14112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14113 R_386_SIZE32.
14114 (elf_machine_rela): Likewise.
14115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14116 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14117
59981e9b
JM
141182013-01-17 Joseph Myers <joseph@codesourcery.com>
14119
14120 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14121 (FP_FAST_FMA): Do not define.
14122 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14123 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14124 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14125 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14126 !_SOFT_FLOAT]: Likewise.
14127 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14129 value.
14130 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14131 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14132 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14133 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14134 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14135 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14136 file.
14137
cfa8054f
AS
141382013-01-16 Andreas Schwab <schwab@suse.de>
14139
14140 [BZ #14327]
14141 * include/stdlib.h (__mktemp): Add declaration.
14142 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14143 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14144
dd930cc5
SP
141452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14146
881ebe89
SP
14147 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14148 definitions.
14149 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14150 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14151 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14152 definitions here.
14153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14154 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14155 definitions.
14156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14157 and ONE.
14158 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14159 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14160 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14161 definitions.
14162 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14163 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14164 definitions.
14165 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14166
dd930cc5
SP
14167 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14168
c19a9f89
DM
141692013-01-15 David S. Miller <davem@davemloft.net>
14170
1aa61767
DM
14171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14172 trunc{,f} to libm-sysdep_routes.
14173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14175 file.
14176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14178 file.
14179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14180 file.
14181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14184 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14185 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14186 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14187 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14188 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14189
c42d5e98
DM
14190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14191 nearbyint{,f} to libm-sysdep_routes.
14192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14194 New file.
14195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14196 file.
14197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14198 New file.
14199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14200 file.
14201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14204 file.
14205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14206 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14207 file.
14208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14209 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14210 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14211
c19a9f89
DM
14212 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14213 libc_feholdexcept and libc_fesetenv.
14214
357679d2
MF
142152013-01-15 Mike Frysinger <vapier@gentoo.org>
14216
14217 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14218
65a82e3d
DM
142192013-01-14 David S. Miller <davem@davemloft.net>
14220
8b954ab9
DM
14221 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14222 (SPARC_ASM_VIS2_IFUNC): Likewise.
14223 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14225 use of 'siam' instruction.
14226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14227 Likewise.
14228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14229 Likewise.
14230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14231 Likewise.
14232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14237 file.
14238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14239 file.
14240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14241 file.
14242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14243 file.
14244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14249 new VIS2 routines.
14250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14253 Likewise.
14254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14259 routines to libm-sysdep_routines.
14260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14261
65a82e3d
DM
14262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14263 fdim/fdimf to libm-sysdep_routines.
14264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14265 file.
14266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14268 file.
14269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14272 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14273 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14274 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14275 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14276
e34ab705
SP
142772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14278
2a91b573
SP
14279 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14280 to optimize copies.
14281
1066a534
SP
14282 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14285
e34ab705
SP
14286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14287 local variable MPTWO.
14288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14289 Likewise.
14290
aba5e596
MF
142912013-01-13 Mike Frysinger <vapier@gentoo.org>
14292
14293 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14294 GLOB_NOESCAPE.
14295
e557e9e5
MF
142962013-01-13 Mike Frysinger <vapier@gentoo.org>
14297
14298 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14299
0428cec9
MF
143002013-01-13 Mike Frysinger <vapier@gentoo.org>
14301
14302 * manual/pattern.texi (glob_t): Document gl_flags.
14303 (glob64_t): Likewise.
14304
8794a964
DM
143052013-01-11 David S. Miller <davem@davemloft.net>
14306
66438c3f
RM
14307 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14308 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14309 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14310 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14311 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14312 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14313 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14314 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14315 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14316 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14317 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14318 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14319 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14320
4ae4244d
DM
14321 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14322 sparc V9 rather than using V8 code.
14323 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14324 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14325
8794a964
DM
14326 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14327 Move to...
14328 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14329 Here.
14330
6270516e
RM
143312013-01-11 Roland McGrath <roland@hack.frob.com>
14332
14333 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14334 not in the main loop.
14335 * configure: Regenerated.
14336
6a57d931
JM
143372013-01-11 Joseph Myers <joseph@codesourcery.com>
14338
14339 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14340 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14341 to just #else.
14342 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14343 [!__GLIBC_HAVE_LONG_LONG] case.
14344 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14345 condition to just #else.
14346 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14347 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14348 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14349 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14350 unconditional.
14351 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14352 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14353 #elif condition to just #else.
14354 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14355 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14356 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14357 #elif condition to just #else.
14358
0e8529e9
SE
143592013-01-11 Steve Ellcey <sellcey@mips.com>
14360
14361 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14362 (EF_MIPS_ARCH_64): Fix value.
14363 (EF_MIPS_ARCH_32R2): New.
14364 (EF_MIPS_ARCH_64R2): New.
14365
740b3dbe
L
143662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14367
14368 * Makeconfig (+link-pie-before-libc): New.
14369 (+link-pie-after-libc): Likewise.
14370 (+link-pie-tests): Likewise.
14371 (+link-pie): Rewritten.
14372 (link-before-libc): Remove $(config-LDFLAGS).
14373 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14374 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14375 (config-LDFLAGS): Renamed to ...
14376 (rtld-LDFLAGS): This.
14377 (rtld-tests-LDFLAGS): New macro.
14378 (link-libc-rpath-link): Likewise.
14379 (link-libc-tests-rpath-link): Likewise.
14380 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14381 (link-libc): Prepand $(link-libc-rpath-link).
14382 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14383 (test-program-prefix): New macro.
14384 (test-via-rtld-prefix): Likewise.
14385 (test-program-cmd): Likewise.
14386 (host-test-program-cmd): Likewise.
14387 * Makefile ($(common-objpfx)testrun.sh): Replace
14388 $(run-program-prefix) with $(test-program-prefix).
14389 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14390 $(rtld-LDFLAGS).
14391 ($(common-objpfx)shlib.lds): Likewise.
14392 (build-module-helper): Likewise.
14393 ($(common-objpfx)format.lds): Likewise.
14394 * Rules (binaries-pie-tests): New.
14395 (binaries-pie-notests): Likewise.
14396 (binaries-pie): Rewritten.
14397 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14398 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14399 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14400 (make-test-out): Replace $(host-built-program-cmd) with
14401 $(host-test-program-cmd).
14402 * config.make.in (build-hardcoded-path-in-tests): New variable.
14403 * configure.in (--enable-hardcoded-path-in-tests): New configure
14404 option.
14405 (hardcoded_path_in_tests): New AC_SUBST.
14406 * configure: Regenerated.
14407 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14408 $(built-program-cmd) with $(test-program-cmd).
14409 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14410 (test_program_cmd): This.
14411 * elf/Makefile ($(objpfx)order.out): Run test with
14412 $(test-program-prefix).
14413 ($(objpfx)order2.out): Likewise.
14414 ($(objpfx)tst-initorder.out): Likewise.
14415 ($(objpfx)tst-initorder2.out): Likewise.
14416 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14417 $(test-program-cmd).
14418 ($(objpfx)tst-array1-static.out): Likewise.
14419 ($(objpfx)tst-array2.out): Likewise.
14420 ($(objpfx)tst-array3.out): Likewise.
14421 ($(objpfx)tst-array4.out): Likewise.
14422 ($(objpfx)tst-array5.out): Likewise.
14423 ($(objpfx)tst-array5-static.out): Likewise.
14424 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14425 $(test-program-cmd).
14426 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14427 $(run-program-prefix) with $(test-program-prefix).
14428 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14429 (test_program_prefix): This.
14430 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14431 $(run-program-prefix) with $(test-program-prefix).
14432 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14433 (test_program_prefix): This.
14434 * iconvdata/tst-tables.sh: Likewise.
14435 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14436 $(run-program-prefix) with $(test-program-prefix).
14437 ($(objpfx)tst-translit.out): Likewise.
14438 ($(objpfx)tst-gettext2.out): Likewise.
14439 ($(objpfx)tst-gettext4.out): Likewise.
14440 ($(objpfx)tst-gettext6.out): Likewise.
14441 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14442 (test_program_prefix): This.
14443 * intl/tst-gettext2.sh: Likewise.
14444 * intl/tst-gettext4.sh Likewise.
14445 * intl/tst-gettext6.sh: Likewise.
14446 * intl/tst-translit.sh: Likewise.
14447 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14448 with $(test-program-cmd).
14449 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14450 $(run-program-prefix) with $(test-program-prefix).
14451 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14452 (test_program_prefix): This.
14453 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14454 $(run-program-prefix) with $(test-program-prefix).
14455 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14456 (test_program_prefix): This.
14457 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14458 * posix/Makefile ($(objpfx)globtest.out): Replace
14459 $(run-via-rtld-prefix) and $(test-wrapper) with
14460 $(test-program-prefix) and $(test-via-rtld-prefix).
14461 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14462 $(test-program-prefix).
14463 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14464 $(host-test-program-cmd).
14465 (tst-spawn-ARGS): Likewise.
14466 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14467 $(test-program-prefix).
14468 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14469 (test_via_rtld_prefix): This.
14470 (test_wrapper): Renamed to ...
14471 (test_program_prefix): This.
14472 (run_program_prefix): Replaced by test_program_prefix.
14473 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14474 (test_program_prefix): This.
14475 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14476 with $(host-test-program-cmd).
14477 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14478 $(run-program-prefix) with $(test-program-prefix).
14479 ($(objpfx)tst-printf.out): Likewise.
14480 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14481 $(test-program-cmd).
14482 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14483 (test_program_prefix): This.
14484 * stdio-common/tst-unbputc.sh: Likewise.
14485 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14486 $(run-program-prefix) with $(test-program-prefix).
14487 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14488 (test_program_prefix): This.
14489 * string/Makefile ($(objpfx)tst-svc.out): Replace
14490 $(built-program-cmd) with $(test-program-cmd).
14491
c6fe55cf
AJ
144922013-01-11 Andreas Jaeger <aj@suse.de>
14493
14494 [BZ #15003]
14495 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14496 value. Sync with Linux 3.7.
14497
9e6919c8
DM
144982013-01-10 David S. Miller <davem@davemloft.net>
14499
14500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14503
1c9f1a02
RM
145042013-01-10 Roland McGrath <roland@hack.frob.com>
14505
14506 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14507 never set.
14508 * configure: Regenerated.
14509
b9de2dde
DM
145102013-01-10 David S. Miller <davem@davemloft.net>
14511
14512 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14513 sparc V9 rather than using V8 code.
14514 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14515 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14516
e7f68ef4
RM
145172013-01-10 Roland McGrath <roland@hack.frob.com>
14518
14519 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14520 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14521 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14522 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14523 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14524 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14525 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14526 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14527 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14528 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14529 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14530 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14531 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14532 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14533 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14534 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14535 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14536 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14537 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14538 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14539 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14540 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14541 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14542 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14543 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14544 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14545 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14546
5a47cc9c
DM
145472013-01-10 David S. Miller <davem@davemloft.net>
14548
14549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14550
4cf8f209
L
145512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14552
14553 * posix/Makefile (tests-static): New variable.
14554 (tests): Add $(tests-static).
14555 (tst-exec-static-ARGS): New variable.
14556 (tst-spawn-static-ARGS): Likewise.
14557 * posix/tst-exec-static.c: New file.
14558 * posix/tst-spawn-static.c: Likewise.
14559 * posix/tst-exec.c: Support run directly.
14560 * posix/tst-spawn.c: Likewise.
14561
fed0faa1
JM
145622013-01-10 Joseph Myers <joseph@codesourcery.com>
14563
828beb13
JM
14564 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14565 long.
14566 * math/bits/mathcalls.h (llrint): Likewise.
14567 (llround): Likewise.
14568 * stdlib/stdlib.h (struct drand48_data): Likewise.
14569 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14570 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14571 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14572 Likewise.
14573 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14574 Likewise.
14575 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14576 (elf_greg_t): Likewise.
14577 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14578 (__jmp_buf): Likewise.
14579 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14580 definitions.
14581 (llrint): Likewise, for all definitions.
14582 (llrintl): Likewise.
14583
fed0faa1
JM
14584 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14585 Remove [__GNUC__] condition.
14586 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14587 condition to just [__USE_ISOC99].
14588 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14589
1a20cb20
L
145902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14591
14592 [BZ #14200]
14593 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14594 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14595 defined.
14596 (_POSIX_V6_ILP32_OFF32): Likewise.
14597 (_XBS5_ILP32_OFF32): Likewise.
14598 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14599 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14600
751b85f7
SP
146012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14602
7490eb81
SP
14603 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14604
751b85f7
SP
14605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14606 doubles __mpexp_twomm1. Adjust usage.
14607 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14608 Remove.
14609
988197f0
AS
146102013-01-10 Andreas Schwab <schwab@suse.de>
14611
14612 [BZ #14964]
14613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14614 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14615
e83d7298
DM
146162013-01-09 David S. Miller <davem@davemloft.net>
14617
034ed64b 14618 [BZ #15003]
e83d7298
DM
14619 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14620 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14621 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14622 TCP_FASTOPEN): Define.
14623 (tcp_repair_opt): New structure.
14624 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14625 enum values.
14626 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14627 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14628 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14629 (tcp_cookie_transactions): New structure.
14630
d5e0b9bd
AB
146312013-01-09 Anton Blanchard <anton@samba.org>
14632
14633 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14634 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14635 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14636 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14637
0c07e3ea
JM
146382013-01-09 Joseph Myers <joseph@codesourcery.com>
14639
14640 * include/features.h (__USE_ANSI): Remove.
14641
232f7002
RM
146422013-01-09 Roland McGrath <roland@hack.frob.com>
14643
ad98e30c
RM
14644 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14645
232f7002
RM
14646 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14647
950c99ca
SP
146482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14649
b5792741
SP
14650 * sysdeps/s390/fpu/libm-test-ulps: Update.
14651
47cf2278
SP
14652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14653
950c99ca
SP
14654 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14655 (__acr): Likewise.
14656 (__cpy): Likewise.
14657 (norm): Likewise.
14658 (denorm): Likewise.
14659 (__mp_dbl): Likewise.
14660 (__dbl_mp): Likewise.
14661 (add_magnitudes): Likewise.
14662 (sub_magnitudes): Likewise.
14663 (__add): Likewise.
14664 (__sub): Likewise.
14665 (__mul): Likewise.
14666 (__inv): Likewise.
14667 (__dvd): Likewise.
14668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14669 (__acr): Likewise.
14670 (__cpy): Likewise.
14671 (norm): Likewise.
14672 (denorm): Likewise.
14673 (__mp_dbl): Likewise.
14674 (__dbl_mp): Likewise.
14675 (add_magnitudes): Likewise.
14676 (sub_magnitudes): Likewise.
14677 (__add): Likewise.
14678 (__sub): Likewise.
14679 (__mul): Likewise.
14680 (__inv): Likewise.
14681 (__dvd): Likewise.
14682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14683 (__acr): Likewise.
14684 (__cpy): Likewise.
14685 (norm): Likewise.
14686 (denorm): Likewise.
14687 (__mp_dbl): Likewise.
14688 (__dbl_mp): Likewise.
14689 (add_magnitudes): Likewise.
14690 (sub_magnitudes): Likewise.
14691 (__add): Likewise.
14692 (__sub): Likewise.
14693 (__mul): Likewise.
14694 (__inv): Likewise.
14695 (__dvd): Likewise.
14696
eede9df9
JM
146972013-01-08 Joseph Myers <joseph@codesourcery.com>
14698
14699 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14700 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14701 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14702 2 && __USE_EXTERN_INLINES]: Likewise.
14703
c40ea3d9
AJ
147042013-01-08 Andreas Jaeger <aj@suse.de>
14705
14706 [BZ# 14985]
14707 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14708 Remove.
14709 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14710 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14711
2ccdea26
AB
147122013-01-07 Anton Blanchard <anton@samba.org>
14713
14714 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14715 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14716 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14717 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14719 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14720 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14721 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14729 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14730 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14731 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14732 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14733 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14734 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14737 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14738 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14739 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14740 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14741 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14743 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14744 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14747 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14748 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14749 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14750 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14752 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14754 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14755 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14756 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14757
a9708fed
JM
147582013-01-07 Joseph Myers <joseph@codesourcery.com>
14759
375607b9
JM
14760 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14761 (__MALLOC_PMT): Likewise.
14762 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14763 [__GNUC__], only on [_LIBC].
14764 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14765 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14766 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14767 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14768 forward declaration.
14769 (realloc_hook_ini): Likewise.
14770 (memalign_hook_ini): Likewise.
14771 (__libc_memalign): Do not use __MALLOC_PMT in variable
14772 declaration.
14773 (__libc_valloc): Likewise.
14774 (__libc_pvalloc): Likewise.
14775 (__libc_calloc): Likewise.
14776 (__posix_memalign): Likewise.
14777
a9708fed
JM
14778 [BZ #14996]
14779 * math/s_casinh.c: Include <float.h>.
14780 (__casinh): Do not do computation with squaring and square root
14781 for large arguments.
14782 * math/s_casinhf.c: Include <float.h>.
14783 (__casinhf): Do not do computation with squaring and square root
14784 for large arguments.
14785 * math/s_casinhl.c: Include <float.h>.
14786 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14787 (__casinhl): Do not do computation with squaring and square root
14788 for large arguments.
14789 * math/libm-test.inc (casin_test): Add more tests.
14790 (casinh_test): Likewise.
14791 * sysdeps/i386/fpu/libm-test-ulps: Update.
14792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14793
afec409a
L
147942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14797 (__x86_64_raw_data_cache_size): Likewise.
14798 (__x86_64_data_cache_size_half): Likewise.
14799 (__x86_64_raw_data_cache_size_half): Likewise.
14800 (__x86_64_shared_cache_size): Likewise.
14801 (__x86_64_raw_shared_cache_size): Likewise.
14802 (__x86_64_shared_cache_size_half): Likewise.
14803 (__x86_64_raw_shared_cache_size_half): Likewise.
14804 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14805 to ...
14806 (__x86_data_cache_size): This.
14807 (__x86_64_raw_data_cache_size): Renamed to ...
14808 (__x86_raw_data_cache_size): This.
14809 (__x86_64_data_cache_size_half): Renamed to ...
14810 (__x86_data_cache_size_half): This.
14811 (__x86_64_raw_data_cache_size_half): Renamed to ...
14812 (__x86_raw_data_cache_size_half): This.
14813 (__x86_64_shared_cache_size): Renamed to ...
14814 (__x86_shared_cache_size): This.
14815 (__x86_64_raw_shared_cache_size): Renamed to ...
14816 (__x86_raw_shared_cache_size): This.
14817 (__x86_64_shared_cache_size_half): Renamed to ...
14818 (__x86_shared_cache_size_half): This.
14819 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14820 (__x86_raw_shared_cache_size_half): This.
14821 * sysdeps/x86_64/memcpy.S: Updated.
14822 * sysdeps/x86_64/memset.S: Likewise.
14823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14825 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14826
0b3986d0
DM
148272013-01-04 David S. Miller <davem@davemloft.net>
14828
14829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14830
e47686e9
AS
148312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14832
d643bac1
AS
14833 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14834 1 to avoid redefinition warning.
14835 (__USE_GNU): Don't define.
14836 (init_signaling_nan): Protoize.
14837
e47686e9
AS
14838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14839
b18decba
SP
148402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14841
fffb407f
SP
14842 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14844 (__cpymn): Likewise.
14845 (norm): Remove commented code.
14846 (denorm): Likewise.
14847 (__mp_dbl): Likewise.
14848 (__inv): Likewise.
14849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14850 (__cpymn): Likewise.
14851 (norm): Remove commented code.
14852 (denorm): Likewise.
14853 (__mp_dbl): Likewise.
14854 (__inv): Likewise.
14855
b18decba
SP
14856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14857 mp_no value for 1.0 and 2.0.
14858 (norm): Use RADIXI instead of radixi.d.
14859 (denorm): Likewise.
14860 (__mul): Use 0.0 instead of zero.d.
14861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14862 mp_no value for 1.0 and 2.0.
14863 (norm): Use RADIXI instead of radixi.d.
14864 (denorm): Likewise.
14865 (__mul): Use 0.0 instead of zero.d.
14866
cdc1c96f
JM
148672013-01-04 Joseph Myers <joseph@codesourcery.com>
14868
14869 [BZ #14994]
14870 * math/s_casinh.c (__casinh): Reduce finite argument to first
14871 quadrant then set signs of results at the end.
14872 * math/s_casinhf.c (__casinhf): Likewise.
14873 * math/s_casinhl.c (__casinhl): Likewise.
14874 * math/libm-test.inc (casin_test): Add more tests.
14875 (casinh_test): Likewise.
14876 * sysdeps/i386/fpu/libm-test-ulps: Update.
14877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14878
302913e1
SP
148792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14880
6420d207
SP
14881 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14882
a9e48ab4
SP
14883 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14884
b7837264
SP
14885 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14886 declarations.
14887 (denorm): Likewise.
14888 (__mp_dbl): Likewise.
14889 (__inv): Likewise.
14890
f8af25d2
SP
14891 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14892 and adjust the header comment.
14893
302913e1
SP
14894 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14895 variable name from declaration.
14896
5d7dd1ca
L
148972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14898
14899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14900 Initialize COMMON_CPUID_INDEX_7 element.
14901 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14902 (CPUID_RTM): Likewise.
14903 (HAS_RTM): Likewise.
14904 (COMMON_CPUID_INDEX_7): New enum.
14905
2f5f40f4
AS
149062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14907
14908 [BZ #14981]
14909 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14910 size is zero, record memory as freed.
14911
4056f4a0
AJ
149122013-01-03 Andreas Jaeger <aj@suse.de>
14913
14914 * po/ia.po: Add new Interlingua translation.
14915
ab15736f 149162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14917
14918 * locale/programs/localedef.c: Fix description of '--posix' flag.
14919
568035b7
JM
149202013-01-02 Joseph Myers <joseph@codesourcery.com>
14921
e6898b8d
JM
14922 * NEWS: Update dates in second copyright notice.
14923 * README: Update copyright dates in example.
14924 * manual/libc.texinfo: Update copyright dates.
14925 * scripts/test-installation.pl: Update copyright date in --version
14926 output.
14927
0e2f9562
JM
14928 * hurd/ctty-input.c: Fix copyright notice formatting.
14929 * hurd/ctty-output.c: Likewise.
14930 * hurd/dtable.c: Likewise.
14931 * hurd/hurd-raise.c: Likewise.
14932 * hurd/hurdprio.c: Likewise.
14933 * hurd/msgportdemux.c: Likewise.
14934 * misc/sys/file.h: Likewise.
14935 * misc/sys/ioctl.h: Likewise.
14936 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14937 * sysdeps/mach/hurd/chdir.c: Likewise.
14938 * sysdeps/mach/hurd/fchdir.c: Likewise.
14939 * sysdeps/mach/hurd/rename.c: Likewise.
14940 * sysdeps/mach/hurd/rmdir.c: Likewise.
14941 * sysdeps/mach/hurd/seekdir.c: Likewise.
14942 * sysdeps/mach/hurd/setsid.c: Likewise.
14943 * sysdeps/posix/wait3.c: Likewise.
14944
568035b7
JM
14945 * All files with FSF copyright notices: Update copyright dates
14946 using scripts/update-copyrights.
14947 * intl/plural.c: Regenerated.
14948 * locale/programs/charmap-kw.h: Likewise.
14949 * locale/programs/locfile-kw.h: Likewise.
14950
da08f647
SP
149512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14952
0f5477af
SP
14953 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14954 four values.
14955
44e0d4c2
SP
14956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14957 calculation loop and add branch prediction.
14958
4d55b4e5
SP
14959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14960 check access beyond bounds of m1np.
14961
da08f647
SP
14962 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14963 MPTWO.
14964 (__inv): Remove local variable MPTWO to use the global
14965 constant.
14966 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14968 variable MPTWO.
14969 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14970 MP3HALFS static const.
14971
8e051029
DM
149722013-01-01 David S. Miller <davem@davemloft.net>
14973
14974 * po/ca.po: Update from translation team.
14975
f4cf5f2d
JM
149762013-01-01 Joseph Myers <joseph@codesourcery.com>
14977
14978 * scripts/update-copyrights: New file.
14979 * Makeconfig: Reformat copyright notice.
14980 * ctype/ctype.h: Likewise.
14981 * debug/swprintf_chk.c: Likewise.
14982 * elf/dl-cache.c: Likewise.
14983 * elf/dl-debug.c: Likewise.
14984 * elf/dl-object.c: Likewise.
14985 * grp/initgroups.c: Likewise.
14986 * hurd/Makefile: Likewise.
14987 * hurd/hurd/signal.h: Likewise.
14988 * hurd/hurdfault.c: Likewise.
14989 * hurd/hurdioctl.c: Likewise.
14990 * hurd/hurdlookup.c: Likewise.
14991 * hurd/intr-msg.c: Likewise.
14992 * iconv/gconv_open.c: Likewise.
14993 * libio/swprintf.c: Likewise.
14994 * locale/lc-ctype.c: Likewise.
14995 * locale/nl_langinfo.c: Likewise.
14996 * mach/Machrules: Likewise.
14997 * mach/Makefile: Likewise.
14998 * malloc/obstack.h: Likewise.
14999 * manual/Makefile: Likewise.
15000 * manual/tsort.awk: Likewise.
15001 * misc/bits/stab.def: Likewise.
15002 * nis/nis_print_group_entry.c: Likewise.
15003 * nis/nis_table.c: Likewise.
15004 * nis/nss_compat/compat-pwd.c: Likewise.
15005 * nis/nss_compat/compat-spwd.c: Likewise.
15006 * po/Makefile: Likewise.
15007 * posix/fnmatch.c: Likewise.
15008 * posix/regex.h: Likewise.
15009 * resolv/Makefile: Likewise.
15010 * resolv/nss_dns/dns-network.c: Likewise.
15011 * resolv/res_hconf.c: Likewise.
15012 * scripts/gen-sorted.awk: Likewise.
15013 * soft-fp/soft-fp.h: Likewise.
15014 * stdio-common/printf.h: Likewise.
15015 * stdlib/monetary.h: Likewise.
15016 * stdlib/random.c: Likewise.
15017 * stdlib/random_r.c: Likewise.
15018 * sysdeps/generic/Makefile: Likewise.
15019 * sysdeps/gnu/Makefile: Likewise.
15020 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15022 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15048 * sysdeps/mach/hurd/errnos.awk: Likewise.
15049 * sysdeps/mach/hurd/fork.c: Likewise.
15050 * sysdeps/mach/hurd/getcwd.c: Likewise.
15051 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15052 * sysdeps/mach/hurd/mmap.c: Likewise.
15053 * sysdeps/mach/hurd/utimes.c: Likewise.
15054 * sysdeps/mach/hurd/xmknod.c: Likewise.
15055 * sysdeps/posix/profil.c: Likewise.
15056 * sysdeps/posix/readdir_r.c: Likewise.
15057 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15058 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15059 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15060 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15064 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15066 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15067 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15068 * sysdeps/pthread/lio_listio.c: Likewise.
15069 * sysdeps/sparc/dl-procinfo.h: Likewise.
15070 * sysdeps/unix/i386/sysdep.S: Likewise.
15071 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15072 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15073 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15074 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15076 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15077 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15078 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15079 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15080 * sysdeps/wordsize-32/divdi3.c: Likewise.
15081 * time/sys/time.h: Likewise.
15082 * wcsmbs/Makefile: Likewise.
15083
0549fbba
DM
150842013-01-01 David S. Miller <davem@davemloft.net>
15085
a141f1a7
DM
15086 * po/fr.po: Update from translation team.
15087
0549fbba
DM
15088 * catgets/gencat.c: Update copyright year.
15089 * csu/version.c: Likewise.
15090 * debug/catchsegv.sh: Likewise.
15091 * debug/pcprofiledump.c: Likewise.
15092 * debug/xtrace.sh: Likewise.
15093 * elf/ldconfig.c: Likewise.
15094 * elf/ldd.bash.in: Likewise.
15095 * elf/pldd.c: Likewise.
15096 * elf/sotruss.ksh: Likewise.
15097 * elf/sprof.c: Likewise.
15098 * iconv/iconv_prog.c: Likewise.
15099 * iconv/iconvconfig.c: Likewise.
15100 * locale/programs/locale.c: Likewise.
15101 * locale/programs/localedef.c: Likewise.
15102 * login/programs/pt_chown.c: Likewise.
15103 * malloc/memusage.sh: Likewise.
15104 * malloc/memusagestat.c: Likewise.
15105 * malloc/mtrace.pl: Likewise.
15106 * nscd/nscd.c: Likewise.
15107 * nss/getent.c: Likewise.
15108 * nss/makedb.c: Likewise.
15109 * posix/getconf.c: Likewise.
15110
18ea052c
SP
151112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15112
15113 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15114 numbers.
15115
9c89fca6
MF
151162012-12-30 Mike Frysinger <vapier@gentoo.org>
15117
15118 * math/bits/mathcalls.h (modf): Use __nonnull.
15119
085ec079
SP
151202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15121
15122 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15123 (split): Use macro CN instead of the bare value.
15124 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15125 could be used.
15126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15127 instead of the bare value.
15128 (power1): Likewise.
15129
6d9f97e1
SP
151302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15131
d63f73be
SP
15132 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15133 __ATAN_TWOM.
15134 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15135
6d9f97e1
SP
15136 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15137 their values.
15138 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15139 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15140 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15141 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15142
4c4febf5
AJ
151432012-12-28 Andreas Jaeger <aj@suse.de>
15144
af5843ef
AJ
15145 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15146 values are from Linux 3.7.
15147
4c4febf5
AJ
15148 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15149 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15150
99136f82
SP
151512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15152
2f216c3c 15153 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15154 TRUE case.
15155
99136f82
SP
15156 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15157 (norm): Likewise.
15158 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15159 variables with preprocessor constants.
15160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15161 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15162 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15163
7fffbdff
BH
151642012-12-27 Bruno Haible <bruno@clisp.org>
15165
15166 [BZ #14317]
15167 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15168 only if needed.
15169
b76eb5f0
SP
151702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15171
31a7fe5c
SP
15172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15173 and use variable directly.
15174 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15175
b76eb5f0
SP
15176 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15177 MPONE.
15178 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15180 variable MPONE.
15181 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15183 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15184 include directive. Remove local variable MPONE.
15185 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15186 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15187 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15188
2c8bfe7d
DM
151892012-12-25 David S. Miller <davem@davemloft.net>
15190
15191 * version.h (RELEASE): Set to "development".
15192 (VERSION): Set to "2.17.90".
15193 * NEWS: Add 2.18 section.
15194
147d03b0
DM
151952012-12-21 David S. Miller <davem@davemloft.net>
15196
15197 * po/hr.po: Update from translation team.
15198
a8ebb2b9
AK
151992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15200
15201 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15202
95b4f1b6
SE
152032012-12-19 Steve Ellcey <sellcey@mips.com>
15204
b2d94007 15205 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15206
cedb2a90
MS
152072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15208
15209 * manual/contrib.texi (Contributors): Spelling correction.
15210
bbf527d6
DM
152112012-12-15 David S. Miller <davem@davemloft.net>
15212
15213 * po/ru.po: Update from translation team.
15214
bc38c906
DM
152152012-12-13 David S. Miller <davem@davemloft.net>
15216
85429b1a
DM
15217 * NEWS: Mention IFUNC testsuite enhancements.
15218
d283e353
DM
15219 * po/pl.po: Update from translation team.
15220 * po/bg.po: Likewise.
15221
bc38c906
DM
15222 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15223 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15224
a181b0d7
DM
152252012-12-11 David S. Miller <davem@davemloft.net>
15226
4641d57e
DM
15227 * po/sv.po: Update from translation team.
15228
f7bc6495
DM
15229 * po/vi.po: Update from translation team.
15230
6fc9048f
DM
15231 * po/cs.po: Update from translation team.
15232
a181b0d7
DM
15233 * po/de.po: Update from translation team.
15234 * po/eo.po: Likewise.
15235 * po/nl.po: Likewise.
15236
f70bfe80
SP
152372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15238
3c8b4190
SP
15239 [BZ #14246]
15240 * manual/argp.texi (Argp Helper Functions): Move node to follow
15241 Argp Parsing State.
15242
f70bfe80
SP
15243 [BZ #14872]
15244 * manual/conf.texi (Limits on File System Capacity): Mention if
15245 terminating null is included in the max size.
15246
188f0adf
AJ
152472012-12-10 Andreas Jaeger <aj@suse.de>
15248
15249 * po/cs.po: Update from translation team.
15250
56e7d3ad
SP
152512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15252
15253 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15254 void pointer and cast to uintptr_t.
15255 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15256 path.
15257 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15258 * sysdeps/s390/s390-64/memset.S: Likewise.
15259
76f2d2ea 152602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15261
15262 [BZ #14833]
15263 * menual/message.texi (Message Translation): Fix typos.
15264 (Helper programs for gettext): Likewise.
15265
67cbf9a2
AS
152662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15267
15268 [BZ #14898]
15269 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15270 Change to -1.
15271
682d0e9a
DM
152722012-12-07 David S. Miller <davem@davemloft.net>
15273
15274 * po/libc.pot: Update.
15275
573cd484
RH
152762012-12-07 Richard Henderson <rth@redhat.com>
15277
7e9da188 15278 [BZ #10114]
573cd484
RH
15279 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15280 normal/normal case to before the switch.
15281 (_FP_DIV): Likewise.
15282
e933a943
MF
152832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15284 Mike Frysinger <vapier@gentoo.org>
15285
15286 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15287 check for __NR_fadvise64_64.
15288
82123268
CM
152892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15290
15291 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15292 0, not just to plain "0" as a statement.
15293 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15294 with cw.
15295
d9814526
JM
152962012-12-06 Joseph Myers <joseph@codesourcery.com>
15297
15298 * NEWS: Use sourceware.org in Bugzilla URL.
15299
7728c574
SP
153002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15301
f16946dd
SP
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15303 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15304
5704bbcb
SP
15305 * stdio-common/tst-put-error.c (do_test): Add newline to the
15306 padded test to ensure flush.
15307
17aa0516
JL
153082012-12-05 Jeff Law <law@redhat.com>
15309
15310 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15311
363313b5
JM
153122012-12-05 Joseph Myers <joseph@codesourcery.com>
15313
effbd42a
JM
15314 * README: Don't refer to ports add-on as distributed separately.
15315 Mention AArch64 in list of systems supported in the ports add-on.
15316
87600365
JM
15317 * LICENSES: Add more non-FSF copyright and license notices.
15318
a0d7066a
JM
15319 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15320 ((unused)).
15321
66ca5a5b
JM
15322 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15323
363313b5
JM
15324 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15325 10000 as width of padded output.
15326
b37984ad
JM
153272012-12-04 Joseph Myers <joseph@codesourcery.com>
15328
9003570a
JM
15329 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15330
b37984ad
JM
15331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15332 variable LX with __attribute__ ((unused)).
15333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15334 Likewise.
15335 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15336 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15337 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15338 with __attribute__ ((unused)).
15339
c8df52ec
DM
153402012-12-04 David S. Miller <davem@abraco.davemloft.net>
15341
15342 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15343
b3b099af
JM
153442012-12-04 Joseph Myers <joseph@codesourcery.com>
15345
c33aa6e3
JM
15346 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15347 (CFLAGS-nldbl-acos.c): New variable.
15348 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15349 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15350 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15351 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15352 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15353 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15354 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15355 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15356 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15357 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15358 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15359 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15360 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15361 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15362 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15363 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15364 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15365 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15366 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15367 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15368 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15369 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15370 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15371 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15372 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15373 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15374 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15375 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15376 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15377 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15378 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15379 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15380 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15381 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15382 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15383 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15384 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15385 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15386 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15387 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15388 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15389 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15390 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15391 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15392 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15393 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15394 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15395 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15396 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15397 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15398 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15399 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15400 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15401 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15402 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15403 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15404 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15405 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15406 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15407 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15408 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15409 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15410 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15411 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15412 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15413 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15414 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15415 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15416 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15417 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15418 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15419 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15420 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15421 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15422 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15423 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15424 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15425 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15426 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15427 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15428 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15429 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15430 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15431 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15432 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15433 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15434 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15435 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15436 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15437 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15438 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15439 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15440 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15441 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15442 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15443 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15444 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15445
20f0018d
JM
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15447 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15448
b3b099af
JM
15449 [BZ #14914]
15450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15451 whole low double instead of just low 47 bits when splitting values
15452 into two parts.
15453
029264d1
AM
154542012-12-03 Allan McRae <allan@archlinux.org>
15455
15456 * manual/stdio.texi (Predefined Printf Handlers): Remove
15457 @hsep and @vsep usage.
15458
c9d6789e
MF
154592012-12-03 Mike Frysinger <vapier@gentoo.org>
15460
15461 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15462 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15463
4b7634a5
JL
154642012-12-03 Jeff Law <law@redhat.com>
15465
15466 * time/sys/time.h (settimeofday): Do not mark TV argument
15467 as __nonnull.
15468
eb6cbd24
MF
154692012-12-01 Mike Frysinger <vapier@gentoo.org>
15470
15471 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15472 when currently writing and seek to current position when not.
15473 * libio/Makefile (tests): Remove bug-fclose1.
15474 * libio/bug-fclose1.c: Delete.
15475
f638872a
JM
154762012-12-01 Joseph Myers <joseph@codesourcery.com>
15477
15478 * manual/arith.texi (feenableexcept): Fix typo.
15479 (fedisableexcept): Likewise.
15480
48085d14
RM
154812012-11-30 Roland McGrath <roland@hack.frob.com>
15482
15483 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15484 second, differently-typed declaration, rather than a cast.
15485
1a538b9f
SP
154862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15487
15488 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15489 * include/rpc/svc.h: ... here.
15490
d07f2ff1 154912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15492
15493 [BZ #13013]
15494 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15495 depending n and resplen2 to catch cases where answer
15496 equals answerp2.
15497
c93ec1f0
CD
154982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15499
15500 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15501 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15502
37db69de
MF
155032012-11-29 Mike Frysinger <vapier@gentoo.org>
15504
15505 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15506
e10c4e4f
RM
155072012-11-29 Roland McGrath <roland@hack.frob.com>
15508
15509 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15510
2af1b328
JL
155112012-11-28 Jeff Law <law@redhat.com>
15512
15513 [BZ #13761]
15514 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15515 dataset_temporary. Track alloca usage into alloca_used.
15516 If dataset is large allocate and release it via malloc/free.
15517
111db5b1
FW
155182012-06-04 Florian Weimer <fweimer@redhat.com>
15519
f06cc227 15520 [BZ #14197]
111db5b1
FW
15521 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15522
dd694abd
DM
155232012-11-28 David S. Miller <davem@davemloft.net>
15524
15525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15526
9984dd01
JM
155272012-11-28 Joseph Myers <joseph@codesourcery.com>
15528
15529 [BZ #14803]
15530 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15531 of pi/2 rounded to nearest to 64 bits.
15532 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15533 nearest to 64 bits.
15534 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15535 bits.
15536
14bc93a9
JL
155372012-11-28 Jeff Law <law@redhat.com>
15538 Martin Osvald <mosvald@redhat.com>
15539
15540 [BZ #14889]
15541 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15542 * sunrpc/svc.c: Include time.h.
15543 (__svc_accept_failed): New function.
15544 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15545 any reason other than EINTR, call __svc_accept_failed.
15546 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15547 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15548
e3c6aa3a
AS
155492012-11-28 Andreas Schwab <schwab@suse.de>
15550
15551 * scripts/abilist.awk: Also handle indirect functions in .opd
15552 section.
15553
1bead169
JM
155542012-11-28 Joseph Myers <joseph@codesourcery.com>
15555
15556 [BZ #13881]
15557 * sysdeps/x86/fpu/powl_helper.c: New file.
15558 * sysdeps/x86/fpu/Makefile: Likewise.
15559 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15560 (p3): New object.
15561 (__ieee754_powl): Use __powl_helper for finite arguments except
15562 integer exponents below 8.
15563 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15564 (p3): New object.
15565 (__ieee754_powl): Use __powl_helper for finite arguments except
15566 integer exponents below 8.
15567 * math/libm-test.inc (pow_test): Add more tests and enable some
15568 previously disabled tests.
15569 * sysdeps/i386/fpu/libm-test-ulps: Update.
15570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15571
0817d63d
SP
155722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15573 Carlos O'Donell <carlos_odonell@mentor.com>
15574
15575 * nss/makedb.c (is_prime): Assert that input is odd and greater
15576 than 4. Note that fact in a comment too.
15577 (next_prime): Add 4 to input.
15578
de2fd463
SP
155792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15580
15581 [BZ #11741]
15582 * libio/Makefile (tests): Add test case tst-fwrite-error.
15583 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15584 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15585 * libio/tst-fwrite-error.c: New test case.
15586
c515fb51
L
155872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15588
15589 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15590 before casting to void *.
15591 * include/libc-internal.h (__pointer_type): New macro.
15592 (__integer_if_pointer_type_sub): Likewise.
15593 (__integer_if_pointer_type): Likewise.
15594 (cast_to_integer): Likewise.
15595 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15596 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15597 before casting to atomic64_t.
15598 (atomic_exchange_acq): Likewise.
15599 (__arch_exchange_and_add_body): Likewise.
15600 (__arch_add_body): Likewise.
15601 (atomic_add_negative): Likewise.
15602 (atomic_add_zero): Likewise.
15603
4cf77aa9
JM
156042012-11-26 Joseph Myers <joseph@codesourcery.com>
15605
15606 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15607 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15608 (add_fdes): Likewise.
15609 (linear_search_fdes): Likewise.
15610 (binary_search_unencoded_fdes): Likewise.
15611
d260b3b4
AS
156122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15613
15614 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15615
67060746
AC
156162012-11-24 Adam Conrad <adconrad@0c3.net>
15617
15618 * configure.in: Autodetect C++ header directories.
15619 * configure: Regenerated.
15620
800938a1
MF
156212012-11-23 Mike Frysinger <vapier@gentoo.org>
15622
15623 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15624
4e6e34e6
AS
156252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15626
15627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15628
7c7feb47
JM
156292012-11-22 Joseph Myers <joseph@codesourcery.com>
15630
7184dcdf
JM
15631 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15632 LDBL_MANT_DIG == 106]: Disable some tests.
15633 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15634 Likewise.
15635 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15636 Likewise.
15637
0a42601f
JM
15638 [BZ #14871]
15639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15640 input for small inputs. Return +/- pi/2 for large inputs.
15641 * math/libm-test.inc (atan_test): Add more tests.
15642
79c9b9fe
JM
15643 * sysdeps/generic/unwind-dw2-fde-glibc.c
15644 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15645 __attribute__ ((unused)).
15646
c60d3bf2
JM
15647 [BZ #14645]
15648 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15649 x * y if x and y are nonzero and z is zero.
15650
ef1e0867
JM
15651 [BZ #14811]
15652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15653 nonzero exponents with absolute value below 0x1p-117 to +/-
15654 0x1p-117.
15655
1468ded3
JM
15656 [BZ #14869]
15657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15658 up arguments below 2**-450, not just those below 2**-500.
15659 * math/libm-test.inc (hypot_test): Add another test.
15660
8e27e3cc
JM
15661 [BZ #14868]
15662 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15663 Return a+b for ratio over 2**120, not 2**60.
15664 * math/libm-test.inc (hypot_test): Add another test.
15665
c9c0279b
JM
15666 * math/libm-test.inc (clog_test): Use
15667 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15668 (clog10_test): Likewise.
15669
7c7feb47
JM
15670 [BZ #6778]
15671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15672
fff1530e
AS
156732012-11-22 Andreas Schwab <schwab@suse.de>
15674
15675 * sysdeps/i386/fpu/libm-test-ulps: Update.
15676
94558d30
PT
156772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15678
15679 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15680 printf output with newline.
15681
7e1be741
L
156822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15683
6bfea974
L
15684 [BZ #14865]
15685 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15686 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15687 -z nodlopen, -z initfirst and -z execstack support.
15688 * configure: Regenerated.
15689
7e1be741
L
15690 * elf/elf.h (DF_1_NODIRECT): New macro.
15691 (DF_1_IGNMULDEF): Likewise.
15692 (DF_1_NOKSYMS): Likewise.
15693 (DF_1_NOHDR): Likewise.
15694 (DF_1_EDITED): Likewise.
15695 (DF_1_NORELOC): Likewise.
15696 (DF_1_SYMINTPOSE): Likewise.
15697 (DF_1_GLOBAUDIT): Likewise.
15698 (DF_1_SINGLETON): Likewise.
15699 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15700 DT_1_SUPPORTED_MASK bits.
15701 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15702
105ce2ce
CD
157032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15704
15705 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15706
123be9de
TS
157072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15708
d072f3f7
TS
15709 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15710 macro.
15711
123be9de
TS
15712 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15713 (sendmmsg): Move declarations...
15714 * socket/sys/socket.h: ... here.
15715 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15716 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15717 include it from...
15718 * socket/recvmmsg.c: ... this new file.
15719 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15720 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15721 definition of __sendmmsg hidden.
15722 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15723 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15724 Move ENOSYS stub into and include it from...
15725 * socket/sendmmsg.c: ... this new file.
15726 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15727 (sysdep_routines): Move recvmmsg and sendmmsg...
15728 * socket/Makefile (routines): ... here.
15729 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15730 (GLIBC_PRIVATE): Add __sendmmsg.
15731 * include/sys/socket.h (__sendmmsg): Add declarations.
15732 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15733 sendmmsg.
15734
cf9a5d18
JM
157352012-11-20 Joseph Myers <joseph@codesourcery.com>
15736
15737 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15738 variable I1 with __attribute__ ((unused)).
15739 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15740
ecd4caf9
JM
157412012-11-19 Joseph Myers <joseph@codesourcery.com>
15742
be14d48f
JM
15743 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15744 DUMMY variables with __attribute__ ((unused)).
15745
ecd4caf9
JM
15746 * bits/byteswap.h: Include <bits/types.h>.
15747 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15748
986cab95
PT
157492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15750
15751 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15752 string_t. Do not manually set errno.
15753 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15754 length with __strnlen. Make sure to both set errno and return it on
15755 failure.
15756
6d33cc9d
DM
157572012-11-19 David S. Miller <davem@davemloft.net>
15758
15759 With help from Joseph Myers.
15760 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15761 very large arguments properly.
15762 * math/libm-test.inc (atan_test): New tests.
15763 (atan2_test): New tests.
15764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15766
ee663277
JM
157672012-11-19 Joseph Myers <joseph@codesourcery.com>
15768
877f2d8e
JM
15769 [BZ #14856]
15770 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15771 Define to 3.
15772
116fc08a
JM
15773 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15774 [POSIX] (EADDRNOTAVAIL): Likewise.
15775 [POSIX] (EAFNOSUPPORT): Likewise.
15776 [POSIX] (EALREADY): Likewise.
15777 [POSIX] (ECONNABORTED): Likewise.
15778 [POSIX] (ECONNREFUSED): Likewise.
15779 [POSIX] (ECONNRESET): Likewise.
15780 [POSIX] (EDESTADDRREQ): Likewise.
15781 [POSIX] (EDQUOT): Likewise.
15782 [POSIX] (EHOSTUNREACH): Likewise.
15783 [POSIX] (EIDRM): Likewise.
15784 [POSIX] (EISCONN): Likewise.
15785 [POSIX] (ELOOP): Likewise.
15786 [POSIX] (EMULTIHOP): Likewise.
15787 [POSIX] (ENETDOWN): Likewise.
15788 [POSIX] (ENETUNREACH): Likewise.
15789 [POSIX] (ENOBUFS): Likewise.
15790 [POSIX] (ENODATA): Likewise.
15791 [POSIX] (ENOLINK): Likewise.
15792 [POSIX] (ENOMSG): Likewise.
15793 [POSIX] (ENOPROTOOPT): Likewise.
15794 [POSIX] (ENOSR): Likewise.
15795 [POSIX] (ENOSTR): Likewise.
15796 [POSIX] (ENOTCONN): Likewise.
15797 [POSIX] (ENOTSOCK): Likewise.
15798 [POSIX] (EOPNOTSUPP): Likewise.
15799 [POSIX] (EOVERFLOW): Likewise.
15800 [POSIX] (EPROTO): Likewise.
15801 [POSIX] (EPROTONOSUPPORT): Likewise.
15802 [POSIX] (EPROTOTYPE): Likewise.
15803 [POSIX] (ESTALE): Likewise.
15804 [POSIX] (ETIME): Likewise.
15805 [POSIX] (ETXTBSY): Likewise.
15806 [POSIX] (EWOULDBLOCK): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15808 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15809 [POSIX] (SEEK_CUR): Likewise.
15810 [POSIX] (SEEK_END): Likewise.
15811 [POSIX || UNIX98] (mode_t): Do not require.
15812 [POSIX] (off_t): Likewise.
15813 [POSIX] (pid_t): Likewise.
15814 [POSIX] (sys/stat.h): Do not allow header.
15815 [POSIX] (unistd.h): Likewise.
15816 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15817 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15818 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15819 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15820 require.
15821 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15822 sigevent): Specify elements.
15823 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15824 entry.
15825 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15826 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15827
a483863f
JM
15828 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15829 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15830 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15831 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15832 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15833 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15834 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15835 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15836 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15837 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15838 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15839 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15840 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15841 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15842 Likewise.
15843 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15844 Likewise.
15845 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15846 Likewise.
15847 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15848 Likewise.
15849 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15850 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15851 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15852 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15853 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15854 Specify lower bound on value.
15855 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15856 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15859 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15860 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15861 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15862 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15863 value.
15864 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15865 as optional.
15866 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15867 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15868 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15869 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15870 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15871 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15872 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15873 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15874 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15876 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15877 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15878 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15879 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15882 entry.
15883 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15884 optional.
15885 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15886 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15887 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15888 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15889 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15890 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15891 Likewise.
15892 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15893 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15894 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15895 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15896 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15897 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15898 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15899 as optional.
15900 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15902 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15903 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15904 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15905 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15906 specify as optional.
15907 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15908 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15909 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15910 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15911 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15912 [XPG3] (NL_LANGMAX): Likewise.
15913 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15914 [POSIX || XPG3] (NL_NMAX): Likewise.
15915 [POSIX || XPG3] (NL_SETMAX): Likewise.
15916 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15917 [XPG3] (NZERO): Likewise.
15918 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15919 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15920 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15921 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15922 (REG_ERANGE): Expect.
15923 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15924 optional-constant.
15925 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15926 Use (void) in prototype.
15927 [POSIX] (*_t): Allow.
15928 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15929 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15930 (WRDE_BADVAL): Expect.
15931
5ba924e3
JM
15932 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15933 expect.
15934 [XPG3 || XPG4] (O_RSYNC): Likewise.
15935 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15936 Likewise.
15937 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15938 [XPG3 || XPG4] (sigqueue): Likewise.
15939 [XPG3 || XPG4] (sigtimedwait): Likewise.
15940 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15941 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15942 [XPG3 || XPG4] (vsnprintf): Likewise.
15943 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15944 Likewise.
15945 [XPG3 || XPG4] (blksize_t): Likewise.
15946 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15947 Likewise.
15948 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15949 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15950 [XPG3 || XPG4] (struct itimerspec): Likewise.
15951 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15952 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15953 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15954 [XPG3 || XPG4] (clockid_t): Likewise.
15955 [XPG3 || XPG4] (timer_t): Likewise.
15956 [XPG3 || XPG4] (clock_getres): Likewise.
15957 [XPG3 || XPG4] (clock_gettime): Likewise.
15958 [XPG3 || XPG4] (clock_settime): Likewise.
15959 [XPG3 || XPG4] (nanosleep): Likewise.
15960 [XPG3 || XPG4] (timer_create): Likewise.
15961 [XPG3 || XPG4] (timer_delete): Likewise.
15962 [XPG3 || XPG4] (timer_gettime): Likewise.
15963 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15964 [XPG3 || XPG4] (timer_settime): Likewise.
15965 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15966 [XPG3 || XPG4] (getlogin_r): Likewise.
15967 [XPG3 || XPG4] (pread): Likewise.
15968 [XPG3 || XPG4] (pthread_atfork): Likewise.
15969 [XPG3 || XPG4] (pwrite): Likewise.
15970
ee663277
JM
15971 [BZ #14835]
15972 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15973 <bits/siginfo.h>.
15974
942caa16
PT
159752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15976
e19af380
PT
15977 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15978 finalizing MALLSTREAM.
15979
942caa16
PT
15980 * sysdeps/mach/hurd/syncfs.c: New file.
15981
cfde9b46
SP
159822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15983
15984 [BZ #14719]
15985 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15986 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15987 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15988 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15989 (_nss_dns_gethostbyname4_r): Likewise.
15990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15991 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15992
f6da27e5
PH
159932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15994
15995 [BZ #13763]
15996 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15997
6665d4a2
SM
159982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15999
1f51ee92
SM
16000 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16001 * elf/cache.c (print_entry): Print ",AArch64" for
16002 FLAG_AARCH64_LIB64
16003
6665d4a2
SM
16004 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16005 * elf/cache.c (print_entry): Print ",hard-float" for
16006 FLAG_ARM_LIBHF.
16007
05b227bd
DM
160082012-11-18 David S. Miller <davem@davemloft.net>
16009
16010 With help from Joseph Myers.
16011 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16012 cutoff to 2**-13.
16013 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16014 cutoff to 2**-25.
16015 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16016 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16017 small.
16018 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16019 * math/libm-test.inc (y0_test): New tests.
16020 (y1_test): New tests.
16021 * sysdeps/i386/fpu/libm-test-ulps: Update.
16022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16024
786b0b67
AS
160252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16026
16027 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16028 64-bit targets.
16029 * configure: Regenerated.
16030
8e18b86d
DM
160312012-11-17 David S. Miller <davem@davemloft.net>
16032
16033 [BZ #14811]
16034 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16035 nonzero exponents with absolute value below 0x1p-128 to +/-
16036 0x1p-128.
16037
531f1ae0
JM
160382012-11-17 Joseph Myers <joseph@codesourcery.com>
16039
12df29e2
JM
16040 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16041
150dc1a0
JM
16042 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16043
531f1ae0
JM
16044 * posix/getconf-speclist.c: New file.
16045 * posix/posix-envs.def: Likewise.
16046 * posix/confstr.c (START_ENV_GROUP): New macro.
16047 (END_ENV_GROUP): Likewise.
16048 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16049 (KNOWN_PRESENT_ENV_STRING): Likewise.
16050 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16051 (UNKNOWN_ENVIRONMENT): Likewise.
16052 (confstr): Include posix-envs.def instead of handling
16053 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16054 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16055 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16056 (END_ENV_GROUP): Likewise.
16057 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16058 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16059 (UNKNOWN_ENVIRONMENT): Likewise.
16060 (__sysconf): Include posix-envs.def instead of handling associated
16061 cases directly here.
16062 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16063 preprocessing getconf-speclist.c rather than running getconf or
16064 generating empty file.
16065
a93f9cbc
PT
160662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16067
16068 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16069
d64d9f87
AL
160702012-11-16 Andrej Lajovic <natrij@gmail.com>
16071
16072 [BZ #14672]
16073 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16074
447885eb
DM
160752012-11-16 David S. Miller <davem@davemloft.net>
16076
16077 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16078 smaller than LDBL_EPSILON/2.0L, just return xm1.
16079
bcbf9830
L
160802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16081
16082 * elf/tst-array1.c (init): Set constructor priority to 1000.
16083 (fini): Set destructor priority to 1000.
16084 * elf/tst-array2dep.c: Likewise.
16085
2b766585
SP
160862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16087
16088 [BZ #11741]
16089 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16090 (_IO_new_file_xsputn): Also return EOF if none of the input
16091 data was written when overflow failed.
16092 * libio/iopadn.c (_IO_padn): Likewise.
16093 * libio/iowpadn.c (_IO_wpadn): Likewise.
16094 * stdio-common/tst-put-error.c: Add copyright notice.
16095 (do_test): Add case for printing padded string.
16096 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16097 _IO_padn returned error.
16098 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16099 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16100 return EOF.
16101
b1848fde
SP
161022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16103
16104 * libio/libioP.h: Add comment note that the references to C++
16105 bits are now obsolete.
16106
2fd89785
MS
161072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16108
16109 * math/libm-test.inc (check_complex): Use asprintf.
16110
e3ea5409
JM
161112012-11-14 Joseph Myers <joseph@codesourcery.com>
16112
16113 * debug/pcprofiledump.c (print_version): Update copyright year.
16114 * malloc/memusagestat.c (print_version): Likewise.
16115
2e64d265
L
161162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16117
16118 [BZ #14831]
16119 * elf/Makefile (tests): Add tst-audit8.
16120 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16121 ($(objpfx)tst-audit8.out): New target.
16122 (tst-audit8-ENV): New variable.
16123 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16124 audit if l_reloc_result is NULL.
16125 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16126 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16127 * elf/tst-audit8.c: New file.
16128
c485e4d2
MS
161292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16130
16131 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16132 * misc/Makefile (CFLAGS-select.c): Define.
16133 * posix/Makefile (CFLAGS-pause.c): Define.
16134
3a0d900a
DM
161352012-11-13 David S. Miller <davem@davemloft.net>
16136
16137 * crypt/Makefile: Move test targets after toplevel Rules
16138 inclusion. Grab any necessary sysdep routines when linking.
16139 * crypt/md5.c (md5_process_block): Remove define, we will always
16140 name it __md5_process_block.
16141 (md5_finish_ctx): Update md5_process_block call.
16142 (md5_stream): Likewise.
16143 (md5_process_bytes): Likewise.
16144 (md5_process_block): Rename to __md5_process_block and move to ...
16145 * crypt/md5-block.c: ... here.
16146 * crypt/sha256.c (sha256_process_block): Move to ...
16147 * crypt/sha256-block.c: ... here.
16148 * crypt/sha512.c (sha512_process_block): Move to ...
16149 * crypt/sha512-block.c: ... here.
16150 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16151 path.
16152 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16153 * sysdeps/sparc/sparc64/multiarch/Makefile
16154 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16155 crypt subdir.
16156 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16157 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16158 multiarch changes.
16159 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16160 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16161 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16162 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16163 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16164 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16165 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16166 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16168 file.
16169 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16170 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16171 file.
16172 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16173
8ca89318
JM
161742012-11-13 Joseph Myers <joseph@codesourcery.com>
16175
e27d476a
JM
16176 * timezone/tzselect.ksh: Update from tzcode git revision
16177 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16178 * timezone/zdump.c: Likewise.
16179 * timezone/zic.c: Likewise.
16180 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16181 in TZVERSION setting, not $(PKGVERSION).
16182 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16183 REPORT_BUGS_TO settings.
16184
8ca89318
JM
16185 [BZ #14838]
16186 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16187 macro.
16188
47594329
MS
161892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16190
16191 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16192 detection to immediately after _FP_ROUND().
16193 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16194 bits are 0.
16195
640ac3f1
DM
161962012-11-11 David S. Miller <davem@davemloft.net>
16197
16198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16199 inttypes.h
16200 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16201 __close rather than their public counterparts.
16202
3d2577bb
JM
162032012-11-10 Joseph Myers <joseph@codesourcery.com>
16204
16205 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16206 file.
16207 [UNIX98] (sem_timedwait): Do not expect.
16208 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16209 [XPG4 || UNIX98] (sockatmark): Do not expect.
16210 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16211 (clock_getcpuclockid): Do not expect.
16212 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16213 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16214 Do not expect.
16215 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16216 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16217 [UNIX98] (vwscanf): Likewise.
16218 [UNIX98] (vswscanf): Likewise.
16219
fb1ae1ee
JM
162202012-11-09 Joseph Myers <joseph@codesourcery.com>
16221
9ec6f8bd
JM
16222 * timezone/version.h: Remove file.
16223 * timezone/README: Do not refer to version.h.
16224 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16225 $(objpfx)version.h.
16226 ($(objpfx)zdump.o): Likewise.
c3f81911 16227 ($(objpfx)version.h): New target.
9ec6f8bd 16228
0aa8f8a1
JM
16229 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16230 2012i.
16231 * timezone/README: Don't mention modification to tzselect.ksh.
16232 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16233 work on unmodified tzselect.ksh. Substitute version numbers in
16234 tzselect.ksh.
16235
4e87147f
JM
16236 * Makefile (format-me): Remove.
16237 (INSTALL): Adjust indentation. Use commands directly instead of
16238 using $(format-me).
16239
8b748aed
JM
16240 * aclocal.m4 (ACX_PKGVERSION): New macro.
16241 (ACX_BUGURL): Likewise.
16242 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16243 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16244 (REPORT_BUGS_TO): Likewise.
16245 * configure: Regenerated.
16246 * config.h.in (PKGVERSION): New macro.
16247 (REPORT_BUGS_TO): Likewise.
16248 * config.make.in (PKGVERSION): New variable.
16249 (PKGVERSION_TEXI): Likewise.
16250 (REPORT_BUGS_TO): Likewise.
16251 (REPORT_BUGS_TEXI): Likewise.
16252 * Makefile (format-me): Use -I$(common-objpfx)manual.
16253 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16254 ($(common-objpfx)manual/%): New target.
16255 (manual/%): Remove target.
16256 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16257 (print_version): Use PKGVERSION.
16258 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16259 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16260 and REPORT_BUGS_TO.
16261 ($(objpfx)xtrace): Likewise.
16262 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16263 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16264 (print_version): Use PKGVERSION.
16265 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16266 (do_version): Use PKGVERSION.
16267 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16268 REPORT_BUGS_TO.
16269 (common-ldd-rewrite): Likewise.
16270 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16271 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16272 (print_version): Use PKGVERSION.
16273 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16274 * elf/pldd.c (argp_program_bug_address): Remove variable.
16275 (more_help): New function.
16276 (argp): Use more_help.
16277 (print_version): Use PKGVERSION.
16278 * elf/sln.c (main): Use PKGVERSION.
16279 (usage): Use REPORT_BUGS_TO.
16280 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16281 (top level): Use PKGVERSION.
16282 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16283 (print_version): Use PKGVERSION.
16284 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16285 (print_version): Use PKGVERSION.
16286 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16287 (print_version): Use PKGVERSION.
16288 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16289 (print_version): Use PKGVERSION.
16290 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16291 (print_version): Use PKGVERSION.
16292 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16293 (print_version): Use PKGVERSION.
16294 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16295 and BUGURL.
16296 ($(objpfx)memusage): Likewise.
16297 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16298 (do_version): Use PKGVERSION.
16299 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16300 (print_version): Use PKGVERSION.
16301 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16302 ($PKGVERSION): New variable.
16303 ($REPORT_BUGS_TO): Likewise.
16304 (usage): Use $REPORT_BUGS_TO.
16305 (top level): Use $PKGVERSION.
16306 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16307 ($(objpfx)pkgvers.texi): New rule.
16308 ($(objpfx)stamp-pkgvers): Likewise.
16309 * manual/install.texi: Include pkgvers.texi.
16310 (--with-pkgversion): Document new configure option.
16311 (--with-bugurl): Likewise.
16312 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16313 than necessarily for this particular distribution. Use
16314 REPORT_BUGS_TO for where to report bugs.
16315 * INSTALL: Regenerated.
16316 * manual/libc.texinfo: Include pkgvers.texi.
16317 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16318 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16319 (print_version): Use PKGVERSION.
16320 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16321 (print_version): Use PKGVERSION.
16322 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16323 (print_version): Use PKGVERSION.
16324 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16325 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16326 macro.
16327 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16328 (print_version): Use PKGVERSION.
16329 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16330 (print_version): Use PKGVERSION.
16331 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16332 and PKGVERSION.
16333
92e4b6a9
JM
16334 * timezone/checktab.awk: Update from tzcode 2012i.
16335 * timezone/ialloc.c: Likewise.
16336 * timezone/private.h: Likewise.
16337 * timezone/scheck.c: Likewise.
16338 * timezone/tzfile.h: Likewise.
16339 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16340 (TZVERSION): Hardcode tzcode version number.
16341 * timezone/zdump.c: Update from tzcode 2012i.
16342 * timezone/zic.c: Likewise.
16343 * timezone/version.h: New file.
16344 * timezone/README: Describe version.h. Update upstream location.
16345
9bde902c
JM
16346 [BZ #14824]
16347 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16348 (mktemp): Enable declaration.
16349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16353 Likewise.
16354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16355 Likewise.
16356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16357 Likewise.
16358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16359 Likewise.
16360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16361 Likewise.
16362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16363 Likewise.
16364
fb1ae1ee
JM
16365 [BZ #14821]
16366 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16367 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16368 for copies of such integer values.
16369 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16370 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16371
2c1adbcb
AJ
163722012-11-09 Andreas Jaeger <aj@suse.de>
16373
16374 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16375 definitions and declarations that are provided by
16376 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16377
d0f8457e
AK
163782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16379
3a235abb 16380 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16381 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16382 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16383 definition.
16384
57241e26
MS
163852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16386
16387 * elf/elf.h: Update comment before AArch64 relocations.
16388
60e8270d
DM
163892012-11-07 David S. Miller <davem@davemloft.net>
16390
16391 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16392 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16393 (__start_context): Declare.
16394 (__makecontext_ret): Delete.
16395 (__makecontext): Hook up __start_context instead of
16396 __makecontext_ret.
16397 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16398 (sysdep_routines): Add __start_context when in stdlib.
16399
0fbb0fbc
JM
164002012-11-07 Joseph Myers <joseph@codesourcery.com>
16401
16402 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16403 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16404 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16405 hardcoded "nm".
16406 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16407 (READELF): New variable. Use it instead of hardcoded "readelf".
16408
eb48db7e
L
164092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16410
16411 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16412 * sysdeps/x86/Makefile: Here.
16413 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16414 * sysdeps/x86/tst-xmmymm.sh: This.
16415
05bcf62a
JM
164162012-11-07 Joseph Myers <joseph@codesourcery.com>
16417
c4b6cf53
JM
16418 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16419 expectations.
16420 [UNIX98] (pthread_barrier_t): Do not expect.
16421 [UNIX98] (pthread_barrierattr_t): Likewise.
16422 [UNIX98] (pthread_spinlock_t): Likewise.
16423 [UNIX98] (pthread_barrier_destroy): Likewise.
16424 [UNIX98] (pthread_barrier_init): Likewise.
16425 [UNIX98] (pthread_barrier_wait): Likewise.
16426 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16427 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16428 [UNIX98] (pthread_barrierattr_init): Likewise.
16429 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16430 [UNIX98] (pthread_getcpuclockid): Likewise.
16431 [UNIX98] (pthread_mutex_timedlock): Likewise.
16432 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16433 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16434 [UNIX98] (pthread_sigmask): Likewise.
16435 [UNIX98] (pthread_spin_destroy): Likewise.
16436 [UNIX98] (pthread_spin_init): Likewise.
16437 [UNIX98] (pthread_spin_lock): Likewise.
16438 [UNIX98] (pthread_spin_trylock): Likewise.
16439 [UNIX98] (pthread_spin_unlock): Likewise.
16440 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16441 Do not expect.
16442 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16443 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16444 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16445 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16446 [XPG3 || XPG4] (pthread_key_t): Likewise.
16447 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16448 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16449 [XPG3 || XPG4] (pthread_once_t): Likewise.
16450 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16451 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16452 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16453 [XPG3 || XPG4] (pthread_t): Likewise.
16454
cbe6e120
JM
16455 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16456 not expect.
16457 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16458
1b126443
JM
16459 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16460 Change function return type to int.
16461
b961a573
JM
16462 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16463 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16464 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16465 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16466 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16467 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16468 [!POSIX] (posix_madvise): Likewise.
16469 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16470 && !UNIX98].
16471 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16472 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16473 (mode_t): Likewise.
16474 (posix_mem_offset): Likewise.
16475 (posix_typed_mem_get_info): Likewise.
16476 (posix_typed_mem_open): Likewise.
16477
9e188909
JM
16478 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16479 Change condition to [XOPEN2K8].
16480
05bcf62a
JM
16481 * conform/conformtest.pl: Preprocess allow-header data with -x c
16482 instead of from stdin.
16483 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16484 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16485 [C99-based standards] (cerfc): Likewise.
16486 [C99-based standards] (cexp2): Likewise.
16487 [C99-based standards] (cexpm1): Likewise.
16488 [C99-based standards] (clog10): Likewise.
16489 [C99-based standards] (clog1p): Likewise.
16490 [C99-based standards] (clog2): Likewise.
16491 [C99-based standards] (clgamma): Likewise.
16492 [C99-based standards] (ctgamma): Likewise.
16493 [C99-based standards] (cerff): Likewise.
16494 [C99-based standards] (cerfcf): Likewise.
16495 [C99-based standards] (cexp2f): Likewise.
16496 [C99-based standards] (cexpm1f): Likewise.
16497 [C99-based standards] (clog10f): Likewise.
16498 [C99-based standards] (clog1pf): Likewise.
16499 [C99-based standards] (clog2f): Likewise.
16500 [C99-based standards] (clgammaf): Likewise.
16501 [C99-based standards] (ctgammaf): Likewise.
16502 [C99-based standards] (cerfl): Likewise.
16503 [C99-based standards] (cerfcl): Likewise.
16504 [C99-based standards] (cexp2l): Likewise.
16505 [C99-based standards] (cexpm1l): Likewise.
16506 [C99-based standards] (clog10l): Likewise.
16507 [C99-based standards] (clog1pl): Likewise.
16508 [C99-based standards] (clog2l): Likewise.
16509 [C99-based standards] (clgammal): Likewise.
16510 [C99-based standards] (ctgammal): Likewise.
16511 * conform/data/inttypes.h-data [C99-based standards]: Include
16512 stdint.h-data. Remove all expectations for stdint.h contents.
16513 [C99-based standards] (PRI*): Do not allow.
16514 [C99-based standards] (SCN*): Likewise.
16515 [C99-based standards] (*_t): Likewise.
16516 [C99-based-standards] (PRId8): Expect macro.
16517 [C99-based-standards] (PRIi8): Likewise.
16518 [C99-based-standards] (PRIo8): Likewise.
16519 [C99-based-standards] (PRIu8): Likewise.
16520 [C99-based-standards] (PRIx8): Likewise.
16521 [C99-based-standards] (PRIX8): Likewise.
16522 [C99-based-standards] (SCNd8): Likewise.
16523 [C99-based-standards] (SCNi8): Likewise.
16524 [C99-based-standards] (SCNo8): Likewise.
16525 [C99-based-standards] (SCNu8): Likewise.
16526 [C99-based-standards] (SCNx8): Likewise.
16527 [C99-based-standards] (PRIdLEAST8): Likewise.
16528 [C99-based-standards] (PRIiLEAST8): Likewise.
16529 [C99-based-standards] (PRIoLEAST8): Likewise.
16530 [C99-based-standards] (PRIuLEAST8): Likewise.
16531 [C99-based-standards] (PRIxLEAST8): Likewise.
16532 [C99-based-standards] (PRIXLEAST8): Likewise.
16533 [C99-based-standards] (SCNdLEAST8): Likewise.
16534 [C99-based-standards] (SCNiLEAST8): Likewise.
16535 [C99-based-standards] (SCNoLEAST8): Likewise.
16536 [C99-based-standards] (SCNuLEAST8): Likewise.
16537 [C99-based-standards] (SCNxLEAST8): Likewise.
16538 [C99-based-standards] (PRIdFAST8): Likewise.
16539 [C99-based-standards] (PRIiFAST8): Likewise.
16540 [C99-based-standards] (PRIoFAST8): Likewise.
16541 [C99-based-standards] (PRIuFAST8): Likewise.
16542 [C99-based-standards] (PRIxFAST8): Likewise.
16543 [C99-based-standards] (PRIXFAST8): Likewise.
16544 [C99-based-standards] (SCNdFAST8): Likewise.
16545 [C99-based-standards] (SCNiFAST8): Likewise.
16546 [C99-based-standards] (SCNoFAST8): Likewise.
16547 [C99-based-standards] (SCNuFAST8): Likewise.
16548 [C99-based-standards] (SCNxFAST8): Likewise.
16549 [C99-based-standards] (PRId16): Likewise.
16550 [C99-based-standards] (PRIi16): Likewise.
16551 [C99-based-standards] (PRIo16): Likewise.
16552 [C99-based-standards] (PRIu16): Likewise.
16553 [C99-based-standards] (PRIx16): Likewise.
16554 [C99-based-standards] (PRIX16): Likewise.
16555 [C99-based-standards] (SCNd16): Likewise.
16556 [C99-based-standards] (SCNi16): Likewise.
16557 [C99-based-standards] (SCNo16): Likewise.
16558 [C99-based-standards] (SCNu16): Likewise.
16559 [C99-based-standards] (SCNx16): Likewise.
16560 [C99-based-standards] (PRIdLEAST16): Likewise.
16561 [C99-based-standards] (PRIiLEAST16): Likewise.
16562 [C99-based-standards] (PRIoLEAST16): Likewise.
16563 [C99-based-standards] (PRIuLEAST16): Likewise.
16564 [C99-based-standards] (PRIxLEAST16): Likewise.
16565 [C99-based-standards] (PRIXLEAST16): Likewise.
16566 [C99-based-standards] (SCNdLEAST16): Likewise.
16567 [C99-based-standards] (SCNiLEAST16): Likewise.
16568 [C99-based-standards] (SCNoLEAST16): Likewise.
16569 [C99-based-standards] (SCNuLEAST16): Likewise.
16570 [C99-based-standards] (SCNxLEAST16): Likewise.
16571 [C99-based-standards] (PRIdFAST16): Likewise.
16572 [C99-based-standards] (PRIiFAST16): Likewise.
16573 [C99-based-standards] (PRIoFAST16): Likewise.
16574 [C99-based-standards] (PRIuFAST16): Likewise.
16575 [C99-based-standards] (PRIxFAST16): Likewise.
16576 [C99-based-standards] (PRIXFAST16): Likewise.
16577 [C99-based-standards] (SCNdFAST16): Likewise.
16578 [C99-based-standards] (SCNiFAST16): Likewise.
16579 [C99-based-standards] (SCNoFAST16): Likewise.
16580 [C99-based-standards] (SCNuFAST16): Likewise.
16581 [C99-based-standards] (SCNxFAST16): Likewise.
16582 [C99-based-standards] (PRId32): Likewise.
16583 [C99-based-standards] (PRIi32): Likewise.
16584 [C99-based-standards] (PRIo32): Likewise.
16585 [C99-based-standards] (PRIu32): Likewise.
16586 [C99-based-standards] (PRIx32): Likewise.
16587 [C99-based-standards] (PRIX32): Likewise.
16588 [C99-based-standards] (SCNd32): Likewise.
16589 [C99-based-standards] (SCNi32): Likewise.
16590 [C99-based-standards] (SCNo32): Likewise.
16591 [C99-based-standards] (SCNu32): Likewise.
16592 [C99-based-standards] (SCNx32): Likewise.
16593 [C99-based-standards] (PRIdLEAST32): Likewise.
16594 [C99-based-standards] (PRIiLEAST32): Likewise.
16595 [C99-based-standards] (PRIoLEAST32): Likewise.
16596 [C99-based-standards] (PRIuLEAST32): Likewise.
16597 [C99-based-standards] (PRIxLEAST32): Likewise.
16598 [C99-based-standards] (PRIXLEAST32): Likewise.
16599 [C99-based-standards] (SCNdLEAST32): Likewise.
16600 [C99-based-standards] (SCNiLEAST32): Likewise.
16601 [C99-based-standards] (SCNoLEAST32): Likewise.
16602 [C99-based-standards] (SCNuLEAST32): Likewise.
16603 [C99-based-standards] (SCNxLEAST32): Likewise.
16604 [C99-based-standards] (PRIdFAST32): Likewise.
16605 [C99-based-standards] (PRIiFAST32): Likewise.
16606 [C99-based-standards] (PRIoFAST32): Likewise.
16607 [C99-based-standards] (PRIuFAST32): Likewise.
16608 [C99-based-standards] (PRIxFAST32): Likewise.
16609 [C99-based-standards] (PRIXFAST32): Likewise.
16610 [C99-based-standards] (SCNdFAST32): Likewise.
16611 [C99-based-standards] (SCNiFAST32): Likewise.
16612 [C99-based-standards] (SCNoFAST32): Likewise.
16613 [C99-based-standards] (SCNuFAST32): Likewise.
16614 [C99-based-standards] (SCNxFAST32): Likewise.
16615 [C99-based-standards] (PRId64): Likewise.
16616 [C99-based-standards] (PRIi64): Likewise.
16617 [C99-based-standards] (PRIo64): Likewise.
16618 [C99-based-standards] (PRIu64): Likewise.
16619 [C99-based-standards] (PRIx64): Likewise.
16620 [C99-based-standards] (PRIX64): Likewise.
16621 [C99-based-standards] (SCNd64): Likewise.
16622 [C99-based-standards] (SCNi64): Likewise.
16623 [C99-based-standards] (SCNo64): Likewise.
16624 [C99-based-standards] (SCNu64): Likewise.
16625 [C99-based-standards] (SCNx64): Likewise.
16626 [C99-based-standards] (PRIdLEAST64): Likewise.
16627 [C99-based-standards] (PRIiLEAST64): Likewise.
16628 [C99-based-standards] (PRIoLEAST64): Likewise.
16629 [C99-based-standards] (PRIuLEAST64): Likewise.
16630 [C99-based-standards] (PRIxLEAST64): Likewise.
16631 [C99-based-standards] (PRIXLEAST64): Likewise.
16632 [C99-based-standards] (SCNdLEAST64): Likewise.
16633 [C99-based-standards] (SCNiLEAST64): Likewise.
16634 [C99-based-standards] (SCNoLEAST64): Likewise.
16635 [C99-based-standards] (SCNuLEAST64): Likewise.
16636 [C99-based-standards] (SCNxLEAST64): Likewise.
16637 [C99-based-standards] (PRIdFAST64): Likewise.
16638 [C99-based-standards] (PRIiFAST64): Likewise.
16639 [C99-based-standards] (PRIoFAST64): Likewise.
16640 [C99-based-standards] (PRIuFAST64): Likewise.
16641 [C99-based-standards] (PRIxFAST64): Likewise.
16642 [C99-based-standards] (PRIXFAST64): Likewise.
16643 [C99-based-standards] (SCNdFAST64): Likewise.
16644 [C99-based-standards] (SCNiFAST64): Likewise.
16645 [C99-based-standards] (SCNoFAST64): Likewise.
16646 [C99-based-standards] (SCNuFAST64): Likewise.
16647 [C99-based-standards] (SCNxFAST64): Likewise.
16648 [C99-based-standards] (PRIdMAX): Likewise.
16649 [C99-based-standards] (PRIiMAX): Likewise.
16650 [C99-based-standards] (PRIoMAX): Likewise.
16651 [C99-based-standards] (PRIuMAX): Likewise.
16652 [C99-based-standards] (PRIxMAX): Likewise.
16653 [C99-based-standards] (PRIXMAX): Likewise.
16654 [C99-based-standards] (SCNdMAX): Likewise.
16655 [C99-based-standards] (SCNiMAX): Likewise.
16656 [C99-based-standards] (SCNoMAX): Likewise.
16657 [C99-based-standards] (SCNuMAX): Likewise.
16658 [C99-based-standards] (SCNxMAX): Likewise.
16659 [C99-based-standards] (PRIdPTR): Likewise.
16660 [C99-based-standards] (PRIiPTR): Likewise.
16661 [C99-based-standards] (PRIoPTR): Likewise.
16662 [C99-based-standards] (PRIuPTR): Likewise.
16663 [C99-based-standards] (PRIxPTR): Likewise.
16664 [C99-based-standards] (PRIXPTR): Likewise.
16665 [C99-based-standards] (SCNdPTR): Likewise.
16666 [C99-based-standards] (SCNiPTR): Likewise.
16667 [C99-based-standards] (SCNoPTR): Likewise.
16668 [C99-based-standards] (SCNuPTR): Likewise.
16669 [C99-based-standards] (SCNxPTR): Likewise.
16670 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16671 allow.
16672 * conform/data/stdint.h-data: Update comments to clarify
16673 requirements.
16674 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16675 type.
16676 [C99-based standards] (INT8_MAX): Likewise.
16677 [C99-based standards] (INT16_MIN): Likewise.
16678 [C99-based standards] (INT16_MAX): Likewise.
16679 [C99-based standards] (INT32_MIN): Likewise.
16680 [C99-based standards] (INT32_MAX): Likewise.
16681 [C99-based standards] (INT64_MIN): Likewise.
16682 [C99-based standards] (INT64_MAX): Likewise.
16683 [C99-based standards] (UINT8_MAX): Likewise.
16684 [C99-based standards] (UINT16_MAX): Likewise.
16685 [C99-based standards] (UINT32_MAX): Likewise.
16686 [C99-based standards] (UINT64_MAX): Likewise.
16687 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16688 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16689 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16690 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16691 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16692 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16693 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16694 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16695 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16696 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16697 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16698 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16699 [C99-based standards] (INT_FAST8_MIN): Likewise.
16700 [C99-based standards] (INT_FAST8_MAX): Likewise.
16701 [C99-based standards] (INT_FAST16_MIN): Likewise.
16702 [C99-based standards] (INT_FAST16_MAX): Likewise.
16703 [C99-based standards] (INT_FAST32_MIN): Likewise.
16704 [C99-based standards] (INT_FAST32_MAX): Likewise.
16705 [C99-based standards] (INT_FAST64_MIN): Likewise.
16706 [C99-based standards] (INT_FAST64_MAX): Likewise.
16707 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16708 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16709 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16710 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16711 [C99-based standards] (INTPTR_MIN): Likewise.
16712 [C99-based standards] (INTPTR_MAX): Likewise.
16713 [C99-based standards] (UINTPTR_MAX): Likewise.
16714 [C99-based standards] (INTMAX_MIN): Likewise.
16715 [C99-based standards] (INTMAX_MAX): Likewise.
16716 [C99-based standards] (UINTMAX_MAX): Likewise.
16717 [C99-based standards] (PTRDIFF_MIN): Likewise.
16718 [C99-based standards] (PTRDIFF_MAX): Likewise.
16719 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16720 [C99-based standards] (SIZE_MAX): Likewise.
16721 [C99-based standards] (WCHAR_MAX): Likewise.
16722 [C99-based standards] (WINT_MAX): Likewise.
16723 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16724 constraint on value.
16725 [C99-based standards] (WCHAR_MIN): Likewise.
16726 [C99-based standards] (WINT_MIN): Likewise.
16727 [C99-based standards] (*_t): Allow.
16728 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16729 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16730 Include math.h-data and complex.h-data. Remove all expectations
16731 of math.h and complex.h contents.
16732 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16733 at end of line.
16734 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16735 (struct tm): Expect tag.
16736 [C99-based-standards] (wcstof): Expect function.
16737 [C99-based-standards] (wcstold): Likewise.
16738 [C99-based-standards] (wcstoll): Likewise.
16739 [C99-based-standards] (wcstoull): Likewise.
16740 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16741 macro-int-constant. Specify type.
16742 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16743 constraint on value.
16744 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16745 Specify type.
16746 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16747 Specify value.
16748 [ISO C standards]: Do not allow headers.
16749 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16750 wcs[abcdefghijklmnopqrstuvwxyz]*.
16751 [ISO C standards] (*_t): Do not allow.
16752 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16753 Expect function.
16754 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16755 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16756 Specify type.
16757 [ISO C standards]: Do not allow headers.
16758 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16759 is[abcdefghijklmnopqrstuvwxyz]*.
16760 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16761 to[abcdefghijklmnopqrstuvwxyz]*.
16762 [ISO C standards] (*_t): Do not allow.
16763 * conform/data/stdalign.h-data: New file.
16764 * conform/data/stdbool.h-data: Likewise.
16765 * conform/data/stdnoreturn.h-data: Likewise.
16766
7514feb8
RM
167672012-11-07 Roland McGrath <roland@hack.frob.com>
16768
16769 [BZ #14815]
16770 * manual/filesys.texi (Directory Entries): Typo fix.
16771 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16772
19b2ecfc
MS
167732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16774
16775 * elf/elf.h (EM_AARCH64): New macro.
16776 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16777 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16778 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16779 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16780 (R_AARCH64_TLSDESC): Likewise.
16781 (NT_ARM_TLS): Likewise.
16782 (NT_ARM_HW_BREAK): Likewise.
16783 (NT_ARM_HW_WATCH): Likewise.
16784
60e235ee
JM
167852012-11-07 Joseph Myers <joseph@codesourcery.com>
16786
16787 [BZ #14811]
16788 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16789 (__ieee754_powl): Saturate nonzero exponents with absolute value
16790 below 0x1p-79 to +/- 0x1p-79.
16791 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16792 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16793 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16794 nonzero exponents with absolute value below 0x1p-32 to +/-
16795 0x1p-32.
16796 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16797 (__ieee754_powl): Saturate nonzero exponents with absolute value
16798 below 0x1p-79 to +/- 0x1p-79.
16799 * math/libm-test.inc (pow_test): Add more tests.
16800
0ab234b7
AK
168012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16802
16803 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16804 _dl_s390_cap_flags with kernel. Increase string length.
16805 (_dl_s390_platforms): Add z196 and zEC12.
16806
45832f74
JM
168072012-11-07 Joseph Myers <joseph@codesourcery.com>
16808
16809 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16810 Change XOPEN21K to XOPEN2K.
16811
19218757
MK
168122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16813
16814 * string/memmove.c: Use memcpy when possible.
16815
c5f45721
AJ
168162012-11-06 Andreas Jaeger <aj@suse.de>
16817
16818 * po/eo.po: Update from translation team.
16819
82477c28
JM
168202012-11-06 Joseph Myers <joseph@codesourcery.com>
16821
16822 [BZ #14793]
16823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16824 exponent and small x and y exponents, scale x or y up. Increase
16825 by 2 the exponent used in scaling up.
16826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16828 * math/libm-test.inc (fma_test): Add more tests.
16829 (fma_test_towardzero): Likewise.
16830 (fma_test_downward): Likewise.
16831 (fma_test_upward): Likewise.
16832
99252c8c
JM
168332012-11-05 Joseph Myers <joseph@codesourcery.com>
16834
acfa885f
JM
16835 [BZ #14805]
16836 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16837 fenv_t *.
16838
99252c8c
JM
16839 [BZ #14801]
16840 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16841 namespace for names of struct fields.
16842 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16843 fenv_t fields.
16844 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16845 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16846
d6d98dea
ST
168472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16848
16849 [BZ #3665]
16850 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16851
e10bb107
TS
168522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16853
16854 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16855 PTR_DEMANGLE.
16856
16857 [BZ #5246]
16858 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16859 PTR_DEMANGLE.
16860
a0c2940d
JM
168612012-11-04 Joseph Myers <joseph@codesourcery.com>
16862
16863 [BZ #14797]
16864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16865 definitely overflow as x * y not x * y + z.
16866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16868 * math/libm-test.inc (fma_test): Add more tests.
16869 (fma_test_towardzero): Likewise.
16870 (fma_test_downward): Likewise.
16871 (fma_test_upward): Likewise.
16872
b830319d
TS
168732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16874
16875 [BZ #157]
16876
16877 * include/stub-tag.h: Remove file.
16878 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16879 '#include' of it.
16880 * manual/maint.texi (Porting): Don't reference it.
16881 * Makerules ($(objpfx)stubs): Likewise.
16882 * dirent/closedir.c: Don't include <stub-tag.h>.
16883 * dirent/dirfd.c: Likewise.
16884 * dirent/fdopendir.c: Likewise.
16885 * dirent/getdents.c: Likewise.
16886 * dirent/getdents64.c: Likewise.
16887 * dirent/opendir.c: Likewise.
16888 * dirent/readdir.c: Likewise.
16889 * dirent/readdir64.c: Likewise.
16890 * dirent/readdir64_r.c: Likewise.
16891 * dirent/readdir_r.c: Likewise.
16892 * dirent/rewinddir.c: Likewise.
16893 * dirent/seekdir.c: Likewise.
16894 * dirent/telldir.c: Likewise.
16895 * gmon/profil.c: Likewise.
16896 * grp/setgroups.c: Likewise.
16897 * inet/if_index.c: Likewise.
16898 * io/access.c: Likewise.
16899 * io/chdir.c: Likewise.
16900 * io/chmod.c: Likewise.
16901 * io/chown.c: Likewise.
16902 * io/close.c: Likewise.
16903 * io/dup.c: Likewise.
16904 * io/dup2.c: Likewise.
16905 * io/dup3.c: Likewise.
16906 * io/euidaccess.c: Likewise.
16907 * io/faccessat.c: Likewise.
16908 * io/fchdir.c: Likewise.
16909 * io/fchmod.c: Likewise.
16910 * io/fchmodat.c: Likewise.
16911 * io/fchown.c: Likewise.
16912 * io/fchownat.c: Likewise.
16913 * io/fcntl.c: Likewise.
16914 * io/flock.c: Likewise.
16915 * io/fstatfs.c: Likewise.
16916 * io/fstatfs64.c: Likewise.
16917 * io/fstatvfs.c: Likewise.
16918 * io/fstatvfs64.c: Likewise.
16919 * io/futimens.c: Likewise.
16920 * io/fxstat.c: Likewise.
16921 * io/fxstat64.c: Likewise.
16922 * io/fxstatat.c: Likewise.
16923 * io/fxstatat64.c: Likewise.
16924 * io/getcwd.c: Likewise.
16925 * io/isatty.c: Likewise.
16926 * io/lchmod.c: Likewise.
16927 * io/lchown.c: Likewise.
16928 * io/link.c: Likewise.
16929 * io/linkat.c: Likewise.
16930 * io/lseek.c: Likewise.
16931 * io/lseek64.c: Likewise.
16932 * io/lxstat64.c: Likewise.
16933 * io/mkdir.c: Likewise.
16934 * io/mkdirat.c: Likewise.
16935 * io/mkfifo.c: Likewise.
16936 * io/mkfifoat.c: Likewise.
16937 * io/open.c: Likewise.
16938 * io/open64.c: Likewise.
16939 * io/openat.c: Likewise.
16940 * io/openat64.c: Likewise.
16941 * io/pipe.c: Likewise.
16942 * io/pipe2.c: Likewise.
16943 * io/poll.c: Likewise.
16944 * io/posix_fadvise.c: Likewise.
16945 * io/posix_fadvise64.c: Likewise.
16946 * io/posix_fallocate.c: Likewise.
16947 * io/posix_fallocate64.c: Likewise.
16948 * io/read.c: Likewise.
16949 * io/readlink.c: Likewise.
16950 * io/readlinkat.c: Likewise.
16951 * io/rmdir.c: Likewise.
16952 * io/sendfile.c: Likewise.
16953 * io/sendfile64.c: Likewise.
16954 * io/statfs.c: Likewise.
16955 * io/statfs64.c: Likewise.
16956 * io/statvfs.c: Likewise.
16957 * io/statvfs64.c: Likewise.
16958 * io/symlink.c: Likewise.
16959 * io/symlinkat.c: Likewise.
16960 * io/ttyname.c: Likewise.
16961 * io/ttyname_r.c: Likewise.
16962 * io/umask.c: Likewise.
16963 * io/unlink.c: Likewise.
16964 * io/unlinkat.c: Likewise.
16965 * io/utime.c: Likewise.
16966 * io/utimensat.c: Likewise.
16967 * io/write.c: Likewise.
16968 * io/xmknod.c: Likewise.
16969 * io/xmknodat.c: Likewise.
16970 * io/xstat.c: Likewise.
16971 * io/xstat64.c: Likewise.
16972 * login/getpt.c: Likewise.
16973 * login/grantpt.c: Likewise.
16974 * login/unlockpt.c: Likewise.
16975 * math/e_acoshl.c: Likewise.
16976 * math/e_acosl.c: Likewise.
16977 * math/e_asinl.c: Likewise.
16978 * math/e_atan2l.c: Likewise.
16979 * math/e_atanhl.c: Likewise.
16980 * math/e_coshl.c: Likewise.
16981 * math/e_expl.c: Likewise.
16982 * math/e_fmodl.c: Likewise.
16983 * math/e_gammal_r.c: Likewise.
16984 * math/e_hypotl.c: Likewise.
16985 * math/e_j0l.c: Likewise.
16986 * math/e_j1l.c: Likewise.
16987 * math/e_jnl.c: Likewise.
16988 * math/e_lgammal_r.c: Likewise.
16989 * math/e_log10l.c: Likewise.
16990 * math/e_log2l.c: Likewise.
16991 * math/e_logl.c: Likewise.
16992 * math/e_powl.c: Likewise.
16993 * math/e_rem_pio2l.c: Likewise.
16994 * math/e_sinhl.c: Likewise.
16995 * math/e_sqrtl.c: Likewise.
16996 * math/fclrexcpt.c: Likewise.
16997 * math/fedisblxcpt.c: Likewise.
16998 * math/feenablxcpt.c: Likewise.
16999 * math/fegetenv.c: Likewise.
17000 * math/fegetexcept.c: Likewise.
17001 * math/fegetround.c: Likewise.
17002 * math/feholdexcpt.c: Likewise.
17003 * math/fesetenv.c: Likewise.
17004 * math/fesetround.c: Likewise.
17005 * math/feupdateenv.c: Likewise.
17006 * math/fgetexcptflg.c: Likewise.
17007 * math/fraiseexcpt.c: Likewise.
17008 * math/fsetexcptflg.c: Likewise.
17009 * math/ftestexcept.c: Likewise.
17010 * math/k_cosl.c: Likewise.
17011 * math/k_rem_pio2l.c: Likewise.
17012 * math/k_sinl.c: Likewise.
17013 * math/k_tanl.c: Likewise.
17014 * math/s_asinhl.c: Likewise.
17015 * math/s_atanl.c: Likewise.
17016 * math/s_cbrtl.c: Likewise.
17017 * math/s_erfl.c: Likewise.
17018 * math/s_expm1l.c: Likewise.
17019 * math/s_log1pl.c: Likewise.
17020 * math/s_tanhl.c: Likewise.
17021 * misc/acct.c: Likewise.
17022 * misc/brk.c: Likewise.
17023 * misc/chflags.c: Likewise.
17024 * misc/chroot.c: Likewise.
17025 * misc/fchflags.c: Likewise.
17026 * misc/fgetxattr.c: Likewise.
17027 * misc/flistxattr.c: Likewise.
17028 * misc/fremovexattr.c: Likewise.
17029 * misc/fsetxattr.c: Likewise.
17030 * misc/fsync.c: Likewise.
17031 * misc/ftruncate.c: Likewise.
17032 * misc/futimes.c: Likewise.
17033 * misc/futimesat.c: Likewise.
17034 * misc/getdomain.c: Likewise.
17035 * misc/getdtsz.c: Likewise.
17036 * misc/gethostid.c: Likewise.
17037 * misc/gethostname.c: Likewise.
17038 * misc/getloadavg.c: Likewise.
17039 * misc/getpagesize.c: Likewise.
17040 * misc/getsysstats.c: Likewise.
17041 * misc/getxattr.c: Likewise.
17042 * misc/gtty.c: Likewise.
17043 * misc/ioctl.c: Likewise.
17044 * misc/lgetxattr.c: Likewise.
17045 * misc/listxattr.c: Likewise.
17046 * misc/llistxattr.c: Likewise.
17047 * misc/lremovexattr.c: Likewise.
17048 * misc/lsetxattr.c: Likewise.
17049 * misc/lutimes.c: Likewise.
17050 * misc/madvise.c: Likewise.
17051 * misc/mincore.c: Likewise.
17052 * misc/mlock.c: Likewise.
17053 * misc/mlockall.c: Likewise.
17054 * misc/mmap.c: Likewise.
17055 * misc/mprotect.c: Likewise.
17056 * misc/msync.c: Likewise.
17057 * misc/munlock.c: Likewise.
17058 * misc/munlockall.c: Likewise.
17059 * misc/munmap.c: Likewise.
17060 * misc/preadv.c: Likewise.
17061 * misc/preadv64.c: Likewise.
17062 * misc/ptrace.c: Likewise.
17063 * misc/pwritev.c: Likewise.
17064 * misc/pwritev64.c: Likewise.
17065 * misc/readv.c: Likewise.
17066 * misc/reboot.c: Likewise.
17067 * misc/remap_file_pages.c: Likewise.
17068 * misc/removexattr.c: Likewise.
17069 * misc/revoke.c: Likewise.
17070 * misc/select.c: Likewise.
17071 * misc/setdomain.c: Likewise.
17072 * misc/setegid.c: Likewise.
17073 * misc/seteuid.c: Likewise.
17074 * misc/sethostid.c: Likewise.
17075 * misc/sethostname.c: Likewise.
17076 * misc/setregid.c: Likewise.
17077 * misc/setreuid.c: Likewise.
17078 * misc/setxattr.c: Likewise.
17079 * misc/sstk.c: Likewise.
17080 * misc/stty.c: Likewise.
17081 * misc/swapoff.c: Likewise.
17082 * misc/swapon.c: Likewise.
17083 * misc/sync.c: Likewise.
17084 * misc/syncfs.c: Likewise.
17085 * misc/syscall.c: Likewise.
17086 * misc/truncate.c: Likewise.
17087 * misc/ualarm.c: Likewise.
17088 * misc/usleep.c: Likewise.
17089 * misc/ustat.c: Likewise.
17090 * misc/utimes.c: Likewise.
17091 * misc/vhangup.c: Likewise.
17092 * misc/writev.c: Likewise.
17093 * posix/_exit.c: Likewise.
17094 * posix/alarm.c: Likewise.
17095 * posix/execve.c: Likewise.
17096 * posix/fexecve.c: Likewise.
17097 * posix/fork.c: Likewise.
17098 * posix/fpathconf.c: Likewise.
17099 * posix/getaddrinfo.c: Likewise.
17100 * posix/getegid.c: Likewise.
17101 * posix/geteuid.c: Likewise.
17102 * posix/getgid.c: Likewise.
17103 * posix/getgroups.c: Likewise.
17104 * posix/getlogin.c: Likewise.
17105 * posix/getlogin_r.c: Likewise.
17106 * posix/getpgid.c: Likewise.
17107 * posix/getpid.c: Likewise.
17108 * posix/getppid.c: Likewise.
17109 * posix/getresgid.c: Likewise.
17110 * posix/getresuid.c: Likewise.
17111 * posix/getsid.c: Likewise.
17112 * posix/getuid.c: Likewise.
17113 * posix/glob64.c: Likewise.
17114 * posix/nanosleep.c: Likewise.
17115 * posix/pathconf.c: Likewise.
17116 * posix/pause.c: Likewise.
17117 * posix/posix_madvise.c: Likewise.
17118 * posix/pread.c: Likewise.
17119 * posix/pread64.c: Likewise.
17120 * posix/pwrite.c: Likewise.
17121 * posix/pwrite64.c: Likewise.
17122 * posix/sched_getaffinity.c: Likewise.
17123 * posix/sched_getp.c: Likewise.
17124 * posix/sched_gets.c: Likewise.
17125 * posix/sched_primax.c: Likewise.
17126 * posix/sched_primin.c: Likewise.
17127 * posix/sched_rr_gi.c: Likewise.
17128 * posix/sched_setaffinity.c: Likewise.
17129 * posix/sched_setp.c: Likewise.
17130 * posix/sched_sets.c: Likewise.
17131 * posix/sched_yield.c: Likewise.
17132 * posix/setgid.c: Likewise.
17133 * posix/setlogin.c: Likewise.
17134 * posix/setpgid.c: Likewise.
17135 * posix/setresgid.c: Likewise.
17136 * posix/setresuid.c: Likewise.
17137 * posix/setsid.c: Likewise.
17138 * posix/setuid.c: Likewise.
17139 * posix/sleep.c: Likewise.
17140 * posix/spawni.c: Likewise.
17141 * posix/sysconf.c: Likewise.
17142 * posix/times.c: Likewise.
17143 * posix/wait.c: Likewise.
17144 * posix/wait3.c: Likewise.
17145 * posix/wait4.c: Likewise.
17146 * posix/waitpid.c: Likewise.
17147 * resolv/gai_sigqueue.c: Likewise.
17148 * resource/getpriority.c: Likewise.
17149 * resource/getrlimit.c: Likewise.
17150 * resource/getrusage.c: Likewise.
17151 * resource/nice.c: Likewise.
17152 * resource/setpriority.c: Likewise.
17153 * resource/setrlimit.c: Likewise.
17154 * resource/ulimit.c: Likewise.
17155 * rt/aio_cancel.c: Likewise.
17156 * rt/aio_fsync.c: Likewise.
17157 * rt/aio_read.c: Likewise.
17158 * rt/aio_sigqueue.c: Likewise.
17159 * rt/aio_suspend.c: Likewise.
17160 * rt/aio_write.c: Likewise.
17161 * rt/clock_getres.c: Likewise.
17162 * rt/clock_gettime.c: Likewise.
17163 * rt/clock_nanosleep.c: Likewise.
17164 * rt/clock_settime.c: Likewise.
17165 * rt/lio_listio.c: Likewise.
17166 * rt/mq_close.c: Likewise.
17167 * rt/mq_getattr.c: Likewise.
17168 * rt/mq_notify.c: Likewise.
17169 * rt/mq_open.c: Likewise.
17170 * rt/mq_receive.c: Likewise.
17171 * rt/mq_send.c: Likewise.
17172 * rt/mq_setattr.c: Likewise.
17173 * rt/mq_timedreceive.c: Likewise.
17174 * rt/mq_timedsend.c: Likewise.
17175 * rt/mq_unlink.c: Likewise.
17176 * rt/shm_open.c: Likewise.
17177 * rt/shm_unlink.c: Likewise.
17178 * rt/timer_create.c: Likewise.
17179 * rt/timer_delete.c: Likewise.
17180 * rt/timer_getoverr.c: Likewise.
17181 * rt/timer_gettime.c: Likewise.
17182 * rt/timer_settime.c: Likewise.
17183 * setjmp/__longjmp.c: Likewise.
17184 * setjmp/setjmp.c: Likewise.
17185 * signal/kill.c: Likewise.
17186 * signal/killpg.c: Likewise.
17187 * signal/raise.c: Likewise.
17188 * signal/sigaction.c: Likewise.
17189 * signal/sigaltstack.c: Likewise.
17190 * signal/sigblock.c: Likewise.
17191 * signal/sigignore.c: Likewise.
17192 * signal/sigintr.c: Likewise.
17193 * signal/signal.c: Likewise.
17194 * signal/sigpause.c: Likewise.
17195 * signal/sigpending.c: Likewise.
17196 * signal/sigqueue.c: Likewise.
17197 * signal/sigreturn.c: Likewise.
17198 * signal/sigset.c: Likewise.
17199 * signal/sigsetmask.c: Likewise.
17200 * signal/sigstack.c: Likewise.
17201 * signal/sigsuspend.c: Likewise.
17202 * signal/sigtimedwait.c: Likewise.
17203 * signal/sigvec.c: Likewise.
17204 * signal/sigwait.c: Likewise.
17205 * signal/sigwaitinfo.c: Likewise.
17206 * signal/sysv_signal.c: Likewise.
17207 * socket/accept.c: Likewise.
17208 * socket/accept4.c: Likewise.
17209 * socket/bind.c: Likewise.
17210 * socket/connect.c: Likewise.
17211 * socket/getpeername.c: Likewise.
17212 * socket/getsockname.c: Likewise.
17213 * socket/getsockopt.c: Likewise.
17214 * socket/isfdtype.c: Likewise.
17215 * socket/listen.c: Likewise.
17216 * socket/recv.c: Likewise.
17217 * socket/recvfrom.c: Likewise.
17218 * socket/recvmsg.c: Likewise.
17219 * socket/send.c: Likewise.
17220 * socket/sendmsg.c: Likewise.
17221 * socket/sendto.c: Likewise.
17222 * socket/setsockopt.c: Likewise.
17223 * socket/shutdown.c: Likewise.
17224 * socket/sockatmark.c: Likewise.
17225 * socket/socket.c: Likewise.
17226 * socket/socketpair.c: Likewise.
17227 * stdio-common/ctermid.c: Likewise.
17228 * stdio-common/cuserid.c: Likewise.
17229 * stdio-common/remove.c: Likewise.
17230 * stdio-common/rename.c: Likewise.
17231 * stdio-common/renameat.c: Likewise.
17232 * stdio-common/tempname.c: Likewise.
17233 * stdlib/getcontext.c: Likewise.
17234 * stdlib/makecontext.c: Likewise.
17235 * stdlib/setcontext.c: Likewise.
17236 * stdlib/swapcontext.c: Likewise.
17237 * stdlib/system.c: Likewise.
17238 * streams/fattach.c: Likewise.
17239 * streams/fdetach.c: Likewise.
17240 * streams/getmsg.c: Likewise.
17241 * streams/getpmsg.c: Likewise.
17242 * streams/putmsg.c: Likewise.
17243 * streams/putpmsg.c: Likewise.
17244 * sysdeps/unix/bsd/getpt.c: Likewise.
17245 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17246 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17247 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17249 Likewise.
17250 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17251 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17252 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17253 * sysvipc/msgctl.c: Likewise.
17254 * sysvipc/msgget.c: Likewise.
17255 * sysvipc/msgrcv.c: Likewise.
17256 * sysvipc/msgsnd.c: Likewise.
17257 * sysvipc/semctl.c: Likewise.
17258 * sysvipc/semget.c: Likewise.
17259 * sysvipc/semop.c: Likewise.
17260 * sysvipc/semtimedop.c: Likewise.
17261 * sysvipc/shmat.c: Likewise.
17262 * sysvipc/shmctl.c: Likewise.
17263 * sysvipc/shmdt.c: Likewise.
17264 * sysvipc/shmget.c: Likewise.
17265 * termios/tcdrain.c: Likewise.
17266 * termios/tcflow.c: Likewise.
17267 * termios/tcflush.c: Likewise.
17268 * termios/tcgetattr.c: Likewise.
17269 * termios/tcgetpgrp.c: Likewise.
17270 * termios/tcsendbrk.c: Likewise.
17271 * termios/tcsetattr.c: Likewise.
17272 * termios/tcsetpgrp.c: Likewise.
17273 * time/adjtime.c: Likewise.
17274 * time/clock.c: Likewise.
17275 * time/getitimer.c: Likewise.
17276 * time/gettimeofday.c: Likewise.
17277 * time/setitimer.c: Likewise.
17278 * time/settimeofday.c: Likewise.
17279 * time/stime.c: Likewise.
17280 * time/time.c: Likewise.
17281
172822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17283
a20492cf
PT
17284 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17285 /usr/old/bin.
17286
72e182e3
PT
17287 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17288 instead of spaces.
17289 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17290
fbeafede
JM
172912012-11-03 Joseph Myers <joseph@codesourcery.com>
17292
5b5b04d6
JM
17293 [BZ #14796]
17294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17295 FE_TONEAREST before applying Dekker multiplication and Knuth
17296 addition. Clear inexact exceptions and check for exact zero
17297 results afterwards.
17298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17299 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17301 * math/libm-test.inc (fma_test): Add more tests.
17302 (fma_test_towardzero): Likewise.
17303 (fma_test_downward): Likewise.
17304 (fma_test_upward): Likewise.
17305 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17306 function.
17307 (libc_fesetround): New macro.
17308 (libc_fesetroundf): Likewise.
17309 (libc_fesetroundl): Likewise.
17310 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17311 function.
17312 (libc_fesetround_387): Likewise.
17313 (libc_fesetroundf): New macro.
17314 (libc_fesetround): Likewise.
17315 (libc_fesetroundl): Likewise.
17316 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17317 function.
17318 (libc_fesetroundf): New macro.
17319 (libc_fesetround): Likewise.
17320 (libc_fesetroundl): Likewise.
17321 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17322 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17323 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17324 libm_hidden_ver.
17325 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17326 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17327 libm_hidden_def.
17328 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17329 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17330 libm_hidden_ver.
17331 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17332 libm_hidden_def.
17333
fbeafede
JM
17334 [BZ #3439]
17335 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17336 integer constant usable in #if and use that to give value to enum
17337 constant.
17338 (FE_DIVBYZERO): Likewise.
17339 (FE_UNDERFLOW): Likewise.
17340 (FE_OVERFLOW): Likewise.
17341 (FE_INVALID): Likewise.
17342 (FE_INVALID_SNAN): Likewise.
17343 (FE_INVALID_ISI): Likewise.
17344 (FE_INVALID_IDI): Likewise.
17345 (FE_INVALID_ZDZ): Likewise.
17346 (FE_INVALID_IMZ): Likewise.
17347 (FE_INVALID_COMPARE): Likewise.
17348 (FE_INVALID_SOFTWARE): Likewise.
17349 (FE_INVALID_SQRT): Likewise.
17350 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17351 (FE_TONEAREST): Likewise.
17352 (FE_TOWARDZERO): Likewise.
17353 (FE_UPWARD): Likewise.
17354 (FE_DOWNWARD): Likewise.
17355 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17356 (FE_DIVBYZERO): Likewise.
17357 (FE_OVERFLOW): Likewise.
17358 (FE_UNDERFLOW): Likewise.
17359 (FE_INEXACT): Likewise.
17360 (FE_TONEAREST): Likewise.
17361 (FE_DOWNWARD): Likewise.
17362 (FE_UPWARD): Likewise.
17363 (FE_TOWARDZERO): Likewise.
17364 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17365 (FE_UNDERFLOW): Likewise.
17366 (FE_OVERFLOW): Likewise.
17367 (FE_DIVBYZERO): Likewise.
17368 (FE_INVALID): Likewise.
17369 (FE_TONEAREST): Likewise.
17370 (FE_TOWARDZERO): Likewise.
17371 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17372 (FE_OVERFLOW): Likewise.
17373 (FE_UNDERFLOW): Likewise.
17374 (FE_DIVBYZERO): Likewise.
17375 (FE_INEXACT): Likewise.
17376 (FE_TONEAREST): Likewise.
17377 (FE_TOWARDZERO): Likewise.
17378 (FE_UPWARD): Likewise.
17379 (FE_DOWNWARD): Likewise.
17380 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17381 (FE_DIVBYZERO): Likewise.
17382 (FE_OVERFLOW): Likewise.
17383 (FE_UNDERFLOW): Likewise.
17384 (FE_INEXACT): Likewise.
17385 (FE_TONEAREST): Likewise.
17386 (FE_DOWNWARD): Likewise.
17387 (FE_UPWARD): Likewise.
17388 (FE_TOWARDZERO): Likewise.
17389
105ca950
CM
173902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17391
17392 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17393
a542b389
AS
173942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17395
17396 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17397 commands. Quote $PWD.
17398 (blacklist_exports): Don't use remove_newlines. Replace "declare
17399 -x" by "export".
17400 (remove_newlines): Remove.
17401
f62c8abc
L
174022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17403
17404 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17405 * stdlib/stdlib.h (atof): Moved to ...
17406 * include/bits/stdlib-float.h: Here. New file.
17407 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17408 * stdlib/bits/stdlib-float.h: New file.
17409 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17410 -mno-sse -mno-mmx.
17411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17412 <xmmintrin.h>.
17413
0155d5b2
JM
174142012-11-02 Joseph Myers <joseph@codesourcery.com>
17415
a68d0680
JM
17416 * conform/conformtest.pl (@headers): Add fenv.h.
17417 * conform/data/fenv.h-data: New file.
17418 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17419 include of <math/fenv.h>.
17420
caf7f573
JM
17421 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17422 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17423 && !UNIX98]. Enables tests for XOPEN2K8.
17424 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17425 POSIX2008]: Likewise.
17426
6c073ad6
JM
17427 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17428 (struct rusage): Do not expect type or its members.
17429
0155d5b2
JM
17430 [BZ #3439]
17431 * math/math.h (FP_NAN): Define macro to integer constant usable in
17432 #if and use that to give value to enum constant.
17433 (FP_INFINITE): Likewise.
17434 (FP_ZERO): Likewise.
17435 (FP_SUBNORMAL): Likewise.
17436 (FP_NORMAL): Likewise.
17437
b5dcacb4
AS
174382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17439
17440 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17441 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17442 arguments.
17443
f7934be8
RM
174442012-11-02 Roland McGrath <roland@hack.frob.com>
17445
17446 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17447 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17448 autoconf-time if not.
17449 * configure.in: Remove AC_PREREQ.
17450
d7d08bde
TMQMF
174512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17452
17453 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17454 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17455 of the internal implementation.
17456
dcdae19a
JM
174572012-11-02 Joseph Myers <joseph@codesourcery.com>
17458
17459 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17460 except include of <misc/sys/syslog.h>.
17461
d6cffd3e
AS
174622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17463
17464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17465 function returns with a NULL context exit with zero.
17466
b3563932
TMQMF
174672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17468
17469 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17470
b288a93d
L
174712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17472
17473 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17474 (run_program_cmd): This.
17475 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17476 (tst_langinfo): New variable. Use it.
17477
a2421a68
SAS
174782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17479
17480 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17481 floating point opcodes.
17482
6f796e1b
TS
174832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17484
7402596b
TS
17485 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17486 variable.
17487
d0d4f868
TS
17488 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17489
6f796e1b
TS
17490 * sysdeps/mach/hurd/powerpc: Remove directory.
17491 * sysdeps/mach/powerpc: Likewise.
17492
4da224a2
AS
174932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17494
17495 * scripts/check-local-headers.sh: Ignore c++ headers.
17496
341dd673
TS
174972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17498
17499 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17500 __libc_cleanup_region_start argument.
17501
473611b2
JM
175022012-11-01 Joseph Myers <joseph@codesourcery.com>
17503
17504 [BZ #14784]
17505 [BZ #14785]
17506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17507 x * y using scaling, not as x * y + z.
17508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17510 * math/libm-test.inc (fma_test): Add more tests.
17511 (fma_test_towardzero): Likewise.
17512 (fma_test_downward): Likewise.
17513 (fma_test_upward): Likewise.
17514
4078da3d
TS
175152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17516
17517 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17518
903252aa
JM
175192012-10-31 Joseph Myers <joseph@codesourcery.com>
17520
17521 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17522 New variable.
17523
cbc818d0
TS
175242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17525
17526 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17527
5a03cb1e
AS
175282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17529
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17531 Fix sort order.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17533 Likewise.
17534
90aff2ff
TMQMF
175352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17536
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17538 Fix the order of the list for glibc 2.17.
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17540 Likewise.
17541
1818fcb7
AS
175422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17543
17544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17545
ef82f4da
JM
175462012-10-31 Joseph Myers <joseph@codesourcery.com>
17547
16a0e2ec
JM
17548 [BZ #14610]
17549 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17550 for low part of x being zero before using __atanl (y).
17551 * math/libm-test.inc (atan2_test): Add another test.
17552
0eb69512
JM
17553 * manual/install.texi (Configuring and compiling): Document
17554 general use of test-wrapper and test-wrapper-env.
17555 * INSTALL: Regenerated.
17556
ef82f4da
JM
17557 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17558 (__fma): Do not extract and scale down low bits on after-rounding
17559 systems when result rounded to normal precision would have normal
17560 exponent.
17561 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17562 (__fmal): Do not extract and scale down low bits on after-rounding
17563 systems when result rounded to normal precision would have normal
17564 exponent.
17565 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17566 (__fmal): Do not extract and scale down low bits on after-rounding
17567 systems when result rounded to normal precision would have normal
17568 exponent.
17569 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17570 macro.
17571 (fma_test): Add more tests.
17572 (fma_test_towardzero): Likewise.
17573 (fma_test_downward): Likewise.
17574 (fma_test_upward): Likewise.
17575
954ef0d9
L
175762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17577
17578 * sysdeps/i386/tininess.h: Renamed to ...
17579 * sysdeps/x86/tininess.h: This.
17580 * sysdeps/x86_64/tininess.h: Removed.
17581
df61ffb2
JM
175822012-10-30 Joseph Myers <joseph@codesourcery.com>
17583
17584 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17585 input. Use $(build-program-cmd).
17586 ($(objpfx)tst-array1-static.out): Likewise.
17587 ($(objpfx)tst-array2.out): Likewise.
17588 ($(objpfx)tst-array3.out): Likewise.
17589 ($(objpfx)tst-array4.out): Likewise.
17590 ($(objpfx)tst-array5.out): Likewise.
17591 ($(objpfx)tst-array5-static.out): Likewise.
17592
01767843
CM
175932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17594
47cc1490
CM
17595 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17596 if defined.
17597
01767843
CM
17598 * nss/nsswitch.h (nss_interface_function): Provide new
17599 macro for use with NSS functions.
17600 * grp/initgroups.c: Use new macro.
17601 * nss/getXXbyYY.c: Likewise.
17602 * nss/getXXbyYY_r.c: Likewise.
17603 * nss/getXXent.c: Likewise.
17604 * nss/getXXent_r.c: Likewise.
17605 * sysdeps/posix/getaddrinfo.c: Likewise.
17606
8321aa97
AJ
176072012-10-30 Andreas Jaeger <aj@suse.de>
17608
17609 * po/ru.po: Update Russion translation from translation project.
17610
2a27fd6d
JM
176112012-10-30 Joseph Myers <joseph@codesourcery.com>
17612
8627a232
JM
17613 [BZ #14152]
17614 [BZ #14783]
17615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17616 result and shift together with sticky bit instead of replicating
17617 round-to-nearest rounding.
17618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17620 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17621 missing underflow exceptions.
17622 (fma_test_towardzero): Add more tests.
17623 (fma_test_downward): Likewise.
17624 (fma_test_upward): Likewise.
17625
2a27fd6d
JM
17626 [BZ #14047]
17627 * sysdeps/generic/tininess.h: New file.
17628 * sysdeps/i386/tininess.h: Likewise.
17629 * sysdeps/sh/tininess.h: Likewise.
17630 * sysdeps/x86_64/tininess.h: Likewise.
17631 * stdlib/tst-strtod-underflow.c: Likewise.
17632 * stdlib/tst-tininess.c: Likewise.
17633 * stdlib/strtod_l.c: Include <tininess.h>.
17634 (round_and_return): Do not set errno for exact underflow cases.
17635 Force an underflow exception when setting errno for underflow.
17636 Determine underflow based on rounding to normal precision if
17637 TININESS_AFTER_ROUNDING.
17638 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17639 ERANGE for exact underflow cases.
17640 * stdlib/Makefile (tests): Add tst-tininess and
17641 tst-strtod-underflow.
17642 ($(objpfx)tst-tininess): Use $(link-libm).
17643 ($(objpfx)tst-strtod-underflow): Likewise.
17644
e7170363
AJ
176452012-10-30 Andreas Jaeger <aj@suse.de>
17646
e5088dc6
AJ
17647 [BZ#14767]
17648 * elf/Makefile (tests): Remove conditional for have-initfini-array
17649 since this is now always required and the variable does not exist
17650 anymore.
17651 (tests-static): Likewise.
17652 (modules-names): Likewise.
17653
e7170363 17654 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17655
17656 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17657 merged with constructor/destructor.
17658 (init_array): Likewise.
17659 * elf/tst-array2dep.c (fini_array): Likewise.
17660 (init_array): Likewise.
17661
60457d8a
MF
176622012-10-29 Mike Frysinger <vapier@gentoo.org>
17663
17664 * manual/message.texi: Delete @cartouche tags.
17665
8bece752
PT
176662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17667
94ce799f
PT
17668 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17669 EOPNOTSUPP.
17670 * sysdeps/mach/hurd/fsync.c: Likewise.
17671
8bece752
PT
17672 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17673 [_POSIX_REALTIME_SIGNALS]: Change condition to
17674 [_POSIX_REALTIME_SIGNALS > 0].
17675
86ebe6b1
AJ
176762012-10-27 Andreas Jaeger <aj@suse.de>
17677
17678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17679 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17681 [__WORDSIZE != 64]: Likewise.
17682
54399c08
L
176832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17684
17685 * iconvdata/tst-table.sh: Remove ${SHELL}.
17686 * iconvdata/tst-tables.sh: Likewise.
17687
e2211bed
DM
176882012-10-25 David S. Miller <davem@davemloft.net>
17689
17690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17691 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17692 of strtoull.
17693
f303f97c
DM
17694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17695 ifunc-impl-list.c
17696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17697 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17698 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17699 file.
17700
1e9d84cd
RM
177012012-10-25 Roland McGrath <roland@hack.frob.com>
17702
17703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17704 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17705 __getdirentries.
17706
df381762
JM
177072012-10-25 Joseph Myers <joseph@codesourcery.com>
17708 Jim Blandy <jimb@codesourcery.com>
17709
17710 * scripts/cross-test-ssh.sh: New file.
17711 * manual/install.texi (Configuring and compiling): Document use of
17712 cross-test-ssh.sh.
17713 * INSTALL: Regenerated.
17714
bff64913
PT
177152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17716
17717 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17718 EOPNOTSUPP.
17719
25fe8932
JM
177202012-10-25 Joseph Myers <joseph@codesourcery.com>
17721
17722 * Makeconfig (run-program-prefix): Fix comment.
17723
cc1290d0
JM
177242012-10-24 Joseph Myers <joseph@codesourcery.com>
17725 Jim Blandy <jimb@codesourcery.com>
17726
17727 * Makeconfig (test-wrapper): New variable,
17728 (test-wrapper-env): Likewise.
17729 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17730 (run-built-tests): Define to yes.
17731 (run-program-prefix): Use $(test-wrapper).
17732 (built-program-cmd): Likewise.
17733 * Rules (make-test-out): Use $(test-wrapper-env) and
17734 $(host-built-program-cmd).
17735 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17736 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17737 tst-pathopt.sh.
17738 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17739 $(test-wrapper-env) to tst-rtld-load-self.sh.
17740 ($(objpfx)order2.out): Use $(test-wrapper).
17741 ($(objpfx)tst-initorder.out): Likewise.
17742 ($(objpfx)tst-initorder2.out): Likewise.
17743 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17744 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17745 (test_wrapper_env): New variable. Use it to run ld.so.
17746 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17747 Use it to run ld.so.
17748 (test_wrapper_env): Likewise.
17749 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17750 $(test-wrapper) to run-iconv-test.sh.
17751 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17752 (ICONV): Use $test_wrapper.
17753 * posix/Makefile ($(objpfx)globtest.out): Pass
17754 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17755 globtest.sh, not $(run-program-prefix).
17756 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17757 (test_wrapper): Likewise.
17758 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17759 set together with run_via_rtld_prefix.
17760 (run_program_prefix): Define in terms of test_wrapper and
17761 run_via_rtld_prefix.
17762
6e6249d0
RM
177632012-10-24 Roland McGrath <roland@hack.frob.com>
17764
17765 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17766 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17767 Targets removed.
17768
17769 [BZ #14743]
17770 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17771 Declare __clock_getres, __clock_gettime, __clock_settime,
17772 __clock_nanosleep, and __clock_getcpuclockid.
17773 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17774 Remove librt_hidden_def (clock_gettime).
17775 * sysdeps/unix/clock_gettime.c: Likewise.
17776 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17778 * rt/clock_getres.c: Define __clock_getres as an alias.
17779 * sysdeps/posix/clock_getres.c: Likewise.
17780 * rt/clock_settime.c: Define __clock_settime as an alias.
17781 * sysdeps/unix/clock_settime.c: Likewise.
17782 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17783 * sysdeps/unix/clock_nanosleep.c: Likewise.
17784 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17785 * rt/clock-compat.c: New file.
17786 * rt/Makefile (librt-routines): Add clock-compat and move
17787 $(clock-routines) to ...
17788 (routines): ... here, new variable.
17789 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17790 Don't add get_clockfreq here.
17791 * rt/Versions (libc: GLIBC_2.17): New version set.
17792 Add clock_* symbols here.
17793 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17794 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17795 (GLIBC_2.17): Add clock_* symbols.
17796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17800 Likewise.
17801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17802 Likewise.
17803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17807 * NEWS: Mention the move.
17808
17809 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17810 Use __open, __read, __close rather than their public counterparts.
17811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17812 (__get_clockfreq_via_cpuinfo): Likewise.
17813 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17814 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17815
17816 * config.h.in (HAVE_IFUNC): New #undef.
17817 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17818 was successful.
17819 * configure: Regenerated.
17820
0cae3f4b
MF
178212012-10-24 Mike Frysinger <vapier@gentoo.org>
17822
17823 * configure.in: Move READELF check to start of file.
17824 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17825 libc_cv_asm_gnu_indirect_function in the process.
17826 * configure: Regenerated.
17827
8175a253
MF
178282012-10-24 Mike Frysinger <vapier@gentoo.org>
17829
17830 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17831 send the output to /dev/null.
17832 (libc_cv_cc_with_libunwind): Likewise.
17833 (libc_cv_as_noexecstack): Likewise.
17834 * configure: Regenerate.
17835
0708a7d1
JM
178362012-10-24 Joseph Myers <joseph@codesourcery.com>
17837
10b40d85
JM
17838 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17839
0708a7d1
JM
17840 * posix/globtest.sh (TMPDIR): Do not set.
17841 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17842 (testout): Likewise.
17843
9fddec1a
AJ
178442012-10-24 Andreas Jaeger <aj@suse.de>
17845
3a8db22f
AJ
17846 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17847 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17848 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17849 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17850 posix_fadvise64, posix_fallocate64.
17851
9fddec1a
AJ
17852 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17853 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17854 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17855 Likewise.
17856 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17857 Likewise.
17858 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17859
17860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17861 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17862 <bits/fcntl-linux.h>.
17863 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17864
17865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17866 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17867 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17868 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17869 [__WORDSIZE != 64]: Likewise.
17870
ebfd1bbd
JM
178712012-10-23 Joseph Myers <joseph@codesourcery.com>
17872
03ac099f
JM
17873 * Makeconfig (run-built-tests): New variable.
17874 * Rules [$(cross-compiling) = yes]: Change condition to
17875 [$(run-built-tests) = no].
17876 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17877 to [$(run-built-tests) = yes].
17878 * elf/Makefile [$(cross-compiling) = no]: Likewise
17879 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17880 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17881 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17882 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17883 * io/Makefile [$(cross-compiling) = no]: Likewise.
17884 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17885 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17886 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17887 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17888 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17889 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17890 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17891 * string/Makefile [$(cross-compiling) = no]: Likewise.
17892
ebfd1bbd
JM
17893 * posix/Makefile ($(objpfx)globtest.out): Pass
17894 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17895 $(rtld-installed-name).
17896 * posix/globtest.sh (elf_objpfx): Remove variable.
17897 (rtld_installed_name): Likewise.
17898 (library_path): Likewise.
17899 (run_program_prefix): New variable. Use for running globtest
17900 binary.
17901
166bca24
JB
179022012-10-23 Jim Blandy <jimb@codesourcery.com>
17903 Joseph Myers <joseph@codesourcery.com>
17904
17905 * Makeconfig (host-built-program-cmd): New variable.
17906 * elf/Makefile (tst-stackguard1-ARGS): Use
17907 $(host-built-program-cmd).
17908 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17909 (tst-spawn-ARGS): Likewise.
17910 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17911
88866099
JM
179122012-10-23 Joseph Myers <joseph@codesourcery.com>
17913 Jim Blandy <jimb@codesourcery.com>
17914
17915 * Makeconfig (run-via-rtld-prefix): New variable.
17916 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17917 (built-program-cmd): Likewise.
17918
b4b4c296
AJ
179192012-10-22 Andreas Jaeger <aj@suse.de>
17920
17921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17922 __O_RSYNC if it exists, otherwise to O_SYNC.
17923
6fb54a22
JB
179242012-10-22 Jim Blandy <jimb@codesourcery.com>
17925 Joseph Myers <joseph@codesourcery.com>
17926
17927 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17928 /dev/null.
17929 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17930 from /dev/null
17931 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17932 /dev/null.
17933
481b90b9
AJ
179342012-10-22 Andreas Jaeger <aj@suse.de>
17935
2a0e2669
AJ
17936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17937 Define always.
17938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17939
76e38f9a
AJ
17940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17941 bits/fcntl-linux.h.
17942
7cd37b43
AJ
17943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17944 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17945
481b90b9
AJ
17946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17947 to __O_LARGEFILE.
17948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17949 to __O_LARGEFILE.
17950
aba75984
JB
179512012-10-21 Jim Blandy <jimb@codesourcery.com>
17952 Joseph Myers <joseph@codesourcery.com>
17953
17954 * config.make.in (NM): New variable.
17955
88d4247f
AJ
179562012-10-21 Andreas Jaeger <aj@suse.de>
17957
17958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17959 definitions and declarations that are provided by
17960 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17961
f2eed205
L
179622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17963
17964 [BZ #14683]
17965 * elf/Makefile (tests-static): Add tst-leaks1-static.
17966 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17967 ($(objpfx)tst-leaks1-static): New rule.
17968 ($(objpfx)tst-leaks1-static-mem): Likewise.
17969 (tst-leaks1-static-ENV): New macro.
17970 * elf/dl-open.c (dl_open_worker): Check the main application
17971 only if SHARED is defined.
17972 * elf/tst-leaks1-static.c: New file.
17973
335e6931
AJ
179742012-10-20 Andreas Jaeger <aj@suse.de>
17975
17976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17977 generic values for Linux.
17978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17979 and declarations that are provided by <bits/fcntl-linux.h> and
17980 include <bits/fcntl-linux.h>.
17981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17983
ac5c94d3
RM
179842012-10-20 Roland McGrath <roland@hack.frob.com>
17985
17986 * io/fcntl.h: Move include of <bits/types.h> to the top and
17987 include it unconditionally.
17988
de54b33a
L
179892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17990
228cfb01
L
17991 * wcsmbs/Makefile (tests-ifunc): New variable.
17992 (tests): Add $(tests-ifunc).
17993 * wcsmbs/test-wcschr-ifunc.c: New file.
17994 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17995 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17996 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17997 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17998 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17999
69f07e5f
L
18000 * string/Makefile (tests-ifunc): New variable.
18001 (tests): Add $(tests-ifunc).
18002 * string/test-memccpy.c (TEST_NAME): New macro.
18003 * string/test-memchr.c (TEST_NAME): Likewise.
18004 * string/test-memcmp.c (TEST_NAME): Likewise.
18005 * string/test-memcpy.c (TEST_NAME): Likewise.
18006 * string/test-memmem.c (TEST_NAME): Likewise.
18007 * string/test-memmove.c (TEST_NAME): Likewise.
18008 * string/test-memset.c (TEST_NAME): Likewise.
18009 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18010 * string/test-stpcpy.c (TEST_NAME): Likewise.
18011 * string/test-stpncpy.c (TEST_NAME): Likewise.
18012 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18013 * string/test-strcasestr.c (TEST_NAME): Likewise.
18014 * string/test-strcat.c (TEST_NAME): Likewise.
18015 * string/test-strchr.c (TEST_NAME): Likewise.
18016 * string/test-strcmp.c(TEST_NAME): Likewise.
18017 * string/test-strcpy.c (TEST_NAME): Likewise.
18018 * string/test-strcspn.c (TEST_NAME): Likewise.
18019 * string/test-strlen.c (TEST_NAME): Likewise.
18020 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18021 * string/test-strncmp.c (TEST_NAME): Likewise.
18022 * string/test-strncpy.c (TEST_NAME): Likewise.
18023 * string/test-strnlen.c (TEST_NAME): Likewise.
18024 * string/test-strpbrk.c (TEST_NAME): Likewise.
18025 * string/test-strrchr.c (TEST_NAME): Likewise.
18026 * string/test-strspn.c (TEST_NAME): Likewise.
18027 * string/test-strstr.c (TEST_NAME): Likewise.
18028 * string/test-bcopy-ifunc.c: New file.
18029 * string/test-bzero-ifunc.c: Likewise.
18030 * string/test-memccpy-ifunc.c: Likewise.
18031 * string/test-memchr-ifunc.c: Likewise.
18032 * string/test-memcmp-ifunc.c: Likewise.
18033 * string/test-memcpy-ifunc.c: Likewise.
18034 * string/test-memmem-ifunc.c: Likewise.
18035 * string/test-memmove-ifunc.c: Likewise.
18036 * string/test-mempcpy-ifunc.c: Likewise.
18037 * string/test-memset-ifunc.c: Likewise.
18038 * string/test-rawmemchr-ifunc.c: Likewise.
18039 * string/test-stpcpy-ifunc.c: Likewise.
18040 * string/test-stpncpy-ifunc.c: Likewise.
18041 * string/test-strcasecmp-ifunc.c: Likewise.
18042 * string/test-strcasestr-ifunc.c: Likewise.
18043 * string/test-strcat-ifunc.c: Likewise.
18044 * string/test-strchr-ifunc.c: Likewise.
18045 * string/test-strchrnul-ifunc.c: Likewise.
18046 * string/test-strcmp-ifunc.c: Likewise.
18047 * string/test-strcpy-ifunc.c: Likewise.
18048 * string/test-strcspn-ifunc.c: Likewise.
18049 * string/test-strlen-ifunc.c: Likewise.
18050 * string/test-strncasecmp-ifunc.c: Likewise.
18051 * string/test-strncat-ifunc.c: Likewise.
18052 * string/test-strncmp-ifunc.c: Likewise.
18053 * string/test-strncpy-ifunc.c: Likewise.
18054 * string/test-strnlen-ifunc.c: Likewise.
18055 * string/test-strpbrk-ifunc.c: Likewise.
18056 * string/test-strrchr-ifunc.c: Likewise.
18057 * string/test-strspn-ifunc.c: Likewise.
18058 * string/test-strstr-ifunc.c: Likewise.
18059
de54b33a
L
18060 * debug/Makefile (tests-ifunc): New variable.
18061 (tests): Add $(tests-ifunc).
18062 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18063 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18064 * debug/test-stpcpy_chk-ifunc.c: New file.
18065 * debug/test-strcpy_chk-ifunc.c: Likewise.
18066
88481c16
SP
180672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18068
18069 [BZ #13601]
18070 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18071 header is not read in.
18072
135948bd
JM
180732012-10-19 Joseph Myers <joseph@codesourcery.com>
18074
89f1c388
JM
18075 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18076 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18077 directly. Pass built executable to script as
18078 $(built-program-cmd).
18079 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18080 $testprogram without using LD_LIBRARY_PATH and $ldso.
18081
e40a0d21
JM
18082 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18083 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18084 $(rtld-installed-name).
18085 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18086 (rtld_installed_name): Likewise.
18087 (library_path): Likewise.
18088 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18089 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18090 $(run-program-prefix) to tst-tables.sh.
18091 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18092 it to run tst-table-from and tst-table-to.
18093 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18094 Pass it to tst-table.sh.
18095 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18096 $(run-program-prefix) to tst-gettext.sh.
18097 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18098 tst-translit.sh.
18099 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18100 tst-gettext2.sh.
18101 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18102 to run tst-gettext.
18103 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18104 to run tst-gettext2.
18105 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18106 to run tst-translit.
18107 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18108 $(run-program-prefix) to tst-mtrace.sh.
18109 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18110 to run tst-mtrace.
18111 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18112 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18113 $(rtld-installed-name).
18114 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18115 (rtld_installed_name): Likewise.
18116 (run_program_prefix): New variable. Use it to run wordexp-test.
18117
728e272a
JM
18118 * Makeconfig (ARCH): Remove all definitions.
18119 (machine): Likewise.
18120 [ARCH]: Remove conditional code.
18121 [!objdir]: Give error.
18122 [!objdir] (objpfx): Remove.
18123 [!objdir] (common-objpfx): Likewise.
18124 [!objdir] (common-objdir): Likewise.
18125 * configure.in (config_makefile): Remove. Hardcode Makefile in
18126 AC_CONFIG_FILES call.
18127 * configure: Regenerated.
18128
d528cdcf
JM
18129 [BZ #13888]
18130 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18131 or TMPDIR.
18132 (testout): Likewise.
18133
135948bd
JM
18134 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18135 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18136 $(rtld-installed-name).
18137 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18138 (rtld_installed_name): Likwise.
18139 (runit): Remove function.
18140 (run_getconf): New variable, Use it for running getconf binary.
18141
38c78296
L
181422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18143
18144 [BZ #14716]
18145 * string/test-memmem.c (check_result): New function.
18146 (do_one_test): Use it.
18147 (check1): New function.
18148 (test_main): Use it.
18149
d077f65f
MT
181502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18151
18152 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18153
ced52c71
JM
181542012-10-18 Joseph Myers <joseph@codesourcery.com>
18155
18156 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18157 (_G_LSEEK64): Likewise.
18158 (_G_MMAP64): Likewise.
18159 (_G_FSTAT64): Likewise.
18160 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18161 (_G_LSEEK64): Likewise.
18162 (_G_MMAP64): Likewise.
18163 (_G_FSTAT64): Likewise.
18164 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18165 unconditional. Call __mmap64 directly.
18166 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18167 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18168 __lseek64 directly.
18169 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18170 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18171 __mmap64 directly.
18172 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18173 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18174 __lseek64 directly.
18175 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18176 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18177 __lseek64 directly.
18178 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18179 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18180 __lseek64 directly.
18181 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18182 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18183 __fxstat64 directly.
18184 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18185 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18186 unconditional.
18187 (freopen64) [!_G_OPEN64]: Remove conditional code.
18188 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18189 unconditional.
18190 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18191 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18192 unconditional.
18193 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18194 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18195 unconditional.
18196 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18197 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18198 unconditional.
18199 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18200 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18201 unconditional.
18202 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18203 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18204 unconditional.
18205 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18206 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18207 unconditional.
18208 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18209
b741de23
SP
182102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18211
18212 [BZ #12140]
18213 * manual/memory.texi (Malloc Tunable Parameters): Add note
18214 about free list pointers overwriting some perturb bytes.
18215 Wording suggested by Roland McGrath.
18216
f9b9d9c9
JM
182172012-10-17 Joseph Myers <joseph@codesourcery.com>
18218
18219 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18220 (lgamma_test): Likewise.
18221 (tgamma_test): Likewise.
18222
172a631a
FW
182232012-10-16 Florian Weimer <fweimer@redhat.com>
18224
18225 [BZ #14700]
18226 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18227 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18228
e9f37252
MK
182292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18230
18231 * NEWS: Mention BZ #14716.
18232 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18233 when removing AVAILABLE1_USES_J macro.
18234
d394eb74
L
182352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18236
18237 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18238 (__bswap_64): __uint64_t for unsigned 64-bit int.
18239
ca38dc17
AS
182402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18241
18242 * include/string.h (memmem): Declare libc hidden alias.
18243 * string/memmem.c (memmem): Define libc hidden alias.
18244 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18245 __read, __close instead of open, read, close.
18246
9a387d1f
L
182472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18248
ac49ecaf
L
18249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18250 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18251 global and hidden.
18252 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18253 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18254 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18255 Likewise.
18256 (__rawmemchr_sse2): Likewise.
18257 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18258 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18259 (__strchr_sse2): Likewise.
18260 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18261 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18262 (__strcasecmp_sse2): Likewise.
18263 (__strncasecmp_sse2): Likewise.
18264 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18265 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18266 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18267 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18268 (__strrchr_sse2): Likewise.
18269 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18270 ifunc-impl-list.c.
18271 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18272 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18273 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18274 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18275 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18276 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18277 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18278 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18279 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18280 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18281 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18282 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18283 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18284 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18285 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18286 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18287 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18288 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18289 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18290 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18291 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18292 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18293 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18294 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18295 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18296 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18297 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18298 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18299 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18300 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18301
b090e8ea
L
18302 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18303 global and hidden.
18304 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18305 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18306 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18307 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18308 Likewise.
18309 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18310 Likewise.
18311 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18312 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18313 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18314 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18315 ifunc-impl-list.c.
18316 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18317 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18318 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18319 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18320 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18321 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18322 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18323 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18324 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18325 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18326 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18327 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18328 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18329 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18330 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18332 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18333 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18334 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18335 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18336 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18337 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18338 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18339 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18340 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18341 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18342 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18343 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18344 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18345 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18346 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18347 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18348 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18349 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18350 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18351 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18352 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18353 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18354 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18355 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18356 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18357
11dd4af6
L
18358 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18359 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18360 * include/ifunc-impl-list.h: New file.
18361 * misc/ifunc-impl-list.c: Likewise.
18362 * misc/Makefile (routines): Add ifunc-impl-list.
18363 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18364 * string/test-string.h: Include <ifunc-impl-list.h>.
18365 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18366 impl_array): New variables.
18367 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18368 are defined.
18369 (test_init): Call __libc_ifunc_impl_list to initialize
18370 func_list if TEST_IFUNC and TEST_NAME are defined.
18371
9a387d1f
L
18372 * string/Makefile (strop-tests): Add bcopy and bzero.
18373 * string/test-bcopy.c: New file.
18374 * string/test-bzero.c: Likewise.
18375 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18376 defined.
18377 * string/test-memset.c: Support bzero test if TEST_BZERO is
18378 defined.
18379 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18380 __libc_memmove.
18381 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18382 __libc_memset.
18383 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18384 of memset.
18385
472371b9
JM
183862012-10-10 Joseph Myers <joseph@codesourcery.com>
18387
1e4a9536
JM
18388 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18389 * configure: Regenerated.
18390
d173d12e
JM
18391 * Makeconfig (+link-static-before-libc): Don't include
18392 $(link-static-libc).
18393
472371b9
JM
18394 * libio/libio.h (_IO_pos_t): Remove.
18395
89a3ad0b
AO
183962012-10-10 Alexandre Oliva <aoliva@redhat.com>
18397
18398 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18399 McGrath.
18400
e7451425
AO
184012012-10-10 Alexandre Oliva <aoliva@redhat.com>
18402
18403 * crypt/crypt-entry.c: Include fips-private.h.
18404 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18405 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18406 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18407 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18408
4ba74a35
AO
184092012-10-10 Alexandre Oliva <aoliva@redhat.com>
18410
18411 * crypt/crypt-private.h: Include stdbool.h.
18412 (_ufc_setup_salt_r): Return bool.
18413 * crypt/crypt-entry.c: Include errno.h.
18414 (__crypt_r): Return NULL with EINVAL for bad salt.
18415 * crypt/crypt_util.c (bad_for_salt): New.
18416 (_ufc_setup_salt_r): Check that salt is long enough and within
18417 the specified alphabet.
18418 * crypt/badsalttest.c: New file.
18419 * crypt/Makefile (tests): Add it.
18420 ($(objpfx)badsalttest): New.
18421
f96f1242
MK
184222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18423
18424 * NEWS: Add entry for BZ #14602.
18425
0e8e0c1c
JM
184262012-10-09 Joseph Myers <joseph@codesourcery.com>
18427
18428 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18429 type-generic.
18430 * math/libm-test.inc: Update comment listing what functions and
18431 macros are tested.
18432 (isgreater_test): New function.
18433 (isgreaterequal_test): Likewise.
18434 (isless_test): Likewise.
18435 (islessequal_test): Likewise.
18436 (islessgreater_test): Likewise.
18437 (isunordered_test): Likewise.
18438 (main): Call the new functions.
18439
273edc5e
RM
184402012-10-09 Roland McGrath <roland@hack.frob.com>
18441
b8493de0
RM
18442 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18443 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18444 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18445 * sysdeps/i386/configure: Regenerated.
18446 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18447 * sysdeps/mach/configure: Regenerated.
18448 * sysdeps/mach/hurd/configure: Regenerated.
18449 * sysdeps/powerpc/configure: Regenerated.
18450 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18451 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18452 * sysdeps/s390/s390-32/configure: Regenerated.
18453 * sysdeps/s390/s390-64/configure: Regenerated.
18454 * sysdeps/sh/configure: Regenerated.
18455 * sysdeps/sparc/configure: Regenerated.
18456 * sysdeps/unix/sysv/linux/configure: Regenerated.
18457 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18458 * sysdeps/x86_64/configure: Regenerated.
18459
273edc5e
RM
18460 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18461 defined. Don't check if MAP is NULL.
18462
c8450f70
JM
184632012-10-09 Joseph Myers <joseph@codesourcery.com>
18464
18465 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18466 (_G_stat64): Likewise.
18467 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18468 (_G_stat64): Likewise.
18469 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18470 instead of struct _G_stat64.
18471 * libio/fileops.c (mmap_remap_check): Likewise.
18472 (decide_maybe_mmap): Likewise.
18473 (_IO_new_file_seekoff): Likewise.
18474 (_IO_file_stat): Likewise.
18475 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18476 _G_off64_t.
18477 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18478 instead of struct _G_stat64.
18479 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18480
57e605ba
MK
184812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18482
18483 [BZ #14602]
18484 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18485 Replace with ...
18486 (CHECK_EOL): New macro.
18487 (two_way_short_needle): Check beginning of haystack for EOL. Use
18488 CHECK_EOL.
18489 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18490 Replace with CHECK_EOL.
18491 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18492 Replace with CHECK_EOL.
18493
ef1bb361
JM
184942012-10-08 Joseph Myers <joseph@codesourcery.com>
18495
18496 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18497 type-generic.
18498 * math/libm-test.inc: Update comment listing what functions and
18499 macros are tested.
18500 (finite_test): New function.
18501 (isinf_test): Likewise.
18502 (isnan_test): Likewise.
18503 (fpclassify_test): Test subnormal input.
18504 (isfinite_test): Likewise.
18505 (isnormal_test): Likewise.
18506 (main): Call the new functions.
18507
55f11534
JN
185082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18509
18510 [BZ #14660]
18511 * Makerules (%.dynsym): Force C locale when running
18512 $(OBJDUMP) --dynamic-syms.
18513
1ab29350
AS
185142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18515
18516 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18517 <stdint.h>.
18518
f1ecb7ef
DM
185192012-10-06 David S. Miller <davem@davemloft.net>
18520
18521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18522 upper 32-bits of the length value in %o2 since we use branch-on-register
18523 tests which consider the entire 64-bit register.
18524
5d41d91a
L
185252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18526
18527 * string/test-strstr.c (check2): Add a test for page boundary.
18528
3baddb72
DM
185292012-10-05 David S. Miller <davem@davemloft.net>
18530
18531 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18532 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18533 file.
18534 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18535 sysdep_routines.
18536 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18537 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18538 and bzero when HWCAP_SPARC_CRYPTO is present.
18539
9cee5585
L
185402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18541
d7e0dab9
L
18542 [BZ #14602]
18543 * string/test-strstr.c (check2): New function.
18544 (test_main): Call check2.
18545
03759f47
L
18546 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18547 and bug-strchr1.
18548 * string/bug-strcasestr1.c (do_test): Moved to ...
18549 * string/test-strcasestr.c (check1): Here. New function.
18550 (do_one_test): Break out result checking code into ...
18551 (check_result): This. New function.
18552 (do_one_test): Call check_result.
18553 (test_main): Call check1.
18554 * string/bug-strchr1.c (do_test): Moved to ...
18555 * string/test-strchr.c (check1): Here. New function.
18556 (do_one_test): Break out result checking code into ...
18557 (check_result): This. New function.
18558 (do_one_test): Call check_result.
18559 (test_main): Call check1.
18560 * string/bug-strstr1.c (main): Moved to ...
046f153e 18561 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18562 (do_one_test): Break out result checking code into ...
18563 (check_result): This. New function.
18564 (do_one_test): Call check_result.
18565 (test_main): Call check1.
18566 * string/bug-strcasestr1.c: Removed.
18567 * string/bug-strchr1.c: Likewise.
18568 * string/bug-strstr1.c: Likewise.
18569
53cea63e
L
18570 * elf/Makefile (dl-routines): Add hwcaps.
18571 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18572 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18573 (_dl_important_hwcaps): Moved to ...
18574 * elf/dl-hwcaps.c: Here. New file.
18575 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18576
9cee5585 18577 [BZ #14557]
bb859b06
L
18578 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18579 if IS_IN_rtld isn't defined.
18580
9cee5585
L
18581 * elf/dl-support.c (_dl_sysinfo_map): New.
18582 Include "get-dynamic-info.h" and "setup-vdso.h".
18583 (_dl_non_dynamic_init): Call setup_vdso.
18584 * elf/dynamic-link.h: Don't include <assert.h>.
18585 (elf_get_dynamic_info): Moved to ...
18586 * elf/get-dynamic-info.h: Here. New file.
18587 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18588 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18589 * elf/setup-vdso.h: Here. New file.
18590 * elf/rtld.c: Include "setup-vdso.h".
18591 (dl_main): Call setup_vdso.
18592
23c31b76
JM
185932012-10-05 Joseph Myers <joseph@codesourcery.com>
18594
28234b07
JM
18595 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18596 creal in comment listing functions tested. List finite, isinf,
18597 isnan, isless, islessequal, isgreater, isgreaterequal,
18598 islessgreater, isunordered, lgamma_r and pow10 as functions and
18599 macros not tested. Mention which functions not tested are aliases
18600 for other functions. Fix typo. Note that signs of NaNs are not
18601 tested.
18602
23c31b76
JM
18603 * scripts/config.guess: Update from config.git.
18604 * scripts/config.sub: Likewise.
18605
9043e228
RM
186062012-10-04 Roland McGrath <roland@hack.frob.com>
18607
18608 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18609 * misc/madvise.c (madvise): Renamed to __madvise.
18610 Make madvise a weak alias.
18611 * include/sys/mman.h: Declare __madvise.
18612 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18613 * sysdeps/unix/syscalls.list
18614 (madvise): Make __madvise the strong name, and madvise a weak alias.
18615 * sysdeps/unix/sysv/linux/syscalls.list
18616 (madvise, mmap): Remove redundant entries.
18617 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18618 * malloc/malloc.c (mtrim): Likewise.
18619 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18620
f57f8055
RM
186212012-10-03 Roland McGrath <roland@hack.frob.com>
18622
18623 * sysdeps/mach/hurd/dl-cache.c: File removed.
18624 * config.h.in (USE_LDCONFIG): New #undef.
18625 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18626 * configure: Regenerated.
18627 * elf/Makefile (dl-routines): Add dl-cache only under
18628 [$(use-ldconfig) = yes].
18629 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18630 cache on [USE_LDCONFIG].
18631 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18632 [USE_LDCONFIG].
18633 * elf/rtld.c (dl_main): Likewise.
18634
5bb0c10a
PT
186352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18636
18637 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18638 _SC_LEVEL4_CACHE_LINESIZE.
18639
010188c6
RM
186402012-10-03 Roland McGrath <roland@hack.frob.com>
18641
18642 * sysdeps/unix/bsd/confstr.h: File removed.
18643
b6c5ec07
AO
186442012-10-02 Alexandre Oliva <aoliva@redhat.com>
18645
18646 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18647 sys/sdt-config.h.
18648
408223d4
RM
186492012-10-02 Roland McGrath <roland@hack.frob.com>
18650
18651 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18652 Make 'mapoff' field ElfW(Off) rather than off_t.
18653
bb9510dc
DL
186542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18655
fc997c6e
DL
18656 * nscd/Makefile: Remove nscd-cflags and all its users.
18657 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18658 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18659
bb9510dc
DL
18660 [BZ #10631]
18661 * malloc.c (malloc_printerr): Clarify error message.
18662
05699367
L
186632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18664
18665 [BZ #14648]
18666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18667 Set bit_FMA_Usable if FMA is supported.
18668 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18669 macro.
18670 (bit_FMA4_Usable): Updated.
18671 (index_FMA_Usable): New macro.
18672 (CPUID_FMA): Likewise
18673 (HAS_FMA): Defined with bit_FMA_Usable.
18674
51367701
RM
186752012-10-01 Roland McGrath <roland@hack.frob.com>
18676
18677 * bits/types.h (__swblk_t): Type removed.
18678 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18679 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18681 (__SWBLK_T_TYPE): Likewise.
18682 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18683 (__SWBLK_T_TYPE): Likewise.
18684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18685 (__SWBLK_T_TYPE): Likewise.
18686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18687 (__SWBLK_T_TYPE): Likewise.
18688
4d57bf63 186892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18690 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18691
18692 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18693 (xdr_mapname): Use YPMAXMAP as maxsize.
18694 (xdr_peername): Use YPMAXPEER as maxsize.
18695 (xdr_keydat): Use YPAXRECORD as maxsize.
18696 (xdr_valdat): Use YPMAXRECORD as maxsize.
18697
93c65d43
RM
186982012-10-01 Roland McGrath <roland@hack.frob.com>
18699
497a03d6
RM
18700 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18701
93c65d43
RM
18702 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18703 * csu/init-first.c: ... here.
18704 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18705 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18706 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18707 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18708 * sysdeps/i386/init-first.c: File removed.
18709 * sysdeps/sh/init-first.c: File removed.
18710
bec749fd
JM
187112012-10-01 Joseph Myers <joseph@codesourcery.com>
18712
18713 [BZ #14645]
18714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18715 if x * y might underflow to zero and z is zero.
18716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18718 * math/libm-test.inc (min_subnorm_value): New variable.
18719 (fma_test): Add more tests.
18720 (fma_test_towardzero): Likewise.
18721 (fma_test_downward): Likewise
18722 (fma_test_upward): Likewise.
18723 (initialize): Set min_subnorm_value.
18724
8ec5b013
JM
187252012-09-29 Joseph Myers <joseph@codesourcery.com>
18726
18727 [BZ #14638]
18728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18729 0 + 0.
18730 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18731 mode for addition resulting in exact zero.
18732 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18734 exact 0 + 0.
18735 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18737 * math/libm-test.inc (fma_test): Add more tests.
18738 (fma_test_towardzero): New function.
18739 (fma_test_downward): Likewise.
18740 (fma_test_upward): Likewise.
18741 (main): Call the new functions.
18742
b1fa802e
DM
187432012-09-28 David S. Miller <davem@davemloft.net>
18744
18745 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18746
d3b9fd9e
RM
187472012-09-28 Roland McGrath <roland@hack.frob.com>
18748
ea4d37b3
RM
18749 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18750 instead of SIGALRM.
18751
ac51c949
RM
18752 * sysdeps/gnu/_G_config.h: Moved to ...
18753 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18754 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18755 * sysdeps/generic/_G_config.h: ... here.
18756
28c195f7
RM
18757 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18758
848917f9
RM
18759 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18760
6bacf05b
RM
18761 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18762 Conditionalize target on [libnss_test1.so-version].
18763
91363dbb
RM
18764 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18765
cc87f7d8
RM
18766 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18767 (elfobjdir): Move out of conditionals.
18768
b1c608fe
RM
18769 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18770 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18771 (__nss_lookup_function): Conditionalize label remove_from_tree on
18772 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18773
1d9a6d96
DM
187742012-09-28 David S. Miller <davem@davemloft.net>
18775
18776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18777 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18778 file.
18779 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18780 sysdep_routines.
18781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18783 when HWCAP_SPARC_CRYPTO is present.
18784
72581615
PT
187852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18786
18787 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18788
715a900c
JL
187892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18790
18791 [BZ #6530]
18792 * stdio-common/vfprintf.c (process_string_arg): Revert
18793 2000-07-22 change.
18794
187952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18796
18797 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18798 for testcase.
18799 * stdio-common/tst-sprintf.c: Include <locale.h>
18800 (main): Test sprintf's handling of incomplete multibyte
18801 characters.
18802
9bac1d86
L
188032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18804
18805 * elf/dl-runtime.c (VERSYMIDX): Removed.
18806 * elf/dl-version.c (VERSYMIDX): Likewise.
18807 * elf/do-rel.h (VERSYMIDX): Likewise.
18808 (VALIDX): Likewise.
18809 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18810 * elf/rtld.c (VALIDX): Likewise.
18811 (ADDRIDX): Likewise.
9bac1d86
L
18812 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18813 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18814 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18815 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18816 (VALIDX): Likewise.
18817 (ADDRIDX): Likewise.
9bac1d86 18818
b31606c0
PT
188192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18820
18821 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18822
11541177
JL
188232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18824
18825 [BZ #11438]
18826 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18827 to global scope.
18828 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18829 addresses are in the same scope as 192.0.2/24.
18830 * posix/gai.conf: Document new scope table defaults.
18831
adb26fae
SP
188322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18833
18834 [BZ #5298]
18835 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18836 for ftell. Compute offsets from write pointers instead.
18837 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18838
4573c6b0
SP
188392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18840
18841 [BZ #14543]
18842 * libio/Makefile (tests): New test case tst-fseek.
18843 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18844 combination works in wide mode.
18845 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18846 state when the external buffer state changes.
18847
aa9bbfe6
DM
188482012-09-27 David S. Miller <davem@davemloft.net>
18849
18850 [BZ #14376]
18851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18852 pass reloc->r_addend in as the 'high' argument to
18853 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18854
784421e7
DM
18855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18856
c39bc8b8
PT
188572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18858
18859 * rt/tst-aio2.c: Include <pthread.h>.
18860 * rt/tst-aio3.c: Likewise.
18861
1ccc2399
SE
188622012-09-27 Steve Ellcey <sellcey@mips.com>
18863
18864 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18865
31ed4153
L
188662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18867
25f5f885
L
18868 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18869 contents on [SHARED].
31ed4153 18870
b7bfe116
MP
188712012-09-26 Marek Polacek <polacek@redhat.com>
18872
18873 [BZ #14530]
18874 [BZ #13741]
18875 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18876 for C++ and GCC <4.3 as well as for non GCC compilers.
18877
43c4edba
MT
188782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18879
18880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18881
6a1bf82f
RM
188822012-09-25 Roland McGrath <roland@hack.frob.com>
18883
18884 * Makefile.in (all, install): Declare with .PHONY.
18885 Reported by Michael Hope <michael.hope@linaro.org>.
18886
8ad11b9a
TMQMF
188872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18888
18889 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18890 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18891 system header.
18892 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18893 Likewise.
18894 (sydep_routines): Add the new and the internal functions.
18895 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18896 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18898 (GLIBC_2.17): Add the new function.
18899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18900 (GLIBC_2.17): Likewise.
18901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18902 (GLIBC_2.17): Likewise.
18903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18904 (GLIBC_2.17): Likewise.
18905 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18906
7e2fca8d
AM
189072012-09-25 Alan Modra <amodra@gmail.com>
18908
18909 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18910 Add release barrier before setting once_control to say
18911 initialisation is done. Add hints on lwarx. Use macro in
18912 place of isync.
18913 (clear_once_control): Add release barrier.
18914
b87c4b24
JM
189152012-09-25 Joseph Myers <joseph@codesourcery.com>
18916
d032e0d2
JM
18917 [BZ #13629]
18918 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18919 specially.
18920 * math/s_clog10.c (__clog10): Likewise.
18921 * math/s_clog10f.c (__clog10f): Likewise.
18922 * math/s_clog10l.c (__clog10l): Likewise.
18923 * math/s_clogf.c (__clogf): Likewise.
18924 * math/s_clogl.c (__clogl): Likewise.
18925 * math/Makefile (libm-calls): Add x2y2m1.
18926 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18927 (__x2y2m1): Likewise.
18928 (__x2y2m1l): Likewise.
18929 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18930 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18933 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18934 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18935 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18936 * sysdeps/i386/fpu/libm-test-ulps: Update.
18937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18938
b87c4b24
JM
18939 [BZ #14621]
18940 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18941 int as type of variable DEPTH.
18942 (glob): Use size_t instead of int as type of variables NEWCOUNT
18943 and OLD_PATHC.
18944
6d3bf199
LD
189452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18946
22bf5c17
LD
18947 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18948 Add s_sincosf-sse2.
18949 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18950 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18951 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18952 macros for using routine as __sincosf_ia32.
18953 Use macro for function declaration and weak_alias.
18954 * sysdeps/i386/fpu/libm-test-ulps: Update.
18955
18956 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18958
18959 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18960 subnormal argument.
18961 * math/s_cexpf.c (__cexpf): Likewise.
18962 * math/s_csinf.c (__csinf): Likewise.
18963 * math/s_csinhf.c (__csinhf): Likewise.
18964 * math/s_ctanf.c (__ctanf): Likewise.
18965 * math/s_ctanhf.c (__ctanhf): Likewise.
18966 * math/s_ccosh.c (__ccoshf): Likewise.
18967 * math/s_cexp.c (__cexpl): Likewise.
18968 * math/s_csin.c (__csin): Likewise.
18969 * math/s_csinh.c (__csinh): Likewise.
18970 * math/s_ctan.c (__ctan): Likewise.
18971 * math/s_ctanh.c (ctanh): Likewise.
18972 * math/s_ccoshl.c (__ccoshl): Likewise.
18973 * math/s_cexpl.c (__cexpl): Likewise.
18974 * math/s_csinl.c (__csinl): Likewise.
18975 * math/s_csinhl.c (__csinhl): Likewise.
18976 * math/s_ctanl.c (__ctanl): Likewise.
18977 * math/s_ctanhl.c (__ctanhl): Likewise.
18978
203e5603
JM
189792012-09-25 Joseph Myers <joseph@codesourcery.com>
18980
18981 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18982 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18983 (_IO_off_t): Define to __off_t, not _G_off_t.
18984 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18985 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18986 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18987 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18988 type of __dummy and __dummy2 fields.
18989 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18990 (_G_ssize_t): Likewise.
18991 (_G_off_t): Likewise.
18992 (_G_pid_t): Likewise.
18993 (_G_uid_t): Likewise.
18994 (_G_wchar_t): Likewise.
18995 (_G_wint_t): Likewise.
18996 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18997 (_G_ssize_t): Likewise.
18998 (_G_off_t): Likewise.
18999 (_G_pid_t): Likewise.
19000 (_G_uid_t): Likewise.
19001 (_G_wchar_t): Likewise.
19002 (_G_wint_t): Likewise.
19003 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19004 (_G_ssize_t): Likewise.
19005 (_G_off_t): Likewise.
19006 (_G_pid_t): Likewise.
19007 (_G_uid_t): Likewise.
19008 (_G_wchar_t): Likewise.
19009 (_G_wint_t): Likewise.
19010
9fab36eb
SP
190112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19012
19013 * malloc/arena.c: Include malloc-sysdep.h.
19014 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19015 is sufficient to shrink the heap or an unmap is needed.
19016 * sysdeps/generic/malloc-sysdep.h: New file. Define
19017 new function check_may_shrink_heap.
19018 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19019 new function check_may_shrink_heap.
19020
2b4f00d1
SP
190212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19022
19023 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19024 comments.
19025
9a9028b1
DL
190262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19027
57c69bef
DL
19028 * catgets/test-gencat.sh: Add "set -e".
19029 * elf/tst-pathopt.sh: Likewise.
19030 * grp/tst_fgetgrent.sh: Likewise.
19031 * iconvdata/run-iconv-test.sh: Likewise.
19032 * intl/tst-gettext.sh: Likewise.
19033 * intl/tst-gettext2.sh: Likewise.
19034 * intl/tst-gettext4.sh: Likewise.
19035 * intl/tst-gettext6.sh: Likewise.
19036 * intl/tst-translit.sh: Likewise.
19037 * io/ftwtest-sh: Likewise.
19038 * libio/test-freopen.sh: Likewise.
19039 * malloc/tst-mtrace.sh: Likewise.
19040 * posix/globtest.sh: Likewise.
19041 * posix/tst-getconf.sh: Likewise.
19042 * posix/wordexp-tst.sh: Likewise.
19043 * stdio-common/tst-printf.sh: Likewise.
19044 * stdio-common/tst-unbputc.sh: Likewise.
19045 * stdlib/tst-fmtmsg.sh: Likewise.
19046 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19047 * catgets/Makefile: Do not specify -e option when running
19048 testsuite shell scripts.
19049 * elf/Makefile: Likewise.
19050 * grp/Makefile: Likewise.
19051 * iconvdata/Makefile: Likewise.
19052 * intl/Makefile: Likewise.
19053 * io/Makefile: Likewise.
19054 * libio/Makefile: Likewise.
19055 * malloc/Makefile: Likewise.
19056 * posix/Makefile: Likewise.
19057 * stdio-common/Makefile: Likewise.
19058 * stdlib/Makefile: Likewise.
19059 * sysdeps/x86_64/Makefile: Likewise.
19060
9a9028b1
DL
19061 * io/ftwtest-sh: Add copyright header.
19062 * posix/globtest.sh: Likewise.
19063 * posix/tst-getconf.sh: Likewise.
19064 * posix/wordexp-tst.sh: Likewise.
19065 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19066
ced6f16e
L
190672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19068
94b32c39
L
19069 [BZ #13679]
19070 * Makeconfig (+link): Defined as $(+link-static) if
19071 $(build-shared) isn't yes.
19072 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19073 isn't yes.
19074 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19075
189e935b
L
19076 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19077
ced6f16e
L
19078 [BZ #14562]
19079 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19080 new chunk size with MALLOC_ALIGN_MASK.
19081
a9f8e53a
JM
190822012-09-24 Joseph Myers <joseph@codesourcery.com>
19083
19084 [BZ #5044]
19085 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19086 <rounding-mode.h>.
19087 (__printf_fphex): Determine rounding using get_rounding_mode and
19088 round_away.
19089 * stdio-common/tst-printf-round.c (struct hex_test): New
19090 structure.
19091 (hex_tests): New variable.
19092 (test_hex_in_one_mode): New function.
19093 (do_test): Also run tests for hex float output.
19094
43153109
JM
190952012-09-21 Joseph Myers <joseph@codesourcery.com>
19096
19097 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19098 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19099 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19100 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19101 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19102 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19103 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19104 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19105
8a26625d
JM
191062012-09-20 Joseph Myers <joseph@codesourcery.com>
19107
19108 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19109 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19110 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19111 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19112
f3fd569c
DL
191132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19114
19115 [BZ #14579]
19116 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19117 mode only.
19118 * elf/tst-rtld-load-self.sh: New test.
19119 * elf/Makefile: Run it.
19120
63bbedd4
JM
191212012-09-18 Joseph Myers <joseph@codesourcery.com>
19122
19123 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19124 (tst-writev-ENV): Remove.
19125 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19126
626f8b6a
CM
191272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19128
19129 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19130
b7aaa4d6
JM
191312012-09-17 Joseph Myers <joseph@codesourcery.com>
19132
19133 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19134 unconditional.
19135 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19136 Likewise.
19137 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19138 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19139 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19140 Likewise.
19141
65513990
L
191422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19143
19144 [BZ #14587]
19145 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19146 * config.make.in (have-cpp-asm-debuginfo): Removed.
19147 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19148 * configure: Regenerated.
19149
784761be
JM
191502012-09-14 Joseph Myers <joseph@codesourcery.com>
19151
19152 [BZ #5044]
19153 * stdio-common/printf_fp.c: Include <stdbool.h> and
19154 <rounding-mode.h>.
19155 (___printf_fp): Determine rounding using get_rounding_mode and
19156 round_away.
19157 * stdio-common/tst-printf-round.c: New file.
19158 * stdio-common/Makefile (tests): Add tst-printf-round.
19159 (link-libm): New variable.
19160 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19161
9503345f
L
191622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19163
19164 [BZ #14576]
19165 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19166 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19167 Likewise.
19168 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19169 Likewise.
19170
ad35fc00
JM
191712012-09-13 Joseph Myers <joseph@codesourcery.com>
19172
19173 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19174 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19175 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19176 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19177
6c9b0f68
JM
191782012-09-12 Joseph Myers <joseph@codesourcery.com>
19179
19180 [BZ #14518]
19181 * include/rounding-mode.h: New file.
19182 * sysdeps/generic/get-rounding-mode.h: Likewise.
19183 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19184 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19185 (MAX_VALUE): New macro.
19186 (MIN_VALUE): Likewise.
19187 (overflow_value): New function.
19188 (underflow_value): Likewise.
19189 (round_and_return): Use overflow_value and underflow_value to
19190 determine return values in overflow and underflow cases. Use
19191 round_away to determine rounding depending on rounding mode.
19192 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19193 determine return values in overflow and underflow cases.
19194 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19195 (struct test_results): New structure.
19196 (struct test): Use struct test_results to store expected results
19197 for all rounding modes.
19198 (TEST): Include expected results for all rounding modes.
19199 (test_in_one_mode): New function.
19200 (do_test): Use test_in_one_mode to compute and check results.
19201 Check results for all rounding modes.
19202 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19203 $(link-libm).
19204
19fcedd5
AM
192052012-12-09 Allan McRae <allan@archlinux.org>
19206
1e9d84cd 19207 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19208
8bbfd2f1
JM
192092012-09-11 Joseph Myers <joseph@codesourcery.com>
19210
19211 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19212 (_G_int32_t): Likewise.
19213 (_G_uint16_t): Likewise.
19214 (_G_uint32_t): Likewise.
19215 (_G_HAVE_BOOL): Likewise.
19216 (_G_HAVE_ATEXIT): Likewise.
19217 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19218 (_G_HAVE_IO_FILE_OPEN): Likewise.
19219 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19220 (_G_int32_t): Likewise.
19221 (_G_uint16_t): Likewise.
19222 (_G_uint32_t): Likewise.
19223 (_G_HAVE_BOOL): Likewise.
19224 (_G_HAVE_ATEXIT): Likewise.
19225 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19226 (_G_HAVE_IO_FILE_OPEN): Likewise.
19227 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19228 (_G_int32_t): Likewise.
19229 (_G_uint16_t): Likewise.
19230 (_G_uint32_t): Likewise.
19231 (_G_HAVE_BOOL): Likewise.
19232 (_G_HAVE_ATEXIT): Likewise.
19233 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19234 (_G_HAVE_IO_FILE_OPEN): Likewise.
19235
b1dc5912
L
192362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19237
19238 * csu/libc-tls.c: Update copyright years.
19239
0e886ef9
JM
192402012-09-10 Joseph Myers <joseph@codesourcery.com>
19241
28361c5e
JM
19242 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19243 [!_G_USING_THUNKS]: Remove conditional code.
19244 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19245 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19246
0e886ef9
JM
19247 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19248 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19249 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19250 (_G_VTABLE_LABEL_PREFIX): Likewise.
19251 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19252 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19253 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19254 (_G_VTABLE_LABEL_PREFIX): Likewise.
19255 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19256 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19257 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19258 (_G_VTABLE_LABEL_PREFIX): Likewise.
19259 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19260
bcba7aa2
L
192612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19262
19263 * libio/Makefile: Include ../Makeconfig before tests.
19264 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19265 only if $(build-shared) is yes.
19266
06585ee8
L
19267 * iconv/gconv_db.c: Update copyright years.
19268
80ccd52c
LD
192692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19270
19271 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19272 unwind info if defined PIC. Fix special cases description.
19273 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19274
19275 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19276 DP_HI_MASK entry.
19277 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19278
691bc9c1
L
192792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19280
3d9b46b3
L
19281 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19282
de2139a9
L
19283 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19284 is NULL.
19285
5ca78dd0
L
19286 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19287 (LDLIBS-tst-chk4): This.
19288 (LDFLAGS-tst-chk5): Renamed to ...
19289 (LDLIBS-tst-chk5): This.
19290 (LDFLAGS-tst-chk6): Renamed to ...
19291 (LDLIBS-tst-chk6): This.
19292 (LDFLAGS-tst-lfschk4): Renamed to ...
19293 (LDLIBS-tst-lfschk4): This.
19294 (LDFLAGS-tst-lfschk5): Renamed to ...
19295 (LDLIBS-tst-lfschk5): This.
19296 (LDFLAGS-tst-lfschk6): Renamed to ...
19297 (LDLIBS-tst-lfschk6): This.
19298
691bc9c1
L
19299 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19300 on $(common-objpfx)soversions.mk.
19301
65cafb1c
JM
193022012-09-07 Joseph Myers <joseph@codesourcery.com>
19303
19304 [BZ #10014]
19305 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19306 example host name.
19307
c78ab094
SP
193082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19309
19310 * malloc/arena.c (arena_get_retry): New function that gets
19311 another arena for the caller to try its request on.
19312 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19313 current arena cannot fulfill the request.
19314 (__libc_memalign): Likewise.
19315 (__libc_memalign): Likewise.
19316 (__libc_pvalloc): Likewise.
19317 (__libc_calloc): Likewise.
19318
01f49f59
JT
193192012-09-05 John Tobey <john.tobey@gmail.com>
19320
19321 [BZ #13542]
19322 * manual/arith.texi (Operations on Complex): Fix description
19323 of carg branch cut.
19324
4c23fed5
JM
193252012-09-06 Joseph Myers <joseph@codesourcery.com>
19326
1d3c8572
JM
19327 [BZ #10014]
19328 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19329 host name.
19330
4c23fed5
JM
19331 [BZ #10038]
19332 * manual/memory.texi (Memory): Make order of menu items match
19333 order of sections.
19334
04570aaa
L
193352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19336
19337 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19338 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19339 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19340
b80af2f4
L
193412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19342
19343 * csu/libc-tls.c (static_dtv): Renamed to ...
19344 (_dl_static_dtv): This. Make it global.
19345 (_dl_initial_dtv): Removed.
19346 (__libc_setup_tls): Updated.
19347 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19348 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19349 DL_INITIAL_DTV.
19350
2abe9f15
PM
193512012-09-06 Petr Machata <pmachata@redhat.com>
19352
19353 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19354 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19355 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19356 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19357
0948c3af
L
193582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19359
19360 [BZ #14545]
19361 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19362 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19363 freeing dtv[-1].
19364
a5055ad1
L
193652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19366
19367 [BZ #14544]
19368 * Makeconfig (link-static-before-libc): Replace $(+prector)
19369 with $(+prectorT).
19370 (link-static-after-libc): Replace $(+postctor) with
19371 $(+postctorT).
19372 (link-bounded): Replace $(+prector)/$(+postctor) with
19373 $(+prectorT)/$(+postctorT).
19374 (+prectorT): New macro.
19375 (+postctorT): Likewise.
19376
ed8c2ecd
JM
193772012-09-06 Joseph Myers <joseph@codesourcery.com>
19378
19379 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19380 (round_str): Handle values above the maximum for IBM long double
19381 as inexact.
19382 * stdlib/tst-strtod-round.c (tests): Regenerated.
19383
14c996c8
AK
193842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19385
19386 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19387 assembler flag.
19388 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19389 zarch_nohighgprs around the zarch optimized routines.
19390 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19391 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19392 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19393 for zarch.
19394
430d6ce6
DM
193952012-09-05 David S. Miller <davem@davemloft.net>
19396
19397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19398
ff04dda4
DM
19399 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19400 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19401 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19403 entries.
19404
24d4e01b
AO
194052012-09-05 Alexandre Oliva <aoliva@redhat.com>
19406
19407 * malloc/arena.c: Fold copyright years.
19408 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19409
61d58174
AO
194102012-09-05 Alexandre Oliva <aoliva@redhat.com>
19411
19412 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19413
20196a5e
AO
194142012-09-05 Alexandre Oliva <aoliva@redhat.com>
19415
19416 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19417
5c447383
AO
194182012-09-05 Alexandre Oliva <aoliva@redhat.com>
19419
19420 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19421 change internal state upon failure.
19422
fad64255
AO
194232012-09-05 Alexandre Oliva <aoliva@redhat.com>
19424
19425 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19426 * malloc/memusage.c (mmap): Likewise.
19427 (mmap64, mremap): Likewise. Adjust name in comment.
19428
1ffb8c90
SP
194292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19430
19431 * libio/fileops.c: Fix typos in comments.
19432 * libio/oldfileops.c: Likewise.
19433 * libio/wfileops.c: Likewise.
19434
6ef9cc37
SP
194352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19436
19437 [BZ #1349]
19438 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19439 (tst-malloc-usable-ENV): Set environment for test case.
19440 * malloc/hooks.c (malloc_check_get_size): New function to get
19441 requested size.
19442 * malloc/malloc.c (musable): Use malloc_check_get_size.
19443 * malloc/tst-malloc-usable.c: New test case.
19444
4d038ae3
AS
194452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19446
19447 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19448
c4e85184
AM
194492012-09-05 Allan McRae <allan@archlinux.org>
19450
b9dafc56 19451 [BZ #13966]
c4e85184
AM
19452 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19453 determine header location.
19454 * configure: Regenerated.
19455
e1343020
AS
194562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19457
19458 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19459 float format.
19460 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19461 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19462 format.
e1343020
AS
19463 (test): Regenerate.
19464
0a9f1987
DM
194652012-09-04 David S. Miller <davem@davemloft.net>
19466
19467 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19468 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19469 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19470
29237804
FW
194712012-09-04 Florian Weimer <fweimer@redhat.com>
19472
19473 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19474 failures.
19475
edb3cb88
FW
19476 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19477
60160d83
JM
194782012-09-04 Joseph Myers <joseph@codesourcery.com>
19479
19480 [BZ #9914]
19481 * libio/iogetdelim.c: Include <limits.h>.
19482 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19483 + len + 1 would overflow.
19484
bcd6c8dc
AJ
194852012-09-03 Andreas Jaeger <aj@suse.de>
19486
19487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19488 * sysdeps/i386/fpu/libm-test-ulps: Update.
19489
4ffffbd2
LD
194902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19491
19492 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19493 Add s_sinf-sse2, s_conf-sse2.
19494
19495 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19496 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19497 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19498 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19499
19500 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19501 for using routine as __sinf_ia32.
19502 Use macro for function declaration and weak_alias.
19503 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19504 for using routine as __cosf_ia32.
19505 Use macro for function declaration and weak_alias.
19506
19507 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19508 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19509
19510 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19511 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19513
19514 * math/libm-test.inc (cos_test): Add more test cases.
19515 (sin_test): Likewise.
19516 (sincos_test): Likewise.
19517
511fa286
AK
195182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19519
19520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19521 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19522 hidden.
19523 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19524
5f30cfec
L
195252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19526
19527 [BZ #14538]
19528 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19529 first element of the GOT.
19530 (elf_machine_load_address): Return the difference between
19531 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19532
0786794f
AM
195332012-09-01 Allan McRae <allan@archlinux.org>
19534
5f30cfec
L
19535 [BZ #13412]
19536 * configure.in (AWK): Require gawk version 3.0 or later.
19537 * configure: Regenerated.
0786794f 19538
26889eac
JM
195392012-09-01 Joseph Myers <joseph@codesourcery.com>
19540
19541 * sysdeps/unix/sysv/linux/kernel-features.h
19542 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19544 [__NR_clock_getres]: Make code unconditional.
19545 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19546 (clock_getcpuclockid): Remove code left unreachable by removal of
19547 conditionals.
19548 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19549 code unconditional.
19550 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19551 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19552 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19553 Make code unconditional.
19554 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19555 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19556 * sysdeps/unix/sysv/linux/clock_settime.c
19557 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19558 conditional code.
19559 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19560 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19561
d22e28b0
L
195622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19563
19564 [BZ #14476]
19565 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19566 scripts/test-installation.pl.
19567
19568 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19569 and $ld_so_version if it is set.
19570
050af9c4
SP
195712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19572
19573 [BZ #14516]
19574 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19575 failure if reading from procfs failed.
19576 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19577
ad845c0b
JM
195782012-08-27 Joseph Myers <joseph@codesourcery.com>
19579
19580 * sysdeps/unix/sysv/linux/kernel-features.h
19581 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19582 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19583 Remove conditional code.
19584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19585 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19586 Remove conditional code.
19587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19588 * sysdeps/unix/sysv/linux/i386/fxstat.c
19589 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19591 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19592 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19594 * sysdeps/unix/sysv/linux/i386/lxstat.c
19595 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19597 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19598 Remove conditional code.
19599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19600 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19601 Remove conditional code.
19602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19603 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19604 <kernel-features.h>.
19605 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19606 Remove.
19607 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19608 Remove conditional code.
19609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19610 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19611 Remove conditional.
19612
5dbf56af
MF
196132012-08-27 Mike Frysinger <vapier@gentoo.org>
19614
19615 [BZ #5400]
19616 * NEWS: Add fixed bug number.
19617
d6e70f43
JM
196182012-08-27 Joseph Myers <joseph@codesourcery.com>
19619
7efb4737
JM
19620 [BZ #14519]
19621 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19622 underflowing exponent in case of negative sign.
19623 * stdlib/tst-strtod-round-data: Add more tests.
19624 * stdlib/tst-strtod-round.c (tests): Regenerated.
19625
af92131a
JM
19626 [BZ #3479]
19627 * stdlib/strtod_l.c (NDIG): Remove.
19628 (HEXNDIG): Likewise.
19629 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19630 smallest representable value.
19631 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19632 lie within an exact representation of 1/2 ulp of the result.
19633 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19634 unconditionally.
19635 (TENS_P9_IDX): Define unconditionally.
19636 (TENS_P9_SIZE): Likewise.
19637 (TENS_P10_IDX): Likewise.
19638 (TENS_P10_SIZE): Likewise.
19639 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19640 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19641 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19642 entries for 10^2^13 and 10^2^14.
19643 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19644 (TENS_P13_IDX): Define.
19645 (TENS_P13_SIZE): Likewise.
19646 (TENS_P14_IDX): Likewise.
19647 (TENS_P14_SIZE): Likewise.
19648 (_fpioconst_pow10): Change array size to
19649 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19650 unconditional.
19651 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19652 1024]: Add entries for 10^2^13 and 10^2^14.
19653 [LAST_POW10 > _LAST_POW10]: Remove #error.
19654 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19655 (_fpioconst_pow10): Change array size to
19656 FPIOCONST_POW10_ARRAY_SIZE.
19657 * stdlib/gen-fpioconst.c: New file.
19658 * stdlib/gen-tst-strtod-round.c: Likewise.
19659 * stdlib/tst-strtod-round-data: Likewise.
19660 * stdlib/tst-strtod-round.c: Likewise.
19661 * stdlib/Makefile (tests): Add tst-strtod-round.
19662
d6e70f43
JM
19663 [BZ #14459]
19664 * stdlib/strtod_l.c: Include <stdint.h>.
19665 (NDEBUG): Do not define.
19666 (round_and_return): Change EXPONENT parameter to type intmax_t.
19667 Rearrange calculations to avoid internal overflow possibilities.
19668 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19669 Rearrange calculations to avoid internal overflow possibilities.
19670 Assert that number fits inside MPNSIZE limbs.
19671 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19672 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19673 calculations and add assertions to avoid internal overflow
19674 possibilities. Add casts to avoid signed/unsigned operations.
19675 * stdlib/tst-strtod-overflow.c: New file.
19676 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19677
1f529f7d
MP
196782012-08-25 Marek Polacek <polacek@redhat.com>
19679
19680 * time/time.h: Fix some typos in comments.
19681
59a629f1
RM
196822012-08-23 Roland McGrath <roland@hack.frob.com>
19683
19684 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19685 * posix/tst-rfc3484-2.c: Likewise.
19686 * posix/tst-rfc3484-3.c: Likewise.
19687
d3bafbc9
SM
196882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19689
19690 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19691 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19692
4efcc022
JM
196932012-08-23 Joseph Myers <joseph@codesourcery.com>
19694
19695 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19696 #include of fxstatat64.c.
19697
3cc3ef96
RM
196982012-08-22 Roland McGrath <roland@hack.frob.com>
19699
f04e2132
RM
19700 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19701 * shadow/getspent_r.c: Likewise.
19702 * shadow/getspnam.c: Likewise.
19703 * shadow/getspnam_r.c: Likewise.
19704 * gshadow/getsgent.c: Likewise.
19705 * gshadow/getsgent_r.c: Likewise.
19706 * gshadow/getsgnam.c: Likewise.
19707 * gshadow/getsgnam_r.c: Likewise.
19708 * inet/getnetbyad.c: Likewise.
19709 * inet/getnetbyad_r.c: Likewise.
19710 * inet/getnetbynm.c: Likewise.
19711 * inet/getnetbynm_r.c: Likewise.
19712 * inet/getnetent.c: Likewise.
19713 * inet/getnetent_r.c: Likewise.
19714 * inet/getproto.c: Likewise.
19715 * inet/getproto_r.c: Likewise.
19716 * inet/getprtent.c: Likewise.
19717 * inet/getprtent_r.c: Likewise.
19718 * inet/getprtname.c: Likewise.
19719 * inet/getprtname_r.c: Likewise.
19720 * inet/getrpcbyname.c: Likewise.
19721 * inet/getrpcbyname_r.c: Likewise.
19722 * inet/getrpcbynumber.c: Likewise.
19723 * inet/getrpcbynumber_r.c: Likewise.
19724 * inet/getrpcent.c: Likewise.
19725 * inet/getrpcent_r.c: Likewise.
19726 * inet/getaliasent.c: Likewise.
19727 * inet/getaliasent_r.c: Likewise.
19728 * inet/getaliasname.c: Likewise.
19729 * inet/getaliasname_r.c: Likewise.
19730 * nscd/getgrgid_r.c: Likewise.
19731 * nscd/getgrnam_r.c: Likewise.
19732 * nscd/gethstbyad_r.c: Likewise.
19733 * nscd/gethstbynm3_r.c: Likewise.
19734 * nscd/getpwnam_r.c: Likewise.
19735 * nscd/getpwuid_r.c: Likewise.
19736 * nscd/getsrvbynm_r.c: Likewise.
19737 * nscd/getsrvbypt_r.c: Likewise.
19738 * nscd/gai.c: Likewise.
19739
c53d909c
RM
19740 * configure.in (build_nscd): New substituted variable, set
19741 by --disable-build-nscd and defaults to $use_nscd.
19742 * configure: Regenerated.
19743 * config.make.in (build-nscd): New substituted variable.
19744 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19745 Change conditional to require [$(build-nscd) = yes] as well.
19746 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19747
3cc3ef96
RM
19748 [BZ# 13696]
19749 * configure.in (use_nscd): New substituted variable, set by
19750 --disable-nscd. If enabled, define USE_NSCD.
19751 * configure: Regenerated.
19752 * config.h.in: Add USE_NSCD.
19753 * config.make.in (use-nscd): New substituted variable.
19754 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19755 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19756 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19757 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19758 (CFLAGS-getgrnam_r.c): Likewise.
19759 (CFLAGS-initgroups.c): Likewise.
19760 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19761 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19762 Variables removed.
19763 * inet/getnetgrent_r.c
19764 (nscd_setnetgrent): New function, broken out of ...
19765 (setnetgrent): ... here. Call it.
19766 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19767 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19768 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19769 * nscd/Makefile (routines, aux): Move definitions after include of
19770 Makeconfig. Conditionalize on [$(use-nscd) != no].
19771 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19772 Conditionalize on [USE_NSCD].
19773 (is_nscd, nscd_init_cb): Likewise.
19774 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19775 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19776 * nss/nss_db/db-init.c: Likewise.
19777 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19778 [USE_NSCD].
19779 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19780 (make_request): Use it.
19781 (cache_valid_p): New function.
19782 (__check_pf): Use it.
19783 * NEWS: Add item for --disable-nscd.
19784
07e51550
DL
197852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19786
19787 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19788 to support sed >= 4.2.1-20-ga9bf076.
19789 * configure: Regenerated.
19790
35a5b08b
RM
197912012-08-22 Roland McGrath <roland@hack.frob.com>
19792
19793 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19794 Conditionalize whole body on [IREL].
19795
8479f23a
JL
197962012-08-22 Jeff Law <law@redhat.com>
19797
19798 [BZ #14505]
19799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19800 if the family is PF_UNSPEC.
19801
48da0b21
MF
198022012-08-22 Mike Frysinger <vapier@gentoo.org>
19803
19804 * Makerules (lib-version): Rename from V.
19805 (install-lib-nosubdir): Change V to lib-version.
19806
15d0da8c
WS
198072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19808
19809 [BZ #14252]
19810 * powerpc32/power6/wcschr.c: New file.
19811 * powerpc32/power6/wcscpy.c: New file.
19812 * powerpc32/power6/wcsrchr.c: New file.
19813 * powerpc64/power6/wcschr.c: New file.
19814 * powerpc64/power6/wcscpy.c: New file.
19815 * powerpc64/power6/wcsrchr.c: New file.
19816
bcca0895
MK
198172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19818
19819 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19820 (two_way_short_needle): Use it.
5a4aaa33
RM
19821 * string/strstr.c (AVAILABLE1_USES_J): Define.
19822 * string/strcasestr.c: Likewise.
99677e57
MK
19823
19824 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19825 array references.
19826 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19827
400726de
MK
19828 [BZ #11607]
19829 * NEWS: Add an entry.
19830 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19831 define their defaults.
19832 (two_way_short_needle): Detect end-of-string on-the-fly.
19833 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19834 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19835 * string/bug-strcasestr1.c: New test.
19836 * string/Makefile: Run it.
19837
20a71f2c
MK
198382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19839
19840 [BZ #11607]
19841 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19842 the first character.
19843
21ad0558
RM
198442012-08-21 Roland McGrath <roland@hack.frob.com>
19845
19846 * csu/elf-init.c (__libc_csu_irel): Function removed.
19847 * csu/libc-start.c (apply_irel): New function.
19848 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19849
0e1d9911
JM
198502012-08-21 Joseph Myers <joseph@codesourcery.com>
19851
19852 * sysdeps/unix/sysv/linux/kernel-features.h
19853 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19855 <kernel-features.h>.
19856 [__NR_fadvise64_64]: Make code unconditional.
19857 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19858 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19859 !__NR_fadvise64_64)]: Likewise.
19860 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19861 !__NR_fadvise64_64))]: Likewise.
19862 [__NR_fadvise64]: Make code unconditional.
19863 [!__NR_fadvise64]: Remove conditional code.
19864 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19865 <kernel-features.h>.
19866 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19867 unconditional.
19868 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19869 conditional code.
19870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19871 not include <kernel-features.h>.
19872 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19873 unconditional.
19874 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19875 conditional code.
19876 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19877 include <kernel-features.h>.
19878 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19879 unconditional.
19880 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19881 conditional code.
19882
14a50c9d
WS
198832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19884
19885 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19886 slight instruction rearrangements per scrollpipe analysis.
19887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19888
c0f4faf0
RM
198892012-08-20 Roland McGrath <roland@hack.frob.com>
19890
696da859
RM
19891 * manual/syslog.texi (syslog; vsyslog, closelog):
19892 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19893 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19894
c0f4faf0
RM
19895 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19896 DSOCAPS to match condition on defining it.
19897
348363b2
JM
198982012-08-20 Joseph Myers <joseph@codesourcery.com>
19899
a35cbf28
JM
19900 * sysdeps/unix/sysv/linux/kernel-features.h
19901 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19903 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19904 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19906 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19907 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19909 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19910 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19911
445f7ecd
JM
19912 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19913 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19914
348363b2
JM
19915 * sysdeps/unix/sysv/linux/kernel-features.h
19916 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19917 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19918 unconditional.
19919 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19920 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19921 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19922 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19923 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19924 Make code unconditional.
19925 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19926 (__mmap64) [!__NR_mmap2]: Likewise.
19927 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19928 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19929 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19930 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19931 [__NR_mmap2]: Make code unconditional.
19932 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19933 (__mmap64) [!__NR_mmap2]: Likewise.
19934
bc5bc0e5
AK
199352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19936
19937 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19938
88d506de
AJ
199392012-08-18 Andreas Jaeger <aj@suse.de>
19940
19941 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19942
493387d2
MF
199432012-08-18 Mike Frysinger <vapier@gentoo.org>
19944
19945 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19946 * include/unistd.h (__have_sock_cloexec): Likewise.
19947 (__have_pipe2): Likewise.
19948 (__have_dup3): Likewise.
19949
a277af22
MF
199502012-08-18 Mike Frysinger <vapier@gentoo.org>
19951
19952 [BZ #9685]
19953 * include/unistd.h (__have_pipe2): Change define into an extern int.
19954 (__have_dup3): Likewise.
19955 * socket/have_sock_cloexec.c: Include fcntl.h.
19956 (__have_pipe2): New variable.
19957 (__have_dup3): Likewise.
19958
fdab8fd3
MF
199592012-08-17 Mike Frysinger <vapier@gentoo.org>
19960
19961 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19962
31035e80
MP
199632012-08-17 Marek Polacek <polacek@redhat.com>
19964
19965 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19966 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19967
3bd9e993
RM
199682012-08-17 Roland McGrath <roland@hack.frob.com>
19969
c91c505f
RM
19970 * configure.in: Add AC_SUBST for sysheaders.
19971 * configure: Regenerated.
19972 * config.make.in (sysheaders): New substituted variable.
19973
7c6f9d53
RM
19974 * sysdeps/unix/mkfifo.c: Moved ...
19975 * sysdeps/posix/mkfifo.c: ... here.
19976 * sysdeps/unix/mkfifoat.c: Moved ...
19977 * sysdeps/posix/mkfifoat.c: ... here.
19978
19979 * sysdeps/unix/utime.c: Moved ...
19980 * sysdeps/posix/utime.c: ... here.
19981
19982 * sysdeps/unix/time.c: Moved ...
19983 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19984 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19985 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19986
19987 * sysdeps/unix/nice.c: Moved ...
19988 * sysdeps/posix/nice.c: ... here.
19989
19990 * sysdeps/unix/alarm.c: Moved ...
19991 * sysdeps/posix/alarm.c: ... here.
19992
3bd9e993
RM
19993 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19994
d1f09384
JL
199952012-08-17 Jeff Law <law@redhat.com>
19996
19997 * intl/Makefile (codeset_mo): New variable.
19998 ($(codeset_mo)): New target.
19999 (tst-codeset.out): Depend on that. Remove explicit rule.
20000 (tst-gettext3.out, tst-gettext5.out): Likewise.
20001 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20002 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20003 * intl/tst-codeset.sh: Remove.
20004 * intl/tst-gettext3.sh: Likewise.
20005 * intl/tst-gettext5.sh: Likewise.
20006
2ae1ae5c
RM
200072012-08-17 Roland McGrath <roland@hack.frob.com>
20008
c31fdb83
RM
20009 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20010 * sysdeps/unix/syscalls.list: ... here.
20011
a0844057
RM
20012 * sysdeps/posix/getaddrinfo.c
20013 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20014 (gaiconf_init, gaiconf_reload): Use them.
20015 [!_STATBUF_ST_NSEC]
20016 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20017 Define using time_t rather than struct timespec.
20018
750c1f2a
RM
20019 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20020 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20021 Macros removed.
20022 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20023 [!NO_THREADS].
20024 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20025 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20026 Likewise.
20027
2ae1ae5c
RM
20028 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20029 __libc_cleanup_push argument.
20030
e66a42f5
RM
20031 * bits/param.h: New file.
20032 * misc/sys/param.h: New file.
20033 * include/sys/param.h: New file.
20034 * misc/Makefile (headers): Add bits/param.h.
20035 * sysdeps/generic/sys/param.h: File removed.
20036 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20037 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20038 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20039 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20040
b7c08a66
RM
20041 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20042 last change.
20043
b2e1c562
RM
20044 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20045 [_IO_MTSAFE_IO].
20046 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20047 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20048 New macros.
20049
c75ccd4c
RM
20050 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20051 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20052 rather than -D_IO_MTSAFE_IO conditionally.
20053 * stdio-common/Makefile (CPPFLAGS): Likewise.
20054 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20055 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20056 Use $(libio-mtsafe).
20057 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20058 of -D_IO_MTSAFE_IO.
20059 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20060 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20061 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20062 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20063 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20064 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20065 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20066 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20067 (CFLAGS-fread_u_chk.c): Likewise.
20068 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20069 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20070 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20071 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20072 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20073 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20074 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20075 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20076 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20077
20078 * libio/Makefile: Test [$(libc-reentrant) = yes]
20079 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20080
20081 * Makeconfig
20082 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20083 * sysdeps/pthread/configure: File removed.
20084 * sysdeps/pthread/Makeconfig: New file.
20085 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20086 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20087
d9195db8
GB
200882012-08-16 Gary Benson <gbenson@redhat.com>
20089
20090 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20091 unmapping the first object in a namespace.
20092
86466cd9
RM
200932012-08-16 Roland McGrath <roland@hack.frob.com>
20094
20095 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20096 (__internal_setnetgrent): ... this. Add internal_function to
20097 definition. Add libc_hidden_def.
20098 (setnetgrent): Update caller.
20099 (internal_endnetgrent): Renamed to ...
20100 (__internal_endnetgrent): ... this. Add internal_function to
20101 definition. Add libc_hidden_def.
20102 (endnetgrent): Update caller.
20103 (internal_getnetgrent_r): Renamed to ...
20104 (__internal_getnetgrent_r): ... this. Add internal_function to
20105 definition. Add libc_hidden_def.
20106 (__getnetgrent_r): Update caller.
20107 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20108
c3c8283c
JM
201092012-08-16 Joseph Myers <joseph@codesourcery.com>
20110
20111 * stdlib/longlong.h: Update from GCC.
20112
db1ee0a8
RM
201132012-08-16 Roland McGrath <roland@hack.frob.com>
20114
20115 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20116 on _QL, which is set by umul_ppmm but never used.
20117 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20118 variables, which are set by GMP macros but never used.
20119 * stdio-common/_itowa.c (_itowa): Likewise.
20120 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20121 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20122
30f69637
CD
201232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20124
20125 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20126 struct La_sh_regs is not constant.
20127 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20128 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20129 and struct La_sparc64_regs are not constant.
20130
93a78ac4
JM
201312012-08-16 Joseph Myers <joseph@codesourcery.com>
20132
20133 * sysdeps/unix/sysv/linux/kernel-features.h
20134 (__ASSUME_POSIX_TIMERS): Remove.
20135 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20137 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20138 Make code unconditional.
20139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20140 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20141 Make code unconditional.
20142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20143 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20144 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20146 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20147 Make code unconditional.
20148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20149 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20150 (__libc_missing_posix_timers): Remove.
20151
dd924cd7
RM
201522012-08-15 Roland McGrath <roland@hack.frob.com>
20153
4b4f2771
RM
20154 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20155 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20156
601c888b
RM
20157 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20158
176790a7
RM
20159 * elf/dl-sym.c: Include <stdlib.h>.
20160
329bc018
RM
20161 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20162 constants, which avoids warnings in 32-bit builds.
20163
e04e272d
RM
20164 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20165 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20166
952bf94a
RM
20167 * misc/lseek.c: File moved to ...
20168 * io/lseek.c: ... here.
20169
7c99b50a
RM
20170 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20171
dd924cd7
RM
20172 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20173 shifting LEN more than 31 bits at once.
20174
b3f479a8
LD
201752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20176
20177 [BZ #14195]
8c4ae0d4
RM
20178 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20179 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20180 * string/test-strncasecmp.c (check1): Renamed to...
20181 (bz12205): ...this.
20182 (bz14195): Add new testcase for two empty input strings and N > 0.
20183 (test_main): Call new testcase, adapt for renamed function.
20184
9c55864e
AJ
201852012-08-15 Andreas Jaeger <aj@suse.de>
20186
20187 [BZ #14090]
20188 * crypt/md5test2.c: New test, based on test supplied by Serge
20189 Belyshev <belyshev@depni.sinp.msu.ru>.
20190 * crypt/Makefile (xtests): Add md5test-giant..
20191 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20192
02dcb6c5
PE
201932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20194
20195 [BZ #14090]
20196 * crypt/md5.c (md5_process_block): Don't assume the buffer
20197 length is less than 2**32.
20198 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20199 length is less than 2**64.
20200
a3f95dcc
RM
202012012-08-15 Roland McGrath <roland@hack.frob.com>
20202
be75d758
RM
20203 * string/str-two-way.h: Include <sys/param.h>.
20204 (MAX): Macro removed.
20205
7312ca90
RM
20206 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20207 Move #define and #undef of memmove to just before and after
20208 including <string.h>.
20209
9a0a5486
RM
20210 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20211 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20212 and after including <string.h>. Move declarations of
20213 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20214 to before #include "string/memmove.c".
20215
67cc348d
RM
20216 * include/dirent.h: Declare __getdirentries.
20217
a3f95dcc
RM
20218 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20219 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20220
ca98e171
MF
202212012-08-14 Mike Frysinger <vapier@gentoo.org>
20222
20223 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20224 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20225 * sysdeps/i386/configure: Regenerated.
20226 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20227 STABS_CURRENT_FILE, and STABS_FUN.
20228 (END): Remove call to STABS_FUN_END.
20229 (STABS_CURRENT_FILE1): Delete.
20230 (STABS_CURRENT_FILE): Likewise.
20231 (STABS_FUN): Likewise.
20232 (STABS_FUN_END): Likewise.
20233 (STABS_FUN2): Likewise.
20234 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20235 * sysdeps/x86_64/configure: Regenerated.
20236
5908bf46
RM
202372012-08-14 Roland McGrath <roland@hack.frob.com>
20238
20239 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20240 * elf/dl-lookup.c: Likewise.
5908bf46 20241
f2c05b9e
JM
202422012-08-14 Joseph Myers <joseph@codesourcery.com>
20243
20244 * sysdeps/unix/sysv/linux/kernel-features.h
20245 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20246 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20247 unconditionally.
20248 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20249 unconditionally.
20250 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20251 condition on __ASSUME_CLONE_THREAD_FLAGS.
20252
e11f5155
AJ
202532012-08-14 Andreas Jaeger <aj@suse.de>
20254
20255 * sysdeps/i386/fpu/libm-test-ulps: Update.
20256
51a9ba86
MK
202572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20258
2fdd4f78
AJ
20259 * include/atomic.h (atomic_exchange_and_add): Split into ...
20260 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20261 New atomic macros.
51a9ba86 20262
ba6cba9e
MT
202632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20264
20265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20266
42443a47
JL
202672012-08-13 Jeff Law <law@redhat.com>
20268
20269 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20270 null byte in the output string.
20271
121dce05
JM
202722012-08-10 Joseph Myers <joseph@codesourcery.com>
20273
20274 * sysdeps/unix/sysv/linux/kernel-features.h
20275 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20276 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20277 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20278 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20279 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20280 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20281 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20282
bf51f568
JL
202832012-08-09 Jeff Law <law@redhat.com>
20284
20285 [BZ #13939]
20286 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20287 When avoid_arena is set, don't retry in the that arena. Pick the
20288 next one, whatever it might be.
20289 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20290 (arena_lock): Pass in new parameter to arena_get2.
20291 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20292 arena_get2.
20293 (__libc_malloc): Unify retrying after main arena failure with
20294 __libc_memalign version.
20295 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20296
f85fa270
L
202972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20298
20299 [BZ #14166]
20300 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20301 to __redirect_strstr.
20302 (__strstr_sse42): Use typeof __redirect_strstr.
20303 (__strstr_ia32): Likewise.
20304 (__libc_strstr): New prototype.
20305 (strstr): Renamed to ...
20306 (__libc_strstr): This.
20307 (strstr): New strong alias of __libc_strstr.
20308 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20309 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20310 __redirect_time.
20311 Include <time.h>.
20312 (__libc_time): New prototype.
20313 (time_ifunc): Replace time with __libc_time.
20314 (time): New strong alias and hidden definition of __libc_time.
20315 (__GI_time): Remove strong alias.
20316 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20317 Include <stddef.h>.
20318 (memmove): Redefined to __redirect_memmove.
20319 (__memmove_sse2): Use typeof __redirect_memmove.
20320 (__memmove_ssse3): Likewise.
20321 (__memmove_ssse3_back): Likewise.
20322 (__libc_memmove): New prototype.
20323 (memmove): Renamed to ...
20324 (__libc_memmove): This.
20325 (memmove): New strong alias of __libc_memmove.
20326
33b4a91e
MS
203272012-08-08 Mark Salter <msalter@redhat.com>
20328
20329 * elf/elf.h
20330 (R_MN10300_TLS_GD): Define.
20331 (R_MN10300_TLS_LD): Likewise.
20332 (R_MN10300_TLS_LDO): Likewise.
20333 (R_MN10300_TLS_GOTIE): Likewise.
20334 (R_MN10300_TLS_IE): Likewise.
20335 (R_MN10300_TLS_LE): Likewise.
20336 (R_MN10300_TLS_DTPMOD): Likewise.
20337 (R_MN10300_TLS_DTPOFF): Likewise.
20338 (R_MN10300_TLS_TPOFF): Likewise.
20339 (R_MN10300_SYM_DIFF): Likewise.
20340 (R_MN10300_ALIGN): Likewise.
20341 (R_MN10300_NUM): Update.
20342
b36137f1
JM
203432012-08-08 Joseph Myers <joseph@codesourcery.com>
20344
20345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20346 Remove.
20347
cdd915fd
RM
203482012-08-08 Roland McGrath <roland@hack.frob.com>
20349
a2433aac
RM
20350 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20351
cdd915fd
RM
20352 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20353 sysdeps/unix -> sysdeps/posix move.
20354 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20355
bf9b740a
AM
203562012-08-07 Allan McRae <allan@archlinux.org>
20357
20358 [BZ #14303]
20359 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20360 (SUNOS_CPP): Likewise.
20361 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20362 not found.
20363 (open_input): Call CPP using execvp.
20364
93df14ee
JM
203652012-08-07 Joseph Myers <joseph@codesourcery.com>
20366
20367 * sysdeps/unix/sysv/linux/kernel-features.h
20368 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20369 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20370 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20371 (__ASSUME_WAITID_SYSCALL): Likewise.
20372 * sysdeps/unix/sysv/linux/dl-execstack.c
20373 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20374 code unconditional.
20375 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20376 conditional code.
20377 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20378 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20379 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20380 code.
20381 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20382 unconditional.
20383 [__ASSUME_WAITID_SYSCALL]: Likewise.
20384 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20385
d34689de
RM
203862012-08-07 Roland McGrath <roland@hack.frob.com>
20387
a281decc
RM
20388 * sysdeps/unix/closedir.c: Renamed to ...
20389 * sysdeps/posix/closedir.c: ... here.
20390 * sysdeps/unix/dirfd.c: Renamed to ...
20391 * sysdeps/posix/dirfd.c: ... here.
20392 * sysdeps/unix/dirstream.h: Renamed to ...
20393 * sysdeps/posix/dirstream.h: ... here.
20394 * sysdeps/unix/fdopendir.c: Renamed to ...
20395 * sysdeps/posix/fdopendir.c: ... here.
20396 * sysdeps/unix/opendir.c: Renamed to ...
20397 * sysdeps/posix/opendir.c: ... here.
20398 * sysdeps/unix/readdir.c: Renamed to ...
20399 * sysdeps/posix/readdir.c: ... here.
20400 * sysdeps/unix/readdir_r.c: Renamed to ...
20401 * sysdeps/posix/readdir_r.c: ... here.
20402 * sysdeps/unix/rewinddir.c: Renamed to ...
20403 * sysdeps/posix/rewinddir.c: ... here.
20404 * sysdeps/unix/seekdir.c: Renamed to ...
20405 * sysdeps/posix/seekdir.c: ... here.
20406 * sysdeps/unix/telldir.c: Renamed to ...
20407 * sysdeps/posix/telldir.c: ... here.
20408 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20409 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20410 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20411 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20412
22895b47
RM
20413 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20414 * bits/fcntl.h: ... here.
20415
707a53b6
RM
20416 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20417 not 0.
20418 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20419 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20420 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20421 (struct flock): Move l_start, l_len to the beginning.
20422 Use __pid_t for l_pid.
20423 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20424 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20425 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20426 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20427 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20428 [__USE_LARGEFILE64] (struct flock64): New type.
20429 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20430
f0bd3e25
RM
20431 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20432 * bits/dirent.h: ... here.
20433
d34689de
RM
20434 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20435 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20436
6dad2c06
JM
204372012-08-07 Joseph Myers <joseph@codesourcery.com>
20438
20439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20440 Change from 2.6.0 to 2.6.16.
20441 * sysdeps/unix/sysv/linux/configure: Regenerated.
20442 * sysdeps/unix/sysv/linux/kernel-features.h
20443 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20444 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20445 version.
20446 (__ASSUME_UTIMES): Likewise.
20447 (__ASSUME_CLONE_STOPPED): Remove.
20448 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20449 architectures, not kernel version.
20450 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20451 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20452 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20453 (__ASSUME_WAITID_SYSCALL): Likewise.
20454 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20455 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20456 * README: State 2.6.16 as minimum Linux kernel version. Do not
20457 refer to older versions.
20458
03af9520
RM
204592012-08-06 Roland McGrath <roland@hack.frob.com>
20460
8e49df1d
RM
20461 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20462 Define alphasort64 as an alias.
20463 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20464 Define versionsort64 as an alias.
20465 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20466 Define scandir64 as an alias.
20467 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20468 Define scandirat64 as an alias.
20469 * dirent/alphasort64.c (alphasort64):
20470 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20471 * dirent/versionsort64.c: Likewise.
20472 * dirent/scandir64.c: Likewise.
20473 * dirent/scandirat64.c: Likewise.
20474 * sysdeps/wordsize-64/alphasort.c: File removed.
20475 * sysdeps/wordsize-64/alphasort64.c: File removed.
20476 * sysdeps/wordsize-64/scandir.c: File removed.
20477 * sysdeps/wordsize-64/scandir64.c: File removed.
20478 * sysdeps/wordsize-64/scandirat.c: File removed.
20479 * sysdeps/wordsize-64/scandirat64.c: File removed.
20480 * sysdeps/wordsize-64/versionsort.c: File removed.
20481 * sysdeps/wordsize-64/versionsort64.c: File removed.
20482 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20483 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20484 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20485 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20486 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20487 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20488 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20489 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20490
20491 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20493 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20495 [defined __arch64__ || defined __sparcv9]
20496 (__INO_T_MATCHES_INO64_T): New macro.
20497 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20498 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20499 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20500 * sysdeps/unix/sysv/linux/bits/dirent.h
20501 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20502 (_DIRENT_MATCHES_DIRENT64): New macro.
20503
03af9520
RM
20504 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20505 Define lockf64 as an alias.
20506 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20507 Define fseeko64 as an alias.
20508 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20509 Define ftello64 as an alias.
20510 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20511 Define _IO_fgetpos64 and fgetpos64 as aliases.
20512 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20513 Define _IO_fsetpos64 and fsetpos64 as aliases.
20514 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20515 Conditionalize body on this.
20516 * libio/fseeko64.c: Likewise.
20517 * libio/ftello64.c: Likewise.
20518 * libio/iofgetpos64.c: Likewise.
20519 * libio/iofsetpos64.c: Likewise.
20520 * sysdeps/wordsize-64/lockf.c: File removed.
20521 * sysdeps/wordsize-64/lockf64.c: File removed.
20522 * sysdeps/wordsize-64/fseeko.c: File removed.
20523 * sysdeps/wordsize-64/fseeko64.c: File removed.
20524 * sysdeps/wordsize-64/ftello.c: File removed.
20525 * sysdeps/wordsize-64/ftello64.c: File removed.
20526 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20527 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20528 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20529 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20530 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20531 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20537 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20538 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20540
20541 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20543 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20545 [defined __arch64__ || defined __sparcv9]
20546 (__OFF_T_MATCHES_OFF64_T): New macro.
20547 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20548 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20550 (__OFF_T_MATCHES_OFF64_T): New macro.
20551
c5757acd
L
205522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20553
20554 * stdlib/secure-getenv.c (__secure_getenv): Replace
20555 GLIBC_2_16 with GLIBC_2_17.
20556
3a31811e
L
205572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20558
20559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20561
faa2bccb
DM
205622012-08-03 David S. Miller <davem@davemloft.net>
20563
20564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20565
85fe1997
JM
205662012-08-03 Joseph Myers <joseph@codesourcery.com>
20567
20568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20569 Remove.
20570 (__ASSUME_CORRECT_SI_PID): Likewise.
20571 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20572 (__ASSUME_TMPFS_NAME): Likewise.
20573 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20574 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20575 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20576 (HAVE_AUX_SECURE): Make definition unconditional.
20577 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20578 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20579
4f75b7a0
RM
205802012-08-03 Roland McGrath <roland@hack.frob.com>
20581
20582 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20583 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20584 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20585 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20586 __eloop_threshold instead of SYMLOOP_MAX.
20587
20588 * sysdeps/generic/eloop-threshold.h: New file.
20589 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20590 of MAXSYMLINKS.
20591 * elf/chroot_canon.c (chroot_canon): Likewise.
20592
7aab07e4
JM
205932012-08-03 Joseph Myers <joseph@codesourcery.com>
20594
20595 [BZ #13717]
20596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20597 Change to 2.6.0 everywhere.
20598 * sysdeps/unix/sysv/linux/configure: Regenerated.
20599 * sysdeps/unix/sysv/linux/kernel-features.h
20600 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20601 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20602 kernel versions.
20603 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20604 (__ASSUME_FUTEX_REQUEUE): Remove.
20605 (__ASSUME_STATFS64): Define unconditionally.
20606 (__ASSUME_AT_SECURE): Likewise.
20607 (__ASSUME_CORRECT_SI_PID): Likewise.
20608 (__ASSUME_TGKILL): Define without depending on kernel version for
20609 i386.
20610 (__ASSUME_UTIMES): Likewise.
20611 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20612 kernel version.
20613 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20614 (__ASSUME_TMPFS_NAME): Likewise.
20615 * README: Update reference to Linux kernel versions.
20616
b67e9372
MP
206172012-08-02 Marek Polacek <polacek@redhat.com>
20618
1f529f7d 20619 [BZ# 14150]
b67e9372
MP
20620 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20621 libc_cv_asm_type_prefix with %.
20622 * configure: Regenerated.
d2441631
RM
20623 * include/libc-symbols.h: Remove comment about
20624 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20625 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20626 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20627 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20628 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20629 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20630 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20631 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20632 * elf/tst-unique2mod1.c: Likewise.
20633 * elf/tst-unique1mod2.c: Likewise.
20634 * elf/tst-unique1mod1.c: Likewise.
20635 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20636 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20637 Replace ASM_TYPE_DIRECTIVE with .type.
20638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20639 * sysdeps/i386/sysdep.h: Likewise.
20640 * sysdeps/x86_64/sysdep.h: Likewise.
20641 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20643 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20644 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20645 * sysdeps/powerpc/powerpc32/sysdep.h:
20646 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20647 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20648 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20649 * sysdeps/i386/fpu/e_powf.S: Likewise.
20650 * sysdeps/i386/fpu/e_expl.S: Likewise.
20651 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20653 * sysdeps/i386/fpu/e_pow.S: Likewise.
20654 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20655 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20656 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20657 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20658 * sysdeps/i386/fpu/e_log2.S: Likewise.
20659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20660 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20661 * sysdeps/i386/fpu/e_powl.S: Likewise.
20662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20663 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20664 * sysdeps/i386/fpu/e_logl.S: Likewise.
20665 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20666 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20667 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20668 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20669 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20670 * sysdeps/i386/fpu/e_log.S: Likewise.
20671 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20672 * sysdeps/i386/fpu/e_logf.S: Likewise.
20673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20674 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20675 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20676 * sysdeps/i386/fpu/e_log10.S: Likewise.
20677 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20678 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20679 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20680 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20681 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20682 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20683 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20684 * sysdeps/i386/i686/strtok.S: Likewise.
20685 * sysdeps/i386/i386-mcount.S: Likewise.
20686 * sysdeps/i386/strtok.S: Likewise.
20687 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20688 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20690 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20691 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20692 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20693 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20694 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20695 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20696 * sysdeps/x86_64/_mcount.S: Likewise.
20697 * sysdeps/x86_64/strtok.S: Likewise.
20698 * sysdeps/sh/_mcount.S: Likewise.
20699
2747bf9a
RM
207002012-08-01 Roland McGrath <roland@hack.frob.com>
20701
20702 * libio/iofopen.c: Include <fcntl.h>.
20703 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20704 (_IO_fopen64, fopen64): Define as aliases.
20705 * libio/iofopen64.c: Include <fcntl.h>.
20706 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20707 Conditionalize body on this.
20708 * sysdeps/wordsize-64/iofopen.c: File removed.
20709 * sysdeps/wordsize-64/iofopen64.c: File removed.
20710
3fb791b8
MP
207112012-08-01 Marek Polacek <polacek@redhat.com>
20712
20713 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20714 Use dlfcn directly instead of a variable.
20715 (binfmt-subdir): Do not define.
20716 (dlfcn): Likewise.
20717
a9f1039f
JM
207182012-08-01 Joseph Myers <joseph@codesourcery.com>
20719
23bddc06
JM
20720 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20721 Remove all definitions.
20722 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20723 <kernel-features.h>.
20724 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20725 (miss_F_GETOWN_EX): Remove all definitions.
20726 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20727 macro definition.
20728 [!__ASSUME_FCNTL64]: Remove conditional code.
20729 [__ASSUME_FCNTL64]: Make code unconditional.
20730 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20731 <kernel-features.h>.
20732 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20733 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20734 (lockf64) [__NR_fcntl64]: Make code unconditional.
20735 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20736
a9f1039f
JM
20737 * sysdeps/unix/sysv/linux/kernel-features.h
20738 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20739 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20740 Make code unconditional.
20741 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20742 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20744 [__NR_vfork]: Make code unconditional.
20745 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20746 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20748 [__NR_vfork]: Make code unconditional.
20749 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20750 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20751
09c0ee5f
RM
207522012-08-01 Roland McGrath <roland@hack.frob.com>
20753
48aec5b9
RM
20754 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20755 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20756
cd97c966
RM
20757 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20758 Define mkstemp64 as an alias.
3f55550c
RM
20759 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20760 Define mkstemps64 as an alias.
cd97c966
RM
20761 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20762 Define mkostemp64 as an alias.
b8625cfc
RM
20763 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20764 Define mkostemps64 as an alias.
cd97c966
RM
20765 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20766 Conditionalize body on this.
20767 * misc/mkostemp64.c: Likewise.
b8625cfc 20768 * misc/mkostemps64.c: Likewise.
3f55550c 20769 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20770 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20771 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20772 * sysdeps/wordsize-64/mkostemp.c: File removed.
20773 * sysdeps/wordsize-64/mkstemp.c: File removed.
20774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20775 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20777 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20778
09c0ee5f
RM
20779 [BZ #14138]
20780 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20781 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20782 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20783 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20784
20785 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20786 compat_symbol macros from <shlib-compat.h> rather than the underlying
20787 default_symbol_version and symbol_version macros, so that DEFAULT
20788 lines in shlib-versions are respected.
20789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20790
7e66ee51
FW
207912012-08-01 Florian Weimer <fweimer@redhat.com>
20792
20793 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20794 Declare with warn_unused_result.
20795 (setgid, setregid, setegid, setresgid): Likewise.
20796 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20797 Likewise.
20798 * WUR-REPORT: Remove set*id functions.
20799
d2a54255
PT
208002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20801
20802 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20803
7ecdb005
RM
208042012-07-31 Roland McGrath <roland@hack.frob.com>
20805
b4180a5e 20806 [BZ #10191]
789bd351
RM
20807 * include/sys/socket.h (__libc_accept, __libc_accept4):
20808 Add attribute_hidden.
20809 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20810
40ce302d
RM
20811 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20812 use of PTR_MANGLE.
20813 * inet/getnetgrent_r.c (setup): Likewise.
20814
7ecdb005
RM
20815 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20816
e2eabb2c
DM
208172012-07-31 David S. Miller <davem@davemloft.net>
20818
20819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20820
d0419dbf
JM
208212012-07-31 Joseph Myers <joseph@codesourcery.com>
20822
20823 [BZ #13629]
20824 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20825 value between 1.0 and 2.0 and smaller part has absolute value less
20826 than 1.0.
20827 * math/s_clog10.c (__clog10): Likewise.
20828 * math/s_clog10f.c (__clog10f): Likewise.
20829 * math/s_clog10l.c (__clog10l): Likewise.
20830 * math/s_clogf.c (__clogf): Likewise.
20831 * math/s_clogl.c (__clogl): Likewise.
20832 * math/libm-test.inc (clog_test): Add more tests.
20833 (clog10_test): Likewise.
20834 * sysdeps/i386/fpu/libm-test-ulps: Update.
20835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20836
2bc13872
FW
208372012-07-31 Florian Weimer <fweimer@redhat.com>
20838
20839 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20840 Exit with zero in case no suitable GID is found, and write a
20841 message to standard error.
20842
bea9b193
RM
208432012-07-30 Roland McGrath <roland@hack.frob.com>
20844
20845 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20846 rather than to 1.
20847 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20848 (MAXPATHLEN): Removed.
20849 (NOGROUP, NODEV): New macros.
20850 (setbit, clrbit, isset, isclr): New macros.
20851 (howmany, roundup, powerof2): New macros.
20852 (DEV_BSIZE): New macro.
20853
20854 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20855 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20856
20857 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20858 definition on [!__NO_LONG_DOUBLE_MATH].
20859
20860 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20861 PTR_MANGLE and PTR_DEMANGLE.
20862
20863 * socket/accept4.c (accept4): Rename to __libc_accept4.
20864 Define accept4 as a weak alias.
20865
20866 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20867 on [_DIRENT_HAVE_D_TYPE].
20868 * io/ftw.c (ftw_dir): Likewise.
20869
20870 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20871
20872 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20873
20874 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20875 Use the BSD numbers rather than the arbitrary ones we had.
20876 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20877 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20878 (SIGXCPU, SIGXFSZ): New macros.
20879 (_NSIG): Now 32.
20880
20881 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20882 initializer on [_LIBC_REENTRANT].
20883
20884 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20885 definitions inside [_POSIX_MAPPED_FILES].
20886
20887 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20888
20889 * dirent/opendir.c: Include <fcntl.h>.
20890
20891 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20892 (__libc_getspecific): Likewise.
20893 (__libc_key_create): Likewise.
20894
20895 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20896 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20897 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20898 (tmpfile64): Define as alias.
20899 * sysdeps/wordsize-64/tmpfile.c: File removed.
20900 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20903
20904 * stdio-common/vfscanf.c: Include <stdbool.h>.
20905 * nss/makedb.c: Likewise.
20906 * stdio-common/_i18n_number.h: Likewise.
20907 * argp/argp-help.c: Likewise.
20908 * posix/wordexp.c: Likewise.
20909 * sysdeps/posix/spawni.c: Likewise.
20910 * nss/nss_files/files-initgroups.c: Likewise.
20911 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20912 * nss/nss_files/files-initgroups.c: Likewise.
20913 * nss/nss_db/db-netgrp.c: Likewise.
20914 * nss/nss_db/db-initgroups.c: Likewise.
20915 * io/fchmodat.c: Include <sys/stat.h>.
20916
20917 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20918 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20919
20920 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20921 [HAVE_MMAP].
20922
20923 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20924 Add multiple inclusion protection.
20925
e5abc686
DM
209262012-07-27 David S. Miller <davem@davemloft.net>
20927
20928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20929
815e6fa3
GB
209302012-07-27 Gary Benson <gbenson@redhat.com>
20931
20932 [BZ #14298]
20933 * elf/rtld.c: Include <stap-probe.h>.
20934 (dl_main): Added static probes "init_start" and "init_complete".
20935 * elf/dl-load.c: Include <stap-probe.h>.
20936 (lose): Take new parameter "nsid".
20937 Added static probe "map_failed".
20938 (_dl_map_object_from_fd): Pass namespace id to lose.
20939 Added static probe "map_start".
20940 (open_verify): Pass namespace id to lose.
20941 * elf/dl-open.c: Include <stap-probe.h>.
20942 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20943 and "reloc_complete".
20944 * elf/dl-close.c: Include <stap-probe.h>.
20945 (_dl_close_worker): Added static probes "unmap_start" and
20946 "unmap_complete".
20947 * elf/rtld-debugger-interface.txt: New file documenting the above.
20948
9f98c16c
RM
209492012-07-26 Roland McGrath <roland@hack.frob.com>
20950
20951 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20952 rather than a string variable.
20953 * sunrpc/rpc_main.c (h_output): Likewise.
20954 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20955
f3c22df3
PT
209562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20957
20958 * inet/check_native.c: New file.
20959
3129cfc6
JM
209602012-07-26 Joseph Myers <joseph@codesourcery.com>
20961
da865e95
JM
20962 [BZ #13629]
20963 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20964 if larger part has absolute value 1.0.
20965 * math/s_clog10.c (__clog10): Likewise.
20966 * math/s_clog10f.c (__clog10f): Likewise.
20967 * math/s_clog10l.c (__clog10l): Likewise.
20968 * math/s_clogf.c (__clogf): Likewise.
20969 * math/s_clogl.c (__clogl): Likewise.
20970 * math/libm-test.inc (clog_test): Add more tests.
20971 (clog10_test): Likewise.
20972 * sysdeps/i386/fpu/libm-test-ulps: Update.
20973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20974
3129cfc6
JM
20975 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20976 (pltexit): Likewise.
20977 (La_regs): Likewise.
20978 (La_retval): Likewise.
20979 (int_retval): Likewise.
20980 Update #error for removed macros to refer only to definitions in
20981 tst-audit.h.
20982 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20983 macro.
20984 (pltexit): Likewise.
20985 (La_regs): Likewise.
20986 (La_retval): Likewise.
20987 (int_retval): Likewise.
20988 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20989 macro.
20990 (pltexit): Likewise.
20991 (La_regs): Likewise.
20992 (La_retval): Likewise.
20993 (int_retval): Likewise.
20994 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20995 macro.
20996 (pltexit): Likewise.
20997 (La_regs): Likewise.
20998 (La_retval): Likewise.
20999 (int_retval): Likewise.
21000 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21001 macro.
21002 (pltexit): Likewise.
21003 (La_regs): Likewise.
21004 (La_retval): Likewise.
21005 (int_retval): Likewise.
21006 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21007 macro.
21008 (pltexit): Likewise.
21009 (La_regs): Likewise.
21010 (La_retval): Likewise.
21011 (int_retval): Likewise.
21012 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21013 macro.
21014 (pltexit): Likewise.
21015 (La_regs): Likewise.
21016 (La_retval): Likewise.
21017 (int_retval): Likewise.
21018 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21019 macro definitions in tst-audit.h.
21020 * sysdeps/i386/tst-audit.h: New file.
21021 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21022 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21023 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21024 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21025 * sysdeps/sh/tst-audit.h: Likewise.
21026 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21027 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21028 * sysdeps/x86_64/tst-audit.h: Likewise.
21029
bfc07087
AJ
210302012-07-26 Andreas Jaeger <aj@suse.de>
21031
b1b2aaf8
AJ
21032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21033 ptrace.
21034
21035 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21036 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21037 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21038 PTRACE_O_MASK.
21039 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21040 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21041 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21042
bfc07087
AJ
21043 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21044 value.
21045
21046 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21047 _sigsys.
21048 (si_call_addr, si_syscall, si_arch): Define new macro.
21049 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21050 _sigsys.
21051 (si_call_addr, si_syscall, si_arch): Define new marcro.
21052 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21053 _sigsys.
21054 (si_call_addr, si_syscall, si_arch): Define new macro.
21055 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21056 _sigsys.
21057 (si_call_addr, si_syscall, si_arch): Define new macro.
21058
89b4b02f
JM
210592012-07-25 Joseph Myers <joseph@codesourcery.com>
21060
21061 [BZ #13717]
21062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21063 Change to 2.4.21 where previously 2.4.1.
21064 * sysdeps/unix/sysv/linux/configure: Regenerated.
21065 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21066 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21067 Linux kernel version.
21068 (__ASSUME_STD_AUXV): Remove.
21069 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21070 kernel version.
21071 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21072 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21073 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21074 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21075 (__ASSUME_NETLINK_SUPPORT): Likewise.
21076 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21077 (__no_netlink_support): Remove conditional definition.
21078 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21079 Remove.
21080 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21081 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21082 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21083 (if_nameindex_ioctl): Remove.
21084 (if_nameindex_netlink): Do not handle __no_netlink_support.
21085 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21086 code.
21087 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21088 Remove conditional code.
21089 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21090 code.
21091 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21092 unconditional.
21093 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21094 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21095 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21096 Remove.
21097 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21098 [!__ASSUME_STD_AUXV]: Remove conditional code.
21099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21100 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21101 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21103 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21104 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21105 code.
21106 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21108 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21109 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21110 conditional code.
21111 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21113 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21114 code.
21115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21116 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21117 conditional code.
21118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21119 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21120 code unconditional.
21121 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21122 conditional code.
21123 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21124 unconditional.
21125 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21126 conditional code.
21127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21128 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21129 unconditional.
21130 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21131 conditional code.
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21133 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21134 code unconditional.
21135 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21136 conditional code.
21137 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21138 unconditional.
21139 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21140 conditional code.
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21142 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21143 code unconditional.
21144 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21145 conditional code.
21146 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21147 unconditional.
21148 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21149 conditional code.
21150
842a39cd
AS
211512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21152
21153 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21154 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21155 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21156 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21157 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21158 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21159 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21160 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21161 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21162 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21163 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21164 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21165 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21166 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21167 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21168 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21169 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21171 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21173 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21174 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21175 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21176
84b3fd84
FW
211772012-07-25 Florian Weimer <fweimer@redhat.com>
21178
21179 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21180 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21181 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21182 Introduce __libc_secure_getenv.
0c7936d5
FW
21183 * stdlib/Versions (2.17): Add secure_getenv
21184 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21185 * stdlib/secure-getenv.c: Rename __secure_getenv to
21186 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21187 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21188 * stdlib/tst-secure-getenv.c: New.
21189 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21190 * manual/startup.texi (Environment Access): Document
21191 secure_getenv.
84b3fd84
FW
21192 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21193 __libc_secure_getenv.
21194 * inet/ruserpass.c (ruserpass): Likewise.
21195 * malloc/mtrace.c (mtrace): Likewise.
21196 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21197 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21198 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21199 * sysdeps/posix/tempname.c: Likewise. Evaluate
21200 HAVE_SECURE_GETENV.
21201 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21202 __secure_getenv to __libc_secure_getenv.
84b3fd84 21203 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21205 Likewise.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21207 Likewise.
21208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21215
56e49b71
JM
212162012-07-25 Joseph Myers <joseph@codesourcery.com>
21217
21218 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21219 (struct La_i86_retval): Likewise.
21220 (struct La_x86_64_regs): Likewise.
21221 (struct La_x86_64_retval): Likewise.
21222 (struct La_x32_regs): Likewise.
21223 (struct La_x32_retval): Likewise.
21224 (struct La_ppc32_regs): Likewise.
21225 (struct La_ppc32_retval): Likewise.
21226 (struct La_ppc64_regs): Likewise.
21227 (struct La_ppc64_retval): Likewise.
21228 (struct La_sh_regs): Likewise.
21229 (struct La_sh_retval): Likewise.
21230 (struct La_s390_32_regs): Likewise.
21231 (struct La_s390_32_retval): Likewise.
21232 (struct La_s390_64_regs): Likewise.
21233 (struct La_s390_64_retval): Likewise.
21234 (struct La_sparc32_regs): Likewise.
21235 (struct La_sparc32_retval): Likewise.
21236 (struct La_sparc64_regs): Likewise.
21237 (struct La_sparc64_retval): Likewise.
21238 (struct audit_ifaces): Remove architecture-specific pltenter and
21239 pltexit members.
21240 * sysdeps/i386/ldsodefs.h: New file.
21241 * sysdeps/powerpc/ldsodefs.h: Likewise.
21242 * sysdeps/s390/ldsodefs.h: Likewise.
21243 * sysdeps/sh/ldsodefs.h: Likewise.
21244 * sysdeps/sparc/ldsodefs.h: Likewise.
21245 * sysdeps/x86_64/ldsodefs.h: Likewise.
21246
354691b7
MP
212472012-07-25 Marek Polacek <polacek@redhat.com>
21248
21249 [BZ #6808]
21250 * math/libm-test.inc (yn_test): Add another test.
21251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21252 to ERANGE when the result is +-Inf.
21253 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21254 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21255 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21256 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21257
bf9e2071
JM
212582012-07-24 Joseph Myers <joseph@codesourcery.com>
21259
21260 * conform/data/time.h-data (NULL): Use macro-constant. Require
21261 equal to 0.
21262 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21263 clock_t.
21264 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21265
57633811
TS
212662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21267
21268 * configure.in <sysdeps resolving>: Correct printing
21269 Implies_before.
21270 * configure: Regenerate.
21271
c23c33b0
TS
212722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21273
21274 * math/w_ilogb.c: Include <limits.h>.
21275 * math/w_ilogbl.c: Likewise.
21276
b5982523
JM
212772012-07-20 Joseph Myers <joseph@codesourcery.com>
21278
21279 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21280 va_copy. Document allowing for unavailable va_copy only as
21281 pre-C99 compatibility.
21282 * manual/string.texi (Copying and Concatenation): Use va_copy
21283 instead of __va_copy in concat example.
21284
ac4ea442
PT
212852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21286
21287 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21288 (__sendto): Use create_address_port. Initialize APORT and deallocate
21289 it if not null.
21290
f98eafbd
PT
21291 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21292 with O_NOLINK passed to __file_name_lookup.
21293
898c7aab
PT
21294 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21295 with O_NOLINK passed to __file_name_lookup.
21296
0ced335a
PT
21297 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21298 negative N or less than NGIDS.
21299
b3404dbd
PT
21300 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21301 type to string_t. Set ERANGE as errno and return it if NAME is not big
21302 enough. Use memcpy instead of strncpy.
21303
0f48659e
JM
213042012-07-20 Joseph Myers <joseph@codesourcery.com>
21305
21306 * elf/Makefile (check-data): Remove.
21307 (localplt.data): New vpath directive.
21308 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21309 instead of $(check-data).
21310 * scripts/data/localplt-generic.data: Move to ...
21311 * sysdeps/generic/localplt.data: ... here.
21312 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21313 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21314 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21316 ... here.
21317 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21319 ... here.
21320 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21322 ... here.
21323 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21325 ... here.
21326 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21328 ... here.
21329 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21331 ... here.
21332
d37cbdaa
AZ
213332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21334
21335 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21336 PPC32 and PPC64 files.
21337 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21338 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21339
46f85fc2
AK
213402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21341
21342 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21343 __makecontext_ret to ...
21344 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21345 ... here and call exit if uc_link is NULL. New file.
21346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21347 __makecontext_ret.S.
21348 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21349 __makecontext_ret to ...
21350 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21351 ... here and call exit if uc_link is NULL. New file.
21352 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21353 __makecontext_ret.S.
21354
08f43f9b
AK
213552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21356
21357 * elf/elf.h (R_390_IRELATIVE): New definition.
21358 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21359 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21360 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21361 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21362 (elf_machine_lazy_rel): Likewise.
21363 * sysdeps/s390/dl-irel.h: New file.
21364 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21365 * sysdeps/s390/s390-64/memset.S: New asm code.
21366 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21367 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21368 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21369 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21370 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21371 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21373 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21374 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21375 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21376 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21377 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21378 * sysdeps/s390/s390-32/memset.S: New asm code.
21379 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21380
3b05db33
MP
213812012-07-17 Marek Polacek <polacek@redhat.com>
21382
21383 [BZ #14349]
21384 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21385 * sysdeps/s390/s390-64/configure.in: Likewise.
21386 * sysdeps/sparc/configure.in: Likewise.
21387 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21388 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21389 * sysdeps/i386/configure.in: Likewise.
21390 * sysdeps/x86_64/configure.in: Likewise.
21391 * sysdeps/sh/configure.in: Likewise.
21392 * sysdeps/s390/s390-32/configure: Regenerated.
21393 * sysdeps/s390/s390-64/configure: Likewise.
21394 * sysdeps/x86_64/configure: Likewise.
21395 * sysdeps/sh/configure: Likewise.
21396 * sysdeps/powerpc/powerpc64/configure: Likewise.
21397 * sysdeps/powerpc/powerpc32/configure: Likewise.
21398 * sysdeps/sparc/configure: Likwise.
21399 * sysdeps/i386/configure: Likewise.
21400
a66877c6
MP
21401 * elf/dl-open.c: Comment fixes.
21402
cfc82fd8
JM
214032012-07-17 Joseph Myers <joseph@codesourcery.com>
21404
bd29910a
JM
21405 * Makefile [CXX] (check-data): Remove.
21406 [CXX] (c++-types.data): New vpath directive.
21407 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21408 vpath. Do not allow for C++ type data being missing.
21409 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21410 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21411 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21412 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21413 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21414 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21415 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21417 ... here.
21418 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21420 ... here.
21421 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21423 ... here.
21424 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21426 ... here.
21427 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21429 ... here.
21430 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21432 ... here.
21433 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21435 ... here.
21436 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21438
cfc82fd8
JM
21439 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21440 definitions to architecture-specific files.
21441 (TLS_IE): Likewise.
21442 (TLS_LD): Likewise.
21443 (TLS_GD): Likewise.
21444 * sysdeps/i386/tls-macros.h: New file.
21445 * sysdeps/powerpc/tls-macros.h: Likewise.
21446 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21447 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21448 * sysdeps/sh/tls-macros.h: Likewise.
21449 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21450 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21451 * sysdeps/x86_64/tls-macros.h: Likewise.
21452
f7db3170
TS
214532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21454
07cbfc23
TS
21455 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21456 zero value for regular exit case.
21457
f7db3170
TS
21458 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21459 (__start_context): Preserve zero value for regular exit case.
21460
dc97c227
TS
214612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21462 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21463
21464 * manual/setjmp.texi (setcontext): Clarify normal process
21465 termination when uc_link is the null pointer.
21466 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21467 exit call.
21468
d0cd7d02
AS
214692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21470
21471 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21472 preprocessor. Test for each exception mask separately.
21473
dd318934
AJ
214742012-07-16 Andreas Jaeger <aj@suse.de>
21475
21476 * po/ru.po: Update from translation team.
21477
8048311a
JM
214782012-07-15 Joseph Myers <joseph@codesourcery.com>
21479
21480 * conform/data/string.h-data (NULL): Use macro-constant. Require
21481 equal to 0.
21482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21483 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21484 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21485 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21487
b637d46e
AJ
214882012-07-13 Andreas Jaeger <aj@suse.de>
21489
21490 * po/fr.po: Update from translation team.
21491
541428fe
MP
214922012-07-12 Marek Polacek <polacek@redhat.com>
21493
21494 [BZ #14173]
21495 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21496 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21497 loop condition.
21498
ec332e94
JM
214992012-07-12 Joseph Myers <joseph@codesourcery.com>
21500
21501 [BZ #13717]
21502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21503 Change to 2.4.1 where previously 2.4.0.
21504 * sysdeps/unix/sysv/linux/configure: Regenerated.
21505 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21506 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21507 version.
21508 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21509 (__ASSUME_AT_CLKTCK): Remove.
21510 (__ASSUME_AT_PAGESIZE): Likewise.
21511 (__ASSUME_AT_XID): Likewise.
21512 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21513 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21514 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21515 unconditionally.
21516 (HAVE_AUX_PAGESIZE): Likewise.
21517 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21518 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21519 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21520
7b6e99be
JB
215212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21522
21523 [BZ #14307]
21524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21525 the temporary buffer used to invoke __gethostbyname2_r,
21526 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21527 host_data / struct gaih_addrtuple.
21528 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21529 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21530 header file nss/nsswitch.h.
21531 * nss/nsswitch.h (global scope): Add definition of implementation
21532 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21533 resolv/nss_dns/dns-host.c).
21534
608404eb
AJ
215352012-07-11 Andreas Jaeger <aj@suse.de>
21536
21537 * po/fr.po: Update from translation team.
21538
71220aca
AJ
21539 * po/sv.po: Update from translation team
21540 * po/fr.po: Another update from translation team.
21541
28cfe843
AZ
215422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21543
21544 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21545 for subnormals or multiply small sinh result by itself.
21546 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21548
6b90f981
DM
215492012-07-11 David S. Miller <davem@davemloft.net>
21550
21551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21552
c6825772
AS
215532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21554
21555 [BZ #14347]
21556 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21557 (INTERNAL_MARK): Shift it here.
21558
7b8e0d49
MP
215592012-07-10 Marek Polacek <polacek@redhat.com>
21560
21561 [BZ #14151]
21562 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21563 libc_cv_asm_global_directive with .globl.
21564 * configure: Regenerated.
21565 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21566 with .globl.
21567 * sysdeps/i386/configure: Regenerated.
21568 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21569 with .globl.
21570 * sysdeps/x86_64/configure: Regenerated.
21571 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21572 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21573 * elf/tst-unique2mod2.c: Likewise.
21574 * elf/tst-unique2mod1.c: Likewise.
21575 * elf/tst-unique1mod2.c: Likewise.
21576 * elf/tst-unique1mod1.c: Likewise.
21577 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21578 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21580 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21581 * sysdeps/mach/sysdep.h: Likewise.
21582 * sysdeps/i386/sysdep.h: Likewise.
21583 * sysdeps/i386/i386-mcount.S: Likewise.
21584 * sysdeps/x86_64/_mcount.S: Likewise.
21585 * sysdeps/x86_64/sysdep.h: Likewise.
21586 * sysdeps/sh/_mcount.S: Likewise.
21587 * sysdeps/sh/sysdep.h: Likewise.
21588 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21589 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21590 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21591 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21592 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21593 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21594 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21595 * locale/localeinfo.h: Likewise.
21596 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21597 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21598
6c55cda3
RM
215992012-07-09 Roland McGrath <roland@hack.frob.com>
21600
21601 [BZ #14336]
21602 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21603 system".
21604 * manual/message.texi (The Uniforum approach): Likewise.
21605 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21606 (glibc iconv Implementation): Likewise.
21607
638a572e
JM
216082012-07-09 Joseph Myers <joseph@codesourcery.com>
21609
21610 [BZ #14337]
21611 * math/s_clog.c (__clog): Avoid scaling a value down where that
21612 could result in underflow.
21613 * math/s_clog10.c (__clog10): Likewise.
21614 * math/s_clog10f.c (__clog10f): Likewise.
21615 * math/s_clog10l.c (__clog10l): Likewise.
21616 * math/s_clogf.c (__clogf): Likewise.
21617 * math/s_clogl.c (__clogl): Likewise.
21618 * math/libm-test.inc (clog_test): Add more tests.
21619 (clog10_test): Likewise.
21620 * sysdeps/i386/fpu/libm-test-ulps: Update.
21621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21622
261f4859
AS
216232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21624
0abaf3e4
AS
21625 [BZ #14283]
21626 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21627 by 7 not 8 to examine high bit of fractional part.
21628
261f4859
AS
21629 [BZ #14042]
21630 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21631 for call to __mcount_internal.
21632 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21633 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21634 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21635
f17ac40d
JM
216362012-07-06 Joseph Myers <joseph@codesourcery.com>
21637
9ad63c23
JM
21638 [BZ #14154]
21639 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21640 approximation for values within 0x1p-13f of an odd multiple of
21641 pi/4.
21642 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21643 exception. Add more tests.
21644 * sysdeps/i386/fpu/libm-test-ulps: Update.
21645
f17ac40d
JM
21646 [BZ #6778]
21647 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21648 inputs and return -1 for them. Do not check for +Inf in case not
21649 reachable for +Inf.
21650 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21651 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21652 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21653 and return -1 for them. Do not check for +Inf in case not
21654 reachable for +Inf.
21655 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21656 define.
21657 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21658 and return -1 for them. Do not check for +Inf in case not
21659 reachable for +Inf.
21660 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21661 spurious underflow.
21662 * sysdeps/i386/fpu/libm-test-ulps: Update.
21663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21664
fb21f89b
MF
216652012-07-06 Mike Frysinger <vapier@gentoo.org>
21666
21667 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21668
cdfe2c5e
JM
216692012-07-05 Joseph Myers <joseph@codesourcery.com>
21670
21671 [BZ #14157]
21672 [BZ #14331]
21673 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21674 could result in spurious underflow. Scale down values above
21675 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21676 * math/s_csqrtf.c (__csqrtf): Likewise.
21677 * math/s_csqrtl.c (__csqrtl): Likewise.
21678 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21679 spurious underflow.
21680 * sysdeps/i386/fpu/libm-test-ulps: Update.
21681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21682
70d35b67
AS
216832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21684
704bc459
AS
21685 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21686 xopen-msg.sed.
21687 * catgets/xopen-msg.awk: New file.
21688 * catgets/xopen-msg.sed: Removed.
21689
70d35b67
AS
21690 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21691 po2text.sed.
21692 * intl/po2test.awk: New file.
21693 * intl/po2test.sed: Removed.
21694
ca61cf32
JM
216952012-07-04 Joseph Myers <joseph@codesourcery.com>
21696
21697 [BZ #14328]
21698 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21699 or multiply small sinh result by itself.
21700 * math/s_ctanf.c (__ctanf): Likewise.
21701 * math/s_ctanh.c (__ctanh): Likewise.
21702 * math/s_ctanhf.c (__ctanhf): Likewise.
21703 * math/s_ctanhl.c (__ctanhl): Likewise.
21704 * math/s_ctanl.c (__ctanl): Likewise.
21705 * math/libm-test.inc (ctan_test_tonearest): New function.
21706 (ctan_test_towardzero): Likewise.
21707 (ctan_test_downward): Likewise.
21708 (ctan_test_upward): Likewise.
21709 (ctanh_test_tonearest): Likewise.
21710 (ctanh_test_towardzero): Likewise.
21711 (ctanh_test_downward): Likewise.
21712 (ctanh_test_upward): Likewise.
21713 (main): Call these new functions.
21714 * sysdeps/i386/fpu/libm-test-ulps: Update.
21715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21716
ca48a46a
MF
217172012-07-03 Mike Frysinger <vapier@gentoo.org>
21718
21719 * .gitignore: Delete /ports entry.
21720
9d63d37d
AJ
217212012-07-03 Andreas Jaeger <aj@suse.de>
21722
21723 * po/bg.po: Update from translation team.
21724 * po/cs.po: Likewise.
21725 * po/de.po: Likewise.
21726 * po/hr.po: Likewise.
21727 * po/nl.pl: Likewise.
21728 * po/pl.po: Likewise.
21729 * po/vi.po: Likewise.
21730
370ca3d2
JM
217312012-07-03 Joseph Myers <joseph@codesourcery.com>
21732
95f5a9a8
JM
21733 * Makeconfig [!+link] (+link-before-libc): New variable.
21734 [!+link] (+link-after-libc): Likewise.
21735 [!+link] (+link-tests): Likewise.
21736 [!+link] (+link): Define in terms of $(+link-before-libc) and
21737 $(+link-after-libc).
21738 [!+link-static] (+link-static-before-libc): New variable.
21739 [!+link-static] (+link-static-after-libc): Likewise.
21740 [!+link-static] (+link-static-tests): Likewise.
21741 [!+link-static] (+link-static): Define in terms of
21742 $(+link-static-before-libc) and $(+link-static-after-libc).
21743 [build-shared] (link-libc-before-gnulib): New variable.
21744 [build-shared] (link-libc-tests): Likewise.
21745 [build-shared] (link-libc): Define in terms of
21746 $(link-libc-before-gnulib).
21747 [!build-shared] (link-libc-tests): New variable.
21748 (link-libc-static-tests): New variable.
21749 [!gnulib] (gnulib-arch): New variable.
21750 [!gnulib] (gnulib-tests): Likewise.
21751 [!gnulib] (static-gnulib-arch): Likewise.
21752 [!gnulib] (static-gnulib-tests): Likewise.
21753 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21754 Define with "=" instead of ":=".
21755 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21756 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21757 * Rules (binaries-all-notests): New variable.
21758 (binaries-all-tests): Likewise.
21759 (binaries-static-notests): Likewise.
21760 (binaries-static-tests): Likewise.
21761 (binaries-all): Define using $(binaries-all-notests) and
21762 $(binaries-all-tests).
21763 (binaries-static): Define using $(binaries-static-notests) and
21764 $(binaries-static-tests).
21765 (binaries-shared-tests): New variable.
21766 (binaries-shared-notests): Likewise.
21767 (binaries-shared): Remove variable.
21768 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21769 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21770 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21771 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21772 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21773 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21774 * elf/Makefile (sln-modules): New variable.
21775 (extra-objs): Add $(sln-modules:=.o).
21776 (ldconfig-modules): Add static-stubs.
21777 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21778 * elf/static-stubs.c: New file.
21779
7a845b2c
JM
21780 [BZ #14283]
21781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21782 by 7 not 8 to examine high bit of fractional part. Use volatile
21783 variables when splitting into final array of floats if
21784 __FLT_EVAL_METHOD__ != 0.
21785 * math/libm-test.inc (cos_test): Add another test.
21786 (sin_test): Likewise.
21787 * sysdeps/i386/fpu/libm-test-ulps: Update.
21788
e2283f38
JM
21789 [BZ #14273]
21790 * math/libm-test.inc (cosh_test): Add more tests.
21791
370ca3d2
JM
21792 * version.h (RELEASE): Set to "development".
21793 (VERSION): Set to "2.16.90".
21794
ee9247c3
CD
217952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21796
21797 * NEWS: Update copyright. Remove last-updated date.
21798 Mention math library bug fixes and timezone data changes.
21799 * README: Mention GNU/Hurd, x32, and HPPA support status.
21800
4648c381
TS
218012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21802
21803 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21804
aac78a43
AJ
218052012-06-27 Andreas Jaeger <aj@suse.de>
21806
21807 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21808
ed3dbfad
AJ
218092012-06-25 Andreas Jaeger <aj@suse.de>
21810
21811 * sysdeps/s390/fpu/libm-test-ulps: Update.
21812
4d0ee855
AS
218132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21814 Thomas Schwinge <thomas@codesourcery.com>
21815
21816 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21817 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21819 fanotify_mark.
21820
af1bce34
TS
218212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21822
a9fa33ba
TS
21823 * sysdeps/mach/start.c: Remove file.
21824 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21825 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21826 * sysdeps/sh/init-first.c: Likewise.
21827
58f902b8
TS
21828 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21829 registers for frame unwinding purposes, add CFI directives.
21830 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21831 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21832 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21833 Likewise.
21834
1518f58b
TS
21835 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21836 __fortify_fail returning.
21837 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21838
db9b5059
TS
21839 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21840 sysdeps/sh/____longjmp_chk.S.
21841 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21842 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21843 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21844 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21845
967705fe
TS
21846 * sysdeps/sh/abort-instr.h: New file.
21847 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21848 process in case exit returns.
21849
a9def8c4
TS
21850 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21851 initialize the GOT register before use.
21852
2a649725
TS
21853 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21854 calculation of ARGC > 4.
21855
af1bce34
TS
21856 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21857 meaningful names to some local labels.
21858
d230f50a
KK
218592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21860 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21861
21862 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21863 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21864 (__arch_compare_and_exchange_val_16_acq): Likewise.
21865 (__arch_compare_and_exchange_val_32_acq): Likewise.
21866 (atomic_exchange_and_add): Fix gUSA sequence.
21867 (atomic_add): Likewise.
21868 (atomic_add_negative): Likewise.
21869 (atomic_add_zero): Likewise.
21870 (atomic_bit_test_set): Likewise.
21871
0479b305
AS
218722012-06-22 Andreas Schwab <schwab@redhat.com>
21873
21874 [BZ #13579]
21875 * include/link.h (struct link_map): Add l_free_initfini.
21876 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21877 l_initfini.
21878 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21879 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21880 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21881 set.
21882
0e3933b9
CD
218832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21884
21885 * configure.in: Use AC_LANG_SOURCE.
21886 * configure: Regenerate.
21887
4248b1b1
RM
218882012-06-22 Roland McGrath <roland@hack.frob.com>
21889
21890 * configure.in (libc_cv_localstatedir): New substituted variable.
21891 * configure: Regenerated.
21892 * config.make.in (localstatedir): New variable, substituted from
21893 libc_cv_localstatedir.
21894 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21895 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21896 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21897 * sysdeps/gnu/configure: Regenerated.
21898
006dd861
JL
218992012-06-21 Jeff Law <law@redhat.com>
21900
21901 [BZ #14277]
21902 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21903 free. Simplify list management for _LIBC case.
21904
79662d42
JM
219052012-06-21 Joseph Myers <joseph@codesourcery.com>
21906
b7abb4bf
JM
21907 [BZ #14273]
21908 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21909 Clear sign bit of 64-bit integer value before comparing against
21910 overflow value.
21911
79662d42
JM
21912 * sysdeps/mach/configure: Regenerated.
21913
1f150908
L
219142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21915
21916 [BZ #14278]
21917 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21918
28363bbf
JL
219192012-06-21 Jeff Law <law@redhat.com>
21920
21921 [BZ #13882]
21922 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21923 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21925 * elf/dl-open.c (dl_open_worker): Likewise.
21926
09615db4
CD
219272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21928
21929 * scripts/list-sources.sh: Scan PORTS for translations.
21930 * po/libc.pot: Regenerated.
21931
2174c6dd
AJ
219322012-06-21 Andreas Jaeger <aj@suse.de>
21933
21934 [BZ #12194]
21935 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21936 warning.
21937 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21938 * bits/byteswap-16.h (__bswap_16): Likewise.
21939 * bits/byteswap.h (__bswap_constant_16): Likewise.
21940
3ee947b1
L
219412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21942
21943 [BZ #14117]
a2f34833
L
21944 * sysdeps/i386/fpu_control.h: Removed.
21945 * sysdeps/x86_64/fpu_control.h: Moved to ...
21946 * sysdeps/x86/fpu_control.h: Here.
21947
3ee947b1
L
21948 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21949 (_FPU_SETCW): Likewise.
21950
ed1825f8
L
219512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21952
25f1282a
L
21953 [BZ #14117]
21954 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21955 * sysdeps/x86/fpu/bits/mathinline.h: This.
21956 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21957
ed1825f8
L
21958 [BZ #14050]
21959 [BZ #14117]
21960 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21961 functions if __x86_64__ is defined.
21962
36d54b74
CLT
219632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21964
21965 * string/endian.h: Add !__ASSEMBLER__ condition for including
21966 conversion interfaces.
21967
10285c21
JM
219682012-06-15 Joseph Myers <joseph@codesourcery.com>
21969
21970 [BZ #14241]
21971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21972 of ABS(x) in calculating zero to negative powers other than odd
21973 integers.
21974 * math/libm-test.inc (pow_test): Add more tests.
21975
06c5abbd
AJ
219762012-06-15 Andreas Jaeger <aj@suse.de>
21977
21978 * manual/contrib.texi (Contributors): Update entry of Liubov
21979 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21980 Machado Filho.
21981
a3aeac40
CH
219822012-06-15 Cyril Hrubis <metan@ucw.cz>
21983
21984 * string/string.h: Add __wur to GNU version of strerror_r.
21985
49bdf4c1
L
219862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21987
21988 [BZ #14229]
21989 * string/Makefile (tests): Add tst-strtok_r.
21990 * string/tst-strtok_r.c: New file.
21991 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21992 RAX_LP/RDX_LP on SAVE_PTR.
21993
834f9b8d
RM
219942012-06-14 Roland McGrath <roland@hack.frob.com>
21995
21996 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21997
75fa1921
JM
219982012-06-14 Joseph Myers <joseph@codesourcery.com>
21999
22000 * libm_test.inc (csqrt_test): Allow more spurious underflow
22001 exceptions.
22002 (j0_test): Likewise.
22003 (j1_test): Likewise.
22004 (y0_test): Likewise.
22005 (y1_test): Likewise.
22006
771766df
CD
220072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22008
22009 * po/Makefile (libc.pot): Use UTF-8 charset.
22010
ceb9e56b
PP
220112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22012
22013 [BZ #14210]
22014 Suppress sign-conversion warning from FD_SET.
22015 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22016 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22017 not unsigned long int.
22018 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22019
ddb28975
L
220202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22021
22022 [BZ #14050]
22023 [BZ #14117]
22024 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22025 __extern_always_inline instead of __extern_inline.
22026 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22027 (__signbit): Likewise.
22028 (__signbitl): Support C++ namespace.
22029 (lrintf): New inline function.
22030 (lrint): Likewise.
22031 (llrintf): Likewise.
22032 (llrint): Likewise.
22033 (fmaxf): Likewise.
22034 (fmax): Likewise.
22035 (fminf): Likewise.
22036 (fmin): Likewise.
22037 (rint): Likewise.
22038 (rintf): Likewise.
22039 (ceil): Likewise.
22040 (ceilf): Likewise.
22041 (floor): Likewise.
22042 (floorf): Likewise.
22043 (nearbyint): Likewise.
22044 (nearbyintf): Likewise.
22045
d7b4fb26
TS
220462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22047
22048 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22049 non-default versions.
22050
eb55f5c2
RM
220512012-06-11 Roland McGrath <roland@hack.frob.com>
22052
22053 [BZ #14218]
22054 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22055
366af02c
TS
220562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22057
99ff6e5c
TS
22058 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22059 (FE_UPWARD, FE_DOWNWARD): Don't define.
22060 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22061 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22062
366af02c
TS
22063 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22064 reading it.
22065 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22066 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22067
793ea851
KK
220682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22069
22070 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22072 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22073 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22074
a728a38f
L
220752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22076
22077 [BZ #14117]
c08010c7
L
22078 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22079 * sysdeps/i386/fpu/Implies: New file.
22080 * sysdeps/x86_64/fpu/Implies: Likewise.
22081 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22082 * sysdeps/x86/fpu/bits/fenv.h: This.
22083
a728a38f
L
22084 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22085 __SSE_MATH__.
22086
6e230d11
SP
220872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22088
22089 [BZ #14134]
22090 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22091 character 0xffff that matches the last element of the
22092 conversion table.
22093
1b671feb
AZ
220942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22095
22096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22097 fmodl commit.
22098
6043738b
AZ
220992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22100
22101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22102 values higher than 25.6283.
22103
34ae0b32
AZ
221042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22105
22106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22107 subnormal exponent extraction and add some __builtin_expect.
22108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22109 Fix for subnormal mantissa calculation.
22110
1214ec8f
MF
221112012-06-04 Mike Frysinger <vapier@gentoo.org>
22112
22113 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22114 cpu2 is -1 and errno is not ENOSYS.
22115
f3d1f93c
L
221162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22117
22118 [BZ #14117]
0e4a3cd7
L
22119 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22120 * sysdeps/x86/bits/string.h: This.
22121 * sysdeps/x86_64/bits/string.h: Removed.
22122
6704c645
L
22123 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22124 if not compiling for x86-64, but compiling for >= i486.
22125
48495318
L
22126 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22127 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22128
14adcbfc
L
22129 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22130 New macro from Linux kernel 3.4.0.
22131 (FP_XSTATE_MAGIC2): Likewise.
22132 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22133 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22134 (struct _fpx_sw_bytes): New struct.
22135 (struct _xsave_hdr): Likewise.
22136 (struct _ymmh_state): Likewise.
22137 (struct _xstate): Likewise.
22138
68e408ab
L
22139 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22140 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22141 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22142 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22143 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22144 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22145
f3d1f93c
L
22146 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22148 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22149 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22150 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22151 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22152
d9dc34cd
TMQMF
221532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22154
22155 [BZ #13743]
22156 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22157 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22158 (sysdep_headers): Include sys/platform/ppc.h.
22159 * sysdeps/powerpc/test-gettimebase.c: Test for
22160 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22161 * manual/Makefile (appendices): Include platform.texi.
22162 * manual/contrib.texi (Contributors): Update @node pointers.
22163 * manual/maint.texi (Maintenance): Likewise.
22164 (Platform): New node.
22165 * manual/platform.texi: New file. Document the new features.
22166
4af3879c
SP
221672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22168 Jakub Jelinek <jakub@redhat.com>
22169
22170 [BZ #14188]
22171 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22172 where __builtin_expect is unavailable.
22173
2fd6ff13
DM
221742012-06-03 David S. Miller <davem@davemloft.net>
22175
22176 * stdlib/longlong.h: Updated from GCC.
22177
173f7220
AS
221782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22179
22180 [BZ #14042]
22181 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22182 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22183 __mcount_internal.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22185 (GLIBC_2.16): Likewise.
22186
f34a1c6f
L
221872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22188
22189 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22190
88a4576f
JM
221912012-06-01 Joseph Myers <joseph@codesourcery.com>
22192
ea32bcdd
JM
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22194 (default-abi): New variable.
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22196 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22197 variable.
22198 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22199 Likewise.
22200 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22201 Likewise.
22202 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22203 Likewise.
22204
88a4576f
JM
22205 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22206 definition. Document in comment.
22207
402fe938
DM
222082012-06-01 David S. Miller <davem@davemloft.net>
22209
22210 * stdlib/longlong.h: Updated from GCC.
22211
3553723f
L
222122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22213
22214 [BZ #14117]
3bd872c4
L
22215 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22216 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22217 sys/debugreg.h sys/io.h here.
22218 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22219 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22220 sys/io.h.
22221 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22222 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22223 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22224 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22225 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22226 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22227
3553723f
L
22228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22229 Define only if __x86_64__ is defined.
22230
4842e4fe
JM
222312012-06-01 Joseph Myers <joseph@codesourcery.com>
22232
c5bfe3d5
JM
22233 [BZ #14048]
22234 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22235 Use int64_t for variable i.
22236 * math/libm-test.inc (fmod_test): Add more tests.
22237
4842e4fe
JM
22238 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22239 z computation is not scheduled after fetestexcept.
22240 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22241 Use math_force_eval instead of asm to ensure calculation scheduled
22242 before exception test.
22243 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22244 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22245
efb73488
AJ
222462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22247
22248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22249 computation is not scheduled after fetestexcept.
22250
29bcce7c
L
222512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22252
22253 [BZ #14117]
22254 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22255 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22256
73a68f94
AZ
222572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22258
22259 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22260 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22261
67b6df78
L
222622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22263
edf2933a 22264 [BZ #14117]
ebc64a18
L
22265 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22266 <bits/wordsize.h>.
22267 (__WCHAR_MIN): Support __WORDSIZE == 64.
22268 (__WCHAR_MAX): Likewise.
22269
edf2933a
L
22270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22272
57c6cf40
L
22273 [BZ #14183]
22274 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22275 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22276
67b6df78 22277 [BZ #14117]
8eb6281e
L
22278 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22279 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22280
aac639f4
L
22281 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22282 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22283
67b6df78
L
22284 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22285 Defined to 1 if __x86_64__ isn't defined.
22286 (_STAT_VER_LINUX_OLD): New.
22287 (st_atime): Remove duplicate.
22288 (st_mtime): Likewise.
22289 (st_ctime): Likewise.
22290
1c2cfe81
DM
222912012-05-31 David S. Miller <davem@davemloft.net>
22292
22293 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22294 entries.
22295
5be8418c
AS
222962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22297
e7725326
AS
22298 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22299 gen-libm-test.pl.
22300
5be8418c
AS
22301 [BZ #14132]
22302 * elf/dl-reloc.c: Include <_itoa.h>.
22303 (_dl_reloc_bad_type): Remove use of INTUSE.
22304 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22305 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22306 * stdio-common/psiginfo.c (psiginfo): Likewise.
22307 * stdio-common/psignal.c (psignal): Likewise.
22308 * string/strsignal.c (strsignal): Likewise.
22309 * include/signal.h (_sys_siglist): Declare hidden proto.
22310 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22311 INTVARDEF with libc_hidden_data_def.
22312 * stdio-common/itoa-udigits.c: Likewise.
22313 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22314 (_itoa_lower_digits_internal): Remove declaration.
22315 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22316 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22317 (_sys_sigabbrev_internal): Remove aliases.
22318 (_sys_siglist): Define hidden alias.
22319
507352f1
MT
223202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22321
22322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22323 bits/sysctl.h.
22324
42bbb1c3
L
223252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22326
22327 [BZ #14117]
6bd784b6
L
22328 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22329 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22330
8bca20f0
L
22331 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22332 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22333 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22334 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22336 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22337
f9e890a9
L
22338 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22340 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22341
471101a1
L
22342 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22343 with __addr.
22344 (insw): Likewise.
22345 (insl): Likewise.
22346 (outsb): Likewise.
22347 (outsw): Likewise.
22348 (outsl): Likewise.
22349
6451c862
L
22350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22352 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22353
a254b8c9
L
22354 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22355 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22356 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22357 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22358 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22359 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22360
b8dfdd92
L
22361 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22362 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22363
578cd270
L
22364 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22365 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22366
de662f5f
L
22367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22369 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22370
25653439
L
22371 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22372 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22373 to ...
22374 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22375
6bad24a0
L
22376 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22377 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22378 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22379
42bbb1c3
L
22380 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22381 for x86-64.
22382 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22383
2d10d547
JM
223842012-05-31 Joseph Myers <joseph@codesourcery.com>
22385
22386 * math/math.h (M_El): Use two more decimal places.
22387 (M_LOG2El): Likewise.
22388 (M_LOG10El): Likewise.
22389 (M_LN2l): Likewise.
22390 (M_LN10l): Likewise.
22391 (M_PIl): Likewise.
22392 (M_PI_2l): Likewise.
22393 (M_PI_4l): Likewise.
22394 (M_1_PIl): Likewise.
22395 (M_2_PIl): Likewise.
22396 (M_2_SQRTPIl): Likewise.
22397 (M_SQRT2l): Likewise.
22398 (M_SQRT1_2l): Likewise.
22399
f230c29b
DM
224002012-05-31 David S. Miller <davem@davemloft.net>
22401
22402 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22403 values between float registers.
22404 * sysdeps/sparc/sparc64/memset.S: Likewise.
22405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22406
fed806c3
MF
224072012-05-31 Mike Frysinger <vapier@gentoo.org>
22408
22409 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22410 -D_FORTIFY_SOURCE=1.
22411 (CPPFLAGS-tst-longjmp_chk.c): Define.
22412 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22413 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22414 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22415 CFLAGS-tst-wchar-h.c.
22416
30917259
MP
224172012-05-31 Marek Polacek <polacek@redhat.com>
22418
22419 [BZ #14132]
22420 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22421 __endmntent_internal): Remove declaration.
22422 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22423 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22424 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22425
1c58d5dc
DM
224262012-05-30 David S. Miller <davem@davemloft.net>
22427
22428 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22429 (___Q_simulate_exceptions): Use real FP ops rather than writing
22430 into the %fsr.
22431 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22432 Likewise.
22433
7dc00e0d
L
224342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22435
22436 [BZ #14117]
0bd53985
L
22437 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22438 * sysdeps/x86/bits/xtitypes.h: This.
22439
3a257e66
L
22440 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22441 * sysdeps/x86/bits/wordsize.h: This.
22442
62f62904
L
22443 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22444 * sysdeps/x86/bits/huge_vall.h: This.
22445
404fe9d9
L
22446 * sysdeps/i386/bits/select.h: Removed.
22447 * sysdeps/x86_64/bits/select.h: Renamed to ...
22448 * sysdeps/x86/bits/select.h: This.
22449
d48d0446
L
22450 * sysdeps/i386/bits/setjmp.h: Removed.
22451 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22452 * sysdeps/x86/bits/setjmp.h: This.
22453
7dc00e0d
L
22454 * sysdeps/i386/bits/mathdef.h: Removed.
22455 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22456 * sysdeps/x86/bits/mathdef.h: This.
22457
03277f8f
AS
224582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22459
22460 [BZ #14132]
22461 * include/sys/socket.h (__connect_internal)
22462 (__libc_sa_len_internal): Remove declaration.
22463 (__connect, __libc_sa_len): Declare hidden_proto.
22464 (SA_LEN): Remove use of INTUSE.
22465 * socket/connect.c: Add libc_hidden_def.
22466 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22467 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22468 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22469 alias.
22470 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22472 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22473 of adding _internal alias.
22474
13764867
L
224752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22476
22477 [BZ #14117]
6bd97696
L
22478 * sysdeps/i386/bits/link.h: Removed.
22479 * sysdeps/i386/bits/linkmap.h: Likewise.
22480 * sysdeps/x86_64/bits/link.h: Renamed to ...
22481 * sysdeps/x86/bits/link.h: This.
22482 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22483 * sysdeps/x86/bits/linkmap.h: This.
22484
f726f0bb
L
22485 * sysdeps/i386/bits/endian.h: Removed.
22486 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22487 * sysdeps/x86/bits/endian.h: This.
22488
13764867
L
22489 * sysdeps/i386/bits/byteswap.h: Removed.
22490 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22491 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22492 * sysdeps/x86/bits/byteswap.h: This.
22493 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22494 * sysdeps/x86/bits/byteswap-16.h: This.
22495 * sysdeps/i386/Implies: Add x86.
22496 * sysdeps/x86_64/Implies: Likewise.
22497
ae251b0b
DM
224982012-05-30 David S. Miller <davem@davemloft.net>
22499
22500 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22501 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22502 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22503 (FP_TRAPPING_EXCEPTIONS): Define.
22504 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22505 (FP_TRAPPING_EXCEPTIONS): Define.
22506 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22507 subnormals only when inexact has been signalled or underflow
22508 exceptions are enabled.
22509 (_FP_PACK_CANONICAL): Likewise.
22510
d5c90867
L
225112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22512
22513 [BZ #14183]
22514 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22515 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22516
63f1549e
RH
225172012-05-30 Richard Henderson <rth@twiddle.net>
22518
8d8f2279
RH
22519 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22520 with #ifndef NOT_IN_libc.
22521
63f1549e
RH
22522 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22523 marked to avoid plt entry.
22524
0ab0291b
L
225252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22526
22527 [BZ #14112]
22528 * Makeconfig (default-abi): New macro.
22529 (abi-includes): Likewise.
22530 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22531 $(abi-$(default-abi)-lib-soname) for soname if defined.
22532 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22533 abi-variants.
22534 * Makefile (installed-stubs): Likewise.
22535 * include/stubs-biarch.h: Removed.
22536 * scripts/lib-names.awk: Only handle one library at a time.
22537 * scripts/soversions.awk: Remove WORDSIZE support.
22538 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22539 entries.
22540 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22541 Removed.
22542 (syscall-list-default-condition): Likewise.
22543 (syscall-list-default-condition): Likewise.
22544 (syscall-list-includes): Likewise.
22545 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22546 syscall-list-* with abi-*. Handle undefined abi-variants.
22547 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22548 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22549 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22550 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22551 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22552 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22553 Removed.
22554 (syscall-list-32-options): Likewise.
22555 (syscall-list-32-condition): Likewise.
22556 (syscall-list-64-options): Likewise.
22557 (syscall-list-64-condition): Likewise.
22558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22559 macro.
22560 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22561 Renamed to ...
22562 (abi-*): This.
22563 (abi-64-ld-soname): New macro.
22564 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22565 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22566 Renamed to ...
22567 (abi-*): This.
22568 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22569 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22570
4da0431d
JM
225712012-05-30 Joseph Myers <joseph@codesourcery.com>
22572
3a85279c
JM
22573 * sysdeps/unix/sysv/linux/kernel-features.h
22574 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22575 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22576 include <kernel-features.h>.
22577 [!__NR_ftruncate64]: Remove conditional code.
22578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22579 [__NR_ftruncate64]: Make code unconditional.
22580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22581 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22582 include <kernel-features.h>.
22583 [!__NR_ftruncate64]: Remove conditional code.
22584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22585 [__NR_ftruncate64]: Make code unconditional.
22586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22588 include <kernel-features.h>.
22589 [!__NR_ftruncate64]: Remove conditional code.
22590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22591 [__NR_ftruncate64]: Make code unconditional.
22592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22594 include <kernel-features.h>.
22595 [!__NR_ftruncate64]: Remove conditional code.
22596 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22597 [__NR_ftruncate64]: Make code unconditional.
22598 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22599
4da0431d
JM
22600 * configure.in (libc_cv_fpie): Weaken to a compile test using
22601 LIBC_TRY_CC_OPTION.
22602 * configure: Regenerated.
22603
11ef492c
AK
226042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22605
22606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22610 Refreshed.
22611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22617 Refreshed.
22618
d66ef399
DM
226192012-05-27 David S. Miller <davem@davemloft.net>
22620
22621 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22622 (___Q_zero): New.
22623 (__Q_simulate_exceptions): Return void. Change to simulate
22624 exceptions by writing into the %fsr.
22625 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22626 (__Qp_handle_exceptions): Likewise.
22627 (numbers): Delete.
22628 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22629 __Qp_handle_exceptions.
22630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22631 __Qp_handle_exceptions.
22632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22633 as unused and give dummy FP_RND_NEAREST initializer.
22634 (FP_INHIBIT_RESULTS): Define.
22635 (___Q_simulate_exceptions): Update declaration.
22636 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22637 formatting.
22638 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22639 as unused and give dummy FP_RND_NEAREST initializer.
22640 (__Qp_handle_exceptions): Update declaration.
22641 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22642 formatting.
22643
04fb54b5
TS
226442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22645
22646 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22647 the temporary FPU control word.
22648 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22649 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22650 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22651 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22652 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22653 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22654 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22655 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22656 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22657 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22658 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22659
3f99608f
KK
226602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22661
22662 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22663 fields.
22664
65a4de4e
CLT
226652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22666
22667 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22668 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22669 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22670 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22671 Likewise.
22672 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22673 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22674 Likewise.
22675
15749d40
UD
226762012-05-27 Ulrich Drepper <drepper@gmail.com>
22677
22678 * po/h.po: Update from translation team.
22679
25dbcb27
AS
226802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22681
3d3f8e55
AS
22682 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22683
25dbcb27
AS
22684 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22685 handling of denormals.
22686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22687 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22688 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22689 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22693 Likewise.
22694
7ad47a80 226952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22696
22697 [BZ #14152]
22698 * math/libm-test.inc (fma_test): Don't always expect underflow
22699 exception.
22700
9c6ea9fa
SP
227012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22702
22703 [BZ #12416]
22704 * elf/tst-execstack.c: Include stackinfo.h.
22705 (do_test): Adjust test case to ensure that pthread_getattr_np
22706 behaviour remains the same after marking stack executable.
22707
a8239222
JM
227082012-05-25 Joseph Myers <joseph@codesourcery.com>
22709
22710 * sysdeps/unix/sysv/linux/kernel-features.h
22711 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22712 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22713 kernel-features.h.
22714 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22715 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22716 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22717 kernel-features.h.
22718 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22719 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22720
918b5606
L
227212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22722
22723 * configure.in: Define the default includes to being none.
22724 * configure: Regenerated.
22725
3a097cc7
RM
227262012-05-25 Roland McGrath <roland@hack.frob.com>
22727
8422c9a5
RM
22728 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22729 * sysdeps/x86_64/setjmp.S: Likewise.
22730 * sysdeps/i386/bsd-setjmp.S: Likewise.
22731 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22732 * sysdeps/i386/setjmp.S: Likewise.
22733 * sysdeps/i386/__longjmp.S: Likewise.
22734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22736
3a097cc7
RM
22737 * include/stap-probe.h: New file.
22738 * configure.in: Handle --enable-systemtap.
22739 * configure: Regenerated.
22740 * config.h.in (USE_STAP_PROBE): New #undef.
22741 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22742 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22743 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22744
21708942
JM
227452012-05-25 Joseph Myers <joseph@codesourcery.com>
22746
22747 [BZ #13717]
22748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22749 to 2.4.0 where earlier.
22750 * sysdeps/unix/sysv/linux/configure: Regenerated.
22751 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22752 <kernel-features.h>.
22753 [__ASSUME_32BITUIDS]: Make code unconditional.
22754 [!__ASSUME_32BITUIDS]: Remove conditional code.
22755 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22756 <kernel-features.h>.
22757 [__ASSUME_32BITUIDS]: Make code unconditional.
22758 [!__ASSUME_32BITUIDS]: Remove conditional code.
22759 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22760 [__ASSUME_32BITUIDS]: Make code unconditional.
22761 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22762 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22763 <kernel-features.h>.
22764 [__ASSUME_32BITUIDS]: Make code unconditional.
22765 [!__ASSUME_32BITUIDS]: Remove conditional code.
22766 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22767 <kernel-features.h>.
22768 [__ASSUME_32BITUIDS]: Make code unconditional.
22769 [!__ASSUME_32BITUIDS]: Remove conditional code.
22770 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22771 <kernel-features.h>.
22772 [__ASSUME_32BITUIDS]: Make code unconditional.
22773 [!__ASSUME_32BITUIDS]: Remove conditional code.
22774 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22775 <kernel-features.h>.
22776 [__ASSUME_32BITUIDS]: Make code unconditional.
22777 [!__ASSUME_32BITUIDS]: Remove conditional code.
22778 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22779 <kernel-features.h>.
22780 [__ASSUME_32BITUIDS]: Make code unconditional.
22781 [!__ASSUME_32BITUIDS]: Remove conditional code.
22782 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22783 <kernel-features.h>.
22784 [__ASSUME_32BITUIDS]: Make code unconditional.
22785 [!__ASSUME_32BITUIDS]: Remove conditional code.
22786 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22787 <kernel-features.h>.
22788 [__ASSUME_32BITUIDS]: Make code unconditional.
22789 [!__ASSUME_32BITUIDS]: Remove conditional code.
22790 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22791 <kernel-features.h>.
22792 [__ASSUME_32BITUIDS]: Make code unconditional.
22793 [!__ASSUME_32BITUIDS]: Remove conditional code.
22794 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22795 <kernel-features.h>.
22796 [__ASSUME_32BITUIDS]: Make code unconditional.
22797 [!__ASSUME_32BITUIDS]: Remove conditional code.
22798 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22799 <kernel-features.h>.
22800 [__ASSUME_32BITUIDS]: Make code unconditional.
22801 [!__ASSUME_32BITUIDS]: Remove conditional code.
22802 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22803 <kernel-features.h>.
22804 [__NR_setresgid] (__setresgid): Do not declare.
22805 [__ASSUME_32BITUIDS]: Make code unconditional.
22806 [!__ASSUME_32BITUIDS]: Remove conditional code.
22807 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22808 <kernel-features.h>.
22809 [__NR_setresuid] (__setresuid): Do not declare.
22810 [__ASSUME_32BITUIDS]: Make code unconditional.
22811 [!__ASSUME_32BITUIDS]: Remove conditional code.
22812 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22813 <kernel-features.h>.
22814 [__ASSUME_32BITUIDS]: Make code unconditional.
22815 [!__ASSUME_32BITUIDS]: Remove conditional code.
22816 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22817 <kernel-features.h>.
22818 [__ASSUME_32BITUIDS]: Make code unconditional.
22819 [!__ASSUME_32BITUIDS]: Remove conditional code.
22820 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22821 <kernel-features.h>.
22822 [__ASSUME_32BITUIDS]: Make code unconditional.
22823 [!__ASSUME_32BITUIDS]: Remove conditional code.
22824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22825 <kernel-features.h>.
22826 [__ASSUME_32BITUIDS]: Make code unconditional.
22827 [!__ASSUME_32BITUIDS]: Remove conditional code.
22828 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22829 <kernel-features.h>.
22830 [__ASSUME_32BITUIDS]: Make code unconditional.
22831 [!__ASSUME_32BITUIDS]: Remove conditional code.
22832 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22833 <kernel-features.h>.
22834 [__ASSUME_32BITUIDS]: Make code unconditional.
22835 [!__ASSUME_32BITUIDS]: Remove conditional code.
22836 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22837 <kernel-features.h>.
22838 [__ASSUME_32BITUIDS]: Make code unconditional.
22839 [!__ASSUME_32BITUIDS]: Remove conditional code.
22840 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22841 <kernel-features.h>.
22842 [__ASSUME_32BITUIDS]: Make code unconditional.
22843 [!__ASSUME_32BITUIDS]: Remove conditional code.
22844 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22845 <kernel-features.h>.
22846 [__ASSUME_32BITUIDS]: Make code unconditional.
22847 [!__ASSUME_32BITUIDS]: Remove conditional code.
22848 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22849 <kernel-features.h>.
22850 [__ASSUME_32BITUIDS]: Make code unconditional.
22851 [!__ASSUME_32BITUIDS]: Remove conditional code.
22852 * sysdeps/unix/sysv/linux/kernel-features.h
22853 (__ASSUME_SETRESUID_SYSCALL): Remove.
22854 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22855 (__ASSUME_32BITUIDS): Likewise.
22856 (__ASSUME_LDT_WORKS): Likewise.
22857 (__ASSUME_O_DIRECTORY): Likewise.
22858 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22859 architecture but not kernel version.
22860 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22861 (__ASSUME_MMAP2_SYSCALL): Likewise.
22862 (__ASSUME_STAT64_SYSCALL): Likewise.
22863 (__ASSUME_IPC64): Likewise.
22864 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22865 <kernel-features.h>.
22866 [__ASSUME_32BITUIDS]: Make code unconditional.
22867 [!__ASSUME_32BITUIDS]: Remove conditional code.
22868 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22869 <kernel-features.h>.
22870 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22871 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22872 132096]: Remove conditional code.
22873 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22874 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22875 <kernel-features.h>.
22876 [__ASSUME_32BITUIDS]: Make code unconditional.
22877 [!__ASSUME_32BITUIDS]: Remove conditional code.
22878 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22879 <kernel-features.h>.
22880 [__ASSUME_32BITUIDS]: Make code unconditional.
22881 [!__ASSUME_32BITUIDS]: Remove conditional code.
22882 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22883 <kernel-features.h>.
22884 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22885 unconditional.
22886 (__setresgid): Do not declare.
22887 [__ASSUME_32BITUIDS]: Make code unconditional.
22888 [!__ASSUME_32BITUIDS]: Remove conditional code.
22889 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22890 <kernel-features.h>.
22891 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22892 unconditional.
22893 (__setresuid): Do not declare.
22894 [__ASSUME_32BITUIDS]: Make code unconditional.
22895 [!__ASSUME_32BITUIDS]: Remove conditional code.
22896 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22897 <kernel-features.h>.
22898 [__ASSUME_32BITUIDS]: Make code unconditional.
22899 [!__ASSUME_32BITUIDS]: Remove conditional code.
22900 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22901 <kernel-features.h>.
22902 [__ASSUME_32BITUIDS]: Make code unconditional.
22903 [!__ASSUME_32BITUIDS]: Remove conditional code.
22904
a386f1cc
RH
229052012-05-25 Richard Henderson <rth@twiddle.net>
22906
22907 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22908 dl_hwcap to ifunc resolver.
22909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22910 elf_ifunc_invoke.
22911 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22912 dl_hwcap to ifunc resolver.
22913 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22914
b6550497
JM
229152012-05-24 Joseph Myers <joseph@codesourcery.com>
22916
22917 [BZ #14153]
22918 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22919 for |x| <= 2**-26, not 2**-57.
22920 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22921 exception.
22922
b0bc23a1
JL
229232012-05-24 Jeff Law <law@redhat.com>
22924
22925 * stdio-common/Makefile (tests): Add bug25.
22926 * stdio-common/bug25.c: New test.
22927
347c92e9
L
229282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22929
22930 [BZ #13576]
22931 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22932 multiple of MALLOC_ALIGNMENT in size.
22933 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22934
6bcc8b3f
JM
229352012-05-24 Joseph Myers <joseph@codesourcery.com>
22936
22937 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22938 Require >= 256.
22939 (FILENAME_MAX): Use macro-int-constant.
22940 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22941 (_IOFBF): Use macro-int-constant.
22942 (_IOLBF): Likewise.
22943 (_IONBF): Likewise.
22944 (SEEK_CUR): Likewise.
22945 (SEEK_END): Likewise.
22946 (SEEK_SET): Likewise.
22947 (TMP_MAX): Likewise.
22948 (EOF): Use macro-int-constant. Require < 0.
22949 (NULL): Use macro-constant. Require == 0.
22950 (stdin): Require type to be FILE *.
22951 (stdout): Likewise.
22952 (stderr): Likewise.
22953 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22954 macro-int-constant.
22955 (EXIT_SUCCESS): Likewise.
22956 (NULL): Use macro-constant. Require == 0.
22957 (RAND_MAX): Use macro-int-constant.
22958 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22959 [C99-based standards] (strtof): Require function.
22960 [C99-based standards] (strtold): Likewise.
22961 [C99-based standards] (strtoll): Likewise.
22962 [C99-based standards] (strtoull): Likewise.
22963 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22964 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22965 [ISO || ISO99 || ISO11] (math.h): Likewise.
22966 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22967 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22969
d18ea0c5
AS
229702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22971
22972 [BZ #14132]
56d25bb8
AS
22973 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22974 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22975 * intl/dgettext.c (DCGETTEXT): Likewise.
22976 * intl/gettext.c (DCGETTEXT): Likewise.
22977 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22978 * posix/regex_internal.h (gettext): Likewise.
22979 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22980 Remove declaration.
22981 * include/argz.h (__argz_count_internal)
22982 (__argz_stringify_internal): Remove declaration.
22983 (__argz_count, __argz_stringify): Declare hidden proto.
22984 * intl/dcgettext.c: Remove use of INTDEF.
22985 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22986 * string/argz-stringify.c: Likewise.
22987 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22988 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22989 Declare hidden proto.
d18ea0c5
AS
22990 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22991 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22992 Declare hidden proto.
22993 * include/stdio.h (__asprintf_internal): Don't declare.
22994 (__asprintf): Don't define as macro. Declare hidden proto.
22995 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22996 (__fsetlocking): Declare hidden proto.
22997 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22998 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22999 hidden proto.
23000 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23001 (_IO_setlinebuf): Remove use of INTUSE.
23002 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23003 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23004 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23005 Remove declaration.
23006 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23007 (_IO_do_flush): Remove use of INTUSE.
23008 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23009 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23010 (_IO_adjust_column, _IO_least_wmarker)
23011 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23012 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23013 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23014 (_IO_default_doallocate, _IO_wdefault_doallocate)
23015 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23016 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23017 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23018 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23019 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23020 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23021 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23022 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23023 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23024 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23025 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23026 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23027 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23028 proto.
23029 (_IO_flush_all_internal, _IO_adjust_column_internal)
23030 (_IO_default_uflow_internal, _IO_default_finish_internal)
23031 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23032 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23033 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23034 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23035 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23036 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23037 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23038 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23039 (_IO_file_close_internal, _IO_file_close_it_internal)
23040 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23041 (_IO_file_init_internal, _IO_file_attach_internal)
23042 (_IO_file_fopen_internal, _IO_file_read_internal)
23043 (_IO_file_sync_internal, _IO_file_seek_internal)
23044 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23045 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23046 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23047 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23048 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23049 (_IO_list_all_internal, _IO_link_in_internal)
23050 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23051 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23052 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23053 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23054 (_IO_do_write_internal, _IO_padn_internal)
23055 (_IO_getline_info_internal, _IO_getline_internal)
23056 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23057 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23058 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23059 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23060 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23061 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23062 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23063 with libc_hidden_ver, remove use of INTUSE.
23064 * libio/genops.c: Likewise.
23065 * libio/freopen.c: Likewise.
23066 * libio/freopen64.c: Likewise.
23067 * libio/iofclose.c: Likewise.
23068 * libio/iofdopen.c: Likewise.
23069 * libio/iofflush.c: Likewise.
23070 * libio/iofflush_u.c: Likewise.
23071 * libio/iofgets.c: Likewise.
23072 * libio/iofgets_u.c: Likewise.
23073 * libio/iofopen.c: Likewise.
23074 * libio/iofopncook.c: Likewise.
23075 * libio/iofread.c: Likewise.
23076 * libio/iofread_u.c: Likewise.
23077 * libio/ioftell.c: Likewise.
23078 * libio/iofwrite.c: Likewise.
23079 * libio/iogetline.c: Likewise.
23080 * libio/iogets.c: Likewise.
23081 * libio/iogetwline.c: Likewise.
23082 * libio/iopadn.c: Likewise.
23083 * libio/iopopen.c: Likewise.
23084 * libio/ioseekoff.c: Likewise.
23085 * libio/ioseekpos.c: Likewise.
23086 * libio/iosetbuffer.c: Likewise.
23087 * libio/iosetvbuf.c: Likewise.
23088 * libio/ioungetc.c: Likewise.
23089 * libio/ioungetwc.c: Likewise.
23090 * libio/iovdprintf.c: Likewise.
23091 * libio/iovsprintf.c: Likewise.
23092 * libio/iovsscanf.c: Likewise.
23093 * libio/memstream.c: Likewise.
23094 * libio/obprintf.c: Likewise.
23095 * libio/oldfileops.c: Likewise.
23096 * libio/oldiofclose.c: Likewise.
23097 * libio/oldiofdopen.c: Likewise.
23098 * libio/oldiofopen.c: Likewise.
23099 * libio/oldiopopen.c: Likewise.
23100 * libio/oldstdfiles.c: Likewise.
23101 * libio/putc.c: Likewise.
23102 * libio/setbuf.c: Likewise.
23103 * libio/setlinebuf.c: Likewise.
23104 * libio/stdfiles.c: Likewise.
23105 * libio/strops.c: Likewise.
23106 * libio/vasprintf.c: Likewise.
23107 * libio/vscanf.c: Likewise.
23108 * libio/vsnprintf.c: Likewise.
23109 * libio/vswprintf.c: Likewise.
23110 * libio/wfiledoalloc.c: Likewise.
23111 * libio/wfileops.c: Likewise.
23112 * libio/wgenops.c: Likewise.
23113 * libio/wmemstream.c: Likewise.
23114 * libio/wstrops.c: Likewise.
23115 * libio/__fpurge.c: Likewise.
23116 * libio/__fsetlocking.c: Likewise.
23117 * assert/assert.c: Likewise.
23118 * debug/fgets_chk.c: Likewise.
23119 * debug/fgets_u_chk.c: Likewise.
23120 * debug/fread_chk.c: Likewise.
23121 * debug/fread_u_chk.c: Likewise.
23122 * debug/gets_chk.c: Likewise.
23123 * debug/obprintf_chk.c: Likewise.
23124 * debug/vasprintf_chk.c: Likewise.
23125 * debug/vdprintf_chk.c: Likewise.
23126 * debug/vsnprintf_chk.c: Likewise.
23127 * debug/vsprintf_chk.c: Likewise.
23128 * malloc/mtrace.c: Likewise.
23129 * misc/error.c: Likewise.
23130 * misc/syslog.c: Likewise.
23131 * stdio-common/asprintf.c: Likewise.
23132 * stdio-common/fxprintf.c: Likewise.
23133 * stdio-common/getw.c: Likewise.
23134 * stdio-common/isoc99_fscanf.c: Likewise.
23135 * stdio-common/isoc99_scanf.c: Likewise.
23136 * stdio-common/isoc99_vfscanf.c: Likewise.
23137 * stdio-common/isoc99_vscanf.c: Likewise.
23138 * stdio-common/isoc99_vsscanf.c: Likewise.
23139 * stdio-common/printf-prs.c: Likewise.
23140 * stdio-common/printf_fp.c: Likewise.
23141 * stdio-common/printf_fphex.c: Likewise.
23142 * stdio-common/printf_size.c: Likewise.
23143 * stdio-common/putw.c: Likewise.
23144 * stdio-common/scanf.c: Likewise.
23145 * stdio-common/sprintf.c: Likewise.
23146 * stdio-common/tmpfile.c: Likewise.
23147 * stdio-common/vfprintf.c: Likewise.
23148 * stdio-common/vfscanf.c: Likewise.
23149 * stdlib/strfmon_l.c: Likewise.
23150 * sunrpc/openchild.c: Likewise.
23151 * sunrpc/xdr_stdio.c: Likewise.
23152 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23153 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23154
d6c33fda
RM
231552012-05-24 Roland McGrath <roland@hack.frob.com>
23156
c1487492
RM
23157 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23158
23159 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23160 in the third column, to generate for the shared library an IFUNC
23161 that uses _dl_vdso_vsym.
23162 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23163 * Makeconfig (object-suffixes-noshared): New variable.
23164
23165 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23166 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23167 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23168 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23169
d6c33fda
RM
23170 [BZ #14132]
23171 * include/sys/time.h (__gettimeofday): Remove macro.
23172 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23173 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23174 Remove INTDEF.
23175 (__gettimeofday): Add libc_hidden_def.
23176 (gettimeofday): Add libc_hidden_weak.
23177 * sysdeps/mach/gettimeofday.c: Likewise.
23178 * sysdeps/posix/gettimeofday.c: Likewise.
23179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23180 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23181 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23182 (__gettimeofday_internal): Remove strong_alias.
23183 (__gettimeofday): Add libc_hidden_def.
23184 (gettimeofday): Add libc_hidden_weak.
23185 * sysdeps/unix/syscalls.list (gettimeofday):
23186 Remove __gettimeofday_internal alias.
23187
b5a2bbe6
L
231882012-05-24 Daniel Jacobowitz <drow@false.org>
23189 H.J. Lu <hongjiu.lu@intel.com>
23190
23191 [BZ #12495]
23192 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23193 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23194 (largebin_index_32_big): New.
23195 (largebin_index): Use it for 16-byte alignment.
23196 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23197 correction with front_misalign.
23198
cfba4fda
L
231992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23200
7f907421
L
23201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23203 Likewise.
23204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23205 Likewise.
23206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23207 Likewise.
23208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23209 Likewise.
23210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23211 Likewise.
23212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23213 Likewise.
23214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23215 Likewise.
23216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23217 Likewise.
23218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23219 Likewise.
23220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23221 Likewise.
23222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23223 Likewise.
23224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23225 Likewise.
23226
cfba4fda
L
23227 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23228 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23229
80bad0cc
JM
232302012-05-24 Joseph Myers <joseph@codesourcery.com>
23231
7a25eb06
JM
23232 [BZ #10846]
23233 [BZ #14036]
23234 * math/libm-test.inc (exp_test): Add test from bug 14036.
23235 (pow_test): Add test from bug 10846.
23236
795405f9
JM
23237 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23238 and other flags.
23239 (special_function): Do not include flags in test name.
23240 (parse_args): Likewise.
23241 * sysdeps/i386/fpu/libm-test-ulps: Update.
23242 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23243 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23246
80bad0cc
JM
23247 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23248 exceptions.
23249 * math/libm-test.inc ("Philosophy"): Update comment about
23250 exception testing.
23251 (UNDERFLOW_EXCEPTION): New macro.
23252 (UNDERFLOW_EXCEPTION_OK): Likewise.
23253 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23254 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23255 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23256 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23257 (INVALID_EXCEPTION_OK): Update value.
23258 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23259 (OVERFLOW_EXCEPTION_OK): Likewise.
23260 (IGNORE_ZERO_INF_SIGN): Likewise.
23261 (test_exceptions): Handle underflow exceptions.
23262 (acos_test): Update for underflow exception expectations.
23263 (cexp_test): Likewise.
23264 (clog_test): Likewise.
23265 (clog10_test): Likewise.
23266 (csqrt_test): Likewise.
23267 (ctan_test): Likewise.
23268 (ctanh_test): Likewise.
23269 (exp_test): Likewise.
23270 (exp10_test): Likewise.
23271 (exp2_test): Likewise.
23272 (expm1_test): Likewise.
23273 (fma_test): Likewise.
23274 (j0_test): Likewise.
23275 (jn_test): Likewise.
23276 (nexttoward_test): Likewise.
23277 (pow_test): Likewise.
23278 (scalbn_test): Likewise.
23279 (scalbln_test): Likewise.
23280 (tan_test): Likewise.
23281 (y1_test): Likewise.
23282 * sysdeps/i386/fpu/libm-test-ulps: Update.
23283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23284
9e0e3d0b
DM
232852012-05-23 David S. Miller <davem@davemloft.net>
23286
23287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23288 (__libc_sigaction): Remove unused local variables.
23289
ccd0a08f
L
232902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23291
23292 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23293
62bdf9a6
PE
232942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23295
f8591f80
PE
23296 mktime: avoid signed integer overflow
23297 * time/mktime.c (__mktime_internal): Do not mishandle the case
23298 where diff == INT_MIN.
23299
94c7d826
PE
23300 mktime: simplify computation of average
23301 * time/mktime.c (ranged_convert): Use new time_t_avg function
23302 instead of rolling our own (probably-slower) code.
23303
ce73d683
PE
23304 mktime: do not assume signed right shift propagates sign bit
23305 * time/mktime.c (isdst_differ): New static function.
23306 (__mktime_internal): No need to normalize tm_isdst now.
23307 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23308 tm_isdst values.
23309
72a22e59
PE
23310 mktime: merge another wrapv change from gnulib
23311 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23312 from some compilers.
23313
68605433
PE
23314 mktime: remove incorrect attempt at unusual arithmetics
23315 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23316 The code didn't really work on such machines anyway.
23317 (TYPE_MINIMUM): Assume two's complement.
23318 (twos_complement_arithmetic): Verify that long_int and time_t
23319 are two's complement (or unsigned, in the latter case).
23320
03cf7fe3
PE
23321 mktime: check signed shifts on long_int and time_t, too
23322 * time/mktime.c (SHR): Check that shifts work as desired
23323 on the types long_int and time_t too, as SHR is used on
23324 such types.
23325
f04dfbc2
PE
23326 mktime: do not assume 'long' is wide enough
23327 * time/mktime.c (verify): Move decl up.
23328 (long_int): New type.
23329 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23330 to remove assumption in the code that 'long' is wide enough to
23331 store year values. This assumption is not true on x32 and on
23332 some non-glibc platforms.
23333
62bdf9a6
PE
23334 mktime: merge wrapv change from gnulib
23335 * time/mktime.c (WRAPV): New macro.
23336 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23337 (guess_time_tm, __mktime_internal): Do not assume that signed
23338 integer overflow wraps around; modern compilers generate code
23339 where this assumption is no longer valid.
23340
5e292e4f
L
233412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23342
23343 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23344 Replace "jmp L(pseudo_end)" with "ret".
23345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23346 Likewise.
23347
8caf8c87
AJ
233482012-05-23 Andreas Jaeger <aj@suse.de>
23349
23350 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23351 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23352
1a09dc56
AJ
233532012-05-23 Andreas Jaeger <aj@suse.de>
23354 Maximilian Attems <max@stro.at>
23355
23356 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23357 New macros.
23358
1c87aba0
L
233592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23360
23361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23362 code so that pseudo_end is just ret and the stack pointer is
23363 correct also for static library in error case.
23364
40e45bd5
JM
233652012-05-23 Joseph Myers <joseph@codesourcery.com>
23366
c2670533
JM
23367 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23368 move to syscalls.list.
23369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23373
40e45bd5
JM
23374 * manual/install.texi (Running make install): Do not mention Linux
23375 kernel version for which pt_chown is not needed.
23376 (Linux): Do not mention problems with nscd with 2.0 kernels.
23377 * INSTALL: Regenerated.
23378
be08eda5
AJ
233792012-05-23 Andreas Jaeger <aj@suse.de>
23380
23381 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23382 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23383 macro.
23384 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23386 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23387 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23388 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23389 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23390 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23391 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23393 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23394 * sysdeps/unix/sysv/linux/bits/in.h
23395 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23396
a6a056bb
RM
233972012-05-22 Roland McGrath <roland@hack.frob.com>
23398
23399 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23400 (PREPARE_VERSION): Just use assert instead, it will be elided
23401 under [NDEBUG] anyway.
23402
c9009328
L
234032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23404
23405 * sysdeps/unix/sysv/linux/Makefile: Include
23406 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23407 (sysdep_routines): Remove sysctl.
c9009328
L
23408 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23409 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23410 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23411 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23412 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23413
73338355
AJ
234142012-05-22 Andreas Jaeger <aj@suse.de>
23415
23416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23417 that pseudo_end is just ret and the stack pointer is correct also
23418 for static library in error case.
23419
d44638b0
PP
234202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23421
23422 [BZ #14122]
23423 * nss/nsswitch.c (defconfig_entries): New variable.
23424 (__nss_database_lookup): Don't leak defconfig entries.
23425 (nss_parse_service_list): Don't leak on error paths.
23426 (free_database_entries): New function.
23427 (free_defconfig): New function.
23428 (free_mem): Move common code to free_database_entries.
23429
31a39bd8
L
234302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23431
da0331a8
L
23432 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23433 Add arch_prctl.
23434 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23435
31a39bd8
L
23436 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23437 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23439 New macro.
23440 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23441 (INTERNAL_SYSCALL_TYPES): Likewise.
23442 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23443 (LOAD_REGS_TYPES_[1-6]): Likewise.
23444 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23445 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23446
45470df3
AZ
234472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23448
23449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23450 copysignl for GLIBC_2_0.
23451 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23452 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23454 logbl for GLIBC_2_0.
23455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23456 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23457
98a61bcb
L
234582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23459
a4f6e481
L
23460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23461 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23462
f63d5db6
L
23463 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23464 Use "neg %eax".
23465
98a61bcb
L
23466 * time/mktime.c: Update copyright years.
23467
95770f14
PE
234682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23469
6226efbd
PE
23470 mktime: merge comment-quoting-style change from gnulib
23471 * time/mktime.c: Quote 'like this' in comments.
23472 The GNU coding standards suggest that we no longer quote `like this',
23473 as "`" and "'" are typically rendered asymmetrically nowadays.
23474 The typical gnulib style is to quote 'like this' when quoting
23475 code, and "like this" when quoting English.
23476
b99e4f78
PE
23477 * time/mktime.c (compile-command): Add "-I.".
23478
643e01e6
PE
23479 mktime: merge mktime-internal.h change from gnulib
23480 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23481
2554247d
PE
23482 mktime: merge time_r change from gnulib
23483 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23484
826dd0ab
PE
23485 mktime: merge DEBUG change from gnulib
23486 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23487 case system <time.h> has a #define.
23488
bd83aabe
PE
23489 mktime: merge <sys/types.h> change from gnulib
23490 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23491 since <time.t> is now guaranteed to define time_t.
23492
95770f14
PE
23493 mktime: merge HAVE_CONFIG_H change from gnulib
23494 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23495
5e1a27a9
L
234962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23497
0e44a77e
L
23498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23499 Use "neg %eax".
23500
5e1a27a9
L
23501 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23502 __rlim_t cast.
23503 (struct rusage): Use anonymous union to pad each field to
23504 __syscall_slong_t.
23505
46259bec
DM
235062012-05-21 David S. Miller <davem@davemloft.net>
23507
23508 * Makefules (o-iterator): Remove .s cases.
23509 (compile-command.s): Delete.
23510 (COMPILE.s): Delete.
23511 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23512
59f0c22e
JM
235132012-05-21 Joseph Myers <joseph@codesourcery.com>
23514
23515 * configure.in (libc_cv_predef_stack_protector): Only consider
23516 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23517 * configure: Regenerated.
23518
20c07380
L
235192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23520
bbb3154b
L
23521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23522 New macro. Use R*LP on int and pointer.
23523 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23524 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23525 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23526 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23527
20c07380
L
23528 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23529 [__WORDSIZE_TIME64_COMPAT32] instead of
23530 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23531 (struct utmp): Likewise.
23532 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23533 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23534 Renamed to ...
23535 (__WORDSIZE_TIME64_COMPAT32): This.
23536 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23537 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23538 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23539 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23540 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23541 (__WORDSIZE_TIME64_COMPAT32): New macro.
23542
d8d1017e
AJ
235432012-05-21 Andreas Jaeger <aj@suse.de>
23544
23545 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23546 only if [SHARED]. Add prototype for __wcschr_ia32.
23547
6c7fb145
RM
235482012-05-21 Roland McGrath <roland@hack.frob.com>
23549
23550 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23551 of %rbp unmolested in the jmp_buf while mangling the low bits.
23552 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23553 unmolested high bits of %rbp while demangling the low bits.
23554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23555
66274218
AJ
235562012-05-21 Andreas Jaeger <aj@suse.de>
23557
07c58f8f
AJ
23558 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23559 * sunrpc/svc_simple.c: Use it for registerrpc.
23560 * sunrpc/xcrypt.c: Use it for passwd2des.
23561
66274218
AJ
23562 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23563
61f65140
L
235642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23565
23566 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23567 Don't define if [__SYSCALL_WORDSIZE != 32].
23568 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23569 New macro.
23570
5fefb436
AJ
235712012-05-21 Bruno Haible <bruno@clisp.org>
23572 Andreas Jaeger <aj@suse.de>
23573
23574 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23575 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23576 inptr and inend for must_buffer_ch.
23577 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23578 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23579 * stdio-common/Makefile (tests): Remove bug15.
23580 (bug15-ENV): Remove macro.
23581 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23582 anymore.
23583
d8e272ab
AJ
235842012-05-19 Andreas Jaeger <aj@suse.de>
23585 Roland McGrath <roland@hack.frob.com>
23586
23587 * manual/contrib.texi: Completely rewritten. It contains now an
23588 alphabetical list of contributors and their contributions.
23589
4a56a162
RH
235902012-05-21 Richard Henderson <rth@twiddle.net>
23591
23592 * misc/getauxval.c (__getauxval): Use unsigned long int.
23593 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23594 (getauxval): Use unsigned long int.
23595
d024d23c
L
235962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23597
23598 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23599
cbc00a03
RM
236002012-05-21 Roland McGrath <roland@hack.frob.com>
23601
23602 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23603 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23604 __alignof__ (long double).
23605
478143fa
AZ
236062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23607
23608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23609
c7683a6d
RH
236102012-05-20 Richard Henderson <rth@twiddle.net>
23611
23612 * misc/getauxval.c: New file.
23613 * misc/sys/auxv.h: New file.
23614 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23615 (routines): Add getauxval.
23616 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23618 * elf/dl-sysdep.c (_dl_auxv): Remove.
23619 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23620 * elf/dl-support.c (_dl_auxv): New variable.
23621 (_dl_aux_init): Initialize it.
23622 * manual/startup.texi (Auxiliary Vector): New node.
23623 * sysdeps/generic/bits/hwcap.h: New file.
23624 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23625 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23626 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23627 * sysdeps/sparc/sysdep.h: ... here. Include it.
23628 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23631 Update.
c7683a6d
RH
23632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23640
a6f1845d
AZ
236412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23642
23643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23644
cbcbe830
DM
236452012-05-19 David S. Miller <davem@davemloft.net>
23646
23647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23648
e0b16cc2
JM
236492012-05-19 Joseph Myers <joseph@codesourcery.com>
23650
23651 [BZ #14123]
23652 * math/s_ccosh.c: Include <float.h>
23653 (__ccosh): Avoid internal overflow calculating sinh and cosh
23654 values before multiplying by sin and cos values.
23655 * math/s_ccoshf.c: Likewise.
23656 * math/s_ccoshl.c: Likewise.
23657 * math/s_csin.c: Likewise.
23658 * math/s_csinf.c: Likewise.
23659 * math/s_csinl.c: Likewise.
23660 * math/s_csinh.c: Likewise.
23661 * math/s_csinhf.c: Likewise.
23662 * math/s_csinhl.c: Likewise.
23663 * math/libm-test.inc (ccos_test): Add more tests.
23664 (ccosh_test): Likewise.
23665 (csin_test): Likewise.
23666 (csinh_test): Likewise.
23667 * sysdeps/i386/fpu/libm-test-ulps: Update.
23668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23669
6ad13e08
L
236702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23671
f66f0ce8
L
23672 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23673 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23674
6ad13e08
L
23675 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23676
b1d072a7
JM
236772012-05-19 Joseph Myers <joseph@codesourcery.com>
23678
23679 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23680 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23681 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23682 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23683 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23684 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23685 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23686 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23687 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23688 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23689 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23690 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23691 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23692 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23693 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23694 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23695 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23696 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23697 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23698 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23699 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23700 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23701 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23702 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23703 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23704 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23705 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23706 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23707 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23708 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23709 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23710
9eae47cb
AJ
237112012-05-18 Andreas Jaeger <aj@suse.de>
23712
23713 * csu/.gitignore: Delete.
23714
bb07f69f
L
237152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23716
23717 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23718 (timex): Use __syscall_slong_t.
23719
e6bdb741
AJ
237202012-05-18 Andreas Jaeger <aj@suse.de>
23721 Carlos O'Donell <carlos_odonell@mentor.com>
23722
23723 * manual/install.texi (Configuring and compiling): Update
23724 description about files modified in the source directory.
d6c33fda 23725 * INSTALL: Regenerated.
e6bdb741 23726
1b74487e
L
237272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23728
23729 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23730 value. Use "or" to set return value to -1.
23731 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23732 negate return value.
23733
a88b64b9
TMQMF
237342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23735
23736 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23737 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23738 failure if the compiler has Graphite support disabled.
23739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23740 Likewise.
23741 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23742 CFLAGS-memmove.c): Likewise.
23743 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23744 Likewise.
23745
3707636e
L
237462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23747
610b8622
L
23748 * sysdeps/x86_64/x32/_itoa.h: New file.
23749
7cd195df
L
23750 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23751 getdents system call only if kernel and user dirents have the
23752 same d_ino and d_off.
23753
94b07d20
L
23754 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23755 LLONG_MAX != LONG_MAX.
23756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23757 (_fitoa_word): Likewise.
23758
18298070
L
23759 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23760 years.
23761 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23762 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23763 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23764
553c7ea4
L
23765 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23766 include <bits/wordsize.h>. Check __x86_64__ instead of
23767 __WORDSIZE.
23768 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23769 if __x86_64__ is defined. Use anonymous union on fpstate.
23770
3707636e
L
23771 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23772 anonymous union.
23773
b53ef01a
AS
237742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23775
37fb1dc0
AS
23776 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23777 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23778 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23779 Refer to _rtld_local_ro instead of _rtld_global_ro.
23780 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23781 Likewise.
23782 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23783 Likewise.
23784 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23785 Likewise.
23786 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23787 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23788 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23789
b53ef01a
AS
23790 * sysdeps/powerpc/powerpc32/dl-machine.c
23791 (__elf_machine_runtime_setup) [PROF]: Don't reference
23792 _dl_prof_resolve.
23793
7a185db2
AJ
237942012-05-18 Andreas Jaeger <aj@suse.de>
23795
23796 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23797 function only available for GCCs before 3.4 since GCC 3.4
23798 introduced a builtin.
23799 (lrint): Likewise.
23800 (llrintf): Likewise.
23801 (llrint): Likewise.
23802 (fmaxf): Likewise.
23803 (fmax): Likewise.
23804 (fminf): Likewise.
23805 (fmin): Likewise.
23806 (rint): Likewise.
23807 (rintf): Likewise.
23808 (nearbyint): Likewise.
23809 (nearbyintf): Likewise.
23810 (ceil): Likewise.
23811 (ceilf): Likewise.
23812 (floor): Likewise.
23813 (floorf): Likewise.
23814
3e5aef87
L
238152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23816
428bd707
L
23817 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23818 on both fields and cast pointer to __syscall_ulong_t.
23819
3e5aef87
L
23820 * bits/types.h (__fsword_t): New type.
23821 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23822 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23824 (__FSWORD_T_TYPE): Likewise.
23825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23826 (__FSWORD_T_TYPE): Likewise.
23827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23828 (__FSWORD_T_TYPE): Likewise.
23829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23830 (__FSWORD_T_TYPE): Likewise.
23831 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23832 __SWORD_TYPE with __fsword_t.
23833 (statfs64): Likewise.
23834
1ba7c3dc
DM
238352012-05-17 David S. Miller <davem@davemloft.net>
23836
23837 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23838
59910343
AJ
238392012-05-17 Andreas Jaeger <aj@suse.de>
23840
23841 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23842 warning.
23843
2e4c1e9e
L
238442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23845
23846 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23847
de7f5ce7
AJ
238482012-05-17 Andreas Jaeger <aj@suse.de>
23849
23850 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23851 when it is used.
23852
286abc3d
CM
238532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23854
23855 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23856
477cc68e
L
238572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23858
23859 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23860 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23861
1a0994f5
CD
238622012-05-17 Andreas Jaeger <aj@suse.de>
23863 Carlos O'Donell <carlos_odonell@mentor.com>
23864
23865 [BZ #14059]
23866 * sysdeps/x86_64/multiarch/init-arch.h
23867 (bit_YMM_Usable): Rename to...
23868 (bit_AVX_Usable): ... this.
23869 (bit_FMA4_Usable): New macro.
23870 (bit_XMM_state): New macro.
23871 (bit_YMM_state): New macro.
23872 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23873 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23874 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23875 (CPUID_OSXSAVE): New macro.
23876 (CPUID_AVX): New macro.
23877 (CPUID_FMA4): New macro.
23878 (index_YMM_Usable): Rename to...
23879 (index_AVX_Usable): ... this.
23880 (HAS_AVX): Use HAS_ARCH_FEATURE.
23881 (HAS_FMA4): Likewise.
23882 (HAS_YMM_USABLE): Remove.
23883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23884 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23885 are present.
23886 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23887 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23888 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23889 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23890 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23891
0af797de
CM
238922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23893
23894 * math/libm-test.c: Support platforms without multiple rounding modes.
23895 * math/bug-nextafter.c: Support platforms without FP exceptions.
23896 * math/bug-nexttoward.c: Likewise.
23897 * math/test-fenv.c: Likewise.
23898 * math/test-misc.c: Likewise.
23899 * stdlib/bug-getcontext.c: Likewise.
23900
e39745ff
AJ
239012012-05-17 Andreas Jaeger <aj@suse.de>
23902
23903 * manual/examples/search.c (critter_cmp): Change signature to
23904 avoid warnings.
23905 * manual/string.texi (Collation Functions): Likewise.
23906
48970aba
L
239072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23908
23909 * bits/types.h: Fold copyright years.
23910 * bits/typesizes.h: Likewise.
23911 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23915 * time/time.h: Likewise.
23916
bedee953
PP
239172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23918
23919 [BZ #208]
23920 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23921 in instead of returning them. Return void.
23922 (__libc_mallinfo): Accumulate over all arenas.
23923 (__malloc_stats): Adjust for change in int_mallinfo interface.
23924
61653dfb
RM
239252012-05-16 Roland McGrath <roland@hack.frob.com>
23926
30b99d79
RM
23927 [BZ #10375]
23928 * configure.in (NM): Add AC_CHECK_TOOL for it.
23929 (libc_extra_cflags): New substituted variable.
23930 Check for -fstack-protector being used implicitly.
23931 * configure: Regenerated.
23932 * config.make.in (config-extra-cflags): New variable,
23933 gets @libc_extra_cflags@.
23934 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23935
61653dfb
RM
23936 [BZ #10375]
23937 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23938 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23939 * configure: Regenerated.
23940 * config.make.in (CPPUNDEFS): New substituted variable.
23941 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23942 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23943 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23944
661768bb
L
239452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23946
23947 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23948 (mq_attr): Use __syscall_slong_t.
23949
d4261567
L
239502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23951
23952 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23953 Check __x86_64__ instead of __WORDSIZE.
23954 (_STAT_VER_LINUX): Likewise.
23955 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23956 __syscall_ulong_t and __syscall_slong_t.
23957 (stat64): Likewise.
23958
cf3ff365
L
239592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23960
23961 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23962
76cf3e4d
L
239632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23964
23965 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23966
a637753a
L
239672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23968
23969 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23970 __syscall_ulong_t.
23971
d5e05119
L
23972 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23973 include <bits/wordsize.h>. Check __x86_64__ instead of
23974 __WORDSIZE.
23975 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23976 defined.
23977 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23978
f62ee380
L
23979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23980 include <bits/wordsize.h>. Check __x86_64__ instead of
23981 __WORDSIZE.
23982 (user_regs_struct): Use "__extension__ unsigned long long"
23983 instead of "unsigned long" if __x86_64__ is defined.
23984 (user): Likewise. Pad after pointer field if __ILP32__ is
23985 defined.
23986
4e124ced
JM
239872012-05-16 Joseph Myers <joseph@codesourcery.com>
23988
6a3951a0
JM
23989 * configure.in (makeinfo): Require version 4.5 or later. Allow
23990 versions 5 to 9.
23991 * configure: Regenerated.
23992 * manual/install.texi (texinfo): Increase version requirement to
23993 4.5 or later.
23994 * INSTALL: Regenerated.
23995
4e124ced
JM
23996 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23997
953ca31a
L
239982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23999
24000 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24001
617aca05
L
24002 * sysdeps/x86_64/x32/ffs.c: New file.
24003
5762f7ae
L
24004 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24005 __syscall_ulong_t.
24006 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24007 defined. Use __syscall_ulong_t.
24008 (shminfo): Use __syscall_ulong_t.
24009 (shm_info): Likewise.
24010
a26b6856
L
24011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24012 __syscall_ulong_t.
24013
cb2b9ef7
L
24014 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24015 <bits/wordsize.h>.
24016 (msgqnum_t): Use __syscall_ulong_t.
24017 (msglen_t): Likewise.
24018 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24019 __syscall_ulong_t.
24020
34683bb0
L
24021 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24022 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24023
84a68786
L
24024 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24025
48baa5f1
L
24026 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24027 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24028
180be88b
L
24029 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24030 __syscall_slong_t.
24031
5e90c8ad
L
24032 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24033 include <bits/wordsize.h>. Check __x86_64__ instead of
24034 __WORDSIZE.
24035
23dfb58b
L
24036 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24037 "unsigned long long int" if __x86_64__ is defined.
24038 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24039
ce5d54b0
L
24040 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24041 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24042 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24043
13dc9eac
L
24044 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24045 <stdint.h>.
24046 (GET_PC): Cast to uintptr_t first.
24047 (GET_FRAME): Likewise.
24048 (GET_STACK): Likewise.
24049
a7895d15
L
24050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24051 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24056 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24057 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24058 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24060 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24062 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24064 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24066 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24067 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24068 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24069 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24070 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24072 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24074 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24076 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24079
656416c9
AS
240802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24081
5bd66283
AS
24082 * Makerules (+depfiles): Also collect depfiles from .oS in
24083 $(extra-objs).
24084 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24085 .oS, $(libnldbl-routines)).
24086
656416c9
AS
24087 * Makerules (native-compile-mkdep-flags): Define.
24088 * sunrpc/Makefile (extra-objs): Add $(addprefix
24089 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24090 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24091 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24092 calling $(make-target-directory).
24093
a46f2169
L
240942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24095
24096 * bits/types.h (__snseconds_t): Removed.
24097 * time/time.h (struct timespec): Replace __snseconds_t with
24098 __syscall_slong_t.
24099 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24100 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24101 Likewise.
24102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24103 (__SNSECONDS_T_TYPE): Likewise.
24104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24105 (__SNSECONDS_T_TYPE): Likewise.
24106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24107 (__SNSECONDS_T_TYPE): Likewise.
24108
6af6528b
L
241092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24110
24111 * sysdeps/mach/hurd/bits/typesizes.h
24112 (__SYSCALL_SLONG_TYPE): New macro.
24113 (__SYSCALL_ULONG_TYPE): Likewise.
24114
de986b56
L
241152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24116
24117 * bits/types.h (__syscall_slong_t): New type.
24118 (__syscall_ulong_t): Likewise.
24119
24120 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24121 (__SYSCALL_ULONG_TYPE): Likewise.
24122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24123 (__SYSCALL_SLONG_TYPE): Likewise.
24124 (__SYSCALL_ULONG_TYPE): Likewise.
24125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24126 (__SYSCALL_SLONG_TYPE): Likewise.
24127 (__SYSCALL_ULONG_TYPE): Likewise.
24128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24129 (__SYSCALL_SLONG_TYPE): Likewise.
24130 (__SYSCALL_ULONG_TYPE): Likewise.
24131
85736dc7
L
241322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24133
24134 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24135 Add sigaltstack-offsets.sym.
24136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24137 <sigaltstack-offsets.h>.
24138 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24139 longjmp_msg pointer.
24140 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24141 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24142 signal stack.
24143 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24144
cc03b296
JM
241452012-05-15 Joseph Myers <joseph@codesourcery.com>
24146
a9538892
JM
24147 * elf/stackguard-macros.h: Remove file.
24148 * sysdeps/generic/stackguard-macros.h: New file.
24149 * sysdeps/i386/stackguard-macros.h: Likewise.
24150 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24151 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24152 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24153 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24154 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24155 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24156 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24157 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24158 <elf/stackguard-macros.h>.
24159
cc03b296
JM
24160 [BZ #14109]
24161 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24162 __aligned__ in attribute.
24163 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24164 (gregset_t): Likewise.
24165
93171016
L
241662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24167
24168 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24169 * sysdeps/x86_64/64/Implies-after: Here. New file.
24170 * sysdeps/x86_64/x32/Implies-after: New file.
24171
d86813a0
L
241722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24173
24174 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24175 and access return value for _dl_profile_fixup. Use R10_LP to
24176 load frame size.
24177
2953ec75
L
241782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24179
24180 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24181
3b550e9e
L
241822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24183
24184 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24185 * sysdeps/x86_64/x32/sysdep.h: New file.
24186
eda41706
L
241872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24188
24189 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24190 * sysdeps/x86_64/setjmp.S: Likewise.
24191
9ea01d93
AZ
241922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24193
24194 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24196 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24197 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24198 remove unused global constant.
24199
02a91938
CM
242002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24201
24202 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24203 include of <not-cancel.h>.
24204
6540185f
RM
242052012-05-15 Roland McGrath <roland@hack.frob.com>
24206
24207 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24208
509072a0
AJ
242092012-05-15 Jeff Law <law@redhat.com>
24210 Andreas Jaeger <aj@suse.de>
24211
24212 [BZ #13594]
24213 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24214 out from...
24215 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24216 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24217 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24218 code changing __hst_map_handle.map.
24219
ba75122d
RM
242202012-05-15 Roland McGrath <roland@hack.frob.com>
24221
24222 * configure.in (sysnames): Look for Implies-before and Implies-after
24223 files.
24224 * configure: Regenerated.
24225
890d8bd8
L
242262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24227
24228 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24229 8-byte data alignment with LP_SIZE alignment.
24230
f6ee6623
L
242312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24232
24233 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24234 into R10_LP.
24235
ea2626f6
L
242362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24237
24238 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24239
085f715e
L
242402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24241
24242 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24243 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24244 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24245 Likewise.
24246 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24247
be8498fc
L
242482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24249
24250 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24251 (stackinfo_sub_sp): Likewise.
24252
70bc83b9
L
242532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24254
24255 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24256 RAX_LP.
24257
9bc0b730
L
242582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24259
24260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24261 into R*_LP.
24262
6d2850e7
L
242632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24264
24265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24266 sizes into R*_LP.
24267
3cb84561
L
242682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24269
24270 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24271
54e2ed81
L
242722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24273
24274 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24275 into R11_LP and load __x86_64_shared_cache_size_half into
24276 R8_LP.
24277
8a17f349
L
242782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24279
24280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24281 R8_LP.
24282
777b1eea
AZ
242832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24284
24285 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24286 logb for POWER7.
24287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24288 logbf for POWER7.
24289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24290 logbl for POWER7.
24291 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24292 powerpc32/power7/fpu/s_logb.c via #include.
24293 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24294 powerpc32/power7/fpu/s_logbf.c via #include.
24295 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24296 powerpc32/power7/fpu/s_logbl.c via #include.
24297
d20d4ac2
JM
242982012-05-15 Joseph Myers <joseph@codesourcery.com>
24299
24300 * README.libm: Remove file.
24301
6cdef1ab
L
243022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24303
24304 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24305 count for x32. Use R*_LP and omit operand-size suffix.
24306
0b254d8f
L
243072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24308
24309 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24310 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24311 * sysdeps/x86_64/x32/shlib-versions: New file.
24312
ceb809dc
RM
243132012-05-14 Roland McGrath <roland@hack.frob.com>
24314
24315 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24316 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24317 Use _dl_fatal_printf instead.
24318
37f1abd4
JM
243192012-05-14 Joseph Myers <joseph@codesourcery.com>
24320
24321 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24322 set if not set by the user. Do not allow for being unset.
24323 * sysdeps/unix/sysv/linux/configure: Regenerated.
24324
11de3a33
L
243252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24326
24327 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24328 the `q' suffix from lea and replace .quad with ASM_ADDR.
24329
e02f153a
L
243302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24331
24332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24333 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24334 instead of $17.
24335 (PTR_DEMANGLE): Likewise.
24336
520ae0fd
L
243372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24338
24339 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24340 (LP_OP): Likewise.
24341 (ASM_ADDR): Likewise.
24342 (RAX_LP): Likewise.
24343 (RBP_LP): Likewise.
24344 (RBX_LP): Likewise.
24345 (RCX_LP): Likewise.
24346 (RDI_LP): Likewise.
24347 (RSI_LP): Likewise.
24348 (RSP_LP): Likewise.
24349 (R8_LP): Likewise.
24350 (R9_LP): Likewise.
24351 (R10_LP): Likewise.
24352 (R10_LP): Likewise.
24353 (R11_LP): Likewise.
24354 (R12_LP): Likewise.
24355 (R13_LP): Likewise.
24356 (R14_LP): Likewise.
24357 (R15_LP): Likewise.
24358
b985be81
L
243592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24360
24361 * sysdeps/x86_64/x32/dl-machine.h: New file.
24362
6a4888ff
AJ
243632012-05-14 Andreas Jaeger <aj@suse.de>
24364
24365 * manual/Makefile (subdir): Remove export of subdir.
24366 (all): Remove target.
24367 (.PHONY): Remove all from list.
24368 (mkinstalldirs): Remove.
24369 (.PHONY): Remove installdirs from list.
24370 ($(inst_infodir)/libc.info): Use make-target-directory.
24371 (installdirs): Remove.
24372 (subdir_%): Remove.
24373 (glibc-targets): Remove.
24374 (lib): Remove.
24375 (stubs): Remove.
24376 ($(objpfx)stubs ../po/manual.pot): Remove.
24377 ($(objpfx)stamp%): Remove.
24378 (make-target-directory): Remove.
24379 (subdir_install): Remove.
24380 (routines): Remove.
24381 (aux): Remove.
24382 (sources): Remove.
24383 (objects): Remove.
24384 (headers): Remove.
24385
24386 [BZ #13750]
24387 * manual/.gitignore: Remove, it's not needed anymore.
24388 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24389 all files in it.
24390 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24391 directory.
24392 (texis): Renamed to $(objpfx)texis.
24393 (texis-path): New, contains path to generated files.
24394 (chapters.%): Use texis-path for complete path, add extra argument
24395 libc-texinfo.sh.
24396 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24397 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24398 (summary,texi, stamp-summary): Use complete path of
24399 files. Generate files in build dir.
24400 (dir-add.texi): Build in build dir.
24401 (libm-err.texi,stamp-libm-err): Likewise.
24402 (version.texi, stamp-version): Likewise.
24403 (.%c.texi): Likewise.
24404 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24405 (mostlyclean): Remove target.
24406 (realclean): Remove target.
24407 (generated): Add new variable with contents from mostlyclean and
24408 realclean, remove entries duplicated in common-mostlyclean, add
24409 stamp-libm-err and stamp-version.
24410 (generated-dirs): Add libc directory.
24411 ($(inst_infodir)/libc.info): Install files from build dir.
24412
24413 * manual/install.texi (Configuring and compiling): Adjust since
24414 the info files are not part of the tar ball anymore.
24415
7ac77294
AJ
244162012-05-14 Andreas Jaeger <aj@suse.de>
24417
24418 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24419 variable.
24420
ffb7875d
JM
244212012-05-14 Joseph Myers <joseph@codesourcery.com>
24422
24423 [BZ #13717]
24424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24425 to 2.2.0 where earlier.
24426 * sysdeps/unix/sysv/linux/configure: Regenerated.
24427 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24428 Remove conditional code.
24429 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24430 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24431 Remove conditional code.
24432 [!__NR_lchown]: Likewise.
24433 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24434 [__NR_lchown]: Likewise.
24435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24436 comment referencing __ASSUME_LCHOWN_SYSCALL.
24437 * sysdeps/unix/sysv/linux/i386/sigaction.c
24438 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24439 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24440 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24441 Remove conditional code.
24442 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24443 (__protocol_available): Remove #if 0 code.
24444 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24445 conditional code.
24446 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24447 * sysdeps/unix/sysv/linux/kernel-features.h
24448 (__ASSUME_GETCWD_SYSCALL): Don't define.
24449 (__ASSUME_REALTIME_SIGNALS): Likewise.
24450 (__ASSUME_PREAD_SYSCALL): Likewise.
24451 (__ASSUME_PWRITE_SYSCALL): Likewise.
24452 (__ASSUME_POLL_SYSCALL): Likewise.
24453 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24454 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24455 non-SPARC.
24456 (__ASSUME_SIOCGIFNAME): Don't define.
24457 (__ASSUME_MSG_NOSIGNAL): Likewise.
24458 (__ASSUME_SENDFILE): Define unconditionally.
24459 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24460 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24461 conditional code.
24462 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24463 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24464 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24465 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24466 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24467 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24468 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24493 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24494 Remove conditional code.
24495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24496 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24497 Remove conditional code.
24498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24499 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24500 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24501 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24502 Remove conditional code.
24503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24504 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24505 Remove conditional code.
24506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24507 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24508 Remove conditional code.
24509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24510 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24511 Remove conditional code.
24512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24513 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24514 Remove conditional code.
24515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24516 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24519 * sysdeps/unix/sysv/linux/sigaction.c
24520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24522 * sysdeps/unix/sysv/linux/sigpending.c
24523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24525 * sysdeps/unix/sysv/linux/sigprocmask.c
24526 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24527 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24528 * sysdeps/unix/sysv/linux/sigsuspend.c
24529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24531 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24532 (__libc_missing_rt_sigs): Remove.
24533 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24534 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24535 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24536 Remove conditional code.
24537 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24538 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24539 return 1.
24540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24541 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24542 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24543 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24544
1bfb7291
AJ
245452012-05-14 Andreas Jaeger <aj@suse.de>
24546
caae5a81
AJ
24547 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24548 it's not used in glibc.
24549 (__coshm1): Likewise.
24550 (__acosh1p): Likewise.
24551 (__sgn): Likewise.
24552
1bfb7291
AJ
24553 * manual/string.texi (Copying and Concatenation): Add missing
24554 variable in concat example.
24555 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24556
c044d724
L
245572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24558
144c5467 24559 [BZ #14103]
c044d724
L
24560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24561 __builtin_clzl with __builtin_clzll.
24562
2523c62b
L
245632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24564
24565 [BZ #14104]
24566 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24567 libc_freeres_ptr.
24568
d7bb4c42
LD
245692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24570
24571 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24572 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24573 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24574 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24575
9dc4e1fb
MF
245762012-05-14 Mike Frysinger <vapier@gentoo.org>
24577
24578 * NEWS: Update ia64 info.
24579
c7df0112
AS
245802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24581
24582 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24583 used as bcopy.
24584
dc70356c
TS
245852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24586
24587 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24588 * sysdeps/unix/syscalls.list (dup3): Likewise.
24589 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24590 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24591
9fb1a21f
L
245922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24593
24594 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24595 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24596
4822a2a5
L
245972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24598
24599 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24600 thread pointer.
24601 (TLS_IE): Use mov/add instead of movq/addq to load thread
24602 pointer.
24603 (TLS_GD_PREFIX): New.
24604 (TLS_GD): Use it.
24605
842b81d6
DM
246062012-05-11 David S. Miller <davem@davemloft.net>
24607
24608 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24609 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24610 (_FPU_SETCW): Likewise.
24611
1cf463cd
L
246122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24613
24614 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24615 is 32-byte aligned.
24616
60cc4a18
AS
246172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24618
24619 [BZ #11837]
24620 * iconvdata/gb18030.c: Update tables.
24621 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24622 characters specially.
24623 (BODY for TO_LOOP): Add encoding of missing ranges.
24624
febb44a4
TS
246252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24626
24627 [BZ #13673]
24628 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24629 * sysdeps/mach/hurd/dup3.c: Likewise.
24630 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24631 * sysdeps/powerpc/memmove.c:: Likewise.
24632
0a10fb9e
L
246332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24634
24635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24636 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24637
df8a552f
L
246382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24639
24640 * elf/elf.h (R_X86_64_RELATIVE64): New.
24641 (R_X86_64_NUM): Updated.
24642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24643 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24644 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24645 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24646 tst-quad1pie tst-quad2pie
24647 (modules-names): Add tst-quadmod1 tst-quadmod2.
24648 ($(objpfx)tst-quad1): New dependency.
24649 ($(objpfx)tst-quad2): Likewise.
24650 ($(objpfx)tst-quad1pie): Likewise.
24651 ($(objpfx)tst-quad2pie): Likewise.
24652 * sysdeps/x86_64/tst-quad1.c: New file.
24653 * sysdeps/x86_64/tst-quad1pie.c: New file.
24654 * sysdeps/x86_64/tst-quad2.c: Likewise.
24655 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24656 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24657 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24658 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24659 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24660
f34d6f84
ST
246612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24662
f42d41d1
ST
24663 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24664 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24665 * streams/stropts.h (t_scalar_t): Define type.
24666
3c3571fc
ST
24667 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24668 (_PATH_PRESERVE): Set to "/var/lib".
24669 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24670
61f06bd3
ST
24671 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24672 instead of int.
24673
918d4d71
ST
24674 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24675 if __dir_mkfile succeeded.
24676
f34d6f84
ST
24677 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24678 checking for _hurd_dtablesize. Unlock it right after having
24679 finished _hurd_dtable allocation.
24680
10589b4a
TS
246812012-05-10 Thomas Schwinge <thomas@schwinge.name>
24682
674cdbc7
TS
24683 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24684 * sysdeps/mach/hurd/configure: Regenerated.
24685 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24686 special-casing to...
24687 * sysdeps/gnu/configure.in: ... this new file.
24688 * sysdeps/unix/sysv/linux/configure: Regenerated.
24689 * sysdeps/gnu/configure: New generated file.
24690
8e41b99f
TS
24691 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24692 for Linux: use nsec instead of usec, as well as:
24693 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24694 members of type struct timespec.
24695 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24696 New macros.
24697 (struct stat64): Likewise.
24698 (_STATBUF_ST_NSEC): New macro.
24699 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24700
10589b4a
TS
24701 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24702 __strtoul_internal rather than strtoul.
24703
63643c85
PT
247042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24705
24706 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24707 and reject them.
24708
3faebe6a
ST
247092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24710
24711 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24712 which preserves existing values.
24713 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24714
c6474b07
PT
247152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24716
24717 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24718 TIMEOUT values. Return EINVAL for NFDS values either negative or
24719 greater than FD_SETSIZE.
24720
1043890b
ST
247212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24722
24723 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24724 allocated, call __vm_protect to finish enabling the existing space, and
24725 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24726 allocate the remainder.
24727
37ed8b9b
PT
247282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24729
24730 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24731 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24732
db653660
ST
247332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24734
37ed8b9b
PT
24735 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24736 sysdeps/mach/hurd/readlink.c.
b29d4053 24737
db653660
ST
24738 * posix/tst-sysconf.c (posix_options): Only use
24739 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24740 _POSIX_SYNCHRONIZED_IO when they are defined
24741 * sysdeps/mach/hurd/bits/posix_opt.h:
24742 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24743 (_XOPEN_REALTIME): Undefine macro.
24744 (_XOPEN_REALTIME_THREADS): Undefine macro.
24745 (_XOPEN_SHM): Undefine macro.
24746 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24747 macro to -1.
24748 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24749 macro to -1.
24750 (_POSIX_ASYNC_IO): Undefine macro.
24751 (_POSIX_PRIORITIZED_IO): Undefine macro.
24752 (_POSIX_SPIN_LOCKS): Define macro to -1.
24753
ee16e894
ST
24754 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24755 SA_NODEFER, SA_RESETHAND.
24756 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24757 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24758 F_DUPFD_CLOEXEC.
24759
6103ae3b
TS
247602012-05-10 Thomas Schwinge <thomas@schwinge.name>
24761
24762 * elf/Makefile (pldd-modules): Define unconditionally.
24763
80b4e5f3
TS
247642012-05-10 Thomas Schwinge <thomas@schwinge.name>
24765
24766 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24767
edadcbd6
ST
247682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24769
24770 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24771 Return ENOENT when name is empty.
24772 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24773
80694780
TS
247742012-05-10 Thomas Schwinge <thomas@schwinge.name>
24775
1792c087
TS
24776 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24777
80694780
TS
24778 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24779
6b645f0d
ST
247802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24781
80694780
TS
24782 Fix mlock in all cases except non-readable pages.
24783 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24784 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24785
6b645f0d
ST
24786 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24787 (__mkdir): When path is `/', just fail with EEXIST.
24788 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24789
e468f8a3
TS
247902012-05-10 Thomas Schwinge <thomas@schwinge.name>
24791
24792 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24793 <sys/uio.h> (for writev).
24794 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24795 and <sys/param.h> (for MIN).
24796
a4186cff
PT
247972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24798
24799 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24800 REQUESTED_TIME. Properly set the remaining time and return EINTR
24801 if interrupted.
24802
510bbf14
TS
248032012-05-10 Thomas Schwinge <thomas@schwinge.name>
24804
24805 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24806 Depend on against $(link-rpcuserlibs).
24807
5d5722e8
ST
248082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24809
a4186cff
PT
24810 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24811 (__libc_stack_end): Do not use attribute_relro.
24812 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24813 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24814 to libthread-provided value.
a4186cff
PT
24815 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24816 attribute_relro.
5d5722e8 24817
37233df9
TS
248182012-05-10 Thomas Schwinge <thomas@schwinge.name>
24819
be971a2b
TS
24820 [BZ #3748]
24821 * bits/libc-lock.h (__libc_once_get): New macro.
24822 * sysdeps/mach/bits/libc-lock.h: Likewise.
24823 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24825 instead of using implementation details.
24826
37233df9
TS
24827 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24828 * libio/freopen.c: Likewise.
24829 * libio/freopen64.c: Likewise.
24830 * misc/syslog.c: Likewise.
24831 * nscd/connections.c: Likewise.
24832 * nscd/netgroupcache.c: Likewise.
24833 * sysdeps/posix/getcwd.c: Likewise.
24834
38de94a5
RM
248352012-05-10 Roland McGrath <roland@hack.frob.com>
24836
24837 * math/w_ilogbf.c: Add #include <limits.h>.
24838
67530489
ST
248392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24840
a4186cff 24841 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24842 path instead of returning without unlocking.
24843
67530489
ST
24844 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24845 immediate-write ioctls.
24846 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24847
5aa3a74a
TS
248482012-05-10 Thomas Schwinge <thomas@schwinge.name>
24849
18bad2ae
TS
24850 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24851 __builtin_frame_address instead of making assumptions about the
24852 location of the return address relative to DATA. Force early load of
24853 the return address.
24854 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24855 __builtin_frame_address.
24856
5aa3a74a
TS
24857 dup3 for GNU Hurd.
24858 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24859 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24860 implement dup3 and do some further code clean-ups.
24861 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24862 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24863
ecd0de9a
ST
248642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24865
cd9fa985
ST
24866 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24867
a4186cff
PT
24868 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24869 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24870 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24871 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24872 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24873 d->port.lock.
802ca5a5 24874
a4186cff
PT
24875 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24876 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24877 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24878
bcf55240
TS
248792012-05-10 Thomas Schwinge <thomas@schwinge.name>
24880
6960eb42
TS
24881 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24882 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24883 definitions.
24884
eb43375f
TS
24885 accept4 for GNU Hurd.
24886 * include/sys/socket.h (__libc_accept4): New prototype.
24887 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24888 to implement __libc_accept4.
24889 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24890 __libc_accept4.
24891 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24892
bcf55240
TS
24893 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24894 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24895 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24896 signal-defines.sym.
24897
6178c55b
ST
248982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24899
a4186cff 24900 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24901
6f080c2f
TS
249022012-05-10 Thomas Schwinge <thomas@schwinge.name>
24903
24904 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24905 assertion on O_CLOEXEC flag.
24906 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24907 * hurd/intern-fd.c: Likewise.
24908 * hurd/port2fd.c: Likewise.
24909
bcfe3a54
ST
249102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24911
24912 [BZ #3906]
24913 * bits/in.h (IPV6_PKTINFO): Define new macro.
24914 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24915
89c9aa49
AZ
249162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24917
24918 [BZ #13954]
24919 [BZ #13955]
24920 [BZ #13956]
24921 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24923 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24924 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24926 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24927 * math/libm-test.inc (logb_test) : Additional logb tests.
24928
021db4be
AJ
249292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24930 Andreas Jaeger <aj@suse.de>
24931
24932 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24933 * configure: Regenerated.
24934 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24935 * config.make.in (link-obsolete-rpc): New substituted variable.
24936 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24937 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24938 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24939 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24940 so that libc.a contains the symbols.
24941 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24942 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24943 * sunrpc/auth_none.c: Likewise.
24944 * sunrpc/auth_unix.c: Likewise.
24945 * sunrpc/authdes_prot.c: Likewise.
24946 * sunrpc/authuxprot.c: Likewise.
24947 * sunrpc/clnt_gen.c: Likewise.
24948 * sunrpc/clnt_perr.c: Likewise.
24949 * sunrpc/clnt_raw.c: Likewise.
24950 * sunrpc/clnt_simp.c: Likewise.
24951 * sunrpc/clnt_tcp.c: Likewise.
24952 * sunrpc/clnt_udp.c: Likewise.
24953 * sunrpc/clnt_unix.c: Likewise.
24954 * sunrpc/des_crypt.c: Likewise.
24955 * sunrpc/des_soft.c: Likewise.
24956 * sunrpc/get_myaddr.c: Likewise.
24957 * sunrpc/key_call.c: Likewise.
24958 * sunrpc/key_prot.c: Likewise.
24959 * sunrpc/netname.c: Likewise.
24960 * sunrpc/pm_getmaps.c: Likewise.
24961 * sunrpc/pm_getport.c: Likewise.
24962 * sunrpc/pmap_clnt.c: Likewise.
24963 * sunrpc/pmap_prot.c: Likewise.
24964 * sunrpc/pmap_prot2.c: Likewise.
24965 * sunrpc/pmap_rmt.c: Likewise.
24966 * sunrpc/publickey.c: Likewise.
24967 * sunrpc/rpc_cmsg.c: Likewise.
24968 * sunrpc/rpc_common.c: Likewise.
24969 * sunrpc/rpc_dtable.c: Likewise.
24970 * sunrpc/rpc_prot.c: Likewise.
24971 * sunrpc/rpc_thread.c: Likewise.
24972 * sunrpc/rtime.c: Likewise.
24973 * sunrpc/svc.c: Likewise.
24974 * sunrpc/svc_auth.c: Likewise.
24975 * sunrpc/svc_raw.c: Likewise.
24976 * sunrpc/svc_run.c: Likewise.
24977 * sunrpc/svc_tcp.c: Likewise.
24978 * sunrpc/svc_udp.c: Likewise.
24979 * sunrpc/svc_unix.c: Likewise.
24980 * sunrpc/svcauth_des.c: Likewise.
24981 * sunrpc/xcrypt.c: Likewise.
24982 * sunrpc/xdr.c: Likewise.
24983 * sunrpc/xdr_array.c: Likewise.
24984 * sunrpc/xdr_float.c: Likewise.
24985 * sunrpc/xdr_intXX_t.c: Likewise.
24986 * sunrpc/xdr_mem.c: Likewise.
24987 * sunrpc/xdr_rec.c: Likewise.
24988 * sunrpc/xdr_ref.c: Likewise.
24989 * sunrpc/xdr_sizeof.c: Likewise.
24990 * sunrpc/xdr_stdio.c: Likewise.
24991
b5c086a2
RM
249922012-05-10 Roland McGrath <roland@hack.frob.com>
24993
24994 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24995 change. Update copyright years.
24996
6d74dd09
JM
249972012-05-10 Joseph Myers <joseph@codesourcery.com>
24998
24999 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25000
28e72501
MK
250012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25002 Joseph Myers <joseph@codesourcery.com>
25003 Paul Pluzhnikov <ppluzhnikov@google.com>
25004
25005 [BZ #14012]
25006 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25007 requiring rpcgen.
25008 [cross-compiling] (extra-libs): Likewise.
25009 [cross-compiling] (extra-libs-others): Likewise.
25010 [cross-compiling] (librpcsvc-routines): Likewise.
25011 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25012 [cross-compiling] (omit-deps): Likewise.
25013 (sunrpc-CPPFLAGS): New variable.
25014 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25015 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25016 (cross-rpcgen-objs): New variable.
25017 (extra-objs): Append $(cross-rpcgen-objs).
25018 ($(cross-rpcgen-objs)): New rule.
25019 ($(objpfx)cross-rpcgen): Likewise.
25020 (rpcgen-cmd): Define to use $(built-program-file). Expand
25021 comment.
25022 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25023 ($(objpfx)x%.stmp): Likewise.
25024 * sunrpc/proto.h [IS_IN_build] (_): Define.
25025 [IS_IN_build] (_libc_intl_domainname): Likewise.
25026
c8c59454
L
250272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25028
25029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25030 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25031 and R_X86_64_TPOFF64.
25032
6f27cd16
JM
250332012-05-10 Joseph Myers <joseph@codesourcery.com>
25034
25035 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25036 sysdeps/unix/sysv/syscalls.list.
25037 (stime): Likewise.
25038 (utime): Likewise.
25039 * sysdeps/unix/sysv/syscalls.list: Remove file.
25040
02467e1c
PE
250412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25042
25043 [BZ #3440]
25044 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25045 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25046 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25047 (__LC_IDENTIFICATION): Make these macros useful in #if
25048 expressions, as required by C99.
25049
da392631
AS
250502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25051
25052 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25053 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25054 after this.
25055
8115f29b
L
250562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25057
25058 * stdlib/longlong.h: Updated from GCC.
25059
bdd74070
AJ
250602012-05-09 Andreas Jaeger <aj@suse.de>
25061
edfe0dbe
AJ
25062 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25063 default is first entry.
25064 (run_mode): Set type.
25065 (main): Remove informal message about syslog.
25066 (options): Fix typo.
25067
bcfe3a54
ST
25068 [BZ #14053]
25069 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25070 to asm.
bcfe3a54
ST
25071 (lrint): Likewise.
25072 (llrintf): Likewise.
25073 (llrint): Likewise.
25074 (rint): Likewise.
25075 (rintf): Likewise.
25076 (nearbyint): Likewise.
25077 (nearbyintf): Likewise.
bdd74070 25078
91d8d69e
AJ
250792012-05-09 Andreas Jaeger <aj@suse.de>
25080 Pedro Alves <palves@redhat.com>
25081
25082 * nscd/nscd.c (run_mode): Use enum.
25083 (main): Cleanup coding style issue.
25084
bb90b80b
AJ
250852012-05-09 Alexandre Oliva <aoliva@redhat.com>
25086 Andreas Jaeger <aj@suse.de>
25087
bcfe3a54
ST
25088 * nscd/nscd.c (go_background): Replaced with...
25089 (run_mode): ... this.
bb90b80b 25090 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25091 (options): Add -F --foreground.
25092 (main): Implement it.
25093 (parse_opt): Parse it.
bb90b80b 25094
1a4b75a1
AJ
250952012-05-09 Andreas Jaeger <aj@suse.de>
25096
25097 [BZ #14083]
25098 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25099 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25100 -Wconversion warning.
25101 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25102 Likewise.
25103
b1cc2472
JM
251042012-05-09 Joseph Myers <joseph@codesourcery.com>
25105
25106 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25107 == 0.
25108 (LC_ALL): Use macro-int-constant.
25109 (LC_COLLATE): Likewise.
25110 (LC_CTYPE): Likewise.
25111 (LC_MESSAGES): Likewise.
25112 (LC_MONETARY): Likewise.
25113 (LC_NUMERIC): Likewise.
25114 (LC_TIME): Likewise.
25115 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25116 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25118 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25119 Specify type.
25120 [C99-based standards] (float_t): Expect type.
25121 [C99-based standards] (double_t): Expect type.
25122 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25123 type.
25124 [C99-based standards] (HUGE_VALL): Likewise.
25125 [C99-based standards] (INFINITY): Likewise.
25126 [C99-based standards] (NAN): Likewise.
25127 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25128 [C99-based standards] (FP_NAN): Likewise.
25129 [C99-based standards] (FP_NORMAL): Likewise.
25130 [C99-based standards] (FP_SUBNORMAL): Likewise.
25131 [C99-based standards] (FP_ZERO): Likewise.
25132 [C99-based standards] (FP_FAST_FMA): Use
25133 optional-macro-int-constant. Specify type. Require == 1.
25134 [C99-based standards] (FP_FAST_FMAF): Likewise.
25135 [C99-based standards] (FP_FAST_FMAL): Likewise.
25136 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25137 [C99-based standards] (FP_ILOGBNAN): Likewise.
25138 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25139 Specify type.
25140 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25141 [C99-based standards] (math_errhandling): Specify type.
25142 [ISO99 || ISO11] (signgam): Do not allow.
25143 [non-C99-based standards] (copysignf): Do not allow.
25144 [non-C99-based standards] (exp2f): Likewise.
25145 [non-C99-based standards] (log2f): Likewise.
25146 [non-C99-based standards] (modff): Allow.
25147 [non-C99-based standards] (erff): Do not allow.
25148 [non-C99-based standards] (erfcf): Likewise.
25149 [non-C99-based standards] (gammaf): Likewise.
25150 [non-C99-based standards] (hypotf): Likewise.
25151 [non-C99-based standards] (j0f): Likewise.
25152 [non-C99-based standards] (j1f): Likewise.
25153 [non-C99-based standards] (jnf): Likewise.
25154 [non-C99-based standards] (lgammaf): Likewise.
25155 [non-C99-based standards] (tgammaf): Likewise.
25156 [non-C99-based standards] (y0f): Likewise.
25157 [non-C99-based standards] (y1f): Likewise.
25158 [non-C99-based standards] (ynf): Likewise.
25159 [non-C99-based standards] (isnanf): Likewise.
25160 [non-C99-based standards] (acoshf): Likewise.
25161 [non-C99-based standards] (asinhf): Likewise.
25162 [non-C99-based standards] (atanhf): Likewise.
25163 [non-C99-based standards] (cbrtf): Likewise.
25164 [non-C99-based standards] (expm1f): Likewise.
25165 [non-C99-based standards] (ilogbf): Likewise.
25166 [non-C99-based standards] (log1pf): Likewise.
25167 [non-C99-based standards] (logbf): Likewise.
25168 [non-C99-based standards] (nextafterf): Likewise.
25169 [non-C99-based standards] (remainderf): Likewise.
25170 [non-C99-based standards] (rintf): Likewise.
25171 [non-C99-based standards] (scalbf): Likewise.
25172 [non-C99-based standards] (copysignl): Likewise.
25173 [non-C99-based standards] (exp2l): Likewise.
25174 [non-C99-based standards] (log2l): Likewise.
25175 [non-C99-based standards] (modfl): Allow.
25176 [non-C99-based standards] (erfl): Do not allow.
25177 [non-C99-based standards] (erfcl): Likewise.
25178 [non-C99-based standards] (gammal): Likewise.
25179 [non-C99-based standards] (hypotl): Likewise.
25180 [non-C99-based standards] (j0l): Likewise.
25181 [non-C99-based standards] (j1l): Likewise.
25182 [non-C99-based standards] (jnl): Likewise.
25183 [non-C99-based standards] (lgammal): Likewise.
25184 [non-C99-based standards] (tgammal): Likewise.
25185 [non-C99-based standards] (y0l): Likewise.
25186 [non-C99-based standards] (y1l): Likewise.
25187 [non-C99-based standards] (ynl): Likewise.
25188 [non-C99-based standards] (isnanl): Likewise.
25189 [non-C99-based standards] (acoshl): Likewise.
25190 [non-C99-based standards] (asinhl): Likewise.
25191 [non-C99-based standards] (atanhl): Likewise.
25192 [non-C99-based standards] (cbrtl): Likewise.
25193 [non-C99-based standards] (expm1l): Likewise.
25194 [non-C99-based standards] (ilogbl): Likewise.
25195 [non-C99-based standards] (log1pl): Likewise.
25196 [non-C99-based standards] (logbl): Likewise.
25197 [non-C99-based standards] (nextafterl): Likewise.
25198 [non-C99-based standards] (remainderl): Likewise.
25199 [non-C99-based standards] (rintl): Likewise.
25200 [non-C99-based standards] (scalbl): Likewise.
25201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25202 [non-C99-based standards] (FP_*): Do not allow.
25203 [C99-based standards] (FP_*): Change to
25204 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25205 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25206 allow.
25207 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25208 (SIG_ERR): Likewise.
25209 [X/Open-based standards] (SIG_HOLD): Likewise.
25210 (SIG_IGN): Likewise.
25211 (SIGABRT): Use macro-int-constant. Specify type. Require
25212 positive value.
25213 (SIGFPE): Likewise.
25214 (SIGILL): Likewise.
25215 (SIGINT): Likewise.
25216 (SIGSEGV): Likewise.
25217 (SIGTER): Likewise.
25218 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25219 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25220 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25221 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25222 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25223 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25224 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25225 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25226 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25227 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25228 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25229 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25230 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25231 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25232 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25233 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25234 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25235 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25236 [X/Open-based standards] (SIGTRAP): Likewise.
25237 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25238 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25239 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25240 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25241 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25242 allow.
25243
b9f1922d
IW
252442012-05-08 Ian Wienand <ianw@vmware.com>
25245
25246 [BZ #14080]
25247 * time/tzset.c (__tzset_parse_tz): Update default rules for
25248 daylight time changes in the Energy Policy Act of 2005.
25249
1db86e88
AJ
252502012-05-09 Andreas Jaeger <aj@suse.de>
25251
25252 [BZ #13983]
25253 * elf/ldconfig.c (parse_conf): Change string to make clear that
25254 ldconfig only issued a warning if ld.so.conf does not exist.
25255
dee4a4e3
DM
252562012-05-08 David S. Miller <davem@davemloft.net>
25257
ee0db190
DM
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25259 movxtod instead of popping the value on the stack.
25260
dee4a4e3
DM
25261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25262
6a43ec98
CD
252632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25264
25265 * config.h.in: Add HAVE_ARM_PCS_VFP.
25266
05c2c961
RMG
252672012-05-08 Roland Mc Grath <roland@hack.frob.com>
25268
bcfe3a54
ST
25269 [BZ #13979]
25270 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25271 checking but the checks are disabled for any reason.
05c2c961 25272
4b30f61a
L
252732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25274
25275 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25276 and ELF64_R_TYPE with ELFW(R_TYPE).
25277
eee2bc67
JM
252782012-05-08 Joseph Myers <joseph@codesourcery.com>
25279
7ea5391a
JM
25280 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25281 (ulimit): Likewise.
25282
eee2bc67
JM
25283 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25284 (settimeofday): Likewise.
25285
abb66a67
MF
252862012-05-08 Mike Frysinger <vapier@gentoo.org>
25287
25288 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25289 a struct th_u2 inside the union, and move tu_block/tu_code into
25290 a new th_u3 union of tu_block/tu_code inside of that. Move
25291 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25292 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25293 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25294 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25295 (th_stuff): Change to th_u1.tu_stuff.
25296 (th_data): Define.
25297 (th_msg): Change to th_u1.th_u2.tu_data.
25298
7f18b530
DM
252992012-05-07 David S. Miller <davem@davemloft.net>
25300
05760585
DM
25301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25302
7f18b530
DM
25303 [BZ #14074]
25304 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25305 (SETUP_PIC_REG): Use it.
25306 (SETUP_PIC_REG_LEAF): Use it.
25307
495fd99f
JM
253082012-05-07 Joseph Myers <joseph@codesourcery.com>
25309
25310 [BZ #13885]
25311 [BZ #13923]
25312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25313 USE_AS_EXPM1L.
25314 (EXPL_FINITE): Likewise.
25315 (FLDLOG): Likewise.
25316 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25317 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25318 e_expl.S.
25319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25320 USE_AS_EXPM1L.
25321 (EXPL_FINITE): Likewise.
25322 (FLDLOG): Likewise.
25323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25324 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25325 e_expl.S.
25326 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25327 test of -max_value argument for long double.
25328 * sysdeps/i386/fpu/libm-test-ulps: Update.
25329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25330
6693d694
DM
253312012-05-06 David S. Miller <davem@davemloft.net>
25332
25333 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25334 quad soft-float symbols whose references which are compiler
25335 generated.
25336 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25337
6c23e11c
JM
253382012-05-06 Joseph Myers <joseph@codesourcery.com>
25339
d8b82cad
JM
25340 [BZ #13884]
25341 [BZ #13914]
25342 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25343 USE_AS_EXP10L.
25344 (EXPL_FINITE): Likewise.
25345 (FLDLOG): Likewise.
25346 (c0): Likewise.
25347 (c1): Likewise.
25348 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25349 Adjust comments for base varying.
25350 (__expl_finite): Change alias to EXPL_FINITE.
25351 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25352 e_expl.S.
25353 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25354 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25356 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25357 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25358 USE_AS_EXP10L.
25359 (EXPL_FINITE): Likewise.
25360 (FLDLOG): Likewise.
25361 (c0): Likewise.
25362 (c1): Likewise.
25363 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25364 Adjust comments for base varying.
25365 (__expl_finite): Change alias to EXPL_FINITE.
25366 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25367 tests for bugs.
25368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25369
6c23e11c
JM
25370 [BZ #14064]
25371 * math/libm-test.inc (check_float_internal): Correct ulp
25372 calculation for subnormal expected results.
25373
29ba805c
AJ
253742012-05-06 Andreas Jaeger <aj@suse.de>
25375
25376 * Makeconfig (+math-flags): New, set to -frounding-math.
25377 (+cflags): Add +math-flags so that all of glibc gets compiled with
25378 it.
25379
25380 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25381
7b17aeda
JM
253822012-05-05 Joseph Myers <joseph@codesourcery.com>
25383
5779f134
JM
25384 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25385 Disable one test.
25386
41498f4d
JM
25387 [BZ #13787]
25388 [BZ #13922]
25389 [BZ #14036]
25390 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25391 (__ieee754_expl): Allow for and saturate large arguments.
25392 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25393 (u_threshold): Likewise.
25394 (__exp): Call __ieee754_exp before checking for overflow and
25395 underflow.
25396 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25397 (u_threshold): Likewise.
25398 (__expf): Call __ieee754_expf before checking for overflow and
25399 underflow.
25400 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25401 (u_threshold): Likewise.
25402 (__expl): Call __ieee754_expl before checking for overflow and
25403 underflow.
25404 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25405 (__ieee754_expl): Allow for and saturate large arguments.
25406 * math/libm-test.inc (exp_test): Add another test. Do not allow
25407 missing overflow exception on overflow.
25408 (expm1_test): Do not allow missing overflow exception on overflow.
25409
6698b8bf
JM
25410 * sysdeps/i386/fpu/e_expl.c: Move to ...
25411 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25412 rather than using inline asm.
25413 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25414 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25415 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25416
7b17aeda
JM
25417 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25418 (nice): Likewise.
25419 (poll): Likewise.
25420 (signal): Likewise.
25421 (time): Likewise.
25422 (times): Likewise.
25423
f7c85819
JM
254242012-05-04 Joseph Myers <joseph@codesourcery.com>
25425
25426 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25427 sysdeps/unix/common/syscalls.list.
25428 (fchmod): Likewise.
25429 (fchown): Likewise.
25430 (ftruncate): Likewise.
25431 (getrusage): Likewise.
25432 (gettimeofday): Likewise.
25433 (setpgid): Likewise.
25434 (setregid): Likewise.
25435 (setreuid): Likewise.
25436 (sigaction): Likewise.
25437 (truncate): Likewise.
25438 (vhangup): Likewise.
25439 * sysdeps/unix/common/syscalls.list: Remove file.
25440 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25441 * sysdeps/unix/sysv/linux/Implies: Likewise.
25442
336270d0
L
254432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25444
25445 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25447 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25448 Moved to ...
25449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25450 Here.
25451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25452 to ...
25453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25455 to ...
25456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25457 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25458 to ...
25459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25460 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25461 to ...
25462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25463 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25464 to ...
25465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25466 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25467 to ...
25468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25469 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25470 to ...
25471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25472 Here.
25473 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25474 to ...
25475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25476 Here.
25477 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25478 to ...
25479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25480 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25481 Moved to ...
25482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25483 Here.
25484 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25485 to ...
25486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25487
d128e450
JM
254882012-05-04 Joseph Myers <joseph@codesourcery.com>
25489
fa8ee516
JM
25490 * sysdeps/unix/common/bits/dirent.h: Remove file.
25491 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25492
d128e450
JM
25493 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25494 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25495 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25496 * sysdeps/unix/bsd/isatty.c: Likewise.
25497 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25498 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25499 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25500
ff8faaf0 255012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25502
62881be4 25503 [BZ #13563]
31dc8730
AZ
25504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25505 long double comparison inaccuracies.
25506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25508
6fef930c
AS
255092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25510
25511 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25513
8f203e6c
JM
255142012-05-04 Joseph Myers <joseph@codesourcery.com>
25515
25516 [BZ #14049]
25517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25518 nonzero digits before rounding a hex value.
25519 * stdlib/tst-strtod.c (tests): Add another test.
25520
5197d9c2
AK
255212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25522
25523 * sysdeps/s390/fpu/libm-test-ulps: Update.
25524
f0c1dedf
AJ
255252012-05-03 Andreas Jaeger <aj@suse.de>
25526
25527 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25528 does not get optimized out.
25529 (malloc_opt_barrier): New.
25530
a65ef2ae 255312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25532 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25533
2b942cb7 25534 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25535 intermediate file deletion.
2b942cb7 25536 (generated): Add .symlist files.
a65ef2ae 25537
54b71e02
JM
255382012-05-03 Joseph Myers <joseph@codesourcery.com>
25539
25540 [BZ #13775]
25541 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25542 Redirect under this condition.
25543 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25544 [__USE_GNU] (__dprintf_chk): Not under this condition.
25545 [__USE_GNU] (__vdprintf_chk): Likewise.
25546 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25547 under this condition.
25548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25549 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25550 [__USE_XOPEN2K8] (vdprintf): Likewise.
25551 [__USE_GNU] (__dprintf_chk): Not under this condition.
25552 [__USE_GNU] (__vdprintf_chk): Likewise.
25553 [__USE_GNU] (dprintf): Likewise.
25554 [__USE_GNU] (vdprintf): Likewise.
25555
d3dfcc41
RM
255562012-05-03 Roland McGrath <roland@hack.frob.com>
25557
25558 * elf/Makefile (common-generated): Set this instead of generated for
25559 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25560 $(all-built-dso)-derived lists.
25561
7ac30cc5
AJ
255622012-05-03 Andreas Jaeger <aj@suse.de>
25563
0c51e550
AJ
25564 * sysdeps/i386/fpu/libm-test-ulps: Update.
25565
7ac30cc5
AJ
25566 * FAQ: Removed.
25567 * FAQ.in: Likewise.
25568 * scripts/gen-FAQ.pl: Likewise.
25569 * manual/install.texi (Installation): Point to online location of
25570 FAQ.
25571 * Makefile (files-for-dist): Remove FAQ.
25572 (FAQ): Remove.
25573
d4c2917f
AM
255742012-05-02 Allan McRae <allan@archlinux.org>
25575
25576 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25577 (LDFLAGS-reldepmod5.so): Likewise.
25578 (LDFLAGS-reldep6mod1.so): Likewise.
25579 (LDFLAGS-reldep6mod4.so): Likewise.
25580 (LDFLAGS-reldep8mod3.so): Likewise.
25581 (LDFLAGS-unload4mod1.so): Likewise.
25582 (LDFLAGS-unload4mod2.so): Likewise.
25583 (LDFLAGS-tst-initorder): Likewise.
25584 (LDFLAGS-tst-initordera2.so): Likewise.
25585 (LDFLAGS-tst-initordera3.so): Likewise.
25586 (LDFLAGS-tst-initordera4.so): Likewise.
25587 (LDFLAGS-tst-initorderb2.so): Likewise.
25588 (LDFLAGS-noload): Likewise.
25589 (LDFLAGS-next): Likewise.
25590 (LDFLAGS-order2mod1.so): Likewise.
25591 (LDFLAGS-order2mod2.so): Likewise.
25592 (LDFLAGS-tst-initorder2): Likewise.
25593 (LDFLAGS-tst-initorder2a.so): Likewise.
25594 (LDFLAGS-tst-initorder2b.so): Likewise.
25595 (LDFLAGS-tst-initorder2c.so): Likewise.
25596 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25597
d77f993f
DM
255982012-05-02 David S. Miller <davem@davemloft.net>
25599
25600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25601
171a70b4
PP
256022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25603
25604 [BZ #14055]
25605 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25606
0be196ad
AJ
256072012-05-02 Andreas Jaeger <aj@suse.de>
25608
25609 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25610 since we manipulate rounding mode.
25611 (CPPFLAGS-test-idouble.c): Likewise.
25612 (CPPFLAGS-test-ifloat.c): Likewise.
25613 (CFLAGS-test-ldouble.c): Likewise.
25614 (CFLAGS-test-double.c): Likewise.
25615 (CFLAGS-test-float.c): Likewise.
25616 (CFLAGS-test-misc.c): Likewise.
25617 (CFLAGS-test-test-fenv.c): Likewise.
25618
4f9d04aa
AZ
256192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25620
2b942cb7
RM
25621 [BZ #2550]
25622 [BZ #2570]
25623 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25624 comparisons to determine direction to adjust input.
4f9d04aa 25625
82a79e7d
RM
256262012-05-01 Roland McGrath <roland@hack.frob.com>
25627
f5a01ca9
RM
25628 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25629 output to the target.
25630
90fe4186
RM
25631 * scripts/localplt.awk: New file.
25632 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25633 (check-localplt-CFLAGS): Variable removed.
25634 ($(all-built-dso:=.jmprel)): New static pattern rule.
25635 (generated): Add those targets.
25636 (localplt-built-dso): New variable.
25637 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25638
25639 * elf/check-localplt.c: File removed.
25640
82397ed6
RM
25641 * scripts/check-execstack.awk: New file.
25642 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25643 (check-execstack-CFLAGS): Variable removed.
25644 ($(objpfx)check-execstack.h): Target removed.
25645 ($(objpfx)execstack-default): New target.
25646 (generated): Add that instead of check-execstack.h.
25647 ($(all-built-dso:=.phdr)): New static pattern rule.
25648 (generated): Add those targets.
25649 * elf/check-execstack.c: File removed.
25650
82a79e7d
RM
25651 * scripts/check-textrel.awk: New file.
25652 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25653 (check-textrel-CFLAGS): Variable removed.
25654 (all-built-dso): Use := to define.o
25655 ($(all-built-dso:=.dyn)): New static pattern rule.
25656 (generated): Add those targets.
25657 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25658 * config.make.in (READELF): New substituted variable.
25659 * elf/check-textrel.c: File removed.
25660
62fde54f 256612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25662
615605c9
JM
25663 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25664 allow.
25665 * conform/data/ctype.h-data [C99-based standards] (isblank):
25666 Expect function.
25667 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25668 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25670 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25671 Specify type. Require positive value.
25672 (EILSEQ): Likewise.
25673 (ERANGE): Likewise.
25674 [ISO || POSIX] (EILSEQ): Do not expect.
25675 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25676 Specify type. Require positive value.
25677 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25678 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25679 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25680 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25681 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25682 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25683 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25684 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25685 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25686 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25687 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25688 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25689 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25690 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25691 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25692 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25693 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25694 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25695 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25696 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25697 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25698 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25699 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25700 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25701 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25703 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25704 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25708 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25709 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25710 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25711 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25712 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25713 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25714 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25715 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25717 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25718 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25721 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25723 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25724 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25725 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25726 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25728 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25730 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25731 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25732 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25733 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25734 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25737 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25738 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25739 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25740 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25743 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25744 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25746 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25747 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25748 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25749 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25750 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25751 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25752 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25753 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25754 Require >= 2.
25755 (FLT_ROUNDS): Expect as macro, not constant.
25756 (FLT_MANT_DIG): Use macro-int-constant.
25757 (DBL_MANT_DIG): Likewise.
25758 (LDBL_MANT_DIG): Likewise.
25759 (FLT_DIG): Likewise.
25760 (DBL_DIG): Likewise.
25761 (LDBL_DIG): Likewise.
25762 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25763 (DBL_MIN_EXP): Likewise.
25764 (LDBL_MIN_EXP): Likewise.
25765 (FLT_MAX_EXP): Use macro-int-constant.
25766 (DBL_MAX_EXP): Likewise.
25767 (LDBL_MAX_EXP): Likewise.
25768 (FLT_MAX_10_EXP): Likewise.
25769 (DBL_MAX_10_EXP): Likewise.
25770 (LDBL_MAX_10_EXP): Likewise.
25771 (FLT_MAX): Use macro-constant.
25772 (DBL_MAX): Likewise.
25773 (LDBL_MAX): Likewise.
25774 (FLT_EPSILON): Use macro-constant. Give upper bound.
25775 (DBL_EPSILON): Likewise.
25776 (LDBL_EPSILON): Likewise.
25777 (FLT_MIN): Likewise.
25778 (DBL_MIN): Likewise.
25779 (LDBL_MIN): Likewise.
25780 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25781 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25782 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25783 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25784 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25785 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25786 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25787 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25788 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25789 [ISO11] (FLT_TRUE_MIN): Likewise.
25790 [ISO11] (LDBL_TRUE_MIN): Likewise.
25791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25792 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25793 (SCHAR_MIN): Use macro-int-constant. Specify type.
25794 (SCHAR_MAX): Likewise.
25795 (UCHAR_MAX): Likewise.
25796 (CHAR_MIN): Likewise.
25797 (CHAR_MAX): Likewise.
25798 (MB_LEN_MAX): Use macro-int-constant.
25799 (SHRT_MIN): Use macro-int-constant. Specify type.
25800 (SHRT_MAX): Likewise.
25801 (USHRT_MAX): Likewise.
25802 (INT_MAX): Likewise.
25803 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25804 bound negative.
25805 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25806 bound with "U".
25807 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25808 bound with "L".
25809 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25810 bound negative. Suffix upper bound with "L".
25811 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25812 bound with "UL".
25813 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25814 Specify type.
25815 [C99-based standards] (LLONG_MAX): Likewise.
25816 [C99-based standards] (ULLONG_MAX): Likewise.
25817 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25818 == 0.
25819 [ISO11] (max_align_t): Require type.
25820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25821
c9140a62
JM
25822 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25823 from $CFLAGS, without defining away __attribute__ calls.
25824 (checknamespace): Use $CFLAGS_namespace.
25825
9af0bf29
JM
25826 * conform/conformtest.pl (@keywords): Only include C99 keywords
25827 for standards based on C99 or C11.
25828
343222a2
JM
25829 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25830 Disable tests.
25831 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25832 UNIX98]: Likewise.
25833
661f8cf0
JM
25834 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25835 usability of symbols in #if.
25836
ee74b9cb
JM
25837 * conform/conformtest.pl: If macro or constant types start
25838 "promoted:", expect the symbol to be of the following type
25839 promoted by the integer promotions.
62fde54f 25840
aafc49b3
JM
25841 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25842 in one place. Also handle "macro-constant".
25843
fefdf574
JM
25844 * conform/conformtest.pl: Only accept expected macro values with
25845 "==". Parse all "macro" lines in one place.
25846 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25847
f2d922fe
JM
25848 * conform/conformtest.pl: Handle braced types on "constant" lines
25849 instead of handling "typed-constant".
25850 * conform/data/signal.h-data: Use "constant" instead of
25851 "typed-constant".
25852
d22956c9
JM
25853 * conform/conformtest.pl: Handle "optional-" at start of lines in
25854 one place rather than duplicating several cases. Handle each
25855 format of "macro" line with initial "optional-".
25856
028e2e38
JM
25857 * conform/conformtest.pl: Only accept expected constant or
25858 optional-constant values with "==". Parse all "constant" lines in
25859 one place. Parse all "optional-constant" lines in one place.
25860 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25861 * conform/data/fmtmsg.h-data: Likewise.
25862 * conform/data/netinet/in.h-data: Likewise.
25863 * conform/data/tar.h-data: Likewise.
25864 * conform/data/limits.h-data: Use "==" form on "constant" and
25865 "optional-constant" lines.
25866
1b8f2850
JM
25867 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25868 Use -std=c99 for XOPEN2K.
25869 (@knownproblems): Remove.
25870 (newtoken): Don't check %isknown.
25871
a05a144b
JM
25872 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25873 Do not expect macro.
25874 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25875 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25876 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25877 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25878 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25879 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25880 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25881 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25882 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25883 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25884 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25885 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25886 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25887 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25888 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25889 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25890 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25891 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25892 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25893 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25894 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25895 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25896 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25897 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25898 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25899 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25904 [XPG3] (acosh): Likewise.
25905 [XPG3] (asinh): Likewise.
25906 [XPG3] (atanh): Likewise.
25907 [XPG3] (cbrt): Likewise.
25908 [XPG3] (expm1): Likewise.
25909 [XPG3] (ilogb): Likewise.
25910 [XPG3] (log1p): Likewise.
25911 [XPG3] (logb): Likewise.
25912 [XPG3] (nextafter): Likewise.
25913 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25914 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25915 [XPG3] (remainder): Likewise.
25916 [XPG3] (rint): Likewise.
25917 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25924 [UNIX98 || XOPEN2K] (scalb): Expect.
25925 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25926 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25930 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25931 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25967 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25968 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25969 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25970 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25971 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25973 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25974 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25977 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25980 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25981 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25986 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25988 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25998 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25999 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26000 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26001 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26002 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26003 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26004 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26005 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26006 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26009 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26010 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26011 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26012 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26013 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26014 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26015 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26016 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26017 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26018 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26019 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26020 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26021 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26022 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26023 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26024 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26025 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26026 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26027 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26028 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26029 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26030 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26031 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26032 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26033 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26034 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26035 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26036 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26037 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26038 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26039 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26040 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26041 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26042 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26043 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26044 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26045 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26046 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26047 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26048 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26049 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26050 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26051 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26052 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26053 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26054 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26058 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26059 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26062
73c5ebe3
JM
26063 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26064 _XOPEN_SOURCE_EXTENDED for XPG4.
26065
39c33b6c
JM
26066 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26067
62fde54f
JM
26068 * Makeconfig (localtime): Remove variable.
26069 (inst_localtime-file): Likewise.
26070
0741d64c
AS
260712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26072
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26074 Update.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26076 Update.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26078 Update.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26080 Update.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26082 Update.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26084 Update.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26086 Update.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26088 Update.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26090 Update.
26091
7cb029ee
JM
260922012-05-01 Joseph Myers <joseph@codesourcery.com>
26093
26094 [BZ #2550]
26095 [BZ #2570]
26096 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26097 comparisons to determine direction to adjust input.
26098 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26099 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26101 Likewise.
26102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26103 Likewise.
26104 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26105 Likewise.
26106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26108 Likewise.
26109 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26110 Likewise.
26111 * math/libm-test.inc (nexttoward_test): Add more tests.
26112
412bd966
AS
261132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26114
26115 [BZ #14040]
26116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26117 in version GLIBC_2.1, not GLIBC_2.0.
26118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26119 Likewise.
26120
9568c0c2
JM
261212012-04-30 Joseph Myers <joseph@codesourcery.com>
26122
adfbc8ac
JM
26123 [BZ #13942]
26124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26125 (1 - x) * (1 + x).
26126 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26127 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26128 * math/libm-test.inc (acos_test): Add more tests.
26129 (asin_test): Likewise.
26130 * sysdeps/i386/fpu/libm-test-ulps: Update.
26131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26132
5ba3cc69
JM
26133 [BZ #14034]
26134 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26135 of square root.
26136 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26137 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26138 * math/libm-test.inc (acos_test_tonearest): New function.
26139 (acos_test_towardzero): Likewise.
26140 (acos_test_downward): Likewise.
26141 (acos_test_upward): Likewise.
26142 (asin_test_tonearest): Likewise.
26143 (asin_test_towardzero): Likewise.
26144 (asin_test_downward): Likewise.
26145 (asin_test_upward): Likewise.
26146 (main): Call the new functions.
26147 * sysdeps/i386/fpu/libm-test-ulps: Update.
26148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26149
9568c0c2
JM
26150 [BZ #13884]
26151 [BZ #13924]
26152 * math/e_exp10.c: Include <float.h>.
26153 (__ieee754_exp10): Handle underflow here rather than multiplying
26154 large negative argument by M_LN10.
26155 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26156 of __ieee754_expf.
26157 * math/e_exp10l.c: Include <float.h>.
26158 (__ieee754_exp10l): Handle underflow here rather than multiplying
26159 large negative argument by M_LN10l.
26160 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26161 spurious overflow exception on underflow.
26162
5ac3ea17
MP
261632012-04-29 Marek Polacek <polacek@redhat.com>
26164
26165 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26166 (__fortify_function): New macro.
26167 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26168 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26169 __extern_always_inline.
26170 * libio/bits/stdio2.h: Likewise.
26171 * libio/bits/stdio.h: Likewise.
26172 * string/string.h: Likewise.
26173 * string/bits/string3.h: Likewise.
26174 * include/stdio.h: Likewise.
26175 * stdlib/bits/stdlib.h: Likewise.
26176 * stdlib/stdlib.h: Likewise.
26177 * rt/bits/mqueue2.h: Likewise.
26178 * rt/mqueue.h: Likewise.
26179 * posix/bits/unistd.h: Likewise.
26180 * posix/unistd.h: Likewise.
26181 * io/bits/poll2.h: Likewise.
26182 * io/bits/fcntl2.h: Likewise.
26183 * io/fcntl.h: Likewise.
26184 * io/sys/poll.h: Likewise.
26185 * misc/bits/syslog.h: Likewise.
26186 * misc/bits/syslog-ldbl.h: Likewise.
26187 * misc/sys/syslog.h: Likewise.
26188 * socket/bits/socket2.h: Likewise.
26189 * socket/sys/socket.h: Likewise.
26190 * debug/tst-chk1.c: Likewise.
26191 * wcsmbs/bits/wchar2.h: Likewise.
26192 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26193 * wcsmbs/wchar.h: Likewise.
26194
ecf0ebfb
AJ
261952012-04-29 Andreas Jaeger <aj@suse.de>
26196
26197 * Makerules (tests): Remove enable-check-abi protection.
26198 (check-abi-warn): Remove.
26199 (check-abi-%): Remove check-abi-warn usage.
26200
26201 * configure.in: Remove check-abi configure option.
26202 * configure: Regenerated.
26203 * config.make.in (enable-check-abi): Remove.
26204
6d5c57fa
AS
262052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26206
24c5d07e 26207 [BZ #14033]
ded5180a
AS
26208 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26209 double functions to double *_finite functions.
26210
7e0d315d
AS
26211 [BZ #13941]
26212 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26213 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26214 LDBL_MIN_EXP.
26215 * stdio-common/Makefile (tests): Add tst-sprintf3.
26216 * stdio-common/tst-sprintf3.c: New file.
26217
6d5c57fa
AS
26218 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26219 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26220
0749ff8b
JM
262212012-04-28 Joseph Myers <joseph@codesourcery.com>
26222
26223 * conform/conformtest.pl: Remove duplicate typed-constant
26224 handling.
26225
8dbd5d7b
DM
262262012-04-28 David S. Miller <davem@davemloft.net>
26227
26228 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26229 (check-abi-%): Remove AWK script prerequisite and explicit
26230 abilist directory.
26231 (check-abi): Rewrite to just diff the symlist with the abilist.
26232 (config-tls, config-abi-config): Delete, no longer used.
26233 (update-abi-%): Remove AWK script and explicit abilist directory.
26234 (update-abi): Rewrite to simply compare and conditionally copy the
26235 symlist and the sysdep abilist file. Remove update-abi-config
26236 checks.
26237 * abilist/ld.abilist: Remove.
26238 * abilist/libBrokenLocale.abilist: Remove.
26239 * abilist/libanl.abilist: Remove.
26240 * abilist/libcrypt.abilist: Remove.
26241 * abilist/libdl.abilist: Remove.
26242 * abilist/librt.abilist: Remove.
26243 * abilist/libthread_db.abilist: Remove.
26244 * abilist/libutil.abilist: Remove.
26245 * scripts/extract-abilist.awk: Remove.
26246 * scripts/merge-abilist.awk: Remove.
26247 * sysdeps/generic/libcidn.abilist: New file.
26248 * sysdeps/generic/libnss_compat.abilist: New file.
26249 * sysdeps/generic/libnss_db.abilist: New file.
26250 * sysdeps/generic/libnss_dns.abilist: New file.
26251 * sysdeps/generic/libnss_files.abilist: New file.
26252 * sysdeps/generic/libnss_hesiod.abilist: New file.
26253 * sysdeps/generic/libnss_nis.abilist: New file.
26254 * sysdeps/generic/libnss_nisplus.abilist: New file.
26255 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26256 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26257 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26258 file.
26259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26260 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26261 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26262 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26263 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26264 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26265 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26266 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26267 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26268 file.
26269 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26270 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26271 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26272 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26273 file.
26274 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26275 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26276 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26277 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26278 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26279 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26280 file.
26281 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26283 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26284 file.
26285 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26287 New file.
26288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26289 New file.
26290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26291 New file.
26292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26293 New file.
26294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26295 New file.
26296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26297 New file.
26298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26299 New file.
26300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26301 New file.
26302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26303 New file.
26304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26305 New file.
26306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26307 New file.
26308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26309 New file.
26310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26311 New file.
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26313 file.
26314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26315 New file.
26316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26317 New file.
26318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26319 file.
26320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26321 New file.
26322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26323 New file.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26325 file.
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26327 New file.
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26329 New file.
26330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26331 New file.
26332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26333 New file.
26334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26335 New file.
26336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26337 New file.
26338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26340 file.
26341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26342 New file.
26343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26344 file.
26345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26346 file.
26347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26348 file.
26349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26350 file.
26351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26352 file.
26353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26354 New file.
26355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26356 file.
26357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26358 file.
26359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26360 New file.
26361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26362 file.
26363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26365 file.
26366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26367 New file.
26368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26369 file.
26370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26371 file.
26372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26373 file.
26374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26375 file.
26376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26377 file.
26378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26379 New file.
26380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26381 file.
26382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26383 file.
26384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26385 New file.
26386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26387 file.
26388 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26389 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26390 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26391 file.
26392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26393 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26394 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26395 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26396 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26397 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26398 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26399 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26400 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26401 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26404 file.
26405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26406 New file.
26407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26408 file.
26409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26410 file.
26411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26412 file.
26413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26414 file.
26415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26416 file.
26417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26418 New file.
26419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26420 New file.
26421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26422 file.
26423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26424 New file.
26425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26426 file.
26427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26429 file.
26430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26431 New file.
26432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26433 file.
26434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26435 file.
26436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26437 file.
26438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26439 file.
26440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26441 file.
26442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26443 New file.
26444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26445 New file.
26446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26447 file.
26448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26449 New file.
26450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26451 file.
26452
41d73a1b
JM
264532012-04-28 Joseph Myers <joseph@codesourcery.com>
26454
26455 * conform/conformtest.pl: Fix typo in handling typed-constant from
26456 allow-header.
26457
28aeeda4
JM
264582012-04-27 Joseph Myers <joseph@codesourcery.com>
26459
adae8f5e
JM
26460 * README: Cut down references to pre-2.6 Linux kernels and
26461 Linuxthreads. Update lists of configurations in libc and ports
26462 and sort alphabetically. Say "or newer" with Linux kernel version
26463 requirements.
26464
28aeeda4
JM
26465 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26466
a462cb63
RA
264672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26468
26469 [BZ #887]
26470 * math/libm-test.inc (logb_test_downward): New test to expose
26471 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26472 rounding mode.
26473
6ad3493e
JM
264742012-04-27 Joseph Myers <joseph@codesourcery.com>
26475
26476 [BZ #14027]
26477 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26478 to be done.
26479 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26480 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26481
2ce4f015
JM
264822012-04-26 Joseph Myers <joseph@codesourcery.com>
26483
5aeb141a
JM
26484 * sysdeps/unix/i386/brk.S: Remove file.
26485 * sysdeps/unix/i386/dl-brk.S: Likewise.
26486 * sysdeps/unix/i386/pipe.S: Likewise.
26487 * sysdeps/unix/i386/sigreturn.S: Likewise.
26488 * sysdeps/unix/i386/syscall.S: Likewise.
26489 * sysdeps/unix/i386/vfork.S: Likewise.
26490 * sysdeps/unix/i386/wait.S: Likewise.
26491
7143acae
JM
26492 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26493 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26494
2ce4f015
JM
26495 * configure.in (arm*-none*): Do not allow without
26496 --enable-hacker-mode.
26497 (netbsd*): Remove case setting base_os.
26498 (386bsd*): Likewise.
26499 (freebsd*): Likewise.
26500 (bsdi*): Likewise.
26501 (osf*): Likewise.
26502 (sunos*): Likewise.
26503 (ultrix*): Likewise.
26504 (newsos*): Likewise.
26505 (dynix*): Likewise.
26506 (*bsd*): Likewise.
26507 (sysv*): Likewise.
26508 (isc*): Likewise.
26509 (esix*): Likewise.
26510 (sco*): Likewise.
26511 (minix*): Likewise.
26512 (irix4*): Likewise.
26513 (irix6*): Likewise.
26514 (solaris[2-9]*): Likewise.
26515 (none): Likewise.
26516 * configure: Regenerated.
26517
0ac229c8
AZ
265182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26519
26520 [BZ #11521]
26521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26522 overflow or cancellation in calculating denominator.
26523 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26525 down expression to avoid unexpected rounding in newer GCCs.
26526 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26527
33f244f4
DM
265282012-04-26 David S. Miller <davem@davemloft.net>
26529
26530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26531 long-double compat symbols.
26532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26545
cfa1f3e8
DM
265462012-04-25 David S. Miller <davem@davemloft.net>
26547
26548 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26549 HWCAP_* values only after the memory barriers have been defined.
26550 (atomic_full_barrier): Define.
26551 (atomic_read_barrier): Define.
26552 (atomic_write_barrier): Define.
26553
6e236b92
SP
265542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26555
26556 * shlib-versions: Add libgcc_s version information.
26557 * sysdeps/generic/libgcc_s.h: Remove.
26558 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26559 libgcc_s.h.
26560 * sysdeps/gnu/unwind-resume.c: Likewise.
26561 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26562
aab39a09
DM
265632012-04-25 David S. Miller <davem@davemloft.net>
26564
26565 * sysdeps/unix/sparc/brk.S: Delete.
26566 * sysdeps/unix/sparc/dl-brk.S: Delete.
26567 * sysdeps/unix/sparc/pipe.S: Delete.
26568 * sysdeps/unix/sparc/sysdep.S: Delete.
26569 * sysdeps/unix/sparc/sysdep.h: Delete.
26570 * sysdeps/unix/sparc/vfork.S: Delete.
26571 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26572 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26574 ret_ERRVAL, r0, r1, MOVE): Define.
26575 (JUMPTARGET): Remove.
26576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26577 sysdeps/unix/sparc/sysdep.h
26578 (ENTRY, END): Remove.
26579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26580
a3cc4f48
JM
265812012-04-25 Joseph Myers <joseph@codesourcery.com>
26582
2ed8cda2
JM
26583 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26584 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26585 -DIS_IN_build.
26586
35d76d59
JM
26587 * timezone/README: Update upstream location and email address for
26588 tzcode and tzdata.
26589 * timezone/zdump.c: Update from tzcode 2012b.
26590 * timezone/zic.c: Likewise.
26591
a3cc4f48
JM
26592 * configure.in (libc_cv_as_needed): Remove test.
26593 * configure: Regenerated.
26594 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26595 conditional definition.
26596 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26597 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26598 * config.make.in (have-as-needed): Remove variable.
26599
ceab42c3
SP
266002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26601 Paul Pluzhnikov <ppluzhnikov@google.com>
26602
26603 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26604 strings correctly.
26605
3ce2865f
CLT
266062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26607
26608 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26609 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26610 * sysdeps/sh/strlen.S: Likewise.
26611
f37e0d68
JM
266122012-04-24 Joseph Myers <joseph@codesourcery.com>
26613
ae186e9a
JM
26614 * sysdeps/unix/fork.S: Remove file.
26615 * sysdeps/unix/i386/fork.S: Likewise.
26616 * sysdeps/unix/sparc/fork.S: Likewise.
26617
b96914af
JM
26618 * sysdeps/unix/system.c: Remove file.
26619 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26620
f37e0d68
JM
26621 * sysdeps/unix/getegid.S: Remove file.
26622 * sysdeps/unix/geteuid.S: Likewise.
26623
87ef29ca
RM
266242012-04-24 Roland McGrath <roland@hack.frob.com>
26625
83bcd236
RM
26626 * scripts/check-localplt.awk: New file.
26627 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26628 of diff.
26629 * scripts/data/localplt-generic.data: Add a comment.
26630
87ef29ca
RM
26631 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26632 NODE when __dir_mkfile failed.
26633 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26634 Reported by Ludovic Courtès <ludo@gnu.org>.
26635
e5a6e567
AJ
266362012-04-24 Andreas Jaeger <aj@suse.de>
26637
26638 * Makerules (common-clean): Also remove gen-as-const-headers
26639 files.
26640
c1820385
JM
266412012-04-24 Joseph Myers <joseph@codesourcery.com>
26642
26643 * Makerules (native-compile): Do not change working directory for
26644 build. Use $(OUTPUT_OPTION) in command.
26645 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26646
94e02fc4
AZ
266472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26648
26649 [BZ #13886]
26650 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26651 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26652 * math/libm-test.inc (floor_test): Add more tests.
26653 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26654
3a533ca3
JM
266552012-04-24 Joseph Myers <joseph@codesourcery.com>
26656
940ab4b3
JM
26657 * sysdeps/unix/getdents.c: Remove file.
26658 * sysdeps/unix/sysv/getdents.c: Likewise.
26659 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26660
90e037bd
JM
26661 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26662 sysdeps/unix/mman/syscalls.list.
26663 (mmap): Likewise.
26664 (mprotect): Likewise.
26665 (msync): Likewise.
26666 (munmap): Likewise.
26667 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26668 * sysdeps/unix/mman/syscalls.list: Remove.
26669 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26670
3a533ca3
JM
26671 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26672 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26673 * configure: Regenerated.
26674 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26675 $(libgcc_s_suffix).
26676 * config.make.in (libgcc_s_suffix): Remove variable.
26677
1ad743de
JM
266782012-04-23 Joseph Myers <joseph@codesourcery.com>
26679
4ad451e2
JM
26680 * sysdeps/unix/sysv/gethostname.c: Move to ...
26681 * sysdeps/posix/gethostname.c: ... here.
26682
5e37ce39
JM
26683 * sysdeps/unix/execve.S: Remove file.
26684
1ad743de
JM
26685 * sysdeps/unix/_exit.S: Remove file.
26686
4e681b5b
AJ
266872012-04-23 Andreas Jaeger <aj@suse.de>
26688
26689 [BZ #13739]
26690 * manual/Makefile: Remove make dist support, there's no
26691 need for a stand-alone documentation tar ball.
26692 (TEXI2DVI): Define always, it's not in Makeconfig.
26693 (dist): Removed.
26694 (tar-it): Removed.
26695 (edition): Removed.
26696 (glibc-doc-$(edition).tar): Removed
26697 (%.Z): Removed.
26698 (%.gz): Removed.
26699 (%.uu): Removed.
26700 (ETAGS): Remove, it's in Makeconfig.
26701 (move-if-change): Remove, it's in Makeconfig.
26702
38686a03 267032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26704
26705 [BZ #13970]
26706 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26707 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26708 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26709 (strtod_l, strtof_l, strtold_l): Remove __wur.
26710 It is not necessarily an error to ignore strtol's return value.
26711 One can reliably look at the stored endptr to decide whether
26712 the number had valid syntax.
26713
7c0616fa
AJ
267142012-04-21 Andreas Jaeger <aj@suse.de>
26715
803cb6b7 26716 [BZ #13739]
7c0616fa
AJ
26717 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26718
b0fe253f
JM
267192012-04-21 Joseph Myers <joseph@codesourcery.com>
26720
26721 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26722 * sysdeps/unix/sysv/Versions: Remove file.
26723
8280f22d
MT
267242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26725
26726 [BZ #13927]
26727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26728
75ce411f 267292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26730
26731 [BZ #7064]
26732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26733 version from __vm86.
26734
097d59fa
JM
267352012-04-20 Joseph Myers <joseph@codesourcery.com>
26736
a90f3bcb
JM
26737 * sysdeps/unix/common/lxstat.c: Remove file.
26738 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26739
edc7ea78
JM
26740 * sysdeps/unix/sysv/Makefile: Remove file.
26741
cb78c221
JM
26742 * sysdeps/unix/sysv/direct.h: Remove file.
26743
efa6a45f
JM
26744 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26745 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26746 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26747 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26748 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26749 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26750 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26751
9c9f2d0c
JM
26752 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26753
4541c83b
JM
26754 * sysdeps/unix/xmknod.c: Remove file.
26755 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26756
f5d153a0
JM
26757 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26758
aa746595
JM
26759 * sysdeps/unix/sysv/i386/time.S: Remove file.
26760
cce5905e
JM
26761 * sysdeps/unix/fxstat.c: Remove file.
26762 * sysdeps/unix/xstat.c: Likewise.
26763 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26764
37fa3841
JM
26765 * sysdeps/unix/sysv/sigaction.c: Remove file.
26766
ff1962a3
JM
26767 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26768 (sysdep_headers): Remove variable.
26769 [termio.h not in sysdep_headers] (generated): Likewise.
26770 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26771 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26772 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26773 * sysdeps/unix/sysv/tcflow.c: Likewise.
26774 * sysdeps/unix/sysv/tcflush.c: Likewise.
26775 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26776 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26777 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26778 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26779 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26780
e7740d31
JM
26781 * sysdeps/unix/siglist.c: Remove file.
26782
ee06f18b
JM
26783 * sysdeps/unix/getppid.S: Remove file.
26784
097d59fa
JM
26785 * sysdeps/unix/mkdir.c: Remove file.
26786 * sysdeps/unix/rmdir.c: Likewise.
26787
ff3d51ec
AS
267882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26789
26790 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26791 ERR_MAX value.
26792 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26793 errlist-compat value.
26794
50f81fd7
DM
267952012-04-18 David S. Miller <davem@davemloft.net>
26796
26797 * sysdeps/generic/memcopy.h (reg_char): Delete.
26798 * debug/strcat_chk.c: Use char, not reg_char.
26799 * debug/strcpy_chk.c: Likewise.
26800 * debug/strncat_chk.c: Likewise.
26801 * debug/strncpy_chk.c: Likewise.
26802 * string/memchr.c: Likewise.
26803 * string/memrchr.c: Likewise.
26804 * string/rawmemchr.c: Likewise.
26805 * string/strcat.c: Likewise.
26806 * string/strchr.c: Likewise.
26807 * string/strchrnul.c: Likewise.
26808 * string/strcmp.c: Likewise.
26809 * string/strcpy.c: Likewise.
26810 * string/strncat.c: Likewise.
26811 * string/strncmp.c: Likewise.
26812 * string/strncpy.c: Likewise.
26813
8ff41c46
WS
268142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26815
26816 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26817 __builtin_memcopy is called when src and dest ranges are known to not
26818 overlap.
26819
6b652f46
WS
268202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26821
26822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26823 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26824 fwd_align_merge macro call.
26825 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26826 bwd_align_merge macro call.
26827 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26828
b282631e
WS
268292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26830
26831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26832 bwd_align_merge macros.
26833 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26834 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26835 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26836
95aa737c
DM
268372012-04-18 David S. Miller <davem@davemloft.net>
26838
26839 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26840
7a99a614
AJ
268412012-04-18 Andreas Jaeger <aj@suse.de>
26842
26843 [BZ# 6794]
26844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26845 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26846 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26847
26848 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26849 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26850 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26851
26852 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26853 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26854 Adjust for changed ldbl-128 files.
26855
26856 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26857 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26858 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26859
e5270c23
DM
268602012-04-17 David S. Miller <davem@davemloft.net>
26861
26862 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26863
fb5e92c9
AS
268642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26865
26866 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26867 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26868 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26869 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26870 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26871 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26872
76da7265
AZ
268732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26874
26875 [BZ #6794]
26876 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26877 * math/libm-test.inc: Add ilogb errno and exception tests.
26878 * math/w_ilogb.c: New file: ilogb wrapper.
26879 * math/w_ilogbf.c: New file: ilogbf wrapper.
26880 * math/w_ilogbl.c: New file: ilogbl wrapper.
26881 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26882 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26883 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26884 exception being thrown with 0.0 as argument.
26885 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26886 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26887 exception being thrown with 0.0 as argument.
26888 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26889 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26890 exception being thrown with 0.0 as argument.
26891 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26892 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26893 exception being thrown with 0.0 as argument.
26894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26895 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26896 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26897 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26898 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26899 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26900 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26901 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26902 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26903
0396e69d
PB
269042012-04-17 Petr Baudis <pasky@ucw.cz>
26905
26906 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26907 with altivec.
26908
750b5926
MP
269092012-04-16 Marek Polacek <polacek@redhat.com>
26910
26911 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26912
751728a1
MP
269132012-04-16 Marek Polacek <polacek@redhat.com>
26914
26915 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26916 operands of fdivp instruction.
26917
34a27407
L
269182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26919
26920 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26921 * elf/tst-auditmod3b.c: Likewise.
26922 * elf/tst-auditmod4b.c: Likewise.
26923 * elf/tst-auditmod5b.c: Likewise.
26924 * elf/tst-auditmod6b.c: Likewise.
26925 * elf/tst-auditmod6c.c: Likewise.
26926 * elf/tst-auditmod7b.c: Likewise.
26927 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26928 * sysdeps/x86_64/preconfigure.in: Likewise.
26929 * sysdeps/x86_64/preconfigure: Regenerated.
26930
7e73e17d
L
269312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26932
26933 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26934 __ILP32__.
26935
c7a6ab72
AB
269362012-04-13 Antoine Balestrat <merkil33@gmail.com>
26937
26938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26939 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26940
a9e8e0e0
CL
269412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26942
26943 [BZ #13973]
26944 * locale/iso-639.def: Fix gl language name. Spotted by
26945 Yaron Shahrabani.
26946
ec98af7d
RM
269472012-04-12 Roland McGrath <roland@hack.frob.com>
26948
26949 [BZ #2074]
26950 * libio/libio.h (__io_write_fn): Update comment.
26951
247c3ede
PB
269522012-04-12 Petr Baudis <pasky@ucw.cz>
26953
26954 [BZ #2074]
26955 * stdio.texi (Hook Functions): The user provided writer function
26956 is not allowed to return -1.
26957
55939d6d
DM
269582012-04-11 David S. Miller <davem@davemloft.net>
26959
26960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26961
90020f5a
MF
269622012-04-11 Mike Frysinger <vapier@gentoo.org>
26963
26964 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26965 Add a leading slash to rtkaio.
26966
288f9098
JM
269672012-04-11 Jim Meyering <meyering@redhat.com>
26968
90020f5a
MF
26969 [BZ #11959]
26970 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26971 It is not necessarily an error to ignore fwrite's return
26972 value. One can reliably use ferror to test for errors after
26973 the fact.
288f9098 26974
4be2b570
L
269752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26976
26977 * bits/types.h (__snseconds_t): New type.
26978 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26979
26980 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26982 (__SNSECONDS_T_TYPE): Likewise.
26983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26984 (__SNSECONDS_T_TYPE): Likewise.
26985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26986 (__SNSECONDS_T_TYPE): Likewise.
26987
288f9098 269882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26989
26990 [BZ #2636]
26991 * manual/time.texi (Processor Time): Return type of times is
26992 elapsed real time since an arbitrary point in the past.
26993 (CPU Time): Move CLK_TCK from here...
26994 (Processor Time): ...to here. Correct description.
26995 * manual/conf.texi (Constants for Sysconf): Correct description of
26996 _SC_CLK_TCK.
26997
d7dd4413
DM
269982012-04-10 David S. Miller <davem@davemloft.net>
26999
27000 [BZ #13967]
27001 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27002 where the is a gap between DT_REL(A) and DT_JMPREL.
27003
b46068fc
L
270042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27005
27006 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27007 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27008 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27009
73d65cc3
SP
270102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27011
27012 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27013 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27014 (dl_main): Handle --inhibit-cache.
27015 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27016 _dl_inhibit_cache.
27017 * elf/dl-load.c (_dl_map_object): Use it.
27018 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27019
bcc8d661
JM
270202012-04-09 Joseph Myers <joseph@codesourcery.com>
27021
8f9a2fae
JM
27022 [BZ #13872]
27023 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27024 (__ieee754_powl): Saturate large exponents rather than testing for
27025 overflow of y*log2(x).
27026 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27027 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27028 exceptions.
27029
bcc8d661
JM
27030 [BZ #11521]
27031 * math/s_ctan.c: Include <float.h>.
27032 (__ctan): Avoid internal overflow or cancellation in calculating
27033 denominator.
27034 * math/s_ctanf.c: Likewise.
27035 * math/s_ctanl.c: Likewise.
27036 * math/s_ctanh.c: Likewise.
27037 * math/s_ctanhf.c: Likewise.
27038 * math/s_ctanhl.c: Likewise.
27039 * math/libm-test.inc (ctan_test): Add more tests.
27040 (ctanh_test): Likewise.
27041 * sysdeps/i386/fpu/libm-test-ulps: Update.
27042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27043
823fbbb4
AJ
270442012-04-09 Andreas Jaeger <aj@suse.de>
27045
03879793
AJ
27046 [BZ #6894]
27047 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27048 is an optional BSD extension.
27049
823fbbb4
AJ
27050 [BZ #10254]
27051 * manual/stdio.texi (Opening Streams): Document additional fopen
27052 parameters.
27053
8de131cb
RM
270542012-04-09 Roland McGrath <roland@hack.frob.com>
27055
27056 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27057 %eax without telling the compiler.
27058
c0ed9d7d
CD
270592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27060
27061 [BZ # 13963]
27062 * manual/install.texi: Use sourceware.org.
27063
c483f6b4
JM
270642012-04-09 Joseph Myers <joseph@codesourcery.com>
27065
d7dd9453
JM
27066 [BZ #13873]
27067 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27068 (__ieee754_pow): Generate overflow and underflow using huge*huge
27069 and tiny*tiny rather than just returning constant infinity or zero
27070 for large exponents.
27071 * math/libm-test.inc (pow_test): Require overflow exceptions for
27072 applicable cases of large exponents.
27073
c483f6b4
JM
27074 [BZ #706]
27075 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27076 (__ieee754_pow): Use iterative multiplication algorithm only for
27077 integer exponents with absolute value below 1024. Check for odd
27078 integer exponents when using algorithm for real exponents.
27079 * math/libm-test.inc (pow_test): Add more tests.
27080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27081
d2de7579
JM
270822012-04-08 Joseph Myers <joseph@codesourcery.com>
27083
27084 [BZ #13705]
27085 * math/libm-test.inc (exp_test): Do not allow overflow exception
27086 on underflow test.
27087
f77f1232
AJ
270882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27089
27090 [BZ #13705]
27091 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27092 instead of __kernel_standard_f.
27093
3884932b
MF
270942012-04-08 Mike Frysinger <vapier@gentoo.org>
27095
27096 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27097 * sysdeps/x86_64/memset_chk.S: Likewise.
27098
54472e9c
AJ
270992012-04-08 Andreas Jaeger <aj@suse.de>
27100
6ab0fbfc
AJ
27101 [BZ #10153]
27102 * manual/startup.texi (Environment Access): Describe return value
27103 for putenv and setenv.
27104
61efba8c
AJ
27105 [BZ #6895]
27106 * manual/filesys.texi (Directory Entries): Add description for
27107 DT_LNK.
27108
95c3f29a
AJ
27109 [BZ #6890]
27110 * manual/filesys.texi (Directory Entries): Clarify that it's file
27111 system not operating system in the description of DT_UNKNOWN.
27112
54472e9c
AJ
27113 [BZ #6578]
27114 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27115
624254b1
SC
271162012-04-08 Stephen Compall <s11@member.fsf.org>
27117
27118 [BZ #6649]
27119 * manual/llio.texi (Opening and Closing Files): Add cross
27120 reference to explain mode argument.
27121
1e4920e0
MF
271222012-04-07 Mike Frysinger <vapier@gentoo.org>
27123
27124 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27125 * sysdeps/x86_64/memset_chk.S: Likewise.
27126
5ed848f3
DM
271272012-04-07 David S. Miller <davem@davemloft.net>
27128
27129 * elf/elf.h (R_SPARC_WDISP10): Define.
27130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27131 R_SPARC_SIZE32.
27132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27133 R_SPARC_SIZE64 and R_SPARC_H34.
27134
96154cd8
CD
271352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27136
27137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27138 conditions and remove no longer applicable assertion.
27139
9904dc47
L
271402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27141
27142 * bits/byteswap.h: Include <features.h>.
27143 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27144 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27145
f8887d0a
L
271462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27147
27148 * bits/byteswap.h (__bswap_16): Removed.
27149 Include <bits/byteswap-16.h> to get __bswap_16.
27150 * sysdeps/i386/bits/byteswap.h: Likewise.
27151 * sysdeps/s390/bits/byteswap.h: Likewise.
27152 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27153 * bits/byteswap-16.h: New file.
27154 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27155 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27156 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27157 * string/Makefile (headers): Add bits/byteswap-16.h.
27158
62470f60
PP
271592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27160
27161 [BZ #13895]
27162 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27163 extra indirection.
27164 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27165 * nss/tst-nss-static.c: New.
27166
4dad7bab
RM
271672012-04-06 Robert Millan <rmh@gnu.org>
27168
27169 [BZ #6486]
27170 * manual/llio.texi (File Position Primitive): lseek
27171 refers to WHENCE when it really means OFFSET.
27172
e9142a17
AJ
271732012-04-06 Andreas Jaeger <aj@suse.de>
27174
2c040eff
AJ
27175 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27176 strncmp declarations.
27177
e9142a17
AJ
27178 * abilist/libc.abilist: Add __poll and __ppoll.
27179
ff9f1c5f
DM
271802012-04-05 David S. Miller <davem@davemloft.net>
27181
dcd2ae90
DM
27182 * scripts/check-local-headers.sh: Accept a host triplet in the
27183 path matched by the exclude regexp.
27184
993eb054
DM
27185 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27186 definition.
27187 * sysdeps/powerpc/powerpc32/dl-machine.h
27188 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27189 * sysdeps/s390/s390-32/dl-machine.h
27190 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27191 * sysdeps/sparc/sparc32/dl-machine.h
27192 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27193 * sysdeps/sparc/sparc64/dl-machine.h
27194 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27195
ff9f1c5f
DM
27196 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27197 lazy binding.
48e2e132 27198 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27199 undefined symbol errors.
27200
48e2e132 27201 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27202 DT_NEEDED entries.
27203
e80d6f94
MM
272042012-04-05 Michael Matz <matz@suse.de>
27205
27206 [BZ #13592]
27207 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27208
349fa79f
AJ
272092012-04-05 Andreas Jaeger <aj@suse.de>
27210
27211 [BZ #13908]
27212 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27213 comment.
27214
f402708f
KK
272152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27216
27217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27218 which ROUND is no valid rounding mode.
27219
2ecccfc9
KK
272202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27221
27222 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27223 read again.
27224 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27225
8a53f50f
KK
272262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27227
27228 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27229 an exception using FPU order intentionally.
27230
272312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27232
27233 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27234 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27235 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27236 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27237
d653abb7
SJ
272382012-04-05 Simon Josefsson <simon@josefsson.org>
27239
27240 [BZ #12340]
27241 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27242 EINVAL when BUFLEN is too smal.
27243
c3b1bf7d
TS
272442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27245
27246 [BZ #13553]
27247 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27248 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27249
b1aa60f3
AJ
272502012-04-03 Andreas Jaeger <aj@suse.de>
27251
c3b1bf7d 27252 [BZ #13938]
67f60a26
AJ
27253 * manual/setjmp.texi (System V contexts): Fix sentence.
27254
b1aa60f3
AJ
27255 [BZ #13926]
27256 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27257 New macro for this case.
27258 [!__GNUC__] (__bswap_64): New inline function for this case.
27259 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27260 * bits/byteswap.h: Likewise.
27261 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27262 ull, guard with __GLIBC_HAVE_LONG_LONG.
27263
27264 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27265 __GLIBC_HAVE_LONG_LONG.
27266
27267 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27268 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27269
39c59c35
TMQMF
272702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27271
27272 [BZ #13691]
27273 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27274 inptr and inend, rather than using last_ch.
27275
135ffda8
DM
272762012-04-02 David S. Miller <davem@davemloft.net>
27277
27278 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27279 * stdio-common/printf-parse.h (read_int): Change return type to
27280 'int', return -1 on INT_MAX overflow.
27281 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27282 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27283 overflows INT_MAX. Check for overflow of in-format-string precision
27284 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27285 SIZE_MAX not INT_MAX for integer overflow test.
27286 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27287 skip the construct in the format string but do not record anything.
27288 * stdio-common/bug22.c: Adjust to test both width/prevision
27289 INT_MAX overflow as well as total length INT_MAX overflow. Check
27290 explicitly for proper errno values.
27291
228c019e
TS
272922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27293
302cadd3
TS
27294 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27295 CHAR_MAX.
27296 * string/test-strcmp.c [! WIDE]: Likewise.
27297 * time/tst-mktime2.c: Likewise for INT_MAX.
27298 * string/test-string.h: #include <sys/param.h> for MIN.
27299
228c019e
TS
27300 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27301 * sysdeps/i386/init-first.c (init): Likewise.
27302 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27303 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27304 * sysdeps/sh/init-first.c (init): Likewise.
27305
cfa633f5
UD
273062012-04-01 Ulrich Drepper <drepper@gmail.com>
27307
27308 * po/ru.po: Update from translation team.
d1635ef8 27309 * po/vi.po: Likewise.
cfa633f5 27310
6cd0a5ea
SP
273112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27312
27313 * resolv/nss_dns/dns-host.c: Merge copyright years.
27314
4b43400f
LD
273152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27316
27317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27318 Optimize memcpy with prefetch if
27319 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27320 src, dst pointers have unequal 16 byte alignments.
27321
48c41d04
SP
273222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27323
27324 [BZ #13928]
27325 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27326 from a CNAME entry and return the minimum ttl for the query.
27327 (gaih_getanswer_slice): Likewise.
27328
b8dc394d
JL
273292012-03-30 Jeff Law <law@redhat.com>
27330
27331 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27332 due to long keys.
27333 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27334 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27335
2f5a5ed0
JL
27336 * resolv/nss_dns/dns-host.c: Update copyright year.
27337
1d39e359
UD
273382012-03-30 Ulrich Drepper <drepper@gmail.com>
27339
c030f70c 27340 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27341 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27342
1d39e359
UD
27343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27344 comments for sendmmsg.
27345
273462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27347
27348 [BZ #13691]
27349 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27350 with only 1 character between 0x0041 and 0x01b0.
27351 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27352 * wcsmbs/tst-mbsnrtowcs.c: New file.
27353
20fde227
DM
273542012-03-29 David S. Miller <davem@davemloft.net>
27355
27356 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27357 small copies by hand.
27358
984a4237
JL
273592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27360
27361 [BZ #13761]
27362 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27363 _nss_compat_initgroups_dyn): Fall back to malloc/free
27364 for large group memberships.
27365
18c9d62b
DM
273662012-03-28 David S. Miller <davem@davemloft.net>
27367
88d85d4f
DM
27368 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27369 that branches into memcpy.
27370 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27372 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27373 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27375 bits.
27376 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27377 implementation too.
27378 * sysdeps/sparc/mempcpy.S: New file.
27379
e5aa83e1
DM
27380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27381 the IFUNC routine in the libc case.
27382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27383
88570753
DM
27384 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27385 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27386 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27387 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27388 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27389 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27390 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27391 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27392
249d7567
DM
27393 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27394 loop to 256 bytes instead of 64 bytes and fix test signedness.
27395
18c9d62b
DM
27396 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27397 * sysdeps/sparc/sparc32/Makefile: rather than here...
27398 * sysdeps/sparc/sparc64/Makefile: and here.
27399
05f3d1f6
UD
274002012-03-28 Ulrich Drepper <drepper@gmail.com>
27401
27402 * malloc/mallocbug.c: Avoid warnings about unused variables.
27403
86ae07a8
JL
274042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27405
27406 [BZ #13760]
27407 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27408 in the right place. Discard and retry query if response is
27409 larger than input buffer size.
27410
41bf21a1
JM
274112012-03-28 Joseph Myers <joseph@codesourcery.com>
27412
d6270972
JM
27413 [BZ #369]
27414 [BZ #2678]
27415 [BZ #3866]
27416 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27417 x for large integer exponent.
27418 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27419 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27420 sign of result as needed afterwards.
27421 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27422 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27423 result for underflowing pow the same as for overflow.
27424 (__kernel_standard_l): Handle powl overflow and underflow here
27425 rather than calling __kernel_standard.
27426 * math/libm-test.inc (pow_test): Add more tests.
27427
414fca03 27428 [BZ #3868]
41bf21a1
JM
27429 [BZ #13879]
27430 [BZ #13910]
27431 [BZ #13911]
27432 [BZ #13912]
27433 [BZ #13913]
27434 [BZ #13915]
27435 [BZ #13916]
27436 [BZ #13917]
27437 [BZ #13918]
27438 [BZ #13919]
27439 [BZ #13920]
27440 [BZ #13921]
27441 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27442 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27443 (__kernel_standard_l): New function.
27444 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27445 __kernel_standard.
27446 * math/w_acosl.c (__acosl): Likewise.
27447 * math/w_asinl.c (__asinl): Likewise.
27448 * math/w_atan2l.c (__atan2l): Likewise.
27449 * math/w_atanhl.c (__atanhl): Likewise.
27450 * math/w_coshl.c (__coshl): Likewise.
27451 * math/w_exp10l.c (__exp10l): Likewise.
27452 * math/w_exp2l.c (__exp2l): Likewise.
27453 * math/w_fmodl.c (__fmodl): Likewise.
27454 * math/w_hypotl.c (__hypotl): Likewise.
27455 * math/w_j0l.c (__j0l, __y0l): Likewise.
27456 * math/w_j1l.c (__j1l, __y1l): Likewise.
27457 * math/w_jnl.c (__jnl, __ynl): Likewise.
27458 * math/w_lgammal.c (__lgammal): Likewise.
27459 * math/w_log10l.c (__log10l): Likewise.
27460 * math/w_log2l.c (__log2l): Likewise.
27461 * math/w_logl.c (__logl): Likewise.
27462 * math/w_powl.c (__powl): Likewise.
27463 * math/w_remainderl.c (__remainderl): Likewise.
27464 * math/w_scalbl.c (sysv_scalbl): Likewise.
27465 * math/w_sinhl.c (__sinhl): Likewise.
27466 * math/w_sqrtl.c (__sqrtl): Likewise.
27467 * math/w_tgammal.c (__tgammal): Likewise.
27468 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27469 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27470 * math/libm-test.inc (acos_test): Add more tests.
27471 (acosh_test): Likewise.
27472 (asin_test): Likewise.
27473 (atanh_test): Likewise.
27474 (exp_test): Likewise.
27475 (exp10_test): Likewise.
27476 (exp2_test): Likewise.
27477 (expm1_test): Likewise.
27478 (lgamma_test): Likewise.
27479 (log_test): Likewise.
27480 (log10_test): Likewise.
27481 (log1p_test): Likewise.
27482 (log2_test): Likewise.
27483 (pow_test): Do not allow some spurious overflow exceptions.
27484 (sqrt_test): Add more tests.
27485 (tgamma_test): Likewise.
27486 (y0_test): Likewise.
27487 (y1_test): Likewise.
27488 (yn_test): Likewise.
27489
dd62fda6
AB
274902012-03-27 Anton Blanchard <anton@samba.org>
27491
27492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27493 MAP_HUGETLB.
27494 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27496 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27497
1e3cdfda
AJ
274982012-03-27 David S. Miller <davem@davemloft.net>
27499
b855ab85
DM
27500 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27501
1e3cdfda
AJ
27502 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27503 have-as-vis3 check.
27504
275052012-03-27 Andreas Jaeger <aj@suse.de>
27506
27507 * sysdeps/x86_64/elf/configure.in: Moved to ...
27508 * sysdeps/x86_64/configure.in: ... here.
27509 * sysdeps/x86_64/elf/start.S: Moved to ...
27510 * sysdeps/x86_64/start.S: ... here.
27511 * sysdeps/x86_64/elf/configure: Delete.
27512
27513 * sysdeps/x86_64/configure.in: Merge contents from
27514 sysdeps/i386/configure.in (without i686 check).
27515
27516 * sysdeps/i386/elf/Versions: Merge into ...
27517 * sysdeps/i386/Versions: ... this.
27518 * sysdeps/i386/elf/Versions: Delete file.
27519 * sysdeps/i386/elf/start.S: Moved to ...
27520 * sysdeps/i386/start.S: ...here.
27521 * sysdeps/i386/elf/configure.in: Merge into...
27522 * sysdeps/i386/configure.in: ...here.
27523 * sysdeps/i386/elf/configure.in: Delete file.
27524 * sysdeps/i386/elf/configure: Delete file.
27525
27526 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27527 * debug/backtracesyms.c: ... here.
27528 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27529 * debug/backtracesymsfd.c: ... here.
27530 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27531 * sysdeps/generic/ifunc-sel.h: ... here.
27532
27533 * sysdeps/unix/i386/start.c: Delete file.
27534 * sysdeps/unix/sparc/start.c: Delete file.
27535 * sysdeps/unix/start.c: Delete file.
27536
27537 * sysdeps/sh/elf/configure.in: Moved to ...
27538 * sysdeps/sh/configure.in: ... here.
27539 * sysdeps/sh/elf/start.S: Moved to ...
27540 * sysdeps/sh/start.S: ... here.
27541 * sysdeps/sh/elf/configure: Delete file.
27542
27543 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27544 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27545 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27546 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27547 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27548 * sysdeps/powerpc/powerpc64/start.S: here.
27549 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27550 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27551 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27552 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27553 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27554
27555 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27556 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27557 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27558 * sysdeps/powerpc/powerpc32/start.S: ... here.
27559 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27560 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27561 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27562
27563 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27564 * sysdeps/powerpc/ifunc-sel.h: ... here.
27565 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27566 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27567
27568 * sysdeps/sparc/elf/configure.in: Moved to ...
27569 * sysdeps/sparc/configure.in: ... here.
27570 * sysdeps/sparc/elf/configure: Delete file.
27571 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27572 * sysdeps/sparc/sparc32/start.S: ... here.
27573 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27574 * sysdeps/sparc/sparc64/start.S: ... here.
27575 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27576 * sysdeps/sparc/sparc32/Makefile: ... this.
27577 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27578 * sysdeps/sparc/sparc64/Makefile: ... this.
27579
27580 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27581 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27582 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27583 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27584 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27585 * sysdeps/s390/s390-32/setjmp.S: ... here.
27586 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27587 * sysdeps/s390/s390-32/configure.in: ... here.
27588 * sysdeps/s390/s390-32/elf/configure: Delete file.
27589 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27590 * sysdeps/s390/s390-32/start.S: ... here.
27591
27592 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27593 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27594 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27595 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27596 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27597 * sysdeps/s390/s390-64/setjmp.S: ... here.
27598 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27599 * sysdeps/s390/s390-64/configure.in: ... here
27600 * sysdeps/s390/s390-64/elf/configure: Delete file.
27601 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27602 * sysdeps/s390/s390-64/start.S: ... here.
27603 * sysdeps/s390/s390-64/elf/configure: Delete.
27604
27605 * configure.in: Remove support for elf directories in sysdeps.
27606
27607 * configure: Regenerated.
27608 * sysdeps/i386/configure: Regenerated.
27609 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27610 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27611 * sysdeps/s390/s390-32/configure: Regenerated.
27612 * sysdeps/s390/s390-64/configure: Regenerated.
27613 * sysdeps/sh/configure: Regenerated.
27614 * sysdeps/sparc/configure: Regenerated.
27615 * sysdeps/x86_64/configure: Regenerated.
27616
a3f61311
AS
276172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27618
c876e002
AS
27619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27620
a3f61311
AS
27621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27622 denormal result into account.
27623
ac4c54f0
RM
276242012-03-25 Roland McGrath <roland@hack.frob.com>
27625
27626 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27627 Reported by Allan McRae <allan@archlinux.org>.
27628
6a9b9c02
JL
276292012-03-23 Jeff Law <law@redhat.com>
27630
27631 * nss/getnssent.c (__nss_getent): Fix typo.
27632
4c42a0c1
DM
276332012-03-23 David S. Miller <davem@davemloft.net>
27634
27635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27636
1532c7ac
L
276372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27638
27639 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27640 to pad to uint64_t for each field.
27641 (dl_tls_index): Replace unsigned long with uint64_t.
27642
3ff42526
PP
276432012-03-23 Daniel Jacobowitz <dmj@google.com>
27644 Paul Pluzhnikov <ppluzhnikov@google.com>
27645
27646 [BZ #6528]
27647 * grp/Makefile (otherlibs): Don't set it.
27648 * inet/Makefile (otherlibs): Likewise.
27649 * login/Makefile (otherlibs): Likewise.
27650 * nscd/Makefile (otherlibs): Likewise.
27651 * posix/Makefile (otherlibs): Likewise.
27652 * pwd/Makefile (otherlibs): Likewise.
27653 * rt/Makefile (otherlibs): Likewise.
27654 * sunrpc/Makefile (otherlibs): Likewise.
27655 * nss/Makefile (otherlibs): Likewise.
27656 Add libnss_files to routines and static-only-routines.
27657 ($(objpfx)getent): Remove rule.
27658 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27659 static-only-routines.
27660
7c69cd14
JM
276612012-03-22 Joseph Myers <joseph@codesourcery.com>
27662
27663 [BZ #13892]
27664 * math/s_cexp.c: Include <float.h>.
27665 (__cexp): Handle exp result overflowing not necessarily
27666 overflowing both real and imaginary parts of result.
27667 * math/s_cexpf.c: Likewise.
27668 * math/s_cexpl.c: Likewise.
27669 * math/libm-test.inc (cexp_test): Add more tests.
27670 * sysdeps/i386/fpu/libm-test-ulps: Update.
27671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27672
81b035fe
L
276732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27674
27675 * include/link.h (ELFW): New macro.
27676 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27677 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27678
1da7940c
L
276792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27680
27681 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27682 with uint64_t.
27683
b749dbb9
L
276842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27685
27686 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27687 declaration.
27688 (struct La_x32_retval): Likewise.
27689
2ff87f3f
L
276902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27691
27692 * sysdeps/x86_64/preconfigure.in: New file.
27693 * sysdeps/x86_64/preconfigure: New generated file.
27694
c0df8e69
JM
276952012-03-22 Joseph Myers <joseph@codesourcery.com>
27696
48e44791
JM
27697 [BZ #13824]
27698 * math/e_exp2l.c: Include <float.h>.
27699 (__ieee754_exp2l): Handle overflow and underflow cases
27700 separately. Only pass fractional part of argument to
27701 __ieee754_expl.
27702 * math/libm-test.inc (exp2_test): Add more tests.
27703
c0df8e69
JM
27704 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27705 negating x to take absolute value.
27706 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27707 Likewise.
27708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27710 Likewise.
27711 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27712 computing low part if x was negated.
27713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27714
c8e43ba7
L
277152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27716
27717 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27718 la_x32_gnu_pltexit.
27719 (pltexit): Cast int_retval to ptrdiff_t.
27720 * elf/tst-auditmod3b.c: Likewise.
27721 * elf/tst-auditmod4b.c: Likewise.
27722 * elf/tst-auditmod5b.c: Likewise.
27723 * elf/tst-auditmod6b.c: Likewise.
27724 * elf/tst-auditmod6c.c: Likewise.
27725 * elf/tst-auditmod7b.c: Likewise.
27726
27727 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27728 and x32_gnu_pltexit.
27729
27730 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27731 __ELF_NATIVE_CLASS.
27732 (La_x32_regs): New macro.
27733 (La_x32_retval): Likewise.
27734 (la_x32_gnu_pltenter): New function prototype.
27735 (la_x32_gnu_pltexit): Likewise.
27736
7998fa78
AS
277372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27738
dcb33988
AS
27739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27740 exponent.
27741
233fc563
AS
27742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27743
7998fa78
AS
27744 * configure.in (libc_cv_cc_nofma): Check for option to disable
27745 generation of FMA instructions.
27746 * configure: Regenerate.
27747 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27748 * sysdeps/ieee754/dbl-64/Makefile: New file.
27749 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27750 Remove brandred-fma4.
27751 (CFLAGS-brandred-fma4.c): Remove.
27752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27753 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27754 define.
27755 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27756 define.
27757
8e95c99a
L
277582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27759
27760 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27761 LLONG_MAX != LONG_MAX.
27762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27763 (_fitoa_word): Likewise.
27764 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27765 LLONG_MAX != LONG_MAX.
27766 * stdio-common/_itowa.h: Include <_itoa.h>.
27767 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27768 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27769 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27770 only if not defined.
27771 (_ITOA_WORD_TYPE): Likewise.
27772 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27773 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27774
6f4db457
DM
277752012-03-21 David S. Miller <davem@davemloft.net>
27776
27777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27778
7785fe5a
L
277792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27780
27781 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27782 of x86_64 when setting libc_cv_slibdir, libdir and
27783 libc_cv_localedir.
27784 * sysdeps/unix/sysv/linux/configure: Regenerated.
27785
4535cd55
JM
277862012-03-21 Joseph Myers <joseph@codesourcery.com>
27787
27788 * manual/lang.texi (Old Varargs): Remove section.
27789 (How Variadic): Update menu.
27790 (va_start): Do not mention varargs.h.
27791
17228132
TS
277922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27793 Joseph Myers <joseph@codesourcery.com>
27794
27795 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27796 link test.
27797 * configure: Regenerated.
27798
8149f976
TS
277992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27800
05f3d1f6
UD
27801 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27802 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27803 conformtest.pl
8149f976 27804
1a4ac776
JM
278052012-03-21 Joseph Myers <joseph@codesourcery.com>
27806
be22ce65
JM
27807 * NOTES: Remove.
27808 * Makefile (files-for-dist): Remove NOTES.
27809 (NOTES): Remove rule.
27810 * README: Don't refer to NOTES.
27811 * manual/creature.texi: Don't include macros.texi.
27812 * manual/intro.texi (creature.texi): Remove comment referring to
27813 NOTES.
27814
40b601fb
JM
27815 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27816 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27817 * configure: Regenerated.
27818 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27819 LIBC_TRY_CC_OPTION.
27820 (libc_cv_as_i686): Likewise.
27821 (libc_cv_cc_avx): Likewise.
27822 (libc_cv_cc_sse2avx): Likewise.
27823 (libc_cv_cc_fma4): Likewise.
27824 (libc_cv_cc_novzeroupper): Likewise.
27825 * sysdeps/i386/configure: Regenerated.
27826
1a4ac776
JM
27827 [BZ #13883]
27828 * sysdeps/i386/fpu/s_cexp.S: Remove.
27829 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27830 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27831 * math/libm-test.inc (cexp_test): Add more tests.
27832 * sysdeps/i386/fpu/libm-test-ulps: Update.
27833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27834
a458e7fe
AM
278352012-03-21 Allan McRae <allan@archlinux.org>
27836
27837 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27838
0cb7efc5
JM
278392012-03-21 Joseph Myers <joseph@codesourcery.com>
27840
27841 [BZ #13871]
27842 * math/w_exp2.c: Do not include <float.h>.
27843 (o_threshold, u_threshold): Remove.
27844 (__exp2): Calculate result before checking finiteness and calling
27845 __kernel_standard.
27846 * math/w_exp2f.c: Likewise.
27847 * math/w_exp2l.c: Likewise.
27848 * math/libm-test.inc (exp2_test): Require overflow exception for
27849 1e6 input.
2460d3aa
JM
27850
27851 [BZ #3866]
27852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27853 range of signed 64-bit integers before using fistpll. Remove
27854 checks for whether integers fit in mantissa bits.
27855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27856 the range of signed 32-bit integers before using fistpl. Remove
27857 checks for whether integers fit in mantissa bits.
27858 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27859 (__ieee754_powl): Test for y outside the range of signed 64-bit
27860 integers before using fistpll. Reduce 64-bit values to 63-bit
27861 ones as needed.
27862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27863 divide-by-zero is raised for zero to large negative powers.
27864 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27865 (__ieee754_powl): Test for y outside the range of signed 64-bit
27866 integers before using fistpll. Reduce 64-bit values to 63-bit
27867 ones as needed.
27868 * math/libm-test.inc (pow_test): Add more tests.
27869
eb96ffb0
L
278702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27871
27872 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27873 <stdio-common/_itoa.h>.
27874 * debug/segfault.c: Likewise.
27875 * elf/dl-cache.c: Likewise.
27876 * elf/dl-minimal.c: Likewise.
27877 * elf/dl-misc.c: Likewise.
27878 * elf/dl-sysdep.c: Likewise.
27879 * elf/dl-version.c: Likewise.
27880 * elf/rtld.c: Likewise.
27881 * hurd/hurdsock.c: Likewise.
27882 * hurd/lookup-retry.c: Likewise.
27883 * malloc/malloc.c: Likewise.
27884 * malloc/mtrace.c: Likewise.
27885 * nscd/nscd_getgr_r.c: Likewise.
27886 * nscd/nscd_getpw_r.c: Likewise.
27887 * nscd/nscd_getserv_r.c: Likewise.
27888 * posix/getopt_init.c: Likewise.
27889 * posix/wordexp.c: Likewise.
27890 * stdio-common/_itoa.c: Likewise.
27891 * stdio-common/printf_fphex.c: Likewise.
27892 * stdio-common/vfprintf.c: Likewise.
27893 * string/_strerror.c: Likewise.
27894 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27895 * sysdeps/i386/i686/hp-timing.h: Likewise.
27896 * sysdeps/mach/_strerror.c: Likewise.
27897 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27898 * sysdeps/mach/hurd/sethostid.c: Likewise.
27899 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27900 * sysdeps/mach/xpg-strerror.c: Likewise.
27901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27903 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27904 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27905 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27906 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27907 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27908 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27909 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27910 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27911 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27913 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27914 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27915 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27916 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27917 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27918 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27919 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27920 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27921 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27922
27923 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27924
27925 * stdio-common/_itoa.h: Moved to ...
27926 * sysdeps/generic/_itoa.h: Here.
27927
27928 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27929
27930 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27931 instead of "_itoa.h" and "_itowa.h".
27932 * stdio-common/vfprintf.: Likewise.
27933
d1af992d
L
279342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27935
27936 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27937 <bits/wordsize.h>.
27938 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27939 (__signbit): Likwise.
27940 (llrintf): Likwise.
27941 (llrint): Likwise.
27942
114883e0
L
279432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27944
27945 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27946 __WORDSIZE != 64.
27947
c135cc1b
JM
279482012-03-20 Joseph Myers <joseph@codesourcery.com>
27949
27950 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27951 OVERFLOW_EXCEPTION_OK.
27952 * math/libm-test.inc ("Philosophy"): Update comment about
27953 exception testing.
27954 (OVERFLOW_EXCEPTION): Define.
27955 (OVERFLOW_EXCEPTION_OK): Likewise.
27956 (INVALID_EXCEPTION_OK): Renumber.
27957 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27958 (IGNORE_ZERO_INF_SIGN): Likewise.
27959 (test_exceptions): Handle FE_OVERFLOW.
27960 (exp10_test): Expect overflow exceptions.
27961 (exp2_test): Likewise.
27962 (expm1_test): Likewise.
27963 (nextafter_test): Likewise.
27964 (pow_test): Likewise.
27965 (scalbn_test): Likewise.
27966 (scalbln_test): Likewise.
27967
95443d88
L
279682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 * sysdeps/x86_64/bits/atomic.h
27971 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27972 64bit integer.
27973 (atomic_exchange_acq): Likewise.
27974 (__arch_exchange_and_add_body): Likewise.
27975 (__arch_add_body): Likewise.
27976 (atomic_add_negative): Likewise.
27977 (atomic_add_zero): Likewise.
27978
490df6c4
L
279792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27980
c2722551 27981 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27982 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27983
5e52b189
L
279842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27985
27986 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27987 Check __x86_64__ instead of __WORDSIZE.
27988
a9879d4c
L
279892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27990
27991 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27992
5df98260
DM
279932012-03-19 David S. Miller <davem@davemloft.net>
27994
e1497744
DM
27995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27996
5df98260
DM
27997 * sysdeps/sparc/fpu/fenv_private.h: New file.
27998 * sysdeps/sparc/fpu/math_private.h: Use it.
27999 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28000 Remove.
28001 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28002 (libc_feholdexcept_setroundl): Remove.
28003 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28004 Remove.
28005 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28006 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28007
b4c35121
L
280082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28009
28010 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28011 int64_t instead of long int.
28012 (INSERT_WORDS64): Likwise.
28013
56965fd7
L
280142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28015
28016 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28017 _Unwind_GetCFA return to _Unwind_Ptr first.
28018
83d1aec8
JM
280192012-03-19 Joseph Myers <joseph@codesourcery.com>
28020
1897ad44
JM
28021 [BZ #13629]
28022 * math/s_clog.c: Include <float.h>.
28023 (__clog): Scale large or subnormal inputs.
28024 * math/s_clogf.c: Likewise.
28025 * math/s_clogl.c: Likewise.
28026 * math/s_clog10.c: Include <float.h>.
28027 (M_LOG10_2): Define.
28028 (__clog10): Scale large or subnormal inputs.
28029 * math/s_clog10f.c: Likewise.
28030 * math/s_clog10l.c: Likewise.
28031 * math/libm-test.inc (clog_test): Add more tests.
28032 (clog10_test): Likewise.
28033 * sysdeps/i386/fpu/libm-test-ulps: Update.
28034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28035
7726d6a9
JM
28036 [BZ #11451]
28037 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28038 x and y.
28039 * math/libm-test.inc (atan2_test): Add another test.
28040
83d1aec8
JM
28041 * Makerules (common-objdir-compile): Remove.
28042 * sysdeps/unix/Makefile (config-generated): Do not add
28043 $(unix-generated) to variable.
28044 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28045 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28046 Remove rule.
28047 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28048 Likewise.
28049 [generic bits/local_lim.h] (before-compile): Do not append to
28050 variable.
28051 [generic bits/local_lim.h] (common-generated): Likewise.
28052 [generic sys/param.h] (before-compile): Do not append to variable.
28053 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28054 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28055 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28056 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28057 include.
28058 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28059 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28060 [generic sys/param.h] ($(addprefix
28061 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28062 [generic sys/param.h] (common-generated): Do not append to
28063 variable.
28064 [generic sys/param.h] (sysdep_headers): Likewise.
28065 [generic bits/errno.h] (before-compile): Do not append to
28066 variable.
28067 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28068 rule.
28069 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28070 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28071 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28072 [generic bits/errno.h] (common-generated): Do not append to
28073 variable.
28074 [generic bits/ioctls.h] (before-compile): Do not append to
28075 variable.
28076 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28077 rule.
28078 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28079 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28080 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28081 rule.
28082 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28083 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28084 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28085 [generic bits/ioctls.h] (common-generated): Do not append to
28086 variable.
28087 [generic sys/syscall.h] (syscall.h): Remove variable.
28088 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28089 rule.
28090 [generic sys/syscall.h] (before-compile): Do not append to
28091 variable.
28092 [generic sys/syscall.h] (common-generated): Likewise.
28093 * sysdeps/unix/errnos-tmpl.c: Remove file.
28094 * sysdeps/unix/errnos.awk: Likewise.
28095 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28096 * sysdeps/unix/ioctls.awk: Likewise.
28097 * sysdeps/unix/mk-local_lim.c: Likewise.
28098 * sysdeps/unix/snarf-ioctls: Likewise.
28099
4851a949
RH
281002012-03-19 Richard Henderson <rth@twiddle.net>
28101
bd37f2ee
RH
28102 * sysdeps/i386/fpu/fenv_private.h: New file.
28103 * sysdeps/i386/fpu/math_private.h: Use it.
28104 (math_opt_barrier, math_force_eval): Remove.
28105 (libc_feholdexcept_setround_53bit): Remove.
28106 (libc_feupdateenv_53bit): Remove.
28107 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28108 (math_opt_barrier, math_force_eval): Remove.
28109 (libc_feholdexcept): Remove.
28110 (libc_feholdexcept_setround): Remove.
28111 (libc_fetestexcept, libc_fesetenv): Remove.
28112 (libc_feupdateenv_test): Remove.
28113 (libc_feupdateenv, libc_feholdsetround): Remove.
28114 (libc_feresetround): Remove.
28115
d0adc922
RH
28116 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28117 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28118
0fe0f1f8
RH
28119 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28120 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28121 (libc_feupdateenv_testl): New.
28122 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28123 (libc_feupdateenv_testf): New.
28124 (libc_feupdateenv): Use libc_feupdateenv_test.
28125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28127
eb92c487
RH
28128 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28129 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28130 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28131 (libc_feresetround_noex): New.
28132 (libc_feresetround_noexf): New.
28133 (libc_feresetround_noexl): New.
28134 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28135 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28136 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28137 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28138 SET_RESTORE_ROUND.
28139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28141 (__cos): Likewise.
28142 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28143 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28144 SET_RESTORE_ROUND_NOEX.
28145 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28146 SET_RESTORE_ROUND_NOEXF.
28147 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28148 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28149 (libc_feholdsetroundf): New.
28150 (libc_feresetround, libc_feresetroundf): New.
28151
7d2e8012
RH
28152 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28153 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28154 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28155
b4dabbb4
RH
28156 * sysdeps/generic/math_private.h: Include <fenv.h>.
28157 (default_libc_feholdexcept): New.
28158 (default_libc_feholdexcept_setround): New.
28159 (default_libc_fesetenv, default_libc_feupdateenv): New.
28160 (libc_feholdexcept): Only define if undefined.
28161 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28162 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28163 (libc_feholdexcept_setroundl): Likewise.
28164 (libc_feholdexcept_setround_53bit): Likewise.
28165 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28166 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28167 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28168 (libc_feupdateenv_53bit): Likewise.
28169 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28170 (libc_feholdexcept): Convert from macro to inline function.
28171 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28172 (libc_fesetenv, libc_feupdateenv): Likewise.
28173
4851a949
RH
28174 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28175 not previously defined.
28176 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28177 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28178 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28179 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28180 * sysdeps/ieee754/flt-32/math_private.h: New file.
28181 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28182 math_private.h below SET_FLOAT_WORD.
28183 (__isnan, __isinf_ns, __finite): Remove.
28184 (__isnanf, __isinf_nsf, __finitef): Remove.
28185
e79d442e
AS
281862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28187
28188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28189
90b80344
DM
281902012-03-17 David S. Miller <davem@davemloft.net>
28191
28192 [BZ #6471]
28193 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28194 for 2.16.
28195
edc21804
DM
281962012-03-16 David S. Miller <davem@davemloft.net>
28197
77e927af
DM
28198 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28199 warnings.
28200
374976dd
DM
28201 [BZ #6471]
28202 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28203 properly.
28204 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28205 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28206 sysdep_routines when subdir is sysvipc.
28207 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28208 __getshmlba helper.
28209
edc21804
DM
28210 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28211
473c3ef3
L
282122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28213
28214 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28215 [__LP64__].
28216
eb0f39b6
L
282172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28218
28219 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28220 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28221 (__lround): Renamed to ...
28222 (__llround): This. Replace long int with long long int.
28223 Define lround functions as aliases of llround functions.
28224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28225
6b6cd74b
L
282262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28227
28228 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28229 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28230 adresses to uintptr_t. Replace "long int" and "unsigned long
28231 int" with "greg_t" on va_arg.
28232
f1a77b01
L
282332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28234
28235 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28236 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28237
28238 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28239 Move e_machine check before EI_CLASS check. Handle x32
28240 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28241 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28242 SKIP_EM_IA_64 and include
28243 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28244
28245 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28246 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28247 (add_system_dir): New macro.
28248
28249 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28250 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28251
11b90b9f
JM
282522012-03-16 Joseph Myers <joseph@codesourcery.com>
28253
c36e1d23
JM
28254 [BZ #2551]
28255 [BZ #2552]
28256 [BZ #2553]
28257 [BZ #2554]
28258 [BZ #2562]
28259 [BZ #2563]
28260 [BZ #2565]
28261 [BZ #2566]
28262 [BZ #2576]
28263 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28264 (y0): Likewise.
28265 * math/w_j0f.c (j0f): Likewise.
28266 (y0f): Likewise.
28267 * math/w_j0l.c (__j0l): Likewise.
28268 (__y0l): Likewise.
28269 * math/w_j1.c (j1): Likewise.
28270 (y1): Likewise.
28271 * math/w_j1f.c (j1f): Likewise.
28272 (y1f): Likewise.
28273 * math/w_j1l.c (__j1l): Likewise.
28274 (__y1l): Likewise.
28275 * math/w_jn.c (jn): Likewise.
28276 (yn): Likewise.
28277 * math/w_jnf.c (jnf): Likewise.
28278 (ynf): Likewise.
28279 * math/w_jnl.c (__jnl): Likewise.
28280 (__ynl): Likewise.
28281 * math/libm-test.inc (j0_test): Add more tests.
28282 (j1_test): Likewise.
28283 (jn_test): Likewise. Add trailing semicolon to existing test.
28284 (y0_test): Likewise.
28285 (y1_test): Likewise.
28286 * sysdeps/i386/fpu/libm-test-ulps: Update.
28287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28288
11b90b9f
JM
28289 [BZ #13851]
28290 [BZ #13854]
28291 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28292 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28293 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28295 (__tanl): Set errno for infinite argument.
28296 * sysdeps/i386/fpu/mptan.c: Remove.
28297 * sysdeps/i386/fpu/s_tan.S: Likewise.
28298 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28299 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28300 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28301 * math/libm-test.inc (tan_test): Add more tests and enable more
28302 tests for double and long double.
28303 * sysdeps/i386/fpu/libm-test-ulps: Update.
28304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28305
6a1bd2a1
JK
283062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28307
28308 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28309 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28310
10a803e0
RM
283112012-03-16 Roland McGrath <roland@hack.frob.com>
28312
28313 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28314 * configure.in: Use it for both main tree and add-ons.
28315 * configure: Regenerated.
28316
f196c7f7
L
283172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28318
28319 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28320
8848d99d
JM
283212012-03-16 Joseph Myers <joseph@codesourcery.com>
28322
96cbe7f4
JM
28323 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28324 in comment.
28325
8848d99d
JM
28326 [BZ #13851]
28327 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28328 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28332 infinite argument.
28333 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28335 != 0 for prec == 2.
28336 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28337 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28338 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28339 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28340 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28341 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28342 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28343 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28344 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28345 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28346 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28347 * math/libm-test.inc (cos_test): Add more tests and enable more
28348 tests for long double.
28349 (sin_test): Likewise.
28350 (sincos_test): Likewise.
28351 * sysdeps/i386/fpu/libm-test-ulps: Update.
28352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28353
dd7f4703
DM
283542012-03-16 David S. Miller <davem@davemloft.net>
28355
28356 * sysdeps/sparc/fpu/math_private.h: New file.
28357
006f1daa
DM
283582012-03-15 David S. Miller <davem@davemloft.net>
28359
c0c83bc8
DM
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28361 file.
e6a62e18 28362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28364 file.
e6a62e18
DM
28365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28371 sysdep routines.
28372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28373
88cb87d9
DM
28374 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28375 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28376
006f1daa 28377 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28379 sparc-ifunc.h
006f1daa 28380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28382 Likewise.
28383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28384 Likewise.
006f1daa
DM
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28389 Likewise.
006f1daa
DM
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28395 Likewise.
28396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28397 Likewise.
006f1daa
DM
28398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28405 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28422
11e0098e
AS
284232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28424
28425 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28426 scaling.
28427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28428
e85b09d0
AJ
284292012-03-15 Andreas Jaeger <aj@suse.de>
28430
28431 [BZ #13852]
28432 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28433 ieee754/flt-32 implementation for sin, cos and sincos.
28434 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28435 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28436 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28437 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28438 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28439 ieee754/flt-32 implementation for tan.
28440
28441 * math/libm-test.inc (cos_test): Enable some large input tests for
28442 float as well
28443 (sin_test): Likewise.
28444 (sincos_test): Likewise.
28445 (tan_test): Add tests for large input.
28446
28447 * sysdeps/i386/fpu/libm-test-ulps: Update.
28448
81c64153
AJ
284492012-03-15 Andreas Jaeger <aj@suse.de>
28450
28451 [BZ #13658]
28452 * math/libm-test.inc (cos_test): Add more test cases.
28453 (sin_test): Likewise.
28454 (sincos_test): Likewise.
28455
7bbfa5c6
AJ
284562012-03-15 Andreas Jaeger <aj@suse.de>
28457
28458 [BZ #13837]
28459 * math/libm-test.inc (cos_test): Add a test case for large input
28460 value.
28461 (sin_test): Likewise.
28462 (sincos_test): Likewise.
28463
284642012-03-15 Andreas Jaeger <aj@suse.de>,
28465 Joseph Myers <joseph@codesourcery.com>
28466
28467 [BZ #13658]
0671f479 28468 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28469 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28470 * sysdeps/i386/fpu/branred.c: Likewise.
28471 * sysdeps/i386/fpu/dosincos.c: Likewise.
28472 * sysdeps/i386/fpu/mpa.c: Likewise.
28473 * sysdeps/i386/fpu/s_cos.S: Likewise.
28474 * sysdeps/i386/fpu/s_sin.S: Likewise.
28475 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28476 * sysdeps/i386/fpu/sincos32.c: Likewise.
28477
28478 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28479 Define.
28480 (libc_feupdateenv_53bit): Define.
28481 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28482 Define.
28483 (libc_feupdateenv_53bit): Define.
28484
28485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28486 53 bit (without extend i386 double precision).
28487
28488 * math/libm-test.inc (sincos_test): Add tests for large input.
28489 (sin): Likewise.
28490 (cos): Likewise.
28491
28492 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28493
9cad04ea
AS
284942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28495
28496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28497
f7062b9a
DM
284982012-03-15 David S. Miller <davem@davemloft.net>
28499
28500 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28501 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28502 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28503 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28516 file.
f7062b9a 28517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28519 file.
f7062b9a 28520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28522 file.
f7062b9a 28523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28525 file.
f7062b9a
DM
28526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28528 fmin/fmax sysdep routines.
28529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28530
7bd951ff
DM
285312012-03-14 David S. Miller <davem@davemloft.net>
28532
559398ab
DM
28533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28562 routines.
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28564 file.
559398ab 28565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28567 file.
559398ab 28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28570 file.
559398ab 28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28573 file.
559398ab 28574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28576 file.
559398ab 28577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28579 file.
28580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28581 file.
28582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28583 file.
28584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28585 file.
28586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28587 New file.
28588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28589 file.
28590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28591 file.
559398ab 28592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28594 file.
559398ab 28595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28597 file.
559398ab 28598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28600 file.
559398ab 28601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28603 VIS3 routines.
559398ab
DM
28604
28605 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28606 New file.
28607
5a1c1e32
DM
28608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28609
eae47a36
DM
28610 * sysdeps/sparc/configure.in: New file.
28611 * sysdeps/sparc/configure: Generate.
28612 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28613 * configure: Regenerate.
28614 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28615 * config.make.in (have-as-vis3): New.
28616 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28617 available use -Av9d instead of -Av9a.
28618 * sysdeps/sparc/sparc64/Makefile: Likewise.
28619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28621 New file.
28622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28623 file.
28624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28625 New file.
28626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28627 file.
eae47a36
DM
28628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28633
c0c83bc8
DM
28634 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28635 fzeros/fnegs to load 0x80000000 into a float register instead of
28636 using the stack.
7bd951ff
DM
28637 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28638
bd951ccb
JM
286392012-03-14 Joseph Myers <joseph@codesourcery.com>
28640
28641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28642 bits/syscall.h.
28643 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28644 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28645 ($(inst_includedir)/bits/syscall.h): Remove rule.
28646 ($(objpfx)bits/syscall.d): Include instead of
28647 $(objpfx)syscall-list.d.
28648 (generated): Change syscall-list.h and syscall-list.d to
28649 bits/syscall.h and bits/syscall.d.
28650
bb4e6db2
RM
286512012-03-14 Roland McGrath <roland@hack.frob.com>
28652
28653 [BZ #13846]
28654 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28655
aa4a2ae1
JM
286562012-03-14 Joseph Myers <joseph@codesourcery.com>
28657
e456826d
JM
28658 [BZ #13841]
28659 * math/s_csqrt.c: Include <float.h>.
28660 (__csqrt): Scale large or subnormal inputs.
28661 * math/s_csqrtf.c: Likewise.
28662 * math/s_csqrtl.c: Likewise.
28663 * math/libm-test.inc (csqrt_test): Add more tests.
28664 * sysdeps/i386/fpu/libm-test-ulps: Update.
28665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28666
aa4a2ae1
JM
28667 [BZ #13840]
28668 * math/libm-test.inc (hypot_test): Add more tests.
28669
7c10fd35
DM
286702012-03-13 David S. Miller <davem@davemloft.net>
28671
28672 [BZ #13840]
28673 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28674 double-precision for the calculation instead of scaling.
28675
f453b98b
JM
286762012-03-13 Joseph Myers <joseph@codesourcery.com>
28677
28678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28679 manipulate bits before adding and subtracting TWO52[sx].
28680 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28682 Likewise.
28683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28684
09a3453f
DM
286852012-03-13 David S. Miller <davem@davemloft.net>
28686
8e59da90
DM
28687 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28688 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28690 rtld-global-offsets.h
28691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28692
2a8ab7f2
DM
28693 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28694 large parameters.
28695
10f62770
DM
28696 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28697
5f0bdb18
DM
28698 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28699 'err' in the ifdef scope in which it is actually used.
28700
09a3453f
DM
28701 * nss/nss_db/db-init.c: Include string.h
28702
b4b2eb5e
DM
287032012-03-12 David S. Miller <davem@davemloft.net>
28704
98bb2f1c
DM
28705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28706 masking out of the most significant byte of random value used.
28707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28708 Fix coding style in previous change.
28709
b4b2eb5e
DM
28710 * sysdeps/unix/sysv/linux/kernel-features.h
28711 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28712 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28713 expression.
28714 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28715 later.
28716
6e226b09
DM
287172012-03-11 David S. Miller <davem@davemloft.net>
28718
a1bcbd40
DM
28719 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28720 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28722 for 'resultvar' otherwise things get truncated on 64-bit.
28723
cb9d6174
DM
28724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28725 Fix masking out of the most significant byte of random value used.
28726
6e226b09
DM
28727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28728
058c132d
AS
287292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28730
28731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28732
2d2cd515
DM
287332012-03-09 David S. Miller <davem@davemloft.net>
28734
28735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28736 variables with appropriate CPP guards.
28737 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28738 frame pointer, not the stack pointer. Correct layout comments. Fix test
28739 on resulting framesize and the management of the outregs buffer for pltexit.
28740 Preserve floating point return values across _dl_call_pltexit call.
28741 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28742 framesize and the management of the outregs buffer for pltexit.
28743 Preserve floating point return values across _dl_call_pltexit
28744 call.
28745 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28746 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28747 (print_exit): Fix format string for return register value.
28748
9a07f9d0
JM
287492012-03-10 Joseph Myers <joseph@codesourcery.com>
28750
28751 * sunrpc/Makefile (others): Add rpcgen.
28752 ($(objpfx)rpcgen): Remove special build rule and dependency on
28753 libc.
28754 * sunrpc/rpcgen.c: New file.
28755
547b5e30
PE
287562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28757
c524201a
PE
28758 [BZ #13673]
28759 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28760 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28761 * sysdeps/i386/crti.S: Likewise.
28762 * sysdeps/i386/crtn.S: Likewise.
28763 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28764 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28765 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28766 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28767 * sysdeps/sh/crti.S: Likewise.
28768 * sysdeps/sh/crtn.S: Likewise.
28769 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28770
7b6235f2
PE
28771 [BZ #13673]
28772 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28773 with URL.
28774 * locale/programs/locfile-kw.gperf: Likewise.
28775 * locale/programs/charmap-kw.h: Regenerated.
28776 * locale/programs/locfile-kw.h: Likewise.
28777
547b5e30
PE
28778 [BZ #13673]
28779 * intl/plural.y: Replace FSF snail mail address with URL.
28780 * intl/plural.c: Regenerated.
28781
5f0a5dae
RH
287822012-03-09 Richard Henderson <rth@twiddle.net>
28783
28784 * include/math_private.h: Remove file.
28785 * math/math_private.h: Move file ...
28786 * sysdeps/generic/math_private.h: ... here.
28787
b8c03620
RH
28788 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28789 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28790 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28791
4e234f5d 28792 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28793 and <math_private.h>.
28794 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28795 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28796 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28797 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28798 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28799 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28802 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28803 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28805 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28834 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28835 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28836 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28837 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28838 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28843 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28844 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28845 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28846 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28848 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28850 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28851 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28852 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28853 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28854 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28855 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28857 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28858 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28859 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28860 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28861 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28862 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28863 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28864 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28868 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28873 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28874 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28877 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28882 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28883 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28884 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28885 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28886 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28887 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28888 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28889 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28890 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28891 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28893 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28894 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28895 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28896 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28897 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28898 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28899 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28900 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28901 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28902 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28904 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28905 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28906 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28907 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28908 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28910 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28911 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28912 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28914 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28915 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28916 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28917 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28918 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28919 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28920 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28921 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28922 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28923 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28924 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28925 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28926 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28927 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28928 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28929 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28930 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28931 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28932 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28933 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28934 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28935 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28937 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28938 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28939 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28940 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28941 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28942 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28943 * sysdeps/ieee754/k_standard.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28995 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29037 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29042 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29047 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29048 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29059 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29063 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29065 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29066 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29069 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29071 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29074 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29076 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29079 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29080 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29083 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29084 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29085 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29088 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29090 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29092 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29093 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29094 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29098 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29099 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29101 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29102 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29103 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29104 * sysdeps/ieee754/s_lib_version.c: Likewise.
29105 * sysdeps/ieee754/s_matherr.c: Likewise.
29106 * sysdeps/ieee754/s_signgam.c: Likewise.
29107 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29108 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29109 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29110 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29111 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29112 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29113 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29114 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29115 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29116 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29117 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29118 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29119 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29120 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29121 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29122 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29123 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29124 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29128
1991fa03
JM
291292012-03-09 Joseph Myers <joseph@codesourcery.com>
29130
29131 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29132 * sunrpc/rpc_main.c: Likewise.
29133 * sunrpc/rpc_svcout.c: Likewise.
29134
60d6f5a6
DM
291352012-03-09 David S. Miller <davem@davemloft.net>
29136
29137 * include/math_private.h: New file.
29138
4962050e
JM
291392012-03-09 Joseph Myers <joseph@codesourcery.com>
29140
02a6f887
JM
29141 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29142 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29143 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29144 from <bits/socket_type.h>.
29145 (enum __socket_type): Don't define here.
29146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29148 bits/socket_type.h.
29149
c6e013c1
JM
29150 [BZ #13566]
29151 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29152 checking __USE_GNU.
29153
4962050e
JM
29154 * Makerules ($(inst_includedir)/%.h): New rule.
29155 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29156 (install-others): Remove variable setting.
29157 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29158
38842f45
RH
291592012-03-08 Richard Henderson <rth@twiddle.net>
29160
67bb6da6
RH
29161 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29162 from macro to inline function; merge with the
29163 !__LIBC_INTERNAL_MATH_INLINES version.
29164 (__ieee754_sqrtf): Likewise.
29165
15194b4b
RH
29166 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29167 to inline function.
29168 (__rintf, __floor, __floorf): Likewise.
29169
64e21ede
RH
29170 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29171 macro to inline function.
29172 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29173
38842f45
RH
29174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29175 not <math/math_private.h>.
29176
c64bf5fe
DM
291772012-03-08 David S. Miller <davem@davemloft.net>
29178
29179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29180 copyright year.
29181 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29182
82d86f28
TS
291832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29184
29185 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29186 normalization.
29187 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29188 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29189
aea5d727
UD
291902012-03-08 Ulrich Drepper <drepper@gmail.com>
29191
29192 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29193 be defined individually, they must be defined as a block. Define
29194 S for printing a string instead of hidint the different by using a
29195 macro for adding the 'l'.
29196 * stdio-common/tst-fphex-wide.c: Adjust.
29197
70bca0a3
MP
291982012-03-07 Marek Polacek <polacek@redhat.com>
29199
29200 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29201
65b81130
MP
292022012-03-08 Marek Polacek <polacek@redhat.com>
29203
29204 [BZ #13806]
29205 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29206 * stdio-common/tst-fphex.c: Define a few macros to make the
29207 test reusable. Use them.
29208 * stdio-common/tst-fphex-wide.c: New file.
29209
07037eeb
JM
292102012-03-08 Joseph Myers <joseph@codesourcery.com>
29211
a7a93d50
JM
29212 [BZ #6911]
29213 * manual/macros.texi (gnusystems): New macro.
29214 (nongnusystems): Likewise.
29215 (gnulinuxhurdsystems): Likewise.
29216 (gnuhurdsystems): Likewise..
29217 (gnulinuxsystems): Likewise.
29218 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29219 variants of the GNU system, not "GNU system".
29220 * manual/conf.texi: Likewise.
29221 * manual/errno.texi: Likewise. Update example of errno macro
29222 expansion.
29223 * manual/filesys.texi: Likewise.
29224 (getumask): Document as specific to GNU/Hurd.
29225 * manual/install.texi: Likewise. Reword some references to
29226 GNU/Linux.
29227 * manual/intro.texi: Likewise.
29228 * manual/io.texi: Likewise.
29229 (File Name Portability): Detail which constraints are inapplicable
29230 to all GNU systems and which are only inapplicable to GNU/Hurd.
29231 * manual/job.texi: Likewise.
29232 * manual/llio.texi: Likewise.
29233 (O_NOCTTY): Document as present on GNU/Linux.
29234 * manual/maint.texi: Likewise.
29235 * manual/memory.texi: Likewise.
29236 * manual/pattern.texi: Likewise.
29237 * manual/pipe.texi: Likewise.
29238 * manual/process.texi: Likewise.
29239 * manual/resource.texi: Likewise.
29240 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29241 child on GNU/Hurd.
29242 * manual/setjmp.texi: Likewise.
29243 * manual/signal.texi: Likewise.
29244 * manual/startup.texi: Likewise.
29245 * manual/stdio.texi: Likewise.
29246 * manual/terminal.texi: Likewise.
29247 (ONLCR): Document as POSIX.
29248 (OXTABS): Document availability on GNU/Linux as XTABS.
29249 (ONOEOT): Document availability separately from other bits.
29250 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29251 * manual/time.texi: Likewise.
29252 * manual/users.texi: Likewise.
29253 * INSTALL: Regenerated.
29254 * sysdeps/gnu/errlist.c: Regenerated.
29255
07037eeb
JM
29256 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29257 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29258 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29259 puts.
29260 * configure: Regenerated.
29261
d1d3431a
JM
292622012-03-07 Joseph Myers <joseph@codesourcery.com>
29263
af6a1e37
JM
29264 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29265 default includes instead of AC_HEADER_CHECK.
29266 * sysdeps/i386/configure: Regenerated.
29267
d1d3431a
JM
29268 [BZ #10716]
29269 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29270 * math/s_cacoshf.c (__cacoshf): Likewise.
29271 * math/s_cacoshl.c (__cacoshl): Likewise.
29272 * math/s_casinh.c (__casinh): Set signs of result from argument.
29273 * math/s_casinhf.c (__casinhf): Likewise.
29274 * math/s_casinhl.c (__casinhl): Likewise.
29275 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29276 (casinh_test): Add more tests.
29277 * sysdeps/i386/fpu/libm-test-ulps: Update.
29278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29279
482ff4da
UD
292802012-03-07 Ulrich Drepper <drepper@gmail.com>
29281
872fda05
UD
29282 * po/zh_TW.po: Update from translation team.
29283
a4300c7a
UD
29284 * login/Makefile (distribute): Remove variable.
29285 * catgets/Makefile: Likewise.
29286 * mach/Makefile: Likewise.
29287 * malloc/Makefile: Likewise.
29288 * misc/Makefile: Likewise.
29289 * iconv/Makefile: Likewise.
29290 * nscd/Makefile: Likewise.
29291 * hurd/Makefile: Likewise.
29292 * manual/Makefile: Likewise.
29293 * locale/Makefile: Likewise.
29294 * intl/Makefile: Likewise.
29295 * conform/Makefile: Likewise.
29296 * nss/Makefile: Likewise.
29297 * time/Makefile: Likewise.
29298 * soft-fp/Makefile: Likewise.
29299 * dirent/Makefile: Likewise.
29300 * gmon/Makefile: Likewise.
29301 * po/Makefile: Likewise.
29302 * rt/Makefile: Likewise.
29303 * socket/Makefile: Likewise.
29304 * math/Makefile: Likewise.
29305 * signal/Makefile: Likewise.
29306 * debug/Makefile: Likewise.
29307 * elf/Makefile: Likewise.
29308 * timezone/Makefile: Likewise.
29309 * stdlib/Makefile: Likewise.
29310 * iconvdata/Makefile: Likewise.
29311 * sunrpc/Makefile: Likewise.
29312 * io/Makefile: Likewise.
29313 * argp/Makefile: Likewise.
29314 * inet/Makefile: Likewise.
29315 * hesiod/Makefile: Likewise.
29316 * grp/Makefile: Likewise.
29317 * csu/Makefile: Likewise.
29318 * wctype/Makefile: Likewise.
29319 * crypt/Makefile: Likewise.
29320 * libio/Makefile: Likewise.
29321 * string/Makefile: Likewise.
29322 * nis/Makefile: Likewise.
29323 * resolv/Makefile: Likewise.
29324 * stdio-common/Makefile: Likewise.
29325 * wcsmbs/Makefile: Likewise.
29326 * dlfcn/Makefile: Likewise.
29327 * posix/Makefile: Likewise.
29328
3b7c4e74 29329 [BZ #6959]
482ff4da
UD
29330 * timezone/Makefile: Don't install timezone files, just the programs
29331 and scripts.
29332
f72ed77d
UD
293332012-03-06 Ulrich Drepper <drepper@gmail.com>
29334
a000466f
UD
29335 * nss/databases.def: Add missing gshadow entry.
29336
f72ed77d
UD
29337 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29338
a53b7a4e
MP
293392012-03-06 Marek Polacek <polacek@redhat.com>
29340
29341 [BZ #13726]
29342 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29343 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29344 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29345 * stdio-common/tst-long-dbl-fphex.c: New file.
29346
e9258400
DM
293472012-03-06 David S. Miller <davem@davemloft.net>
29348
29349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29350 (set_obp_int): New function.
29351 (get_obp_int): New function.
29352 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29354 Avoid unused variable warnings on 'val' and use builtin_expect.
29355 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29356 __builtin_expect.
e9258400
DM
29357 (INLINE_CLONE_SYSCALL): Likewise.
29358
3bd2c723
DM
293592012-03-05 David S. Miller <davem@davemloft.net>
29360
29361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29362
bbb78d03
AS
293632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29364
884c5db4
AS
29365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29366
bbb78d03
AS
29367 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29368 only for |x| >= 40.
29369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29370
1c9f702a 293712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29372
29373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29374 Replace gettimeofday with __vdso_gettimeofday.
29375
7be16f82
RM
29376 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29377 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29378 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29379
29380 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29381 time with __vdso_time.
29382
ed58a00f
JM
293832012-03-05 Joseph Myers <joseph@codesourcery.com>
29384
29385 * manual/lang.texi (size_t): Note types to which size_t may be
29386 equivalent with the GNU C Library, but do not describe when
29387 differences between them are significant.
29388
30ee4ced
AJ
293892012-03-05 Andreas Jaeger <aj@suse.de>
29390
29391 * sysdeps/i386/fpu/libm-test-ulps: Update.
29392
b7cd39e8
JM
293932012-03-05 Joseph Myers <joseph@codesourcery.com>
29394
29395 [BZ #3976]
29396 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29397 (__ieee754_pow): Save and restore rounding mode and use
29398 round-to-nearest for main computations.
29399 * math/libm-test.inc (pow_test_tonearest): New function.
29400 (pow_test_towardzero): Likewise.
29401 (pow_test_downward): Likewise.
29402 (pow_test_upward): Likewise.
29403 (main): Call the new functions.
29404 * sysdeps/i386/fpu/libm-test-ulps: Update.
29405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29406
29407 [BZ #3976]
29408 * math/libm-test.inc (cosh_test_tonearest): New function.
29409 (cosh_test_towardzero): Likewise.
29410 (cosh_test_downward): Likewise.
29411 (cosh_test_upward): Likewise.
29412 (sinh_test_tonearest): Likewise.
29413 (sinh_test_towardzero): Likewise.
29414 (sinh_test_downward): Likewise.
29415 (sinh_test_upward): Likewise.
29416 (main): Call the new functions.
29417 * sysdeps/i386/fpu/libm-test-ulps: Update.
29418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29419
6c6a98c9
TV
294202012-03-05 Tom de Vries <tom@codesourcery.com>
29421
29422 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29423 default stack guard is set in last bytes.
29424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29425
21bb2d2e 294262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29427
21bb2d2e 29428 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29429
21bb2d2e
AJ
29430 [BZ #13656]
29431 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29432 possibly allocate from heap instead of stack.
29433 * stdio-common/bug-vfprintf-nargs.c: New file.
29434 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29435
c6922934
AS
294362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29437
29438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29439
bc957d53
MP
294402012-03-03 Marek Polacek <polacek@redhat.com>
29441
29442 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29443 * math/math_private.h: Likewise.
29444 * stdlib/tst-strtod.c: Likewise.
29445 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29446 * sysdeps/x86_64/bits/atomic.h: Likewise.
29447
6358490d
DM
294482012-03-02 David S. Miller <davem@davemloft.net>
29449
29450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29454 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29455 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29456 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29457 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29458
01ae168d
RM
294592012-03-02 Roland McGrath <roland@hack.frob.com>
29460
d9a17c07
RM
29461 [BZ #13792]
29462 * manual/examples/README: New file, says the example source files
29463 can be used under GPL>=2.
29464 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29465 line containing just "*/".
29466 * manual/examples/add.c: Add copyright header (GPL>=2).
29467 * manual/examples/argp-ex1.c: Likewise.
29468 * manual/examples/argp-ex2.c: Likewise.
29469 * manual/examples/argp-ex3.c: Likewise.
29470 * manual/examples/argp-ex4.c: Likewise.
29471 * manual/examples/atexit.c: Likewise.
29472 * manual/examples/db.c: Likewise.
29473 * manual/examples/dir.c: Likewise.
29474 * manual/examples/dir2.c: Likewise.
29475 * manual/examples/execinfo.c: Likewise.
29476 * manual/examples/filecli.c: Likewise.
29477 * manual/examples/filesrv.c: Likewise.
29478 * manual/examples/fmtmsgexpl.c: Likewise.
29479 * manual/examples/genpass.c: Likewise.
29480 * manual/examples/inetcli.c: Likewise.
29481 * manual/examples/inetsrv.c: Likewise.
29482 * manual/examples/isockad.c: Likewise.
29483 * manual/examples/longopt.c: Likewise.
29484 * manual/examples/memopen.c: Likewise.
29485 * manual/examples/memstrm.c: Likewise.
29486 * manual/examples/mkfsock.c: Likewise.
29487 * manual/examples/mkisock.c: Likewise.
29488 * manual/examples/mygetpass.c: Likewise.
29489 * manual/examples/pipe.c: Likewise.
29490 * manual/examples/popen.c: Likewise.
29491 * manual/examples/rprintf.c: Likewise.
29492 * manual/examples/search.c: Likewise.
29493 * manual/examples/select.c: Likewise.
29494 * manual/examples/setjmp.c: Likewise.
29495 * manual/examples/sigh1.c: Likewise.
29496 * manual/examples/sigusr.c: Likewise.
29497 * manual/examples/stpcpy.c: Likewise.
29498 * manual/examples/strdupa.c: Likewise.
29499 * manual/examples/strftim.c: Likewise.
29500 * manual/examples/strncat.c: Likewise.
29501 * manual/examples/subopt.c: Likewise.
29502 * manual/examples/swapcontext.c: Likewise.
29503 * manual/examples/termios.c: Likewise.
29504 * manual/examples/testopt.c: Likewise.
29505 * manual/examples/testpass.c: Likewise.
29506 * manual/examples/timeval_subtract.c: Likewise.
29507
01ae168d
RM
29508 [BZ #13792]
29509 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29510 function to ...
29511 * manual/timeval_subtract.c.texi: ... here, new file.
29512
49efa33d
DM
295132012-03-02 David S. Miller <davem@davemloft.net>
29514
29515 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29516
28afd92d
JM
295172012-03-02 Joseph Myers <joseph@codesourcery.com>
29518
804360ed
JM
29519 [BZ #3976]
29520 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29521 (__sin): Save and restore rounding mode and use round-to-nearest
29522 for all computations.
29523 (__cos): Save and restore rounding mode and use round-to-nearest
29524 for all computations.
29525 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29526 <fenv.h>.
29527 (tan): Save and restore rounding mode and use round-to-nearest for
29528 all computations.
29529 * math/libm-test.inc (cos_test_tonearest): New function.
29530 (cos_test_towardzero): Likewise.
29531 (cos_test_downward): Likewise.
29532 (cos_test_upward): Likewise.
29533 (sin_test_tonearest): Likewise.
29534 (sin_test_towardzero): Likewise.
29535 (sin_test_downward): Likewise.
29536 (sin_test_upward): Likewise.
29537 (tan_test_tonearest): Likewise.
29538 (tan_test_towardzero): Likewise.
29539 (tan_test_downward): Likewise.
29540 (tan_test_upward): Likewise.
29541 (main): Call the new functions.
29542 * sysdeps/i386/fpu/libm-test-ulps: Update.
29543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29544
a6d06d7b
JM
29545 [BZ #10135]
29546 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29547 small n, then large n, before computing and testing k+n.
29548 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29550 Likewise.
29551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29552 Likewise.
29553 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29554 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29559 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29560 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29561 * math/libm-test.inc (scalbn_test): Add more tests.
29562 (scalbln_test): Likewise.
29563
07e12bb3
JM
29564 * manual/filesys.texi (mode_t): Describe constraints on size and
29565 signedness, not exact equivalence to a particular type.
29566 (ino_t): Likewise.
29567 (ino64_t): Likewise.
29568 (dev_t): Likewise.
29569 (nlink_t): Likewise.
29570 (blkcnt_t): Likewise.
29571 (blkcnt64_t): Likewise.
29572 * manual/llio.texi (off_t): Likewise.
29573
28afd92d
JM
29574 [BZ #3976]
29575 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29576 (__ieee754_exp): Save and restore rounding mode and use
29577 round-to-nearest for all computations.
29578 * math/libm-test.inc (exp_test_tonearest): New function.
29579 (exp_test_towardzero): Likewise.
29580 (exp_test_downward): Likewise.
29581 (exp_test_upward): Likewise.
29582 (main): Call the new functions.
29583 * sysdeps/i386/fpu/libm-test-ulps: Update.
29584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29585
b1eeb65d
CD
295862012-03-01 Chris Demetriou <cgd@google.com>
29587
29588 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29589 have predictable order.
29590
53362a4b
DM
295912012-03-01 David S. Miller <davem@davemloft.net>
29592
3c969083
DM
29593 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29594
759707de
DM
29595 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29596 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29597 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29598 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29599
dfdb8ff2
DM
29600 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29601 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29602 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29604 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29605 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29606 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29607 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29608 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29609
ead89f96
DM
29610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29611
7f66bd07
DM
29612 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29613 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29614 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29615
53362a4b
DM
29616 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29617 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29618 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29619 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29620 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29623 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29624 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29625 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29626 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29629 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29630 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29632 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29633 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29634 * sysdeps/sparc/elf/configure: Regenerated.
29635
7b1902cb
JM
296362012-03-01 Joseph Myers <joseph@codesourcery.com>
29637
bec039bc
JM
29638 * configure.in (AS, LD): Require binutils 2.20 or later.
29639 * configure: Regenerated.
29640 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29641 as required minimum version.
29642 * INSTALL: Regenerated.
29643
7b1902cb
JM
29644 [BZ #2541]
29645 [BZ #4108]
29646 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29647 before squaring exponent.
29648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29649 bottom long double and 27 bits of top long double before squaring
29650 exponent.
29651 * math/libm-test.inc (erfc_test): Add more tests.
29652 * sysdeps/i386/fpu/libm-test-ulps: Update.
29653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29655
f775c276
KT
296562012-03-01 Kai Tietz <ktietz@redhat.com>
29657
29658 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29659 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29660 containing bit-fields.
29661 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29662 * soft-fp/single.h (_FP_UNION_S): Likewise.
29663 * soft-fp/double.h (_FP_UNION_D): Likewise.
29664
5b8a4d4a
JM
296652012-02-29 Joseph Myers <joseph@codesourcery.com>
29666
0bab47b6
JM
29667 [BZ #13786]
29668 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29669 not include ../strcmp.S.
29670 [USE_AS_STRNCASECMP_L]: Likewise.
29671 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29672 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29673 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29674 (__strncasecmp_l_ia32): Define as alias to
29675 __strncasecmp_l_nonascii.
29676
0fcad3e2
JM
29677 [BZ #5794]
29678 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29679 * sysdeps/i386/fpu/libm-test-ulps: Update.
29680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29681
5b8a4d4a
JM
29682 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29684
8fdceb2e
JL
296852012-02-29 Jeff Law <law@redhat.com>
29686
29687 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29688 out of bounds read.
29689
1f393a11
MP
296902012-02-29 Marek Polacek <polacek@redhat.com>
29691
29692 [BZ #13706]
29693 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29694 * elf/Makefile: Add rules to run tst-unused-dep.out.
29695
8847f037
DM
296962012-02-28 David S. Miller <davem@davemloft.net>
29697
29698 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29699 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29702 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29703 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29704
169d7f11
JM
297052012-02-29 Joseph Myers <joseph@codesourcery.com>
29706
29707 * math/libm-test.inc (llround_test): Move one test from
29708 lround_test. Use TEST_f_L in moved test.
29709 (lround_test): Move misplaced test to llround_test. Add testcase
29710 from bug 2561.
29711
39adf059
UD
297122012-02-28 Ulrich Drepper <drepper@gmail.com>
29713
29714 * sysdeps/x86_64/fpu/e_expf.S: New file.
29715 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29716
71b5d1c5
SB
297172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29718
29719 [BZ #13637]
29720 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29721 of remain_len that may cause incomplete multi-byte character and
29722 false match.
29723 * posix/bug-regex33.c: New file.
29724 * posix/Makefile (tests): Add bug-regex33.
29725
1f77f049
JM
297262012-02-28 Joseph Myers <joseph@codesourcery.com>
29727
29728 * manual/macros.texi: New file.
29729 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29730 * manual/libc.texinfo: Include macros.texi.
29731 * manual/creatute.texi: Likewise.
29732 * manual/install.texi: Likewise.
29733 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29734 @glibcadj{} in references to the GNU C Library.
29735 * manual/charset.texi: Likewise.
29736 * manual/conf.texi: Likewise.
29737 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29738 when not using those macros.
29739 * manual/creature.texi: Likewise.
29740 * manual/crypt.texi: Likewise.
29741 * manual/errno.texi: Likewise.
29742 * manual/filesys.texi: Likewise.
29743 * manual/header.texi: Likewise.
29744 * manual/install.texi: Likewise.
29745 * manual/intro.texi: Likewise.
29746 * manual/io.texi: Likewise.
29747 * manual/job.texi: Likewise.
29748 * manual/lang.texi: Likewise.
29749 * manual/libc.texiinfo: Likewise.
29750 * manual/llio.texi: Likewise.
29751 * manual/locale.texi: Likewise.
29752 * manual/maint.texi: Likewise.
29753 * manual/math.texi: Likewise.
29754 * manual/memory.texi: Likewise.
29755 * manual/message.texi: Likewise.
29756 * manual/nss.texi: Likewise.
29757 * manual/pattern.texi: Likewise.
29758 * manual/process.texi: Likewise.
29759 * manual/resource.texi: Likewise.
29760 * manual/search.texi: Likewise.
29761 * manual/setjmp.texi: Likewise.
29762 * manual/signal.texi: Likewise.
29763 * manual/socket.texi: Likewise.
29764 * manual/startup.texi: Likewise.
29765 * manual/stdio.texi: Likewise.
29766 * manual/string.texi: Likewise.
29767 * manual/sysinfo.texi: Likewise.
29768 * manual/syslog.texi: Likewise.
29769 * manual/terminal.texi: Likewise.
29770 * manual/time.texi: Likewise.
29771 * manual/users.texi: Likewise.
29772 * INSTALL: Regenerated.
29773 * NOTES: Regenerated.
d40c5d54 29774 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29775
450bf206
AS
297762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29777
29778 * include/dirent.h: Include <dirstream.h> before
29779 <dirent/dirent.h>.
29780
741a235b
DM
297812012-02-28 David S. Miller <davem@davemloft.net>
29782
29783 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29784 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29785 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29786 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29787
d6b5aa58
DM
297882012-02-27 David S. Miller <davem@davemloft.net>
29789
1aff59a3
DM
29790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29792 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29793 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29794
d6b5aa58
DM
29795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29796 frame pointer instead of stack pointer relative arg slot.
29797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29798 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29799 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29800
433f48bf
CD
298012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29802
29803 [BZ #3992]
29804 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29805
d674b76d
DM
298062012-02-27 David S. Miller <davem@davemloft.net>
29807
29808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29812 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29813 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29814 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29815 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29816
0e7727f7
JM
298172012-02-27 Joseph Myers <joseph@codesourcery.com>
29818
29819 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29820 later. Allow versions 5-9.
43be4ca2 29821 * configure: Regenerated.
0e7727f7
JM
29822 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29823 required minimum version and 4.6 as recommended version. Do not
29824 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29825 * INSTALL: Regenerated.
0e7727f7 29826
a78bc654
DM
298272012-02-27 David S. Miller <davem@davemloft.net>
29828
428d5830
DM
29829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29833 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29834 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29835 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29836 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29837
a78bc654
DM
29838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29839 manipulate bits before adding and subtracting TWO112[sx].
29840 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29841
4579f81c
RM
298422012-02-27 Roland McGrath <roland@hack.frob.com>
29843
36c8acb4
RM
29844 [BZ #13775]
29845 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29846 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29847 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29848 being in POSIX, because they are in 1003.1-2008.
29849
84ad622b
RM
29850 * rt/tst-aio.c: Include <fcntl.h>.
29851 * rt/tst-aio7.c: Likewise.
29852 * rt/tst-aio64.c: Likewise.
29853
4579f81c
RM
29854 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29855
abd923db
JM
298562012-02-27 Joseph Myers <joseph@codesourcery.com>
29857
29858 * manual/install.texi (--with-headers): Describe headers as
29859 interface headers, not private headers.
29860 (Specific advice for GNU/Linux systems): Describe use of headers
29861 from "make headers_install", not private headers from older
29862 kernels.
43be4ca2 29863 * INSTALL: Regenerated.
abd923db
JM
29864 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29865 Change to 2.6.19.
29866 * sysdeps/unix/sysv/linux/configure: Regenerated.
29867
6664049b
JM
29868 * manual/llio.texi (fclean): Remove documentation.
29869
bb8b6697
JM
29870 * manual/Makefile (libc-texi-generated): New variable. Include
29871 version.texi.
29872 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29873 $(libc-texi-generated), not duplicated list of files.
29874 (version.texi, stamp-version): New rules.
29875 (realclean): Remove $(libc-texi-generated), not individual files
29876 from that list. Do not remove dir-add.texinfo.
29877 * manual/libc.texinfo: Comment out uses of edition numbers and
29878 references to printed manual. Remove last-updated dates.
29879 (EDITION): Comment out.
29880 (ISBN): Likewise.
29881 (VERSION, UPDATED): Remove.
29882 (version.texi): Include.
29883
12e5c3b9
AS
298842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29885
29886 * sysdeps/posix/spawni.c: Include <signal.h>.
29887 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29888 * sysdeps/pthread/aio_fsync.c: Likewise.
29889
4efeffc1 298902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29891
ba63ba08
UD
29892 * conform/Makefile (tests): Run only when not cross-compiling and
29893 when fast-check is not defined.
29894
d94a4670
UD
29895 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29896 * conform/data/limits.h-data: Fixes for POSIX2008.
29897 * conform/run-conformtest.sh: Run all tests.
29898 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29899 headers.
29900 * include/bits/dlfcn.h: Likewise.
29901 * include/langinfo.h: Likewise.
29902 * include/monetary.h: Likewise.
29903 * include/sys/poll.h: Likewise.
29904
29905 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29906 for __USE_GNU.
29907 * posix/spawn.h: Define __need_sigset_t.
29908 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29909 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29910 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29911 to get sigevent_t only.
29912 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29913 only for __USE_GNU.
29914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29916 process_vm_writev only for __USE_GNU.
29917 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29918
29919 * conform/Makefile: For now ignore errors from run-conformtest.
29920 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29921 POSIX to avoid namespace pollution. Don't prepend headers.
29922 * conform/data/aio.h-data: Fixes for POSIX testing.
29923 * conform/data/fcntl.h-data: Likewise.
29924 * conform/data/glob.h-data: Likewise.
29925 * conform/data/grp.h-data: Likewise.
29926 * conform/data/pthread.h-data: Likewise.
29927 * conform/data/pwd.h-data: Likewise.
29928 * conform/data/signal.h-data: Likewise.
29929 * conform/data/spawn.h-data: Likewise.
29930 * conform/data/stdio.h-data: Likewise.
29931 * conform/data/stdlib.h-data: Likewise.
29932 * conform/data/stropts.h-data: Likewise.
29933 * conform/data/sys/mman.h-data: Likewise.
29934 * conform/data/sys/stat.h-data: Likewise.
29935 * conform/data/sys/types.h-data: Likewise.
29936 * conform/data/sys/wait.h-data: Likewise.
29937 * conform/data/time.h-data: Likewise.
29938 * conform/data/unistd.h-data: Likewise.
29939 * conform/data/utime.h-data: Likewise.
29940
29941 * io/sys/stat.h: fchmod was always in POSIX.
29942 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29943 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29944 * rt/aio.h: Define __need_timespec before including <time.h>.
29945 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29946 struct. Add forward declaration of pthread_attr_t and use it in
29947 sigevent.
29948 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29950 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29951 always remove CLK_TCK definition.
29952
c20105c3
AS
299532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29954
29955 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29956
7a270350
UD
299572012-02-25 Ulrich Drepper <drepper@gmail.com>
29958
31341567
UD
29959 * conform/run-conformtest.sh: New file.
29960 * conform/Makefile: Run run-conformtest for tests.
29961 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29962 support.
29963
29964 * conform/data/uchar.h-data: New file.
29965 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29966 * conform/data/arpa/inet.h-data: Likewise.
29967 * conform/data/assert.h-data: Likewise.
29968 * conform/data/complex.h-data: Likewise.
29969 * conform/data/cpio.h-data: Likewise.
29970 * conform/data/ctype.h-data: Likewise.
29971 * conform/data/dirent.h-data: Likewise.
29972 * conform/data/dlfcn.h-data: Likewise.
29973 * conform/data/errno.h-data: Likewise.
29974 * conform/data/fcntl.h-data: Likewise.
29975 * conform/data/float.h-data: Likewise.
29976 * conform/data/fmtmsg.h-data: Likewise.
29977 * conform/data/fnmatch.h-data: Likewise.
29978 * conform/data/ftw.h-data: Likewise.
29979 * conform/data/glob.h-data: Likewise.
29980 * conform/data/grp.h-data: Likewise.
29981 * conform/data/iconv.h-data: Likewise.
29982 * conform/data/inttypes.h-data: Likewise.
29983 * conform/data/langinfo.h-data: Likewise.
29984 * conform/data/libgen.h-data: Likewise.
29985 * conform/data/limits.h-data: Likewise.
29986 * conform/data/locale.h-data: Likewise.
29987 * conform/data/math.h-data: Likewise.
29988 * conform/data/monetary.h-data: Likewise.
29989 * conform/data/mqueue.h-data: Likewise.
29990 * conform/data/ndbm.h-data: Likewise.
29991 * conform/data/net/if.h-data: Likewise.
29992 * conform/data/netdb.h-data: Likewise.
29993 * conform/data/netinet/in.h-data: Likewise.
29994 * conform/data/nl_types.h-data: Likewise.
29995 * conform/data/poll.h-data: Likewise.
29996 * conform/data/pthread.h-data: Likewise.
29997 * conform/data/pwd.h-data: Likewise.
29998 * conform/data/regex.h-data: Likewise.
29999 * conform/data/sched.h-data: Likewise.
30000 * conform/data/search.h-data: Likewise.
30001 * conform/data/semaphore.h-data: Likewise.
30002 * conform/data/setjmp.h-data: Likewise.
30003 * conform/data/signal.h-data: Likewise.
30004 * conform/data/spawn.h-data: Likewise.
30005 * conform/data/stdarg.h-data: Likewise.
30006 * conform/data/stdio.h-data: Likewise.
30007 * conform/data/stdlib.h-data: Likewise.
30008 * conform/data/string.h-data: Likewise.
30009 * conform/data/strings.h-data: Likewise.
30010 * conform/data/stropts.h-data: Likewise.
30011 * conform/data/sys/ipc.h-data: Likewise.
30012 * conform/data/sys/mman.h-data: Likewise.
30013 * conform/data/sys/msg.h-data: Likewise.
30014 * conform/data/sys/resource.h-data: Likewise.
30015 * conform/data/sys/select.h-data: Likewise.
30016 * conform/data/sys/sem.h-data: Likewise.
30017 * conform/data/sys/shm.h-data: Likewise.
30018 * conform/data/sys/socket.h-data: Likewise.
30019 * conform/data/sys/stat.h-data: Likewise.
30020 * conform/data/sys/statvfs.h-data: Likewise.
30021 * conform/data/sys/time.h-data: Likewise.
30022 * conform/data/sys/timeb.h-data: Likewise.
30023 * conform/data/sys/times.h-data: Likewise.
30024 * conform/data/sys/types.h-data: Likewise.
30025 * conform/data/sys/uio.h-data: Likewise.
30026 * conform/data/sys/un.h-data: Likewise.
30027 * conform/data/sys/utsname.h-data: Likewise.
30028 * conform/data/sys/wait.h-data: Likewise.
30029 * conform/data/syslog.h-data: Likewise.
30030 * conform/data/tar.h-data: Likewise.
30031 * conform/data/termios.h-data: Likewise.
30032 * conform/data/utime.h-data: Likewise.
30033 * conform/data/utmpx.h-data: Likewise.
30034 * conform/data/varargs.h-data: Likewise.
30035 * conform/data/wchar.h-data: Likewise.
30036 * conform/data/wctype.h-data: Likewise.
30037 * conform/data/wordexp.h-data: Likewise.
30038
30039 * include/stropts.h: New file.
30040 * include/uchar.h: New file.
30041 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30042 * include/assert.h: Likewise.
30043 * include/ctype.h: Likewise.
30044 * include/dirent.h: Likewise.
30045 * include/dlfcn.h: Likewise.
30046 * include/fcntl.h: Likewise.
30047 * include/fnmatch.h: Likewise.
30048 * include/glob.h: Likewise.
30049 * include/grp.h: Likewise.
30050 * include/libio.h: Likewise.
30051 * include/locale.h: Likewise.
30052 * include/math.h: Likewise.
30053 * include/net/if.h: Likewise.
30054 * include/netdb.h: Likewise.
30055 * include/netinet/in.h: Likewise.
30056 * include/pthread.h: Likewise.
30057 * include/pwd.h: Likewise.
30058 * include/regex.h: Likewise.
30059 * include/sched.h: Likewise.
30060 * include/search.h: Likewise.
30061 * include/setjmp.h: Likewise.
30062 * include/signal.h: Likewise.
30063 * include/stdio.h: Likewise.
30064 * include/stdlib.h: Likewise.
30065 * include/string.h: Likewise.
30066 * include/sys/cdefs.h: Likewise.
30067 * include/sys/mman.h: Likewise.
30068 * include/sys/msg.h: Likewise.
30069 * include/sys/resource.h: Likewise.
30070 * include/sys/select.h: Likewise.
30071 * include/sys/socket.h: Likewise.
30072 * include/sys/stat.h: Likewise.
30073 * include/sys/statvfs.h: Likewise.
30074 * include/sys/time.h: Likewise.
30075 * include/sys/times.h: Likewise.
30076 * include/sys/uio.h: Likewise.
30077 * include/sys/utsname.h: Likewise.
30078 * include/sys/wait.h: Likewise.
30079 * include/termios.h: Likewise.
30080 * include/time.h: Likewise.
30081 * include/ulimit.h: Likewise.
30082 * include/unistd.h: Likewise.
30083 * include/utime.h: Likewise.
30084 * include/wchar.h: Likewise.
30085 * include/wctype.h: Likewise.
30086 * include/wordexp.h: Likewise.
30087
30088 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30089
7a270350
UD
30090 * time/time.h: TIME_UTC must be a macro.
30091 Make timespec_get available for ISO C11 only as well.
30092
7724defc
UD
300932012-02-24 Ulrich Drepper <drepper@gmail.com>
30094
30095 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30096 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30097
6b1d1d46
JM
300982012-02-24 Joseph Myers <joseph@codesourcery.com>
30099
30100 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30101
0f8bbd69
JM
301022012-02-24 Joseph Myers <joseph@codesourcery.com>
30103
30104 * manual/texinfo.tex: Update to version 2012-01-19.16.
30105
66ab80bc
JM
301062012-02-24 Joseph Myers <joseph@codesourcery.com>
30107
30108 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30109
74981cc5
RM
301102012-02-24 Roland McGrath <roland@hack.frob.com>
30111
ee968201
RM
30112 [BZ #13738]
30113 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30114 * manual/fdl-1.3.texi: New file.
30115 * manual/fdl-1.1.texi: File removed.
30116
74981cc5
RM
30117 [BZ #13738]
30118 * manual/libc.texinfo (FDL_VERSION): New @set.
30119 Use it for mention of FDL in cover text.
30120 (Documentation License): Use it in @include file name.
30121
7bb764bc
JM
301222012-02-22 Joseph Myers <joseph@codesourcery.com>
30123 Roland McGrath <roland@hack.frob.com>
30124
30125 [BZ #5461]
30126 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30127 not LONG_LONG_MAX and LONG_LONG_MIN.
30128 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30129 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30130 name.
30131 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30132
6cbeae47
JM
301332012-02-22 Joseph Myers <joseph@codesourcery.com>
30134
30135 [BZ #2547]
30136 [BZ #11365]
30137 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30138 manipulate bits before adding and subtracting TWO23[sx].
30139 * math/libm-test.inc (nearbyint_test): Add more tests.
30140
fe45ce09
JM
301412012-02-22 Joseph Myers <joseph@codesourcery.com>
30142
30143 [BZ #2548]
30144 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30145 bits before adding and subtracting TWO23[sx].
30146 * math/libm-test.inc (rint_test): Add more tests.
30147 (rint_test_tonearest): Likewise.
30148 (rint_test_towardzero): Likewise.
30149 (rint_test_downward): Likewise.
30150 (rint_test_upward: Likewise.
30151
ff3b3d82
JM
301522012-02-22 Joseph Myers <joseph@codesourcery.com>
30153
30154 [BZ #10110]
30155 * include/stdc-predef.h: New file. Extracted from features.h.
30156 * include/features.h: Include stdc-predef.h.
30157 * Makefile (headers): Add stdc-predef.h.
30158 * CONFORMANCE (Compiler limitations): Update.
30159
ef0aab35
JM
301602012-02-22 Joseph Myers <joseph@codesourcery.com>
30161
30162 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30163
58639409
DM
301642012-02-21 David S. Miller <davem@davemloft.net>
30165
30166 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30167 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30168
c0e70b25
DM
301692012-02-20 David S. Miller <davem@davemloft.net>
30170
30171 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30172 using a normal save/restore sequence, rather than allocating a
30173 dummy stack frame just to store a frame pointer and restore.
30174 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30175
fb06851d
JM
301762012-02-21 Joseph Myers <joseph@codesourcery.com>
30177
30178 * manual/install.texi: Fix stray word in line-wrapped comment.
30179
7a8b71c3
DM
301802012-02-20 David S. Miller <davem@davemloft.net>
30181
d510c123
DM
30182 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30183 both binutils and gcc support GOTDATA.
30184
0722d7c2
DM
30185 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30186 "rd %pc" in the PIC register setup sequences.
30187
3d2b3019
DM
30188 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30189 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30190 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30191 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30192 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30197 (SYSCALL_ERROR_HANDLER): Likewise.
30198 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30199 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30201 (SYSCALL_ERROR_HANDLER): Likewise.
30202
c80098a9
DM
30203 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30204 (HAVE_GCC_GOTDATA): New.
30205 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30206 relocation support in both binutils and gcc.
30207 * sysdeps/sparc/elf/configure: Regenerate.
30208
3a2545a0
DM
30209 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30210 * sysdeps/sparc/sparc32/elf/configure: Delete.
30211 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30212 * sysdeps/sparc/sparc64/elf/configure: Delete.
30213 * sysdeps/sparc/elf/configure.in: New file.
30214 * sysdeps/sparc/elf/configure: Generate.
30215
7a8b71c3
DM
30216 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30217 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30218 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30219 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30220 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30221
f1e86fca
JM
302222012-02-21 Joseph Myers <joseph@codesourcery.com>
30223
30224 * manual/install.texi: Do not mention specific glibc version
30225 numbers.
30226 * manual/libc.texinfo (VERSION, UPDATED): Update.
30227 (@copying): Use @copyright{} and range of years.
30228
0e7dfaef
JM
302292012-02-21 Joseph Myers <joseph@codesourcery.com>
30230
30231 [BZ #13695]
30232 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30233 [crti.S not in sysdirs] (generated): Do not append.
30234 [crti.S not in sysdirs] (omit-deps): Likewise.
30235 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30236 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30237 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30238 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30239 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30240 Likewise.
30241 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30242 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30243 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30244 * csu/defs.awk: Remove file.
30245 * sysdeps/generic/initfini.c: Likewise.
30246 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30247 variable.
30248 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30249 Likewise.
30250
599af3ca
JM
302512012-02-20 Joseph Myers <joseph@codesourcery.com>
30252
30253 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30254 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30255 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30257 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30258 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30259 <bits/epoll.h>.
30260 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30261 (__EPOLL_PACKED): Define to empty if not defined by
30262 <bits/epoll.h>.
30263 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30265 bits/epoll.h.
30266
0e499750
JM
302672012-02-20 Joseph Myers <joseph@codesourcery.com>
30268
30269 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30270 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30271 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30272 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30273 <bits/timerfd.h>.
30274 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30276 bits/timerfd.h.
30277
5ad91f6e
JM
302782012-02-20 Joseph Myers <joseph@codesourcery.com>
30279
30280 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30281 in C locale.
30282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30283 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30284 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30286
06b99b02
AJ
302872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30288
30289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30291
7638c0fd
AS
302922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30293
30294 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30295 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30296 defined.
30297 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30298 Likewise.
30299 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30300 entry for 2.16.
30301
92221550
AJ
303022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30303
30304 * math/w_acos.c: Use non-signaling floating-point comparisons.
30305 * math/w_acosf.c: Likewise.
30306 * math/w_acosh.c: Likewise.
30307 * math/w_acoshf.c: Likewise.
30308 * math/w_acoshl.c: Likewise.
30309 * math/w_acosl.c: Likewise.
30310 * math/w_asin.c: Likewise.
30311 * math/w_asinf.c: Likewise.
30312 * math/w_asinl.c: Likewise.
30313 * math/w_atanh.c: Likewise.
30314 * math/w_atanhf.c: Likewise.
30315 * math/w_atanhl.c: Likewise.
30316 * math/w_exp2.c: Likewise.
30317 * math/w_exp2f.c: Likewise.
30318 * math/w_exp2l.c: Likewise.
30319 * math/w_j0.c: Likewise.
30320 * math/w_j0f.c: Likewise.
30321 * math/w_j0l.c: Likewise.
30322 * math/w_j1.c: Likewise.
30323 * math/w_j1f.c: Likewise.
30324 * math/w_j1l.c: Likewise.
30325 * math/w_jn.c: Likewise.
30326 * math/w_jnf.c: Likewise.
30327 * math/w_log.c: Likewise.
30328 * math/w_log10.c: Likewise.
30329 * math/w_log10f.c: Likewise.
30330 * math/w_log10l.c: Likewise.
30331 * math/w_log2.c: Likewise.
30332 * math/w_log2f.c: Likewise.
30333 * math/w_log2l.c: Likewise.
30334 * math/w_logf.c: Likewise.
30335 * math/w_logl.c: Likewise.
30336 * math/w_sqrt.c: Likewise.
30337 * math/w_sqrtf.c: Likewise.
30338 * math/w_sqrtl.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30341 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30342 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30343 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30344
ebaf36eb
JM
303452012-02-19 Joseph Myers <joseph@codesourcery.com>
30346
30347 [BZ #9739]
30348 * manual/string.texi (strnlen): Use correct parameter name in
30349 equivalent expression.
30350
71c254a6
JM
303512012-02-19 Joseph Myers <joseph@codesourcery.com>
30352
30353 [BZ #11174]
30354 * manual/users.texi (seteuid): Consistently use neweuid for
30355 argument name.
30356
16d2c631
JM
303572012-02-19 Joseph Myers <joseph@codesourcery.com>
30358
30359 [BZ #13704]
30360 * manual/nss.texi (Services in the NSS configuration): Correct
30361 list of services in example configuration file.
30362
cd837b09
NB
303632012-02-19 Nick Bowler <nbowler@draconx.ca>
30364
30365 [BZ #11322]
30366 * manual/arith.texi: Remove statements about negative zero
30367 behaving identically to zero.
30368
02c4bbad
JM
303692012-02-18 Joseph Myers <joseph@codesourcery.com>
30370
30371 [BZ #5993]
30372 * manual/install.texi: Do not document upgrading from libc5.
30373
366842e7
JM
303742012-02-18 Joseph Myers <joseph@codesourcery.com>
30375
30376 [BZ #4596]
30377 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30378
dd54084d
DM
303792012-02-18 David S. Miller <davem@davemloft.net>
30380
30381 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30382 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30383 %o7 across the call.
30384 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30385 instead.
30386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30387 SETUP_PIC_REG_LEAF.
30388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30389 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30390 * sysdeps/sparc/crtn.S: Likewise.
30391
2bcc53a3
UD
303922012-02-17 Ulrich Drepper <drepper@gmail.com>
30393
30394 * aout/Makefile: Remove.
30395
09c093b5
RK
303962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30397
30398 [BZ #13058]
30399 * manual/examples/argp-ex1.c (main): Format definition in GNU
30400 style.
30401 * manual/examples/argp-ex2.c (main): Likewise.
30402 * manual/examples/argp-ex3.c (main): Likewise.
30403 * manual/examples/argp-ex4.c (main): Likewise.
30404 * manual/examples/longopt.c (main): Use new-style prototype
30405 definition.
30406 * manual/examples/strncat.c (main): Specify return type and use
30407 (void) for arguments.
30408 * manual/examples/subopt.c (main): Use char **argv argument.
30409
2ee633a2
JM
304102012-02-17 Joseph Myers <joseph@codesourcery.com>
30411
30412 [BZ #5077]
30413 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30414 rounding modes.
30415
0520adde
FB
304162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30417
30418 [BZ #6907]
30419 * manual/string.texi (strchr): Change when strchrnul is
30420 recommended.
30421
3f4081cd
DGM
304222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30423
30424 [BZ #174]
30425 * manual/locale.texi (setlocale): Document LOCPATH.
30426
d1b10e78
JM
304272012-02-17 Joseph Myers <joseph@codesourcery.com>
30428
30429 [BZ #10210]
30430 * manual/process.texi (execle): Move @dots{} before last argument.
30431
79c6869c
PB
304322012-02-17 Paul Bolle <pebolle@tiscali.nl>
30433
30434 [BZ #12047]
30435 * manual/charset.texi (Generic Charset Conversion): Fix typo
30436 (LC_TYPE -> LC_CTYPE).
30437
cc6e48bc
NB
304382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30439
30440 [BZ #5805]
30441 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30442 (scalbnf): Likewise.
30443 (scalbnl): Likewise.
30444 (scalbln): Likewise.
30445 (scalblnf): Likewise.
30446 (scalblnl): Likewise.
30447 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30448 (vwarnx): Likewise.
30449 (verr): Likewise.
30450 (verrx): Likewise.
30451 * manual/filesys.texi (telldir): Use braces around return type.
30452 * manual/llio.texi (mmap): Add space after comma.
30453 (mmap64): Likewise.
30454 * manual/math.texi (jn): Use @var{} on parameter names.
30455 (jnf): Likewise.
30456 (jnl): Likewise.
30457 (yn): Likewise.
30458 (ynf): Likewise.
30459 (ynl): Likewise.
30460 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30461 line.
30462 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30463 "...".
30464 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30465 (sched_get_priority_max): Likewise.
30466 * manual/signal.texi (sigvec): Add space after comma.
30467 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30468 names.
30469 (if_indextoname): Likewise.
30470 (if_freenameindex): Likewise.
30471 (sendto): Use ',' instead of '.' in prototype.
30472 * manual/startup.texi (syscall): Use @dots{} instead of literal
30473 "...".
30474 * manual/stdio.texi (__fpending): Separate initial words of
30475 paragraph from @deftypefun line.
30476 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30477 "...".
30478 (vsyslog): Use @var{} on parameter names.
30479 * manual/terminal.texi (stty): Use @var{} on parameter names.
30480 * manual/users.texi (getutmp): Use @var{} on parameter names.
30481 (getutmpx): Likewise.
30482
5b23062f
JM
304832012-02-17 Joseph Myers <joseph@codesourcery.com>
30484
30485 [BZ #6884]
30486 * manual/stdio.texi (fopen): Fix typos in description of
30487 ",ccs=STRING".
30488
8dee4833
AJ
304892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30490
30491 [BZ #4026]
30492 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30493 get clock_id definition.
30494
9078ce93
TS
304952012-02-17 Thomas Schwinge <thomas@schwinge.name>
30496
30497 [BZ #4822]
30498 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30499 (madvise): Cast every argument to void on its own.
30500
3835c55f
JM
305012012-02-17 Joseph Myers <joseph@codesourcery.com>
30502
30503 [BZ #9902]
30504 * manual/startup.texi (Exit Status): Fix typo.
30505
35c47e37
JM
305062012-02-17 Joseph Myers <joseph@codesourcery.com>
30507
30508 [BZ #10140]
30509 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30510 * manual/examples/argp-ex2.c: Likewise.
30511 * manual/examples/argp-ex3.c: Likewise.
30512
e3b69ca7
RH
305132012-02-16 Richard Henderson <rth@redhat.com>
30514
30515 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30516 * sysdeps/s390/s390-32/initfini.c: Remove.
30517 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30518 * sysdeps/s390/s390-64/initfini.c: Remove.
30519
df83af67
KK
305202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30521
30522 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30523 compiler output for sysdeps/generic/initfini.c.
30524 * sysdeps/sh/elf/initfini.c: Remove file.
30525
f63f3380
DM
305262012-02-16 David S. Miller <davem@davemloft.net>
30527
fb59b3a4
DM
30528 [BZ #11494]
30529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30530
f63f3380
DM
30531 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30532 * sysdeps/sparc/crti.S: New file.
30533 * sysdeps/sparc/crtn.S: New file.
30534 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30535 * sysdeps/sparc/sparc64/Makefile: Likewise.
30536
df6a4a4a
MF
305372012-02-15 Mike Frysinger <vapier@gentoo.org>
30538
6dd8f3dc 30539 [BZ #3335]
df6a4a4a
MF
30540 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30541
1cac7236
RM
305422012-02-15 Roland McGrath <roland@hack.frob.com>
30543
d2c736f8
RM
30544 [BZ #4822]
30545 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30546
1cac7236
RM
30547 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30548 (write, read, close): Likewise.
30549 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30550
8e475601
JM
305512012-02-15 Joseph Myers <joseph@codesourcery.com>
30552
30553 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30554 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30555 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30556 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30557 <bits/signalfd.h>.
30558 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30560 bits/signalfd.h.
30561
ed656b40
MP
305622012-02-14 Marek Polacek <polacek@redhat.com>
30563
30564 * sysdeps/x86_64/crti.S: New file.
30565 * sysdeps/x86_64/crtn.S: New file.
30566 * sysdeps/x86_64/elf/initfini.c: Remove file.
30567
2a979d3a
JM
305682012-02-13 Joseph Myers <joseph@codesourcery.com>
30569
30570 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30571 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30572 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30573 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30574 <bits/inotify.h>.
30575 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30577 bits/inotify.h.
30578
2a418ac3
JM
305792012-02-13 Joseph Myers <joseph@codesourcery.com>
30580
30581 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30582 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30583 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30584 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30585 <bits/eventfd.h>.
30586 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30588 bits/eventfd.h.
30589
fb779be7
TS
305902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30591
e19e83c5
RM
30592 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30593 __feraiseexcept instead of feraiseexcept.
7c35ffed 30594
fb779be7
TS
30595 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30596 nanosleep invocations.
30597 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30598 strings, and add error checking for a nanosleep invocations.
30599
59ba27a6
PE
306002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30601
30602 Replace FSF snail mail address with URLs, as per GNU coding standards.
30603 Most of the snail mail addresses were wrong anyway, and omitting
30604 them makes the source code easier to maintain. Almost all of the
30605 changes are to license notices and to locale LC_IDENTIFICATION
30606 addresses, except for this one:
30607 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30608 not its snail mail address.
30609
57b957eb
RH
306102012-02-09 Richard Henderson <rth@twiddle.net>
30611
af850b1c
RH
30612 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30613 of kernel-features.h.
30614
57b957eb
RH
30615 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30616
6b73181a
MP
306172012-02-08 Marek Polacek <polacek@redhat.com>
30618
30619 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30620 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30621 * sysdeps/gnu/_G_config.h: Likewise.
30622 * sysdeps/generic/_G_config.h: Likewise.
30623
26ecc33a
AS
306242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30625
6c6dbc63
AS
30626 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30627 tests.
30628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30629
e216c012
AS
30630 * sysdeps/powerpc/powerpc32/crti.S: New file.
30631 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30632 * sysdeps/powerpc/powerpc64/crti.S: New file.
30633 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30634
26ecc33a
AS
30635 * Makeconfig (have-initfini): Don't set.
30636 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30637 * configure.in (nopic_initfini): Don't substitute.
30638 * config.h.in (HAVE_INITFINI): Don't #undef.
30639 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30640 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30641
3add8e13
JM
306422012-02-08 Joseph Myers <joseph@codesourcery.com>
30643
30644 Support crti.S and crtn.S provided directly by architectures.
30645 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30646 [crti.S in sysdirs] (omit-deps): Likewise.
30647 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30648 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30649 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30650 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30651 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30652 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30653 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30654 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30655 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30656 compiler output for sysdeps/generic/initfini.c.
30657 * sysdeps/i386/elf/Makefile: Remove file.
30658 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30659
a22f12b4
MP
306602012-02-07 Marek Polacek <polacek@redhat.com>
30661
30662 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30663 * sysdeps/gnu/_G_config.h: Likewise.
30664 * sysdeps/mach/hurd/_G_config.h: Likewise.
30665
148cf100
MP
306662012-02-07 Marek Polacek <polacek@redhat.com>
30667
30668 * math/Makefile (tests): Add tst-CMPLX2.
30669 * math/tst-CMPLX2.c: New file.
30670
cfdc0dd7
AS
306712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30672
84ba42c4
AS
30673 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30674
cfdc0dd7
AS
30675 * math/libm-test.inc (jn_test): Add missing L suffix.
30676
622c86f4
MP
306772012-02-06 Marek Polacek <polacek@redhat.com>
30678
30679 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30680 * sysdeps/i386/fpu/e_powf.S: Likewise.
30681 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30682 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30683 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30684 * sysdeps/i386/fpu/e_pow.S: Likewise.
30685 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30687 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30688 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30689 * sysdeps/i386/fpu/e_log2.S: Likewise.
30690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30692 * sysdeps/i386/fpu/e_powl.S: Likewise.
30693 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30694 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30695 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30696 * sysdeps/i386/fpu/e_logl.S: Likewise.
30697 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30698 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30699 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30700 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30701 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30702 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30703 * sysdeps/i386/fpu/e_log.S: Likewise.
30704 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30706 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30707 * sysdeps/i386/fpu/e_logf.S: Likewise.
30708 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30709 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30710 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30711 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30712 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30713 * sysdeps/i386/fpu/e_log10.S: Likewise.
30714 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30716 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30717 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30718 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30719 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30720 * sysdeps/i386/asm-syntax.h: Likewise.
30721 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30722 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30723 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30724 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30725 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30727 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30728 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30730 * sysdeps/powerpc/sysdep.h: Likewise.
30731 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30732 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30733
d4a54ac6
JM
307342012-02-06 Joseph Myers <joseph@codesourcery.com>
30735
30736 [BZ #411]
30737 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30738
314054ea
JM
307392012-02-06 Joseph Myers <joseph@codesourcery.com>
30740
30741 * sysdeps/i386/sysdep.h: Include <features.h>.
30742 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30743 version.
30744
d8e0ca50
JM
307452012-02-05 Joseph Myers <joseph@codesourcery.com>
30746
30747 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30748 Define.
30749 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30750 LOAD_PIC_REG_STR.
30751
b1da7dd9
JM
307522012-02-03 Joseph Myers <joseph@codesourcery.com>
30753
30754 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30755 (SETUP_PIC_REG): Use GET_PC_THUNK.
30756 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30757 macro.
30758
9a1d9254
JM
307592012-02-03 Joseph Myers <joseph@codesourcery.com>
30760
30761 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30762 for non-PIC compilation.
30763 (SETUP_PIC_REG): Add .p2align directive.
30764 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30765 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30766 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30767 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30768 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30769 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30770 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30771 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30772 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30773 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30774 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30775 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30776 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30777 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30778 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30779 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30780 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30781 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30782 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30783 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30784 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30785 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30786 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30787 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30790 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30792 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30793 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30794 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30796 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30797 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30798 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30799 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30800 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30801 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30802 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30803 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30804 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30805
65dc3b75
JM
308062012-02-03 Joseph Myers <joseph@codesourcery.com>
30807
30808 * math/tst-CMPLX.c: Include <stdio.h>.
30809
d55bf177
JM
308102012-01-31 Joseph Myers <joseph@codesourcery.com>
30811
30812 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30813 float.
30814 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30815 * sysdeps/sparc/bits/mathdef.h: Likewise.
30816
69db4f8f
MP
308172012-01-31 Marek Polacek <polacek@redhat.com>
30818
30819 * libio/libio.h: Don't define _PARAMS.
30820 * locale/programs/config.h: Don't define PARAMS.
30821 * stdlib/strtol_l.c: Likewise.
30822 (__strtol_l): Remove PARAMS from the prototype.
30823
41b81892
UD
308242012-01-31 Ulrich Drepper <drepper@gmail.com>
30825
3b49edc0
UD
30826 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30827 names. Just use the correct names. Remove unnecessary wrapper
30828 functions.
30829 * malloc/arena.c: Likewise.
30830 * malloc/hooks.c: Likewise.
30831
41b81892
UD
30832 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30833 ARENA_TEST says not to. Simplify test for creation of a new arena.
30834 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30835
27a25b6e
UD
308362012-01-30 Ulrich Drepper <drepper@gmail.com>
30837
30838 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30839 into tail calls.
30840 (update_get_addr): New function.
30841 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30842 GET_ADDR_MODULE parameter.
30843
c8a89e7d
JM
308442012-01-30 Joseph Myers <joseph@codesourcery.com>
30845
30846 * crypt/cert.c: Remove __STDC__ conditionals.
30847 * crypt/crypt-entry.c: Likewise.
30848 * crypt/crypt_util.c: Likewise.
30849 * libio/filedoalloc.c: Likewise.
30850 * libio/fileops.c: Likewise.
30851 * libio/genops.c: Likewise.
30852 * libio/iofclose.c: Likewise.
30853 * libio/iofdopen.c: Likewise.
30854 * libio/iofopen.c: Likewise.
30855 * libio/iofopen64.c: Likewise.
30856 * libio/iogetdelim.c: Likewise.
30857 * libio/iopopen.c: Likewise.
30858 * libio/obprintf.c: Likewise.
30859 * libio/oldfileops.c: Likewise.
30860 * libio/oldiofclose.c: Likewise.
30861 * libio/oldiofdopen.c: Likewise.
30862 * libio/oldiofopen.c: Likewise.
30863 * libio/oldiopopen.c: Likewise.
30864 * libio/wfiledoalloc.c: Likewise.
30865 * libio/wgenops.c: Likewise.
30866 * locale/programs/xmalloc.c: Likewise.
30867 * misc/syslog.c: Likewise.
30868 * stdio-common/xbug.c: Likewise.
30869 * string/memchr.c: Likewise.
30870 * string/memcmp.c: Likewise.
30871 * string/memrchr.c: Likewise.
30872 * string/rawmemchr.c: Likewise.
30873 * sysdeps/posix/getcwd.c: Likewise.
30874 * time/strftime_l.c: Likewise.
30875
3b100462
JM
308762012-01-30 Joseph Myers <joseph@codesourcery.com>
30877
30878 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30879 * config.make.in (config-cflags-sse2avx): Define.
30880 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30881 Fix typo.
30882
607998af
CM
308832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30884
30885 * scripts/config.guess: Update from upstream config git repository.
30886 * scripts/config.sub: Likewise.
30887
3601428f
CM
308882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30889
3ac8b282
CM
30890 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30891 (EM_NUM): Update.
30892 (R_TILEPRO_*, R_TILEGX_*): New macros.
30893
e034841e
CM
30894 * scripts/firstversions.awk: Fix bug in version range handling.
30895
540d7568
CM
30896 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30897
3601428f
CM
30898 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30899
463de862
CM
30900 * include/sys/epoll.h: New file.
30901 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30902 libc_hidden_def.
30903
73139a76
UD
309042012-01-28 Ulrich Drepper <drepper@gmail.com>
30905
96bc5b45
UD
30906 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30907 Avoid unnecessary __WORDSIZE == 64 test.
30908 (fmaxf): Use VEX format if possible.
30909 (fmax): Likewise.
30910 (fminf): Likewise.
30911 (fmin): Likewise.
30912
56f6f6a2
UD
30913 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30914 * math/math_private.h: Remove libc_fegetround* and
30915 libc_fesetround*.
30916 * sysdeps/i386/configure.in: Check for -msse2avx.
30917 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30918 also if SSE2AVX is defined.
30919 Remove libc_fegetround* and libc_fesetround*.
30920 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30921 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30923 of HAS_YMM_USABLE.
30924 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30925 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30926 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30928 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30929
73139a76
UD
30930 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30931
d73f93a4
AZ
309322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30933
30934 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30935 size is not set.
30936 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30937
6ee65ed6
UD
309382012-01-27 Ulrich Drepper <drepper@gmail.com>
30939
30940 [BZ #13618]
30941 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30942 relocation.
30943 * Makeconfig (libm): Define.
30944 * elf/Makefile: Add rules to build and run tst-relsort1.
30945 * elf/tst-relsort1.c: New file.
30946 * elf/tst-relsort1mod1.c: New file.
30947 * elf/tst-relsort1mod2.c: New file.
30948
8db21882
JM
309492012-01-27 Joseph Myers <joseph@codesourcery.com>
30950
30951 * math/s_ldexp.c: Remove __STDC__ conditionals.
30952 * math/s_ldexpf.c: Likewise.
30953 * math/s_ldexpl.c: Likewise.
30954 * math/s_nextafter.c: Likewise.
30955 * math/s_nexttowardf.c: Likewise.
30956 * math/s_significand.c: Likewise.
30957 * math/s_significandf.c: Likewise.
30958 * math/s_significandl.c: Likewise.
30959 * math/w_jnl.c: Likewise.
30960 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30961 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30962 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30963 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30964 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30966 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30967 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30968 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30969 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30970 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30972 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30974 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30975 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30976 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30977 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30982 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30984 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30985 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30986 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30987 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30988 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30991 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30992 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30993 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30994 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30995 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30997 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30998 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30999 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31000 * sysdeps/ieee754/k_standard.c: Likewise.
31001 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31002 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31005 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31062 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31067 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31072 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31076 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31078 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31080 * sysdeps/ieee754/s_matherr.c: Likewise.
31081 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31082 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31084 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31085
965a54a4
JM
310862012-01-26 Joseph Myers <joseph@codesourcery.com>
31087
31088 * crypt/md5.h: Remove __STDC__ conditionals.
31089 * libio/libioP.h: Likewise.
31090 * locale/programs/config.h: Likewise.
31091 * sysdeps/generic/sysdep.h: Likewise.
31092 * sysdeps/i386/asm-syntax.h: Likewise.
31093 * sysdeps/s390/asm-syntax.h: Likewise.
31094 * sysdeps/unix/sysdep.h: Likewise.
31095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31097
7071ad79
JM
310982012-01-26 Joseph Myers <joseph@codesourcery.com>
31099
31100 * libio/libio.h: Remove __STDC__ conditionals.
31101 * malloc/obstack.h: Likewise.
31102 * math/complex.h: Likewise.
31103 * math/math.h: Likewise.
31104 * sysdeps/generic/_G_config.h: Likewise.
31105 * sysdeps/gnu/_G_config.h: Likewise.
31106 * sysdeps/mach/hurd/_G_config.h: Likewise.
31107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31108 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31109 * sysdeps/sparc/bits/mathdef.h: Likewise.
31110
afc5ed09
UD
311112012-01-26 Ulrich Drepper <drepper@gmail.com>
31112
31113 [BZ #13583]
31114 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31115 Clean up HAS_* macros.
afc5ed09 31116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31117 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31118 possible.
31119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31120 HAS_AVX.
31121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31122 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31126
bdb6de1d
JM
311272012-01-25 Joseph Myers <joseph@codesourcery.com>
31128
31129 * elf/tst-unique3.cc (gets): Remove declaration.
31130 * elf/tst-unique3lib.cc (gets): Likewise.
31131 * elf/tst-unique3lib2.cc (gets): Likewise.
31132 * elf/tst-unique4.cc (gets): Likewise.
31133
b15549e6
UD
311342012-01-24 Ulrich Drepper <drepper@gmail.com>
31135
31136 * include/stdio.h: Add C++ protection. Add gets declarations and
31137 definitions.
31138 * debug/tst-chk1.c: Don't declare gets here.
31139 * stdio-common/tst-gets.c: Likewise.
31140
a037381f
JM
311412012-01-24 Joseph Myers <joseph@codesourcery.com>
31142
31143 * posix/glob: Remove directory.
31144
f1d4aa75
JM
311452012-01-24 Joseph Myers <joseph@codesourcery.com>
31146
31147 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31148
81c0c964
PT
311492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31150
31151 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31152 of the non-standard EPFNOSUPPORT.
31153
0ea698ae
ST
311542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31155
31156 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31157 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31158 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31159
d220b117
UD
311602012-01-21 Ulrich Drepper <drepper@gmail.com>
31161
31162 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31163
3e1aa84e
UD
311642012-01-20 Ulrich Drepper <drepper@gmail.com>
31165
31166 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31167 transient errors.
31168 * nscd/grpcache.c (cache_addgr): Likewise.
31169 * nscd/hstcache.c (cache_addhst): Likewise.
31170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31171 * nscd/pwdcache.c (cache_addpw): Likewise.
31172 * nscd/servicescache.c (cache_addserv): Likewise.
31173
400aa020
UD
311742012-01-16 Ulrich Drepper <drepper@gmail.com>
31175
d77e7869
UD
31176 * malloc/malloc.c: Various cleanups.
31177 * malloc/hooks.c: Likewise.
31178
400aa020
UD
31179 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31180 * stdlib/bug-fmtmsg1.c: New file.
31181
31182 * stdlib/fmtmsg.c (init): Add missing unlock.
31183 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31184
e0a309cf
MP
311852012-01-12 Marek Polacek <polacek@redhat.com>
31186
31187 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31188 and _GNU_SOURCE.
31189
929d11c7
WS
311902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31191
31192 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31193 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31194 macro to ensure uniqueness of label name.
31195 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31196 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31197
41d0e869
UD
311982012-01-11 Ulrich Drepper <drepper@gmail.com>
31199
0cc5ed3b
UD
31200 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31201
41d0e869
UD
31202 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31203 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31204 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31206
a47a831a
UD
312072012-01-10 Ulrich Drepper <drepper@gmail.com>
31208
daa891c0
UD
31209 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31210
31211 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31212 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31213 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31214
e58ef0f2
UD
31215 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31216
a47a831a 31217 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31218 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31221
31222 * math/bits/math-finite.h: Add ldexp support.
31223
a0bfc9c7
MP
312242012-01-10 Marek Polacek <polacek@redhat.com>
31225
31226 * locale/programs/localedef.h (show_archive_content): Add noreturn
31227 attribute.
31228
d6e97a1d
UD
312292012-01-09 Ulrich Drepper <drepper@gmail.com>
31230
31231 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31232
d5835c26
UD
312332012-01-08 Ulrich Drepper <drepper@gmail.com>
31234
e5f484c6
UD
31235 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31236
d5835c26
UD
31237 * io/Makefile (headers): Add bits/poll2.h.
31238
d1f741e9
WS
312392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31240
31241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31242 typo #include statement.
31243
ec09c1c4
UD
312442012-01-08 Ulrich Drepper <drepper@gmail.com>
31245
31246 * include/sys/cdefs.h: Define __attribute_alloc_size.
31247 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31248 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31249 * elf/pldd.c: Likewise.
31250 * iconv/iconv_charmap.c: Likewise.
31251 * iconv/iconvconfig.c: Likewise.
31252 * iconv/strtab.c: Likewise.
31253 * locale/programs/locale.c: Likewise.
31254 * locale/programs/localedef.h: Likewise.
31255 * locale/programs/simple-hash.c: Likewise.
31256 * nscd/nscd.h: Likewise.
31257 * nss/makedb.c: Likewise.
31258 * sysdeps/generic/ldconfig.h: Likewise.
31259 * locale/programs/localedef.c: Remove xmalloc prototype.
31260 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31261
20b38e03
PP
312622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31263
31264 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31265 appropriate.
31266
a0da5fe1
UD
312672012-01-08 Ulrich Drepper <drepper@gmail.com>
31268
1d5a644a 31269 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31270 * math/tst-CMPLX.c: New file.
1d5a644a 31271
8784a6db
UD
31272 * math/complex.h (CMPLXL): Fix typo.
31273
d9a216c0
UD
31274 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31275 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31276 GLIBC_2.16.
31277 * debug/tst-chk1.c: Add poll and ppoll tests.
31278 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31279 * include/sys/poll.h: Add hidden proto for ppoll.
31280 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31281 * sysdeps/mach/hurd/ppoll.c: Likewise.
31282 * io/ppoll.c: Likewise.
31283 * debug/poll_chk.c: New file.
31284 * debug/ppoll_chk.c: New file.
31285 * include/bits/poll2.h: New file.
31286 * io/bits/poll2.h: New file.
31287
ac097f5c
UD
31288 [BZ #1350]
31289 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31290
2119dcfa
UD
31291 * configure.in: static is always set to yes. Remove.
31292 * config.make.in: Don't set build-static.
31293 * Makeconfig: Remove use of build-static.
31294 * dlfcn/Makefile: Likewise.
31295 * elf/Makefile: Likewise.
31296 * math/Makefile: Likewise.
31297 * misc/Makefile: Likewise.
31298 * nptl/Makefile: Likewise.
31299 * sysdeps/mach/hurd/Makefile: Likewise.
31300
121766a9
UD
31301 * configure.in: PWD_P is not used anymore.
31302 * config.make.in: Remove PWD_P entry.
31303
51a1d39c 31304 * configure.in: Remove last remnants of RANLIB.
8720d066 31305 No need to check for signed size_t anymore.
215f4bdc
UD
31306 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31307 and IA-64.
3857022a 31308 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31309 * aclocal.m4: Likewise.
31310
d3ed7225
UD
31311 * wcsmbs/mbrtoc16.c: Implement using towc function.
31312 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31313 * wcsmbs/wcsmbsload.c: Likewise.
31314 * iconv/gconv_simple.c: Likewise.
31315 * iconv/gconv_int.h: Likewise.
31316 * iconv/gconv_builtin.h: Likewise.
31317 * iconv/iconv_prog.c: Remove CHAR16 handling.
31318
31319 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31320
31321 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31322
a0da5fe1
UD
31323 * configure.in: Remove --with-elf and --enable-bounded options.
31324 Dont set base_machine for ia64. More non-ELF conditions removed.
31325 Remove testing and setting of leading underscore information.
31326 * config.make.in (build-bounded): Set to no.
31327 * config.h.in: Remove NO_UNDERSCORES entry.
31328 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31329 them.
31330 * csu/start.c: Remove !NO_UNDERSCORE code.
31331 * locale/localeinfo.h: Likewise.
31332 * sysdeps/generic/machine-gmon.h: Likewise.
31333 * sysdeps/generic/sysdep.h: Likewise.
31334 * sysdeps/i386/sysdep.h: Likewise.
31335 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31336 * sysdeps/mach/sysdep.h: Likewise.
31337 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31339 * sysdeps/sh/sysdep.h: Likewise.
31340 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31341 * sysdeps/unix/i386/sysdep.S: Likewise.
31342 * sysdeps/unix/sparc/start.c: Likewise.
31343 * sysdeps/unix/sparc/sysdep.S: Likewise.
31344 * sysdeps/unix/sparc/sysdep.h: Likewise.
31345 * sysdeps/unix/start.c: Likewise.
31346 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31347 * sysdeps/x86_64/sysdep.h: Likewise.
31348
df78418a
UD
313492012-01-07 Ulrich Drepper <drepper@gmail.com>
31350
a784e502
UD
31351 [BZ #13553]
31352 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31353 for non-gcc.
31354 * argp/argp-fmtstream.h: Use const instead __const.
31355 * argp/argp.h: Likewise.
31356 * assert/assert.h: Likewise.
31357 * bits/fenv.h: Likewise.
31358 * bits/sched.h: Likewise.
31359 * bits/sigset.h: Likewise.
31360 * bits/sigthread.h: Likewise.
31361 * catgets/nl_types.h: Likewise.
31362 * conform/data/pthread.h-data: Likewise.
31363 * crypt/crypt-private.h: Likewise.
31364 * crypt/crypt.h: Likewise.
31365 * crypt/crypt_util.c: Likewise.
31366 * ctype/ctype.h: Likewise.
31367 * debug/execinfo.h: Likewise.
31368 * debug/mbsnrtowcs_chk.c: Likewise.
31369 * debug/mbsrtowcs_chk.c: Likewise.
31370 * debug/wcsnrtombs_chk.c: Likewise.
31371 * debug/wcsrtombs_chk.c: Likewise.
31372 * debug/wcstombs_chk.c: Likewise.
31373 * dirent/dirent.h: Likewise.
31374 * dlfcn/dlfcn.h: Likewise.
31375 * elf/neededtest4.c: Likewise.
31376 * grp/grp.h: Likewise.
31377 * gshadow/gshadow.h: Likewise.
31378 * iconv/gconv.h: Likewise.
31379 * iconv/gconv_int.h: Likewise.
31380 * iconv/gconv_simple.c: Likewise.
31381 * iconv/iconv.h: Likewise.
31382 * iconv/loop.c: Likewise.
31383 * iconv/skeleton.c: Likewise.
31384 * include/aio.h: Likewise.
31385 * include/aliases.h: Likewise.
31386 * include/argz.h: Likewise.
31387 * include/arpa/inet.h: Likewise.
31388 * include/assert.h: Likewise.
31389 * include/dirent.h: Likewise.
31390 * include/dlfcn.h: Likewise.
31391 * include/execinfo.h: Likewise.
31392 * include/fcntl.h: Likewise.
31393 * include/fenv.h: Likewise.
31394 * include/glob.h: Likewise.
31395 * include/grp.h: Likewise.
31396 * include/libintl.h: Likewise.
31397 * include/mntent.h: Likewise.
31398 * include/netdb.h: Likewise.
31399 * include/pwd.h: Likewise.
31400 * include/rpc/netdb.h: Likewise.
31401 * include/sched.h: Likewise.
31402 * include/search.h: Likewise.
31403 * include/shadow.h: Likewise.
31404 * include/signal.h: Likewise.
31405 * include/stdio.h: Likewise.
31406 * include/stdlib.h: Likewise.
31407 * include/string.h: Likewise.
31408 * include/sys/socket.h: Likewise.
31409 * include/sys/stat.h: Likewise.
31410 * include/sys/statfs.h: Likewise.
31411 * include/sys/statvfs.h: Likewise.
31412 * include/sys/syslog.h: Likewise.
31413 * include/sys/time.h: Likewise.
31414 * include/sys/uio.h: Likewise.
31415 * include/time.h: Likewise.
31416 * include/unistd.h: Likewise.
31417 * include/utmp.h: Likewise.
31418 * include/wchar.h: Likewise.
31419 * include/wctype.h: Likewise.
31420 * inet/aliases.h: Likewise.
31421 * inet/arpa/inet.h: Likewise.
31422 * inet/netinet/ether.h: Likewise.
31423 * inet/netinet/in.h: Likewise.
31424 * intl/libintl.h: Likewise.
31425 * io/bits/fcntl2.h: Likewise.
31426 * io/fcntl.h: Likewise.
31427 * io/ftw.h: Likewise.
31428 * io/sys/poll.h: Likewise.
31429 * io/sys/stat.h: Likewise.
31430 * io/sys/statfs.h: Likewise.
31431 * io/sys/statvfs.h: Likewise.
31432 * io/utime.h: Likewise.
31433 * libio/bits/stdio.h: Likewise.
31434 * libio/bits/stdio2.h: Likewise.
31435 * libio/libio.h: Likewise.
31436 * libio/libioP.h: Likewise.
31437 * libio/stdio.h: Likewise.
31438 * locale/lc-ctype.c: Likewise.
31439 * locale/locale.h: Likewise.
31440 * login/utmp.h: Likewise.
31441 * malloc/arena.c: Likewise.
31442 * malloc/malloc.c: Likewise.
31443 * malloc/malloc.h: Likewise.
31444 * malloc/mcheck.c: Likewise.
31445 * malloc/mtrace.c: Likewise.
31446 * math/bits/mathcalls.h: Likewise.
31447 * math/fenv.h: Likewise.
31448 * math/math_private.h: Likewise.
31449 * misc/bits/error.h: Likewise.
31450 * misc/bits/syslog.h: Likewise.
31451 * misc/err.h: Likewise.
31452 * misc/error.h: Likewise.
31453 * misc/fstab.h: Likewise.
31454 * misc/mntent.h: Likewise.
31455 * misc/regexp.h: Likewise.
31456 * misc/search.h: Likewise.
31457 * misc/sgtty.h: Likewise.
31458 * misc/sys/mman.h: Likewise.
31459 * misc/sys/syslog.h: Likewise.
31460 * misc/sys/uio.h: Likewise.
31461 * misc/sys/xattr.h: Likewise.
31462 * misc/ttyent.h: Likewise.
31463 * nis/rpcsvc/ypclnt.h: Likewise.
31464 * nss/nss.h: Likewise.
31465 * posix/bits/unistd.h: Likewise.
31466 * posix/fnmatch.h: Likewise.
31467 * posix/glob.h: Likewise.
31468 * posix/sched.h: Likewise.
31469 * posix/spawn.h: Likewise.
31470 * posix/sys/wait.h: Likewise.
31471 * posix/unistd.h: Likewise.
31472 * posix/wordexp.h: Likewise.
31473 * pwd/pwd.h: Likewise.
31474 * resolv/netdb.h: Likewise.
31475 * resource/sys/resource.h: Likewise.
31476 * rt/aio.h: Likewise.
31477 * rt/bits/mqueue2.h: Likewise.
31478 * rt/mqueue.h: Likewise.
31479 * shadow/shadow.h: Likewise.
31480 * signal/signal.h: Likewise.
31481 * socket/send.c: Likewise.
31482 * socket/sendto.c: Likewise.
31483 * socket/sys/socket.h: Likewise.
31484 * stdio-common/printf.h: Likewise.
31485 * stdlib/bits/stdlib.h: Likewise.
31486 * stdlib/fmtmsg.h: Likewise.
31487 * stdlib/monetary.h: Likewise.
31488 * stdlib/stdlib.h: Likewise.
31489 * stdlib/ucontext.h: Likewise.
31490 * streams/stropts.h: Likewise.
31491 * string/argz.h: Likewise.
31492 * string/bits/string2.h: Likewise.
31493 * string/string.h: Likewise.
31494 * string/strings.h: Likewise.
31495 * sunrpc/rpc/auth.h: Likewise.
31496 * sunrpc/rpc/auth_des.h: Likewise.
31497 * sunrpc/rpc/clnt.h: Likewise.
31498 * sunrpc/rpc/netdb.h: Likewise.
31499 * sunrpc/rpc/pmap_clnt.h: Likewise.
31500 * sunrpc/rpc/xdr.h: Likewise.
31501 * sysdeps/generic/inttypes.h: Likewise.
31502 * sysdeps/generic/net/if.h: Likewise.
31503 * sysdeps/generic/sys/swap.h: Likewise.
31504 * sysdeps/gnu/net/if.h: Likewise.
31505 * sysdeps/gnu/utmpx.h: Likewise.
31506 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31507 * sysdeps/i386/i486/bits/string.h: Likewise.
31508 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31509 * sysdeps/s390/bits/string.h: Likewise.
31510 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31511 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31512 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31513 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31514 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31515 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31516 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31517 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31518 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31519 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31520 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31521 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31522 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31523 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31524 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31525 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31526 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31529 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31530 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31531 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31532 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31533 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31534 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31535 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31536 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31537 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31538 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31539 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31540 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31541 * sysvipc/sys/ipc.h: Likewise.
31542 * sysvipc/sys/msg.h: Likewise.
31543 * sysvipc/sys/sem.h: Likewise.
31544 * sysvipc/sys/shm.h: Likewise.
31545 * termios/termios.h: Likewise.
31546 * time/sys/time.h: Likewise.
31547 * time/time.h: Likewise.
31548 * wcsmbs/bits/wchar2.h: Likewise.
31549 * wcsmbs/uchar.h: Likewise.
31550 * wcsmbs/wchar.h: Likewise.
31551 * wctype/wctype.h: Likewise.
31552
0269750c
UD
31553 [BZ #13551]
31554 * Makeconfig: Remove all but ELF support including AIX support.
31555 * Makerules: Likewise.
31556 * config.h.in: Likewise.
31557 * config.make.in: Likewise.
31558 * configure: Likewise.
31559 * configure.in: Likewise.
31560 * csu/Makefile: Likewise.
31561 * csu/version.c: Likewise.
31562 * debug/Makefile: Likewise.
31563 * dlfcn/Makefile: Likewise.
31564 * elf/Makefile: Likewise.
31565 * extra-lib.mk: Likewise.
31566 * iconv/Makefile: Likewise.
31567 * include/libc-symbols.h: Likewise.
31568 * include/shlib-compat.h: Likewise.
31569 * resolv/Makefile: Likewise.
31570 * resolv/res_libc.c: Likewise.
31571 * rt/Makefile: Likewise.
31572 * sysdeps/i386/asm-syntax.h: Likewise.
31573 * sysdeps/i386/sysdep.h: Likewise.
31574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31575 * sysdeps/mach/sysdep.h: Likewise.
31576 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31577 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31578 * sysdeps/s390/asm-syntax.h: Likewise.
31579 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31581 * sysdeps/sh/sysdep.h: Likewise.
31582 * sysdeps/unix/sparc/sysdep.h: Likewise.
31583 * sysdeps/wordsize-32/divdi3.c: Likewise.
31584 * sysdeps/x86_64/sysdep.h: Likewise.
31585
00bbd29b
UD
31586 * argp/Versions: Remove _argp_unlock_xxx.
31587
31588 [BZ #13559]
31589 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31590 * abilist/libBrokenLocale.abilist: Likewise.
31591 * abilist/libanl.abilist: Likewise.
31592 * abilist/libc.abilist: Likewise.
31593 * abilist/libcrypt.abilist: Likewise.
31594 * abilist/libdl.abilist: Likewise.
31595 * abilist/libm.abilist: Likewise.
31596 * abilist/libnsl.abilist: Likewise.
31597 * abilist/libpthread.abilist: Likewise.
31598 * abilist/libresolv.abilist: Likewise.
31599 * abilist/librt.abilist: Likewise.
31600 * abilist/libthread_db.abilist: Likewise.
31601 * abilist/libutil.abilist: Likewise.
31602 * abilist/libnss_db.abilist: New file.
31603
31604 * scripts/abilist.awk: Add support for indirect functions.
31605
a2693a0e
UD
31606 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31607
3f05895f
UD
31608 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31609
ecb6fb48
UD
31610 * shlib-versions: Remove entries for ports architectures.
31611
664f8cb9
UD
31612 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31613 files in ports.
31614 * elf/stackguard-macros.h: Remove support for IA-64.
31615 * elf/tst-auditmod1.c: Likewise.
31616 * sysdeps/generic/ldsodefs.h: Likewise.
31617
7ae81d88
UD
31618 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31619 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31620 configure files.
31621
bdeba135
UD
31622 [BZ #13552]
31623 * configure.in: Remove --enable-omitfp support.
31624 * FAQ.in: Adjust.
31625 * config.make.in: Likewise.
31626 * Makeconfig: Likewise.
31627 * manual/install.texi: Likewise.
31628
d75a0a62
UD
31629 In case anyone cares, the IA-64 architecture could move to ports.
31630 * sysdeps/ia64/*: Removed.
31631 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31632 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31633
dcc9756b
UD
31634 [BZ #13555]
31635 * configure.in: Remove entries for unsupported architectures.
31636
d3761ebc 31637 [BZ #13533]
9954432e
UD
31638 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31639 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31640 routines.
31641 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31642 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31643 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31644 fall back to using wcrtomb.
31645 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31646 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31647 renaming.
31648 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31649 * wcsmbs/tst-c16c32-1.c: New file.
31650
31651 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31652 local variable.
31653
c3a87236
UD
31654 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31655
28926a1b
UD
31656 * elf/tst-unique3.cc: Add explicit declaration of gets.
31657 * elf/tst-unique3lib.cc: Likewise.
31658 * elf/tst-unique3lib2.cc: Likewise.
31659 * elf/tst-unique4.cc: Likewise.
31660
df78418a
UD
31661 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31662
8ecd6b2a
JM
316632012-01-06 Joseph Myers <joseph@codesourcery.com>
31664
31665 [BZ #13566]
31666 * assert/assert.h (static_assert): Don't define for C++.
31667 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31668 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31669
9f115170
UD
316702012-01-03 Ulrich Drepper <drepper@gmail.com>
31671
5e0d0300
UD
31672 * iconv/loop.c (single loop): Fix assertion in storing of
31673 remaining bytes.
31674
9f115170
UD
31675 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31676
81fb02b0
UD
316772012-01-01 Ulrich Drepper <drepper@gmail.com>
31678
31679 * posix/getconf.c: Update copyright year.
31680 * nss/getent.c: Likewise.
a316c1f6 31681 * nss/makedb.c: Likewise.
81fb02b0
UD
31682 * iconv/iconvconfig.c: Likewise.
31683 * iconv/iconv_prog.c: Likewise.
31684 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31685 * elf/pldd.c: Likewise.
31686 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31687 * catgets/gencat.c: Likewise.
31688 * csu/version.c: Likewise.
31689 * elf/ldd.bash.in: Likewise.
31690 * elf/sprof.c (print_version): Likewise.
31691 * locale/programs/locale.c: Likewise.
31692 * locale/programs/localedef.c: Likewise.
a316c1f6 31693 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31694 * nscd/nscd.c (print_version): Likewise.
31695 * debug/xtrace.sh: Likewise.
31696 * malloc/memusage.sh: Likewise.
31697 * malloc/mtrace.pl: Likewise.
31698 * debug/catchsegv.sh: Likewise.
31699
2ba92745
JJ
317002011-12-30 Jakub Jelinek <jakub@redhat.com>
31701
31702 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31703 pure attribute.
31704
dadebdae
UD
317052011-12-24 Ulrich Drepper <drepper@gmail.com>
31706
d3761ebc 31707 [BZ #13533]
db6af3eb
UD
31708 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31709 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31710 transformations.
31711 * iconv/gconv_int.h: Likewise.
31712 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31713 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31714 from libc for GLIBC_2.16.
31715 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31716 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31717 * wcsmbs/uchar.h: Really define mbstate_t.
31718 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31719 * wcsmbs/c16rtomb.c: New file.
31720 * wcsmbs/mbrtoc16.c: New file.
31721 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31722 for C/POSIX locale.
31723 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31724 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31725
dadebdae
UD
31726 * wcsmbs/wchar.h: Add missing __restrict.
31727
67371b56
UD
317282011-12-23 Ulrich Drepper <drepper@gmail.com>
31729
74033a25
UD
31730 [BZ #13532]
31731 * time/Makefile (routines): Add timespec_get.
31732 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31733 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31734 timespec for ISO C11.
31735 * time/timespec_get.c: New file.
31736 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31737 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31738
380d7e87
UD
31739 [BZ #13531]
31740 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31741 * stdlib/stdlib.h: Declare aligned_alloc.
31742 * Versions.def: Add GLIBC_2.16 for libc.
31743 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31744
4e9e7a35
UD
31745 [BZ 13527]
31746 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31747 ISO C11.
31748
380d7e87 31749 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31750 code.
31751
03a71829
UD
31752 [BZ #13528]
31753 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31754
839e283e
UD
31755 [BZ #13529]
31756 * assert/assert.h (static_assert): Define.
31757
ce5294e2 31758 * version.h: Update for 2.16 development version.
90fa7312 31759
8d44e150 31760 [BZ #13526]
d7809905
UD
31761 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31762 _ISOC11_SOURCE.
31763
c0da14cd
UD
31764 * version.h (RELEASE): Bump for 2.15 release.
31765 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31766
530a3249
MP
31767 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31768 Patch by Marek Polacek <mpolacek@redhat.com>.
31769
67371b56
UD
31770 * bits/byteswap.h: Protect long long constants with __extension__.
31771 * sysdeps/i386/bits/byteswap.h: Likewise.
31772 * sysdeps/ia64/bits/byteswap.h: Likewise.
31773 * sysdeps/s390/bits/byteswap.h: Likewise.
31774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31775
15db4de1
LD
317762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31777
31778 [BZ #13540]
bbe315ea
LD
31779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31780 destination buffer.
15db4de1
LD
31781 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31782
2b2596b1
MP
317832011-12-23 Marek Polacek <polacek@redhat.com>
31784
31785 * elf/dl-addr.c (determine_info): Add inline keyword.
31786 * elf/tst-auditmod4b.c (check_avx): Likewise.
31787 * elf/tst-auditmod6b.c (check_avx): Likewise.
31788 * elf/tst-auditmod6c.c (check_avx): Likewise.
31789 * elf/tst-auditmod7b.c (check_avx): Likewise.
31790
70c6c246
UD
317912011-12-23 Ulrich Drepper <drepper@gmail.com>
31792
31793 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31794 !__SSE_MATH__.
31795
c044cf14
LD
317962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31797
15db4de1 31798 [BZ #13540]
c044cf14
LD
31799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31800 processing for last bytes.
31801
6b13d9d9
BH
318022011-08-06 Bruno Haible <bruno@clisp.org>
31803
d455f537
BH
31804 [BZ #13061]
31805 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31806 U+0385, not to U+1FEE.
31807
6b13d9d9
BH
31808 [BZ #13062]
31809 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31810 entry for U+00A5 U+0301.
31811
db910efd
UD
318122011-12-22 Ulrich Drepper <drepper@gmail.com>
31813
27deeafc
UD
31814 [BZ #13166]
31815 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31816 buffer for the output is too small.
31817
aed9d171
UD
31818 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31819 optimization.
31820
db910efd
UD
31821 [BZ #13185]
31822 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31823 SSE flags if possible.
31824
2bd779ae
LD
318252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31826
e7f9dac3 31827 [BZ #13540]
2bd779ae
LD
31828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31829 processing for last bytes.
31830
154bfc16
JM
318312011-12-22 Joseph Myers <joseph@codesourcery.com>
31832
31833 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31834 (syscall-list-default-options, syscall-list-default-condition)
31835 (syscall-list-includes): Define.
31836 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31837 list of ABIs and options and #if conditions for each ABI. Do not
31838 handle common syscalls between ABIs specially.
31839 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31840 Remove.
31841 (syscall-list-variants, syscall-list-32bit-options)
31842 (syscall-list-32bit-condition, syscall-list-64bit-options)
31843 (syscall-list-64bit-condition): Define.
31844 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31845 (syscall-list-variants, syscall-list-32bit-options)
31846 (syscall-list-32bit-condition, syscall-list-64bit-options)
31847 (syscall-list-64bit-condition): Define.
31848 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31849 Remove.
31850 (syscall-list-variants, syscall-list-32bit-options)
31851 (syscall-list-32bit-condition, syscall-list-64bit-options)
31852 (syscall-list-64bit-condition): Define.
31853 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31854 Remove.
31855 (syscall-list-variants, syscall-list-32bit-options)
31856 (syscall-list-32bit-condition, syscall-list-64bit-options)
31857 (syscall-list-64bit-condition): Define.
31858
21eaf3a5
UD
318592011-12-22 Ulrich Drepper <drepper@gmail.com>
31860
16c6f992
UD
31861 * locale/iso-639.def: Add brx entry.
31862
41043168
UD
31863 [BZ #13328]
31864 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31865 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31866
21eaf3a5
UD
31867 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31868 __feraiseexcept_renamed.
31869
e3a851a2
UD
318702011-12-21 Ulrich Drepper <drepper@gmail.com>
31871
4920765e
UD
31872 [BZ #13538]
31873 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31874 EPOLLET with unsigned values.
31875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31876 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31877
e3a851a2
UD
31878 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31879 to large cancellation.
31880 * math/s_cacoshf.c: Likewise.
31881 * math/s_cacoshl.c: Likewise.
31882
b27e24b8
RK
318832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31884
31885 [BZ #13305]
aebefeee 31886 [BZ #12786]
b27e24b8
RK
31887 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31888 * math/s_cacoshf.c: Likewise.
31889 * math/s_cacoshl.c: Likewise.
31890
ee190f67
UD
318912011-12-21 Ulrich Drepper <drepper@gmail.com>
31892
31893 [BZ #13439]
31894 * iconv/gconv.h: Define __GCONV_SWAP.
31895 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31896 * iconvdata/utf-16.c: Likewise.
31897 * iconvdata/utf-32.c: Likewise.
31898
707f25df
AS
318992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31900
31901 [BZ #13524]
31902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31903 numerator after shifting it by one limb.
31904
d2daaa1e
RÁE
319052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31906
31907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31908 under [__USE_EXTERN_INLINES].
31909
a4647e72
UD
319102011-12-17 Ulrich Drepper <drepper@gmail.com>
31911
31912 [BZ #13446]
31913 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31914
f0b264f1
AZ
319152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31916
31917 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31918 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31919 optimized code.
31920 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31921 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31922 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31923 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31924 for strncasecmp/strncasecmp_l compilation.
31925 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31926 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31927
8ef4f244
MP
319282011-12-08 Marek Polacek <mpolacek@redhat.com>
31929
31930 [BZ #13484]
31931 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31932 of __asm__.
31933
97ac2654
UD
319342011-12-17 Ulrich Drepper <drepper@gmail.com>
31935
31936 [BZ #13506]
31937 * time/tzfile.c (__tzfile_read): Check values from file header.
31938
91d2a845
WS
319392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31940
31941 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31942 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31943 * powerpc/powerpc32/dl-start.S: Likewise.
31944 * powerpc/powerpc32/elf/start.S: Likewise.
31945 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31946 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31947 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31948 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31949 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31950 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31951 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31952 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31953 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31954 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31955 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31956 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31957 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31958 * powerpc/powerpc32/memset.S: Likewise.
31959 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31960 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31961 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31962 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31963 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31964 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31965 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31966 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31967 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31968 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31969 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31970 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31971 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31972
a1267ba1
AZ
319732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31974
31975 * math/libm-test.inc: Added more nearbyint tests.
31976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31977 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31979 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31980
ad8ac1bd
RL
319812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31982
31983 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31984 FD_CLOEXEC.
31985
1d3e4b61
UD
319862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31987
31988 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31989 Add wcscpy-ssse3 wcscpy-c.
31990 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31991 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31992 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31993 * sysdeps/x86_64/wcschr.S: New file.
31994 * sysdeps/x86_64/wcsrchr.S: New file.
31995 * string/test-strcmp.c: Remove checking of wcscmp function for
31996 wrong alignments.
31997 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31998 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31999 wcsrchr-sse2 wcsrchr-c.
32000 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32001 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32002 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32003 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32004 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32005 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32006 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32007 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32008 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32009 * wcsmbc/wcschr.c (WCSCHR): New macro.
32010
5b330a2d
UD
320112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32012
32013 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32014 * wcsmbs/test-wcsrchr.c: New file.
32015 * string/test-strrchr.c: Add wcsrchr support.
32016 (WIDE): New macro.
32017 * wcsmbs/test-wcscpy.c: New file.
32018 * string/test-strcpy.c: Add wcscpy support.
32019 (WIDE): New macro.
26428b7c 32020
f039c043
UD
320212011-12-10 Ulrich Drepper <drepper@gmail.com>
32022
32023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32024 the inner loop.
32025
850fb039
AS
320262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32027
32028 [BZ #13472]
32029 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32030
4efbd5cb
UD
320312011-12-04 Ulrich Drepper <drepper@gmail.com>
32032
52ff5dd0 32033 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32034 Minor optimizations.
52ff5dd0 32035
4efbd5cb
UD
32036 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32037 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32038 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32039
8a426e12
UD
320402011-12-03 Ulrich Drepper <drepper@gmail.com>
32041
aff2453d
UD
32042 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32043 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32044 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32045 for gcc to avoid warnings.
32046 * inet/Makefile (tests): Add tst-checks.
32047 * inet/tst-checks.c: New file.
32048
32049 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32050 warning.
32051
32052 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32053 __wmemcmp_sse2.
32054
32055 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32056 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32057
8a426e12
UD
32058 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32059
9bea3473
UD
320602011-12-02 Ulrich Drepper <drepper@gmail.com>
32061
3a965496
UD
32062 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32063 problem.
32064
9bea3473
UD
32065 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32066
f101631b
UD
320672011-11-29 Joseph Myers <joseph@codesourcery.com>
32068
32069 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32070 conditional on GCC version.
32071 (__arch_compare_and_exchange_val_8_acq)
32072 (__arch_compare_and_exchange_val_16_acq)
32073 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32074 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32075 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32076
a98275aa
UD
320772011-12-02 Joseph Myers <joseph@codesourcery.com>
32078
32079 * sysdeps/sh/backtrace.c: New file.
32080
d4cc29a2
AS
320812011-12-02 Andreas Schwab <schwab@redhat.com>
32082
32083 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32084 parenthesis.
32085
6257af2d
AS
320862011-12-01 Andreas Schwab <schwab@redhat.com>
32087
32088 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32089 falling back to utime.
32090
b5f44c1a
AS
320912011-11-30 Andreas Schwab <schwab@redhat.com>
32092
32093 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32094 expectations for float.
32095
f3a6cc0a
AS
320962011-11-29 Andreas Schwab <schwab@redhat.com>
32097
32098 * locale/weight.h (findidx): Add parameter len.
32099 * locale/weightwc.h (findidx): Likewise.
32100 * posix/fnmatch_loop.c (FCT): Adjust caller.
32101 * posix/regcomp.c (build_equiv_class): Likewise.
32102 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32103 * posix/regexec.c (check_node_accept_bytes): Likewise.
32104 * string/strcoll_l.c (STRCOLL): Likewise.
32105 * string/strxfrm_l.c (STRXFRM): Likewise.
32106
9d65ea3a
UD
321072011-11-17 Ulrich Drepper <drepper@gmail.com>
32108
32109 * Makefile.in: Remove CVSOPT handling.
32110 * configure.in: Remove use of AC_REVISION.
32111 * iconvdata/Makefile (distribute): No need to filter out CVS.
32112 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32113 handling.
32114
5583a086
AS
321152011-11-16 Andreas Schwab <schwab@redhat.com>
32116
32117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32118 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32119 [USE_AS_STRNCASECMP_L]: Likewise.
32120 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32121 NO_TLS_DIRECT_SEG_REFS.
32122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32123 Fix argument offsets for non-PIC.
32124 [USE_AS_STRNCASECMP_L]: Likewise.
32125 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32126 NO_TLS_DIRECT_SEG_REFS.
32127
d62a8200
UD
321282011-11-15 Ulrich Drepper <drepper@gmail.com>
32129
9d65ea3a 32130 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32131 O_CLOEXEC.
32132 * locale/loadlocale.c (_nl_load_locale): Likewise.
32133
09f93bd3
AS
321342011-11-15 Andreas Schwab <schwab@redhat.com>
32135
446514f9
AS
32136 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32137 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32139 (SYSCALL_GETTIME): Set errno on error.
32140
09f93bd3
AS
32141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32142 count references to noai6ai_cached.
32143
312be3f9
UD
321442011-11-15 Ulrich Drepper <drepper@gmail.com>
32145
32146 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32147
32148 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32149 FD_CLOEXEC for /proc/self/maps.
32150
32151 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32152 FD_CLOEXEC for /proc/meminfo.
32153
32154 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32155 gai.conf.
32156
32157 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32158 FD_CLOEXEC for given file.
32159
32160 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32161
32162 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32163 FD_CLOEXEC for /etc/hosts.
32164 (_gethtent): Likewise.
32165
32166 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32167
32168 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32169 cancellation and set FD_CLOEXEC for /etc/netgroup.
32170
32171 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32172 reading /etc/publickey.
32173
32174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32175 allow cancellation when reading /etc/group.
32176
32177 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32178 cancellation.
32179 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32180
32181 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32182 when using data file.
32183
32184 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32185
32186 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32187 (write_nis_obj): Use "c" and "e" in fopen.
32188
32189 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32190
32191 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32192
32193 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32194
32195 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32196
32197 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32198 locale.alias.
32199
32200 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32201
32202 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32203
32204 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32205
32206 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32207 file parsing and set FD_CLOEXEC.
32208
82af0fa8
UD
322092011-11-14 Ulrich Drepper <drepper@gmail.com>
32210
32211 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32212
a5fb313c
AS
322132011-11-14 Andreas Schwab <schwab@redhat.com>
32214
32215 * malloc/arena.c (arena_get2): Don't call reused_arena when
32216 _int_new_arena failed.
32217
6abf3465
UD
322182011-11-14 Ulrich Drepper <drepper@gmail.com>
32219
32220 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32221 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32222 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32223 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32226 to compile strcasecmp and strncasecmp.
32227 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32228 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32229
32230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32231
76e3966e
UD
322322011-11-13 Ulrich Drepper <drepper@gmail.com>
32233
32234 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32235 locale-defines.sym to gen-as-const-headers.
32236 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32237 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32239 to compile strcasecmp and strncasecmp.
32240 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32241 strcasecmp_l and strncasecmp_l.
32242 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32243 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32244 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32245 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32246 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32247 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32248 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32249 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32250 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32251 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32252 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32253
ab26144e
UD
322542011-11-12 Ulrich Drepper <drepper@gmail.com>
32255
7edb22ef
UD
32256 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32257 result of SYSDEP_GETTIME_CPU to retval.
32258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32259 parameter list to macro. Remove trailing semicolon. Adjust users.
32260
9694fc44
UD
32261 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32262 variable.
32263
8ad89ef8
UD
32264 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32265 mantissa words.
32266 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32267
0c822ef9
UD
32268 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32269 from unused variable.
32270
874e0564
UD
32271 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32272 DWARF definitions.
32273 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32274 for assembling.
32275
3a2edc79
UD
32276 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32277 over namespaces.
32278
f3c2577f
UD
32279 * sunrpc/rpc_prot.c (rejected): Fix case value.
32280
294ce126
UD
32281 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32282 unsigned long long int to avoid warnings in shift.
32283
5e2b63c6
UD
32284 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32285 of use of trans.
32286 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32287 variable tmp.
32288
e7f4b08e
UD
32289 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32290 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32291 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32292
ab26144e
UD
32293 * nis/nis_table.c (nis_list): Use variable of correct type for
32294 result of __follow_path call.
32295
8a6d5255
AZ
322962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32297
32298 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32299 of math functions ceil, trunc, floor, round, and sqrt, when
32300 avaliable on the platform.
32301 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32302 name clash.
32303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32306
aaddc98c
MP
323072011-10-30 Marek Polacek <mpolacek@redhat.com>
32308
32309 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32310 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32311
95b7042b
RM
323122011-11-11 Roland McGrath <roland@hack.frob.com>
32313
32314 * include/unistd.h: Fix __readlink return type.
32315 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32316
57769839
UD
323172011-11-11 Ulrich Drepper <drepper@gmail.com>
32318
32319 * stdlib/ucontext.h: Undo last change for makecontext.
32320
edc5984d
AS
323212011-11-11 Andreas Schwab <schwab@redhat.com>
32322
98591e58
AS
32323 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32324
edc5984d
AS
32325 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32326 * setjmp/setjmp.h: Mark functions as non-leaf.
32327 * setjmp/bits/setjmp2.h: Likewise.
32328 * stdlib/ucontext.h: Likewise.
32329
77cdc054
AS
323302011-11-10 Andreas Schwab <schwab@redhat.com>
32331
32332 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32333 (reused_arena): Don't check arena limit.
32334 (arena_get2): Atomically check arena limit.
32335
fe72eebd
UD
323362011-11-08 Ulrich Drepper <drepper@gmail.com>
32337
5f078c32
UD
32338 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32339 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32340
fe72eebd
UD
32341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32342 instructions.
32343
ae1bc2fa
AS
323442011-11-07 Andreas Schwab <schwab@redhat.com>
32345
7583a88d
AS
32346 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32347 handler when locking.
32348
ae1bc2fa
AS
32349 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32350 Fix size of allocated buffer.
32351
10fb0bfa
AS
323522011-11-04 Andreas Schwab <schwab@redhat.com>
32353
998832a4
AS
32354 [BZ #10103]
32355 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32356 declarations for long double functions.
32357 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32358
10fb0bfa
AS
32359 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32360
3d7ba52b
AS
323612011-11-03 Andreas Schwab <schwab@redhat.com>
32362
a9ae54a1
AS
32363 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32364 installed.
32365
3d7ba52b
AS
32366 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32367 is disabled.
32368
bc8db248
ST
323692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32370
32371 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32372
45b96dd6
AS
323732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32374
647776f6
AS
32375 * include/alloca.h (stackinfo_alloca_round): Define.
32376 (extend_alloca): Use it.
32377 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32378 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32379 here.
32380
d91a8b93
AS
32381 * scripts/check-local-headers.sh: Ignore libaudit.h.
32382
45b96dd6
AS
32383 * nscd/Makefile (extra-objs): Make recursively expanded.
32384
432d41ce
UD
323852011-11-01 Ulrich Drepper <drepper@gmail.com>
32386
34372fc6
UD
32387 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32389
fadb59f8
UD
32390 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32391 * posix/tst-rfc3484-2.c: Likewise.
32392 * posix/tst-rfc3484-3.c: Likewise.
32393
78239589
UD
32394 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32395 process_vm_writev.
32396 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32397 process_vm_writev.
32398 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32399 process_vm_writev from libc using GLIBC_2.15 version.
32400
432d41ce
UD
32401 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32402
02f9c6cf
PP
324032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32404
32405 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32406 stack usage.
32407
3a2c0242
UD
324082011-10-31 Ulrich Drepper <drepper@gmail.com>
32409
f4ec4833
UD
32410 [BZ #13367]
32411 * nss/getent.c (initgroups_keys): Show error message in case no group
32412 names are given.
32413
3a2c0242
UD
32414 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32415 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32416 __bump_nl_timestamp.
32417 * nscd/connections (nscd_init): When host database is served open
32418 netlink socket and request notification about configuration changes.
32419 (main_loop_poll): Track netlink file descriptor and bump timestamp
32420 in case data becomes available.
32421 (main_loop_epoll): Likewise.
32422 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32423 (database_pers_head): Add extra_data fileds.
32424 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32425 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32426 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32427 Adjust caller.
32428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32429 in6ai data, call __free_in6ai.
32430 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32431 Add -DHAVE_NETLINK.
32432 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32433 interface information. Reuse previous data if netlink timestamp
32434 is not changed.
32435 (__bump_nl_timestamp): New function.
32436 (__free_in6ai): New function.
32437
636064eb
UD
324382011-10-30 Ulrich Drepper <drepper@gmail.com>
32439
32440 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32441 close_not_cancel_no_status here.
32442 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32443
9beb2334
UD
324442011-10-29 Ulrich Drepper <drepper@gmail.com>
32445
6ef76f3b
UD
32446 [BZ #13276]
32447 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32448 return value.
32449
0ffc4f3e 32450 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32451 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32452 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32453
cb95113e
UD
324542011-07-03 Andreas Jaeger <aj@suse.de>
32455
32456 [BZ #10709]
32457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32458 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32459 * math/libm-test.inc (sin_test): Add test case.
32460
a1b560ff
UD
324612011-10-29 Ulrich Drepper <drepper@gmail.com>
32462
c9aaface
UD
32463 [BZ #13337]
32464 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32465 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32466
d272e7f1
UD
32467 * elf/chroot_canon.c (chroot_canon): Cleanups.
32468
1bc33071
UD
32469 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32470
1760874d
TJ
32471 [BZ #13335]
32472 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32473 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32474
51d91b18
UD
32475 * string/test-strchr.c: Make usable for strchrnul testing.
32476 * string/test-strchrnul.c: New file.
32477 * string/Makefile (strop-tests): Add strchrnul.
32478
a1b560ff 32479 * po/it.po: Update from translation team.
b611fb81 32480 * po/es.po: Likewise.
a1b560ff 32481
a5b81e1f
UD
324822011-10-28 Ulrich Drepper <drepper@gmail.com>
32483
fd52bc6d
UD
32484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32485 the three constants needed as parameters. Drop the others.
32486 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32487 __m128i_strloadu_tolower.
52e4b9eb
UD
32488 Create and initialize variable zero and use it in all the places
32489 where _mm_setzero_si128 was used.
fd52bc6d 32490
a5b81e1f
UD
32491 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32492 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32493 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32494 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32495 anymore.
32496 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32497 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32498 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32499 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32500 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32501 __mpranred, __mptan.
32502 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32503 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32504 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32505 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32506 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32507 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32509 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32510 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32511
b4343346
AS
325122011-10-28 Andreas Schwab <schwab@redhat.com>
32513
0c92d8a8
AS
32514 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32515 redefine if SHARED.
32516 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32517
b4343346
AS
32518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32519 wide char related routines to wcsmbs subdir.
32520
3871f58f
AS
325212011-10-27 Andreas Schwab <schwab@redhat.com>
32522
32523 [BZ #13344]
32524 * misc/sys/cdefs.h (__THROWNL): Define.
32525 * posix/unistd.h: Use __THREADNL instead of __THREAD
32526 for memory synchronization functions.
32527
94d44d9f
RM
325282011-10-26 Roland McGrath <roland@hack.frob.com>
32529
21b64b15 32530 [BZ #13349]
94d44d9f
RM
32531 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32532 doesn't exist.
32533 * manual/stdio.texi (Obstack Streams): Node removed.
32534
f6ce9294
AS
325352011-10-26 Andreas Schwab <schwab@redhat.com>
32536
80479147
AS
32537 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32539 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32540
f6ce9294
AS
32541 * math/math_private.h (math_force_eval): Allow non-addressable
32542 arguments.
32543 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32544
618280a1
UD
325452011-10-25 Ulrich Drepper <drepper@gmail.com>
32546
e0016b11
UD
32547 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32548 file is not needed.
32549
32550 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32551 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32552 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32553 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32554 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32555 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32557 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32558 Add AVX variants.
32559 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32560 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32561 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32562 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32563 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32564 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32565 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32566 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32567 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32568 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32569 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32570 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32571 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32572 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32573 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32574 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32575 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32576 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32577 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32578
32579 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32580 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32581
618280a1
UD
32582 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32583 place. Use VEX encoding when compiling for AVX.
32584
37822576
AS
325852011-10-25 Andreas Schwab <schwab@redhat.com>
32586
1f1e1947
AS
32587 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32588 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32589
37822576
AS
32590 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32591
31ea014d
UD
325922011-10-25 Ulrich Drepper <drepper@gmail.com>
32593
d7826aa1 32594 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32595 useless if() expression.
d7826aa1
UD
32596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32606 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32607 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32608 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32609 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32610 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32611 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32613 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32614 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32615
31ea014d
UD
32616 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32617
16437fec
AS
326182011-10-25 Andreas Schwab <schwab@redhat.com>
32619
32620 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32621 condition.
32622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32623
31d3cc00
UD
326242011-10-25 Ulrich Drepper <drepper@gmail.com>
32625
32626 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32627 .text section. Avoid duplicate constants.
32628 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32629 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32636 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32637 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32638 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32639 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32640 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32641 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32642 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32643 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32644 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32645 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32646 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32648 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32649 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32650 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32651 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32652 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32653 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32654 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32655 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32656 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32657 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32659 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32660 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32661 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32662 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32663 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32664 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32665 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32666 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32667 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32668 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32670 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32672 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32673
58985aa9
UD
326742011-10-24 Ulrich Drepper <drepper@gmail.com>
32675
202c9deb
UD
32676 * sysdeps/x86_64/dla.h: Move to ...
32677 * sysdeps/x86_64/fpu/dla.h: ...here.
32678 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32679 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32680
af968f62
UD
32681 * config.make.in: Add have-mfma4 entry.
32682 * configure.in: Substitute libc_cv_cc_fma4.
32683 * math/Makefile (dbl-only-routines): Add sincostab.
32684 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32685 Use __sincostab not sincos.
32686 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32687 name is a macro.
32688 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32692 using __copysign.
32693 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32694 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32695 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32696 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32697 and __inv.
32698 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32699 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32700 __copysign.
32701 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32702 define aliases when function name is a macro.
32703 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32704 sysdeps/ieee754/dbl-64/sincos.tbl.
32705 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32706 fma4-enabled routines.
32707 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32708 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32709 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32710 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32712 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32716 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32717 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32718 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32719 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32720 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32721 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32722 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32723 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32724 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32725 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32727 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32728 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32729 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32732 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32734 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32735 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32736 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32737
58985aa9
UD
32738 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32739 rename.
32740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32748
a201fbcf
AS
327492011-10-24 Andreas Schwab <schwab@redhat.com>
32750
32751 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32752
fc2ee42a
LD
327532011-10-23 Ulrich Drepper <drepper@gmail.com>
32754
bb3129bd
UD
32755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32756
0275fff8
UD
32757 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32758 prediction.
32759 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32760
2fa2ae85
UD
32761 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32762 Remove unused variable magic_bits.
32763 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32764
fc2ee42a
LD
32765 * string/strnlen.c: Define and use STRNLEN macro.
32766 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32767 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32769 * wcsmbs/wcslen.c: Define and use WCSLEN.
32770 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32771 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32772 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32773 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32774 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32775 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32776 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32777
ce7dd29f
LD
327782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32779
32780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32781 strnlen-sse2-no-bsf.
32782 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32783 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32784 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32785 Add strnlen support.
32786 (USE_AS_STRNLEN): New macro.
32787 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32788 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32789 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32790 * sysdeps/x86_64/wcslen.S: New file.
32791
979c70a3
MZ
327922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32793
32794 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32795 XMM-moves are used for copying on small sizes.
32796
2d09f82f
LD
327972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32798
32799 * wcsmbs/Makefile (strop-tests): Add wcschr.
32800 * wcsmbs/test-wcschr.c: New file.
32801 * string/test-strchr.c: Update.
32802 Add wcschr support.
32803 (WIDE): New macro.
32804
619fccca
LD
328052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32806
2d09f82f 32807 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32808 * wcsmbs/test-wcslen.c: New file.
32809 * string/test-strlen.c: Update.
32810 Add wcslen support.
32811 (WIDE): New macro.
32812
09f699ea
UD
328132011-10-23 Ulrich Drepper <drepper@gmail.com>
32814
32815 * po/it.po: Update from translation team.
32816
95584d3b
LD
328172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32818
32819 * sysdeps/x86_64/wcscmp.S: Update.
32820 Fix wrong comparison semantics.
32821 wcscmp shall use signed comparison not unsigned.
32822 Don't use substraction to avoid overflow bug.
32823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32824 * wcsmbc/wcscmp.c: Likewise.
32825 * string/test-strcmp.c: Likewise.
32826 Add new tests to check cases with negative values.
32827
c8b3296b
UD
328282011-10-23 Ulrich Drepper <drepper@gmail.com>
32829
32830 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32831 * sysdeps/x86_64/dla.h: ...here. New file.
32832 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32837 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32841
246ad57a
AS
328422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32843
32844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32845 __ynl_finite aliases.
32846
a1a87169
UD
328472011-10-22 Ulrich Drepper <drepper@gmail.com>
32848
0d355eb7
UD
32849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32850
a1a87169
UD
32851 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32852 define DLA_FMA.
32853 [DLA_FMA] (EMULV): Use DLA_FMA.
32854 [DLA_FMA] (MUL12): Use EMULV.
32855 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32856 that are not needed.
32857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32861 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32864
ee2aafe0
AS
328652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32866
32867 * math/s_nan.c: Undef __nan.
32868 * math/s_nanf.c: Undef __nanf.
32869 * math/s_nanl.c: Undef __nanl.
32870 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32871 "math_private.h".
32872
bc62c2fb
UD
328732011-10-22 Ulrich Drepper <drepper@gmail.com>
32874
77425c63
UD
32875 * math/s_catan.c: Add branch predictions.
32876 * math/s_catanf.c: Likewise.
32877 * math/s_catanh.c: Likewise.
32878 * math/s_catanhf.c: Likewise.
32879 * math/s_catanhl.c: Likewise.
32880 * math/s_catanl.c: Likewise.
32881 * math/s_cexp.c: Likewise.
32882 * math/s_cexpf.c: Likewise.
32883 * math/s_cexpl.c: Likewise.
32884 * math/s_clog.c: Likewise.
32885 * math/s_clog10.c: Likewise.
32886 * math/s_clog10f.c: Likewise.
32887 * math/s_clog10l.c: Likewise.
32888 * math/s_clogf.c: Likewise.
32889 * math/s_clogl.c: Likewise.
32890 * math/s_csqrt.c: Likewise.
32891 * math/s_csqrtf.c: Likewise.
32892 * math/s_csqrtl.c: Likewise.
32893 * math/s_ctanf.c: Likewise.
32894 * math/s_ctanh.c: Likewise.
32895 * math/s_ctanhf.c: Likewise.
32896 * math/s_ctanhl.c: Likewise.
32897 * math/s_ctanl.c: Likewise.
32898
bc62c2fb
UD
32899 * math/math_private.h: Define __nan, __nanf, __nanl.
32900 * math/s_cacosh.c: Include <math_private.h>.
32901 * math/s_cacoshl.c: Likewise.
32902 * math/s_casinh.c: Likewise.
32903 * math/s_casinhf.c: Likewise.
32904 * math/s_casinhl.c: Likewise.
32905 * math/s_ccos.c: Rely entire on ccosh.
32906 * math/s_ccosf.c: Rely entire on ccoshf.
32907 * math/s_ccosl.c: Rely entirely on ccoshl.
32908 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32909 Remove tests for FE_INVALID.
32910 * math/s_ccoshf.c: Likewise.
32911 * math/s_ccoshl.c: Likewise.
32912 * math/s_csin.c: Likewise.
32913 * math/s_csinf.c: Likewise.
32914 * math/s_csinh.c Likewise.
32915 * math/s_csinhf.c: Likewise.
32916 * math/s_csinhl.c: Likewise.
32917 * math/s_csinl.c: Likewise.
32918 * math/s_ctan.c: Likewise.
32919 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32920 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32921 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32922
8ec250a4
UD
329232011-10-21 Ulrich Drepper <drepper@gmail.com>
32924
c196fed8
UD
32925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32926 compilation problems.
32927
8ec250a4
UD
32928 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32929 __builtin_expect.
32930
8d4f46c6
UD
329312011-10-20 Ulrich Drepper <drepper@gmail.com>
32932
ed72b654
UD
32933 * sysdeps/i386/configure.in: Test for -mfma4 option.
32934 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32935 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32936 COMMON_CPUID_INDEX_80000001.
32937 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32938 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32939 use it if FMA3 is not supported.
32940 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32941
8d4f46c6
UD
32942 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32943 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32944
d45c60c2
AS
329452011-10-20 Andreas Schwab <schwab@redhat.com>
32946
32947 [BZ #12892]
32948 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32949 it would create a cycle with a link time dependency.
32950
d9a4d2ab
UD
329512011-10-19 Ulrich Drepper <drepper@gmail.com>
32952
855d1560
UD
32953 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32954 instruction.
32955 * string/Makefile (strop-tests): Add rawmemchr.
32956 * string/test-rawmemchr.c: New file.
32957
d9a4d2ab
UD
32958 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32960 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32961 when compiling str{,n}casecmp and when AVX is available. Hook up
32962 new optimized code in initializers.
32963
8f3b1ffe
AS
329642011-10-19 Andreas Schwab <schwab@redhat.com>
32965
32966 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32967 __feraiseexcept instead of feraiseexcept.
32968
d38f1dba
UD
329692011-10-18 Ulrich Drepper <drepper@gmail.com>
32970
d9a8d0ab
UD
32971 * math/math_private.h: Define defaults for libc_fetestexcept and
32972 libc_feupdateenv.
32973 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32974 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32975 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32976 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32977 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32978 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32979 libc_fetestexcept and libc_feupdateenv.
32980
4855e3dd
UD
32981 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32982 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32983 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32984 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32985 libc_feholdexcept_setround.
32986
581d30e3
UD
32987 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32988 Add s_nearbyint-c and s_nearbyintf-c.
32989 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32990 nearbyintf inlines.
32991 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32992 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32993 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32994 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32995
d38f1dba
UD
32996 * math/math_private.h: Define defaults for libc_fegetround,
32997 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32998 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32999 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33001 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33002 standard functions.
33003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33004 Remove comments and hacks for old compiler versions.
33005 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33006 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33007 libc_feholdexceptl.
33008
caa6c9d8
AS
330092011-10-18 Andreas Schwab <schwab@redhat.com>
33010
33011 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33012 (__feraiseexcept_renamed): Add __NTH.
33013 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33014 namespace violations.
33015
97c066e6
UD
330162011-10-17 Ulrich Drepper <drepper@gmail.com>
33017
99ce7b04
UD
33018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33019
1004d182
UD
33020 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33021
228a984d
UD
33022 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33023 recently added interfaces.
33024 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33025
c8553a6a
UD
33026 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33027 about macro parameter expansion.
33028
ed22dcf6
UD
33029 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33030 __NO_MATH_INLINES is defined. Cleanups.
33031
33032 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33033 and __floorf is target has SSE4.1.
33034 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33035 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33036 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33037 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33038
b171c137
UD
33039 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33040 name.
33041 (floorf): Likewise.
33042
97c066e6
UD
33043 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33044
629f62ef
AS
330452011-10-17 Andreas Schwab <schwab@redhat.com>
33046
49a43d80
AS
33047 * misc/sys/cdefs.h: Fix last change.
33048
629f62ef
AS
33049 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33050 database lookup.
33051
e453f6cd
UD
330522011-10-16 Ulrich Drepper <drepper@gmail.com>
33053
aa78043a
UD
33054 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33055
ad0f5cad
UD
33056 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33057 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33063 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33064 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33065 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33066 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33067 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33068 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33069 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33070 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33071 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33072 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33073 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33074 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33075 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33076 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33077 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33078
33079 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33080 ceil, ceilf, floor, floorf.
33081
33082 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33083 Perform IRELATIVE relocations last.
33084
e453f6cd
UD
33085 * elf/do-rel.h: Add another parameter nrelative, replacing the
33086 local variable with the same name. Change name of the function
33087 to end in Rel or Rela (uppercase).
33088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33089 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33090 elf_dynamic_do_##reloc function.
33091
fd5bdc09
UD
330922011-10-15 Ulrich Drepper <drepper@gmail.com>
33093
79b195b5
UD
33094 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33095 is sufficient, at least on modern CPUs.
33096
d4a28569
UD
33097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33098
b61099b5
UD
33099 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33101
bcf01e6d
UD
33102 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33103 __expl_finite.
33104 * math/bits/math-finite.h: Add entries for exp.
33105 * math/e_expl.c: Add __*_finite alias.
33106 * sysdeps/i386/fpu/e_exp.S: Likewise.
33107 * sysdeps/i386/fpu/e_expf.S: Likewise.
33108 * sysdeps/i386/fpu/e_expl.c: Likewise.
33109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33110 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33113 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33114 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33115 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33116
ba1a0d59
UD
33117 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33118 is sufficient, at least on modern CPUs.
33119
fd5bdc09
UD
33120 * ctype/ctype-info.c (__ctype_init): Define.
33121 * include/ctype.h (__ctype_init): Declare.
33122 (__ctype_b_loc): The variable is always initialized.
33123 (__ctype_toupper_loc): Likewise.
33124 (__ctype_tolower_loc): Likewise.
33125 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33126 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33127
7872cfb0
AS
331282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33129
b468825a
AS
33130 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33131
7872cfb0
AS
33132 * configure.in: Also look in $cxxmachine/include for C++ system
33133 headers.
33134
be13f7bf
LD
331352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33136
33137 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33138 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33139 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33140 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33141 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33142 (USE_AS_WMEMCMP): New macro.
33143 Fixing indents.
33144 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33145 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33146 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33147 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33149 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33150 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33151 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33152 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33153 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33154 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33155 (USE_AS_WMEMCMP): New macro.
33156 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33157 * sysdeps/string/test-memcmp.c: Update.
33158 Fix simple_wmemcmp.
33159 Add new tests.
33160 * wcsmbs/wmemcmp.c: Update.
33161 (WMEMCMP): New macro.
33162 Fix overflow bug.
33163
556a2007
AJ
331642011-10-12 Andreas Jaeger <aj@suse.de>
33165
33166 [BZ #13268]
33167 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33168
538faaa7
UD
331692011-10-15 Ulrich Drepper <drepper@gmail.com>
33170
ab6737ff
UD
33171 * libio/iofwide.c (do_length): Avoid warning.
33172
538faaa7
UD
33173 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33174
396a21b1
UD
331752011-10-14 Ulrich Drepper <drepper@gmail.com>
33176
cdf2901f
UD
33177 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33178
38ad40ce
UD
33179 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33180 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33181 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33182 * sysdeps/i386/i686/fpu/e_log.S: New file.
33183 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33184 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33185
396a21b1
UD
33186 * ctype/ctype.h: Add support for inlined isXXX functions when
33187 compiling C++ code.
33188
6b1f68c9
AS
331892011-10-14 Andreas Schwab <schwab@redhat.com>
33190
349290c0
AS
33191 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33192
6b1f68c9
AS
33193 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33194
f2282d42
RM
331952011-10-13 Roland McGrath <roland@hack.frob.com>
33196
33197 [BZ #13291]
33198 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33199
5298ffa8
AS
332002011-10-13 Andreas Schwab <schwab@redhat.com>
33201
714fad23
AS
33202 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33203 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33204 feraiseexcept.
33205
81dcc7fb
AS
33206 * sysdeps/x86_64/memrchr.S: Check for zero size.
33207
5298ffa8
AS
33208 * string/stratcliff.c: Add memrchr tests.
33209
951fbcec
LD
332102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33211
33212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33213 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33214 rawmemchr-sse2 rawmemchr-sse2-bsf.
33215 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33216 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33217 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33218 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33219 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33220 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33221 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33222 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33223 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33224 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33225 * string/memrchr.c (MEMRCHR): New macro.
33226
0ac5ae23
UD
332272011-10-12 Ulrich Drepper <drepper@gmail.com>
33228
33229 Add integration with gcc's -ffinite-math-only and optimize wrapper
33230 functions in libm.
33231 * Versions.def: Define GLIBC_2.15 version for libm.
33232 * math/Makefile (headers): Add bits/math-finite.h.
33233 * math/bits/math-finite.h: New file.
33234 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33235 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33236 * math/e_acoshl.c: Add __*_finite alias.
33237 * math/e_acosl.c: Likewise.
33238 * math/e_asinl.c: Likewise.
33239 * math/e_atan2l.c: Likewise.
33240 * math/e_atanhl.c: Likewise.
33241 * math/e_coshl.c: Likewise.
33242 * math/e_exp10.c: Likewise.
33243 * math/e_exp10f.c: Likewise.
33244 * math/e_exp10l.c: Likewise.
33245 * math/e_exp2l.c: Likewise.
33246 * math/e_fmodl.c: Likewise.
33247 * math/e_gammal_r.c: Likewise.
33248 * math/e_hypotl.c: Likewise.
33249 * math/e_j0l.c: Likewise.
33250 * math/e_j1l.c: Likewise.
33251 * math/e_jnl.c: Likewise.
33252 * math/e_lgammal_r.c: Likewise.
33253 * math/e_log10l.c: Likewise.
33254 * math/e_log2l.c: Likewise.
33255 * math/e_logl.c: Likewise.
33256 * math/e_powl.c: Likewise.
33257 * math/e_sinhl.c: Likewise.
33258 * math/e_sqrtl.c: Likewise.
33259 * math/e_scalb.c: Completely rewritten and optimized.
33260 * math/e_scalbf.c: Likewise.
33261 * math/e_scalbl.c: Likewise.
33262 * math/w_acos.c: Likewise.
33263 * math/w_acosf.c: Likewise.
33264 * math/w_acosl.c: Likewise.
33265 * math/w_acosh.c: Likewise.
33266 * math/w_acoshf.c: Likewise.
33267 * math/w_acoshl.c: Likewise.
33268 * math/w_asin.c: Likewise.
33269 * math/w_asinf.c: Likewise.
33270 * math/w_asinl.c: Likewise.
33271 * math/w_atan2.c: Likewise.
33272 * math/w_atan2f.c: Likewise.
33273 * math/w_atan2l.c: Likewise.
33274 * math/w_atanh.c: Likewise.
33275 * math/w_atanhf.c: Likewise.
33276 * math/w_atanhl.c: Likewise.
33277 * math/w_exp10.c: Likewise.
33278 * math/w_exp10f.c: Likewise.
33279 * math/w_exp10l.c: Likewise.
33280 * math/w_fmod.c: Likewise.
33281 * math/w_fmodf.c: Likewise.
33282 * math/w_fmodl.c: Likewise.
33283 * math/w_j0.c: Likewise.
33284 * math/w_j0f.c: Likewise.
33285 * math/w_j0l.c: Likewise.
33286 * math/w_j1.c: Likewise.
33287 * math/w_j1f.c: Likewise.
33288 * math/w_j1l.c: Likewise.
33289 * math/w_jn.c: Likewise.
33290 * math/w_jnf.c: Likewise.
33291 * math/w_log.c: Likewise.
33292 * math/w_logf.c: Likewise.
33293 * math/w_logl.c: Likewise.
33294 * math/w_log10.c: Likewise.
33295 * math/w_log10f.c: Likewise.
33296 * math/w_log10l.c: Likewise.
33297 * math/w_log2.c: Likewise.
33298 * math/w_log2f.c: Likewise.
33299 * math/w_log2l.c: Likewise.
33300 * math/w_pow.c: Likewise.
33301 * math/w_powf.c: Likewise.
33302 * math/w_powl.c: Likewise.
33303 * math/w_remainder.c: Likewise.
33304 * math/w_remainderf.c: Likewise.
33305 * math/w_remainderl.c: Likewise.
33306 * math/w_scalb.c: Likewise.
33307 * math/w_scalbf.c: Likewise.
33308 * math/w_scalbl.c: Likewise.
33309 * math/w_sqrt.c: Likewise.
33310 * math/w_sqrtf.c: Likewise.
33311 * math/w_sqrtl.c: Likewise.
33312 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33313 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33314 used.
33315 * math/math_private.h: Declare __kernel_standard_f.
33316 * math/w_cosh.c: Remove cruft and optimize a bit.
33317 * math/w_coshf.c: Likewise.
33318 * math/w_coshl.c: Likewise.
33319 * math/w_exp2.c: Likewise.
33320 * math/w_exp2f.c: Likewise.
33321 * math/w_exp2l.c: Likewise.
33322 * math/w_hypot.c: Likewise.
33323 * math/w_hypotf.c: Likewise.
33324 * math/w_hypotl.c: Likewise.
33325 * math/w_lgamma.c: Likewise.
33326 * math/w_lgamma_r.c: Likewise.
33327 * math/w_lgammaf.c: Likewise.
33328 * math/w_lgammaf_r.c: Likewise.
33329 * math/w_lgammal.c: Likewise.
33330 * math/w_lgammal_r.c: Likewise.
33331 * math/w_sinh.c: Likewise.
33332 * math/w_sinhf.c: Likewise.
33333 * math/w_sinhl.c: Likewise.
33334 * math/w_tgamma.c: Likewise.
33335 * math/w_tgammaf.c: Likewise.
33336 * math/w_tgammal.c: Likewise.
33337 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33338 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33339 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33340 Minor optimizations. Pretty printing. Remove cruft.
33341 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33342 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33343 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33344 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33345 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33346 * sysdeps/i386/fpu/e_asin.S: Likewise.
33347 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33348 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33349 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33350 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33351 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33353 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33354 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33355 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33356 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33357 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33358 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33359 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33360 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33361 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33362 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33363 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33364 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33365 * sysdeps/i386/fpu/e_log.S: Likewise.
33366 * sysdeps/i386/fpu/e_log10.S: Likewise.
33367 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33369 * sysdeps/i386/fpu/e_log2.S: Likewise.
33370 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33372 * sysdeps/i386/fpu/e_logf.S: Likewise.
33373 * sysdeps/i386/fpu/e_logl.S: Likewise.
33374 * sysdeps/i386/fpu/e_pow.S: Likewise.
33375 * sysdeps/i386/fpu/e_powf.S: Likewise.
33376 * sysdeps/i386/fpu/e_powl.S: Likewise.
33377 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33378 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33379 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33383 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33384 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33385 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33386 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33387 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33389 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33391 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33392 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33393 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33394 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33395 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33396 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33397 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33399 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33400 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33402 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33403 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33404 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33406 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33407 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33410 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33411 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33412 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33413 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33414 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33415 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33416 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33417 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33418 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33419 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33420 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33421 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33422 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33423 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33424 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33425 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33426 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33435 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33436 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33437 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33438 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33439 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33440 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33441 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33442 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33443 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33444 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33447 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33450 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33468 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33469 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33471 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33472 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33473 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33474 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33477 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33478 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33479 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33480 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33481 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33482 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33483 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33484 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33485 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33486 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33487 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33488 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33489 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33490 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33491 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33494 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33495 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33496 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33497 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33498 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33499 (__isnanf): Likewise.
33500 (__isinf_ns): Likewise.
33501 (__isinf_nsf): Likewise.
33502 (__finite): Likewise.
33503 (__finitef): Likewise.
33504 (__ieee754_sqrt): Define as macro.
33505 (__ieee754_sqrtf): Define as macro.
33506 (__ieee754_sqrtl): Define as macro.
33507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33508 inlined copy.
33509 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33510 __FINITE_MATH_ONLY__ consistent.
33511 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33512
12cc2fcd
AS
335132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33514
a843a204
AS
33515 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33516 of rawmemchr.
33517
12cc2fcd
AS
33518 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33519
c853acd5
UD
335202011-10-09 Ulrich Drepper <drepper@gmail.com>
33521
33522 * po/ja.po: Update from translation team.
33523
c658d255
RM
335242011-10-08 Roland McGrath <roland@hack.frob.com>
33525
110946e4
RM
33526 * locale/programs/locarchive.c (prepare_address_space): New function.
33527 (create_archive, enlarge_archive, open_archive): Use it.
33528
50604220
RM
33529 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33530 inside [SHARED], where it is used.
33531
c658d255
RM
33532 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33533
33534 * nss/getent.c (netgroup_keys): Remove unused variable.
33535 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33536
6a621eb7
UD
335372011-10-08 Ulrich Drepper <drepper@gmail.com>
33538
7edb55ce
UD
33539 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33540 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33543 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33544 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33545 * math/Makefile (libm-calls): Add s_isinf_ns.
33546 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33547 * math/multc3.c: Likewise.
33548 * math/s_casin.c: Likewise.
33549 * math/s_casinf.c: Likewise.
33550 * math/s_casinl.c: Likewise.
33551 * math/s_ccos.c: Likewise.
33552 * math/s_ccosf.c: Likewise.
33553 * math/s_ccosl.c: Likewise.
33554 * math/s_ctan.c: Likewise.
33555 * math/s_ctanf.c: Likewise.
33556 * math/s_ctanh.c: Likewise.
33557 * math/s_ctanhf.c: Likewise.
33558 * math/s_ctanhl.c: Likewise.
33559 * math/s_ctanl.c: Likewise.
33560 * math/w_fmod.c: Likewise.
33561 * math/w_fmodf.c: Likewise.
33562 * math/w_fmodl.c: Likewise.
33563 * math/w_remainder.c: Likewise.
33564 * math/w_remainderf.c: Likewise.
33565 * math/w_remainderl.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33567 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33570 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33571 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33572 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33573 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33574
187da0ae
UD
33575 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33576 of the number.
33577 * stdio-common/printf_fphex.c: Likewise.
33578 * stdio-common/printf_size.c: Likewise.
33579
9277c064
UD
33580 * math/e_exp10.c: Include math_private.h using <...> not "...".
33581 * math/e_exp10f.c: Likewise.
33582 * math/e_exp10l.c: Likewise.
33583 * math/e_exp2l.c: Likewise.
33584 * math/e_j0l.c: Likewise.
33585 * math/e_j1l.c: Likewise.
33586 * math/e_jnl.c: Likewise.
33587 * math/e_lgammal_r.c: Likewise.
33588 * math/e_rem_pio2l.c: Likewise.
33589 * math/e_scalb.c: Likewise.
33590 * math/e_scalbf.c: Likewise.
33591 * math/e_scalbl.c: Likewise.
33592 * math/k_cosl.c: Likewise.
33593 * math/k_sinl.c: Likewise.
33594 * math/k_tanl.c: Likewise.
33595 * math/s_cacoshf.c: Likewise.
33596 * math/s_catan.c: Likewise.
33597 * math/s_catanf.c: Likewise.
33598 * math/s_catanh.c: Likewise.
33599 * math/s_catanhf.c: Likewise.
33600 * math/s_catanhl.c: Likewise.
33601 * math/s_catanl.c: Likewise.
33602 * math/s_ccosh.c: Likewise.
33603 * math/s_ccoshf.c: Likewise.
33604 * math/s_ccoshl.c: Likewise.
33605 * math/s_cexp.c: Likewise.
33606 * math/s_cexpf.c: Likewise.
33607 * math/s_cexpl.c: Likewise.
33608 * math/s_clog.c: Likewise.
33609 * math/s_clog10.c: Likewise.
33610 * math/s_clog10f.c: Likewise.
33611 * math/s_clog10l.c: Likewise.
33612 * math/s_clogf.c: Likewise.
33613 * math/s_clogl.c: Likewise.
33614 * math/s_csin.c: Likewise.
33615 * math/s_csinf.c: Likewise.
33616 * math/s_csinh.c: Likewise.
33617 * math/s_csinhf.c: Likewise.
33618 * math/s_csinhl.c: Likewise.
33619 * math/s_csinl.c: Likewise.
33620 * math/s_csqrt.c: Likewise.
33621 * math/s_csqrtf.c: Likewise.
33622 * math/s_csqrtl.c: Likewise.
33623 * math/s_ctan.c: Likewise.
33624 * math/s_ctanf.c: Likewise.
33625 * math/s_ctanh.c: Likewise.
33626 * math/s_ctanhf.c: Likewise.
33627 * math/s_ctanhl.c: Likewise.
33628 * math/s_ctanl.c: Likewise.
33629 * math/s_ldexp.c: Likewise.
33630 * math/s_ldexpf.c: Likewise.
33631 * math/s_ldexpl.c: Likewise.
33632 * math/s_significand.c: Likewise.
33633 * math/s_significandf.c: Likewise.
33634 * math/s_significandl.c: Likewise.
33635 * math/w_acos.c: Likewise.
33636 * math/w_acosf.c: Likewise.
33637 * math/w_acosh.c: Likewise.
33638 * math/w_acoshf.c: Likewise.
33639 * math/w_acoshl.c: Likewise.
33640 * math/w_acosl.c: Likewise.
33641 * math/w_asin.c: Likewise.
33642 * math/w_asinf.c: Likewise.
33643 * math/w_asinl.c: Likewise.
33644 * math/w_atan2.c: Likewise.
33645 * math/w_atan2f.c: Likewise.
33646 * math/w_atan2l.c: Likewise.
33647 * math/w_atanh.c: Likewise.
33648 * math/w_atanhf.c: Likewise.
33649 * math/w_atanhl.c: Likewise.
33650 * math/w_cosh.c: Likewise.
33651 * math/w_coshf.c: Likewise.
33652 * math/w_coshl.c: Likewise.
33653 * math/w_dremf.c: Likewise.
33654 * math/w_exp10.c: Likewise.
33655 * math/w_exp10f.c: Likewise.
33656 * math/w_exp10l.c: Likewise.
33657 * math/w_exp2.c: Likewise.
33658 * math/w_exp2f.c: Likewise.
33659 * math/w_fmod.c: Likewise.
33660 * math/w_fmodf.c: Likewise.
33661 * math/w_fmodl.c: Likewise.
33662 * math/w_hypot.c: Likewise.
33663 * math/w_hypotf.c: Likewise.
33664 * math/w_hypotl.c: Likewise.
33665 * math/w_j0.c: Likewise.
33666 * math/w_j0f.c: Likewise.
33667 * math/w_j0l.c: Likewise.
33668 * math/w_j1.c: Likewise.
33669 * math/w_j1f.c: Likewise.
33670 * math/w_j1l.c: Likewise.
33671 * math/w_jn.c: Likewise.
33672 * math/w_jnf.c: Likewise.
33673 * math/w_jnl.c: Likewise.
33674 * math/w_lgamma.c: Likewise.
33675 * math/w_lgamma_r.c: Likewise.
33676 * math/w_lgammaf.c: Likewise.
33677 * math/w_lgammaf_r.c: Likewise.
33678 * math/w_lgammal.c: Likewise.
33679 * math/w_lgammal_r.c: Likewise.
33680 * math/w_log.c: Likewise.
33681 * math/w_log10.c: Likewise.
33682 * math/w_log10f.c: Likewise.
33683 * math/w_log10l.c: Likewise.
33684 * math/w_log2.c: Likewise.
33685 * math/w_log2f.c: Likewise.
33686 * math/w_log2l.c: Likewise.
33687 * math/w_logf.c: Likewise.
33688 * math/w_logl.c: Likewise.
33689 * math/w_pow.c: Likewise.
33690 * math/w_powf.c: Likewise.
33691 * math/w_powl.c: Likewise.
33692 * math/w_remainder.c: Likewise.
33693 * math/w_remainderf.c: Likewise.
33694 * math/w_remainderl.c: Likewise.
33695 * math/w_scalb.c: Likewise.
33696 * math/w_scalbf.c: Likewise.
33697 * math/w_scalbl.c: Likewise.
33698 * math/w_sinh.c: Likewise.
33699 * math/w_sinhf.c: Likewise.
33700 * math/w_sinhl.c: Likewise.
33701 * math/w_sqrt.c: Likewise.
33702 * math/w_sqrtf.c: Likewise.
33703 * math/w_sqrtl.c: Likewise.
33704 * math/w_tgamma.c: Likewise.
33705 * math/w_tgammaf.c: Likewise.
33706 * math/w_tgammal.c: Likewise.
33707
6a621eb7
UD
33708 * po/ja.po: Update from translation team.
33709
bf582445
AJ
337102011-09-29 Andreas Jaeger <aj@suse.de>
33711
f9efbf3a
AJ
33712 [BZ #13179]
33713 * sunrpc/netname.c (netname2host): Fix logic.
33714
bf582445
AJ
33715 [BZ #6779]
33716 [BZ #6783]
33717 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33718 correctly.
33719 * math/w_remainder.c (__remainder): Likewise.
33720 * math/w_remainderf.c (__remainderf): Likewise.
33721 * math/libm-test.inc (remainder_test): Add test cases.
33722
48693bea
AK
337232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33724
33725 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33726 sdiv_qrnnd.
33727
42622229
LD
337282011-10-07 Ulrich Drepper <drepper@gmail.com>
33729
33730 * string/test-memcmp.c: Avoid unncessary #defines.
33731 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33732
093ecf92
LD
337332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33734
33735 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33736 Use new sse2 version for core i3 - i7 as it's faster
33737 than sse42 version.
33738 (bit_Prefer_PMINUB_for_stringop): New.
33739 * sysdeps/x86_64/rawmemchr.S: Update.
33740 Replace with faster SSE2 version.
33741 * sysdeps/x86_64/memrchr.S: New file.
33742 * sysdeps/x86_64/memchr.S: Update.
33743 Replace with faster SSE2 version.
33744
fde56e5c
MP
337452011-09-12 Marek Polacek <mpolacek@redhat.com>
33746
33747 * elf/dl-load.c (lose): Add cast to avoid warning.
33748
21fd49a9
UD
337492011-10-07 Ulrich Drepper <drepper@gmail.com>
33750
5a06e643
UD
33751 * po/ca.po: Update from translation team.
33752
684ae515
UD
33753 * inet/getnetgrent_r.c: Hook up nscd.
33754 * nscd/Makefile (routines): Add nscd_netgroup.
33755 (nscd-modules): Add netgroupcache.
33756 (CFLAGS-netgroupcache.c): Define.
33757 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33758 (cache_search): Add const to second parameter.
33759 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33760 INNETGR.
33761 (dbs): Add netgrdb entry.
33762 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33763 (verify_persistent_db): Handle netgrdb.
33764 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33765 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33766 GETFDNETGR.
33767 (netgroup_response_header): Define.
33768 (innetgroup_response_header): Define.
33769 (datahead): Add netgroup_response_header and innetgroup_response_header
33770 elements.
33771 * nscd/nscd.conf: Add entries for netgroup cache.
33772 * nscd/nscd.h (dbtype): Add netgrdb.
33773 (_PATH_NSCD_NETGROUP_DB): Define.
33774 (netgroup_iov_disabled): Declare.
33775 (xmalloc, xcalloc, xrealloc): Move declarations here.
33776 (cache_search): Adjust prototype.
33777 Add netgroup-related prototypes.
33778 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33779 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33780 (__nscd_innetgr): Declare.
33781 * nscd/selinux.c (perms): Use access_vector_t as element type and
33782 add netgroup-related initializers.
33783 * nscd/netgroupcache.c: New file.
33784 * nscd/nscd_netgroup.c: New file.
33785 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33786 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33787 For four parameters use innetgr.
33788 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33789 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33790 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33791 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33792
21fd49a9
UD
33793 * nscd/connections.c (register_traced_file): Don't register file
33794 for disabled databases.
33795
054c0457
UD
337962011-10-06 Ulrich Drepper <drepper@gmail.com>
33797
32b63198
UD
33798 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33799
054c0457
UD
33800 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33801 from tree and freeing node.
33802
64031225
JO
338032011-09-25 Jiri Olsa <jolsa@redhat.com>
33804
33805 * nss/nsswitch.c (__nss_database_lookup): Handle
33806 nss_parse_service_list out of memory case.
33807
0490345c
JO
338082011-09-15 Jiri Olsa <jolsa@redhat.com>
33809
33810 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33811 out of memory case.
33812
3a62d00d
AS
338132011-10-04 Andreas Schwab <schwab@redhat.com>
33814
33815 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33816 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33817 pass it down.
33818 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33819 elf_machine_rela, elf_machine_lazy_rel.
33820 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33821 (ELF_DYNAMIC_DO_REL): Likewise.
33822 (ELF_DYNAMIC_DO_RELA): Likewise.
33823 (ELF_DYNAMIC_RELOCATE): Likewise.
33824 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33825 to ELF_DYNAMIC_DO_REL.
33826 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33827 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33828 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33829 elf_machine_rela.
33830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33831 skip_ifunc, don't call ifunc function if non-zero.
33832 (elf_machine_rela): Likewise.
33833 (elf_machine_lazy_rel): Likewise.
33834 (elf_machine_lazy_rela): Likewise.
33835 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33836 (elf_machine_lazy_rel): Likewise.
33837 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33838 Likewise.
33839 (elf_machine_lazy_rel): Likewise.
33840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33841 Likewise.
33842 (elf_machine_lazy_rel): Likewise.
33843 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33844 (elf_machine_lazy_rel): Likewise.
33845 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33846 (elf_machine_lazy_rel): Likewise.
33847 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33848 (elf_machine_lazy_rel): Likewise.
33849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33850 (elf_machine_lazy_rel): Likewise.
33851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33852 (elf_machine_lazy_rel): Likewise.
33853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33854 (elf_machine_lazy_rel): Likewise.
33855
68577918
UD
338562011-09-28 Ulrich Drepper <drepper@gmail.com>
33857
33858 * nss/nss_files/files-init.c (_nss_files_init): Use static
33859 initialization for all the *_traced_file variables.
33860
68822d74
AS
338612011-09-28 Andreas Schwab <schwab@redhat.com>
33862
33863 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33864
2056100b
RM
338652011-09-27 Roland McGrath <roland@hack.frob.com>
33866
33867 [BZ #13226]
33868 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33869
32c76b63
AS
338702011-09-27 Andreas Schwab <schwab@redhat.com>
33871
33872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33873 Reread the line before reparsing it.
33874
bf972c9d
AS
338752011-09-26 Andreas Schwab <schwab@redhat.com>
33876
33877 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33878
e057a1b5
JM
338792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33880 Maxim Kuvyrkov <maxim@codesourcery.com>
33881 Joseph Myers <joseph@codesourcery.com>
33882
33883 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33884 if needed for __stack_chk_guard.
33885
bc7e1c36
RM
338862011-09-19 Roland McGrath <roland@hack.frob.com>
33887
ecb1482f
RM
33888 * sysdeps/posix/spawni.c (script_execute): Always define it.
33889 It will be optimized away if unused.
33890 (maybe_script_execute): New function.
33891 (__spawni): Call it.
33892
bc7e1c36
RM
33893 * Makerules: Don't include tls.make.
33894 (config-tls): Always set to thread.
33895 * tls.make.c: File removed.
33896
1c3b002b
MF
338972011-09-19 Mike Frysinger <vapier@gentoo.org>
33898
33899 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33900 * config.make.in (CPPFLAGS-config): New substituted variable.
33901
2840865d
UD
339022011-09-15 Ulrich Drepper <drepper@gmail.com>
33903
88738eb6
UD
33904 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33905
cbf645a6 33906 [BZ #13192]
2840865d
UD
33907 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33908 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33909
b402e91a
RM
339102011-09-15 Roland McGrath <roland@hack.frob.com>
33911
33912 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33913 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33915 (CALL_FAIL): Likewise.
33916 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33917 (CALL_FAIL): Macro removed.
33918 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33919
4c1a1f71
UD
339202011-09-15 Ulrich Drepper <drepper@gmail.com>
33921
33922 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33923 for __FINITE_MATH_ONLY__ == 1.
33924
edc121be
AS
339252011-09-15 Andreas Schwab <schwab@redhat.com>
33926
33927 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33928 __ieee754_sqrt instead of sqrt.
33929 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33930 __ieee754_sqrtf instead of sqrtf.
33931 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33932 __floorf instead of floorf.
33933 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33934 __floorf, __truncf instead of floorf, truncf.
33935
cd205654
UD
339362011-09-14 Ulrich Drepper <drepper@gmail.com>
33937
ee4d0315
UD
33938 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33939
cd205654
UD
33940 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33941 __extern_always_inline.
33942 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33943 32-bit.
33944
48b67d71
AS
339452011-09-14 Andreas Schwab <schwab@redhat.com>
33946
33947 * elf/rtld.c (dl_main): Also relocate in dependency order when
33948 doing symbol dependency testing.
33949
1ae12c75
AS
339502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33951
33952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33953 Always define `refsym'.
33954
995a80df
AS
339552011-09-13 Andreas Schwab <schwab@redhat.com>
33956
e529793b
AS
33957 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33958 (__FD_ELT): Renamed from __FDELT.
33959 * misc/bits/select2.h (__FD_ELT): Likewise.
33960 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33961 __FD_MASK instead of __FDELT, __FDMASK.
33962 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33963 Likewise.
33964 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33965 Likewise.
33966
52d4fef8
AS
33967 * elf/Makefile (gen-ldd): Fix pattern.
33968
995a80df
AS
33969 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33970 (init_tls): Likewise.
33971
8682f8b0
UD
339722011-09-12 Ulrich Drepper <drepper@gmail.com>
33973
33974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33975
de82006d
AS
339762011-09-12 Andreas Schwab <schwab@redhat.com>
33977
a7c8e6a1
AS
33978 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33979 `struct cmsghdr *' instead of `void *'.
33980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33981 Likewise.
33982
0f31fe77
AS
339832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33984
33985 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33986 if non-absolute.
33987 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33988 ldd_rewrite_script.
0f31fe77 33989
32b4c839
UD
339902011-09-11 Ulrich Drepper <drepper@gmail.com>
33991
83cd1420
UD
33992 * configure.in: Remove --with-tls option.
33993 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33994 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33995 out in case it is missing.
33996 * sysdeps/ia64/elf/configure.in: Likewise.
33997 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33998 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33999 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34000 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34001 * sysdeps/sh/elf/configure.in: Likewise.
34002 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34003 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34004 * sysdeps/x86_64/elf/configure.in: Likewise.
34005 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34006 * sysdeps/mach/hurd/tls.h: Likewise.
34007
633f745d
UD
34008 [BZ #13067]
34009 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34010
f318beb8
UD
34011 [BZ #13090]
34012 * configure.in: Fix use of AC_INIT.
34013
32b4c839
UD
34014 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34015
3ce1f295
UD
340162011-09-10 Ulrich Drepper <drepper@gmail.com>
34017
bb016596
UD
34018 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34019 __set_errno.
8e58439c
UD
34020 * malloc/hooks.c: Likewise.
34021
aebae053 34022 [BZ #11929]
02d46fc4
UD
34023 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34024 variables statically.
34025 (narenas): Initialize.
34026 (list_lock): Initialize.
bb016596
UD
34027 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34028 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34029 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34030 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34031 Add initializers to main_arena and mp_.
34032 (malloc_state): Remove pagesize member. Change all users to use
34033 GLRO(dl_pagesize).
34034
34035 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34036 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34037 is always initialized.
34038
22a89187
UD
34039 * malloc/malloc.c: Removed unused configurations and dead code.
34040 * malloc/arena.c: Likewise.
34041 * malloc/hooks.c: Likewise.
02d46fc4 34042 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34043
d063d164
UD
34044 * include/tls.h: Removed. USE___THREAD must always be defined.
34045 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34046 * elf/dl-libc.c: Likewise.
34047 * elf/dl-tsd.c: Likewise.
34048 * include/errno.h: Likewise.
34049 * include/netdb.h: Likewise.
34050 * include/resolv.h: Likewise.
34051 * inet/herrno-loc.c: Likewise.
34052 * inet/herrno.c: Likewise.
34053 * malloc/arena.c: Likewise.
34054 * malloc/hooks.c: Likewise.
34055 * malloc/malloc.c: Likewise.
34056 * resolv/res-state.c: Likewise.
34057 * resolv/res_libc.c: Likewise.
34058 * sysdeps/i386/dl-machine.h: Likewise.
34059 * sysdeps/ia64/dl-machine.h: Likewise.
34060 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34061 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34062 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34063 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34064 * sysdeps/sh/dl-machine.h: Likewise.
34065 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34066 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34067 * sysdeps/unix/i386/sysdep.S: Likewise.
34068 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34069 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34071 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34074 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34078 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34079 * sysdeps/x86_64/dl-machine.h: Likewise.
34080 * tls.make.c: Likewise.
34081
3ce1f295
UD
34082 * configure.in: Remove --with-__thread option. Make tests for
34083 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34084 tls_model attribute fail if no support is available. Remove
34085 USE_IN_LIBIO.
34086 * Makeconfig: Adjust for dropped configure option. All features are
34087 now mandatory.
34088 * Makerules: Likewise.
34089 * Versions.def: Likewise.
34090 * argp/argp-fmtstream.c: Likewise.
34091 * argp/argp-fmtstream.h: Likewise.
34092 * argp/argp-help.c: Likewise.
34093 * assert/assert.c: Likewise.
34094 * config.h.in: Likewise.
34095 * config.make.in: Likewise.
34096 * configure: Likewise.
34097 * configure.in: Likewise.
34098 * csu/Versions: Likewise.
34099 * csu/init.c: Likewise.
34100 * elf/tst-audit2.c: Likewise.
34101 * elf/tst-tls10.c: Likewise.
34102 * elf/tst-tls10.h: Likewise.
34103 * elf/tst-tls11.c: Likewise.
34104 * elf/tst-tls12.c: Likewise.
34105 * elf/tst-tls14.c: Likewise.
34106 * elf/tst-tlsmod11.c: Likewise.
34107 * elf/tst-tlsmod12.c: Likewise.
34108 * elf/tst-tlsmod13.c: Likewise.
34109 * elf/tst-tlsmod13a.c: Likewise.
34110 * elf/tst-tlsmod14a.c: Likewise.
34111 * elf/tst-tlsmod15b.c: Likewise.
34112 * elf/tst-tlsmod16a.c: Likewise.
34113 * elf/tst-tlsmod16b.c: Likewise.
34114 * elf/tst-tlsmod7.c: Likewise.
34115 * elf/tst-tlsmod8.c: Likewise.
34116 * elf/tst-tlsmod9.c: Likewise.
34117 * gmon/gmon.c: Likewise.
34118 * grp/fgetgrent_r.c: Likewise.
34119 * grp/putgrent.c: Likewise.
34120 * hurd/fopenport.c: Likewise.
34121 * include/libc-symbols.h: Likewise.
34122 * include/tls.h: Likewise.
34123 * intl/gettextP.h: Likewise.
34124 * intl/loadinfo.h: Likewise.
34125 * locale/global-locale.c: Likewise.
34126 * locale/localeinfo.h: Likewise.
34127 * mach/devstream.c: Likewise.
34128 * malloc/arena.c: Likewise.
34129 * malloc/set-freeres.c: Likewise.
34130 * misc/err.c: Likewise.
34131 * misc/getttyent.c: Likewise.
34132 * misc/mntent_r.c: Likewise.
34133 * posix/getopt.c: Likewise.
34134 * posix/wordexp.c: Likewise.
34135 * pwd/fgetpwent_r.c: Likewise.
34136 * resolv/Versions: Likewise.
34137 * resolv/res_hconf.c: Likewise.
34138 * shadow/fgetspent_r.c: Likewise.
34139 * shadow/putspent.c: Likewise.
34140 * stdio-common/printf_fphex.c: Likewise.
34141 * stdio-common/tmpfile.c: Likewise.
34142 * stdlib/abort.c: Likewise.
34143 * stdlib/fmtmsg.c: Likewise.
34144 * sunrpc/auth_unix.c: Likewise.
34145 * sunrpc/clnt_perr.c: Likewise.
34146 * sunrpc/clnt_tcp.c: Likewise.
34147 * sunrpc/clnt_udp.c: Likewise.
34148 * sunrpc/clnt_unix.c: Likewise.
34149 * sunrpc/openchild.c: Likewise.
34150 * sunrpc/svc_simple.c: Likewise.
34151 * sunrpc/svc_tcp.c: Likewise.
34152 * sunrpc/svc_udp.c: Likewise.
34153 * sunrpc/svc_unix.c: Likewise.
34154 * sunrpc/xdr.c: Likewise.
34155 * sunrpc/xdr_array.c: Likewise.
34156 * sunrpc/xdr_rec.c: Likewise.
34157 * sunrpc/xdr_ref.c: Likewise.
34158 * sunrpc/xdr_stdio.c: Likewise.
34159
1248c1c4
PB
341602011-09-09 Ulrich Drepper <drepper@gmail.com>
34161
34162 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34163
341642011-07-03 Andreas Jaeger <aj@suse.de>
34165
34166 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34167 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34168 regenerate with gen-libm-tests.pl.
34169
341702010-05-12 Petr Baudis <pasky@suse.cz>
34171
34172 [BZ #11589]
34173 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34174 around j0() zero points by switching to j1().
34175 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34179
f22e1074
UD
341802011-09-09 Ulrich Drepper <drepper@gmail.com>
34181
f19009c1
UD
34182 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34183 instead of 0.
34184 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34185 instead of 0.
f19009c1
UD
34186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34187 Patch in part by Pavel Roskin <proski@gnu.org>.
34188
3f8cc204
UD
34189 [BZ #13138]
34190 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34191 realloc.
34192 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34193 Free memory block if necessary.
34194
f22e1074
UD
34195 [BZ #12847]
34196 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34197 be NULL. Don't lock in this case.
34198
0a2349f9
RM
341992011-09-09 Roland McGrath <roland@hack.frob.com>
34200
34201 * elf/elf.h (ELFOSABI_GNU): New macro.
34202 (ELFOSABI_LINUX): Define to that.
34203
f3cdd467
DZ
342042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34205
34206 * string/strncat.c (strncat): Undef the symbol in case it has been
34207 defined in bits/string.h.
34208
74718d13
UD
342092011-09-09 Ulrich Drepper <drepper@gmail.com>
34210
633e9e0f
UD
34211 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34212
0a2349f9 34213 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34214 link map.
34215
f9924780
AJ
342162011-08-17 Andreas Jaeger <aj@suse.de>
34217
34218 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34219
7f5517aa
PP
342202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34221 Ian Lance Taylor <iant@google.com>
34222
34223 * math/libm-test.inc (lround_test): New testcase.
34224 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34225
762011fe
UD
342262011-09-08 Ulrich Drepper <drepper@gmail.com>
34227
92963737
UD
34228 * Makefile: Remove support for automatic cvs check-ins.
34229 * Makerules: Likewise.
34230 * config.make.in: Likewise.
34231 * configure.in: Likewise.
34232 * intl/Makefile: Likewise.
34233 * locale/Makefile: Likewise.
34234 * po/Makefile: Likewise.
34235 * posix/Makefile: Likewise.
34236 * sysdeps/gnu/Makefile: Likewise.
34237 * sysdeps/mach/hurd/Makefile: Likewise.
34238 * sysdeps/sparc/sparc32/Makefile: Likewise.
34239
b0727fd8
JS
34240 [BZ #13118]
34241 * posix/Makefile (bug-regex32-ENV): Define.
34242 Patch by John Stanley <jpsinthemix@verizon.net>.
34243
a0f33f99
UD
34244 * misc/Makefile (headers): Add bits/select2.h.
34245 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34246 * misc/bits/select2.h: New file.
34247 * include/bits/select2.h: New file.
34248 * debug/Makefile (routines): Add fdelt_chk.
34249 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34250 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34251 FD_ISSET.
34252 * debug/fdelt_chk.c: New file.
34253
762011fe
UD
34254 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34255 * wcsmbs/test-wmemcmp.c: Likewise.
34256 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34257 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34258
342592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34260
34261 * string/Makefile (strop-tests): Add memcmp.
34262 * string/test-wmemcmp.c: New file.
34263 * string/test-memcmp.c: Add wmemcmp support.
34264
7f513ec8
RM
342652011-09-08 Roland McGrath <roland@hack.frob.com>
34266
0442afb4
RM
34267 [BZ #13153]
34268 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34269 2011-07-19 change.
34270
7f513ec8
RM
34271 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34272 garbage value in a __mach_port_mod_refs call in the cases of the
34273 task-self and thread-self ports.
34274
a12b2239
ST
342752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34276
34277 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34278
610f9ab4
AS
342792011-09-08 Andreas Schwab <schwab@redhat.com>
34280
7f513ec8 34281 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34282
48882a1a
LD
342832011-09-07 Ulrich Drepper <drepper@gmail.com>
34284
b49865be
UD
34285 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34286
fdc86bc9
UD
34287 * elf/dl-libc.c (dlerror_run): Pass back error code from
34288 dl_catch_error.
34289
c966526a
UD
34290 [BZ #13123]
34291 * elf/dl-load.c (lose): Free l_origin if it is valid.
34292
48882a1a
LD
34293 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34294 names.
34295 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34298 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34299 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34300 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34301
77a2a8b4
AZ
343022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34303
34304 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34305 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34306 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34307 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34308 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34309 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34310 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34311 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34312 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34313 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34314
24f579d8
AM
343152011-08-15 Alan Modra <amodra@gmail.com>
34316
34317 [BZ #13092]
34318 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34319 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34320 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34321 ppc_mcount to static-only-routines.
34322 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34323 __mcount_internal.
34324 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34325 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34326
3d4837df
UD
343272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34328
34329 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34330 for finite and infinity parameters.
34331
22700377
WS
343322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34333
34334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34335 and add nop instructions for throughput optimization.
34336 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34337
5025581e
WS
343382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34339
34340 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34341 aligned copy for power7 with vector-scalar instructions.
34342 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34343
08a300c9
L
343442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34345
34346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34347 AVX check.
34348
59178ef9
AS
343492011-09-07 Andreas Schwab <schwab@redhat.com>
34350
34351 [BZ #13144]
34352 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34353 last change.
34354
e38ba7ab
UD
343552011-09-07 Ulrich Drepper <drepper@gmail.com>
34356
34357 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34358 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34359 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34360 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34361 clock_gettime.
34362
d53a73ac
UD
343632011-09-06 Ulrich Drepper <drepper@gmail.com>
34364
fc8bffcc
UD
34365 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34366 Forgot to demangle the pointer.
34367
ceaa0c5d
UD
34368 * sysdeps/i386/sysdep.h: Define atom_text_section.
34369 * sysdeps/x86_64/sysdep.h: Likewise.
34370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34371 section with atom_text_section.
34372 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34373 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34374 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34376 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34377
a77d3c17
UD
34378 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34379 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34380 already be defined. Change to take two parameters and don't assign
34381 result to variable. Adjust all users.
34382 Define INTERNAL_GETTIME if not already defined.
34383 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34384 call.
34385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34386 HAVE_CLOCK_GETTIME_VSYSCALL.
34387 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34388
d53a73ac
UD
34389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34390 gettimeofday vsyscall, just use time.
34391
a8f84144
AS
343922011-09-06 Andreas Schwab <schwab@redhat.com>
34393
34394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34395 <errno.h>.
34396
ef606249
UD
343972011-09-06 Ulrich Drepper <drepper@gmail.com>
34398
34399 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34400 syscall on x86-64.
34401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34402 syscall.
34403 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34405 syscall if possible.
34406
6585cb60
UD
344072011-09-05 Ulrich Drepper <drepper@gmail.com>
34408
34409 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34410 e_ident. Don't pass to find_mapsXX.
34411 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34412
a5f524e4
LD
344132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34414
34415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34416 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34417 * sysdeps/x86_64/multiarch/strchr.S: Update.
34418 Check bit_slow_BSF bit.
34419 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34420 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34421 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34422
554881ef
UD
344232011-09-05 Ulrich Drepper <drepper@gmail.com>
34424
d96de963
UD
34425 [BZ #13134]
34426 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34427 before glibc 2.15.
34428 (tryshell): Define.
34429 (__spawni): Change last parameter to be flag. Test
34430 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34431 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34432 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34433 * posix/spawni.c: Likewise.
34434 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34435 * posix/spawnp.c: Likewise. Change normal version to use
34436 SPAWN_XFLAGS_USE_PATH.
34437 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34438 SPAWN_XFLAGS_TRY_SHELL.
34439
d48e5868
UD
34440 [BZ #13150]
34441 * posix/glob.h: Remove gcc 1.x support.
34442
554881ef
UD
34443 [BZ #13068]
34444 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34445
693fb948
LD
344462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34447
34448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34449 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34450 strrchr-sse2-bsf
34451 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34452 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34454 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34455 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34457
1b48c537
UD
344582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34459
49d42c37
UD
34460 * sysdeps/x86_64/wcscmp.S: New file.
34461
1b48c537
UD
34462 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34463 wcscmp-c wcscmp-sse2
34464 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34465 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34466 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34467 * wcsmbs/wcscmp.c: Allow renaming.
34468
15c95c5d
DM
344692011-09-05 David S. Miller <davem@davemloft.net>
34470
34471 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34472 stack slot, rather than the struct return pointer slot.
34473 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34474 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34476 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34477
2f0ad8f3
UD
344782011-09-05 Ulrich Drepper <drepper@gmail.com>
34479
d88ae418
UD
34480 * po/ja.po: Update from translation team.
34481
2f0ad8f3
UD
34482 [BZ #13144]
34483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34484 kernel in 64-bit binaries.
34485
5f4318d1
DM
344862011-09-01 David S. Miller <davem@davemloft.net>
34487
34488 * elf/elf.h (HWCAP_SPARC_*): Move to..
34489 * sysdeps/sparc/sysdep.h: this new file and add new values.
34490 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34491 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34492 _DL_HWCAP_COUNT to 24.
34493 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34494 entries.
34495 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34496 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34497 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34499 instead of magic constants.
34500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34501
3ba57516
DM
345022011-08-31 David S. Miller <davem@davemloft.net>
34503
34504 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34506 Reimplement to do errno handling inline.
34507 (SYSCALL_ERROR_HANDLER): New macro.
34508 (__SYSCALL_STRING): Do not do errno handling in asm.
34509 (__CLONE_SYSCALL_STRING): Delete.
34510 (__INTERNAL_SYSCALL_STRING): Delete.
34511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34512 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34513 (PSEUDO): Reimplement to do errno handling inline.
34514 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34515 (SYSCALL_ERROR_HANDLER): New macro.
34516 (__SYSCALL_STRING): Do not do errno handling in asm.
34517 (__CLONE_SYSCALL_STRING): Delete.
34518 (__INTERNAL_SYSCALL_STRING): Delete.
34519 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34520 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34521 i386.
34522 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34523 (inline_syscall*): Add 'err' argument.
34524 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34525 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34526 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34527 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34528
34529 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34530 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34531
2bc17433
AS
345322011-08-30 Andreas Schwab <schwab@redhat.com>
34533
34534 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34535
fbeb5f4d
JO
345362011-08-29 Jiri Olsa <jolsa@redhat.com>
34537
34538 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34539 directive.
34540
ad69cc26
DM
345412011-08-24 David S. Miller <davem@davemloft.net>
34542
34543 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34544
39dd69df
AS
345452011-08-24 Andreas Schwab <schwab@redhat.com>
34546
34547 * elf/Makefile: Add rules to build and run unload8 test.
34548 * elf/unload8.c: New file.
34549 * elf/unload8mod1.c: New file.
34550 * elf/unload8mod1x.c: New file.
34551 * elf/unload8mod2.c: New file.
34552 * elf/unload8mod3.c: New file.
34553
34554 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34555 it wasn't used.
34556
2c0b250a
DM
345572011-08-23 David S. Miller <davem@davemloft.net>
34558
34559 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34560 subtract stack bias.
34561 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34562 %sp not %fp in calculations.
34563 (_JMPBUF_UNWINDS_ADJ): Likewise.
34564
22044b48
DM
34565 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34566 (aio_suspend): Call it to force an exception region around the
34567 AIO_MISC_WAIT() invocation.
34568
2cae4995
AS
345692011-08-23 Andreas Schwab <schwab@redhat.com>
34570
34571 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34572 backslash.
34573
873a772e
AJ
345742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34575
34576 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34577 protection macro.
34578 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34579 and <dl-machine.h>.
34580 (Elf64_FuncDesc): Remove.
34581
25ad0df1
DM
345822011-08-22 David S. Miller <davem@davemloft.net>
34583
34584 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34585 sigaltstack check, add missing cfi directives.
34586 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34587 missing cfi directives, and sigaltstack handling.
34588
e888bcbe
AS
345892011-08-16 Andreas Schwab <schwab@redhat.com>
34590
34591 [BZ #11724]
34592 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34593 object is seen twice.
34594 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34595
34596 * elf/Makefile (distribute): Add tst-initorder2.c.
34597 (tests): Add tst-initorder2.
34598 (modules-names): Add tst-initorder2a tst-initorder2b
34599 tst-initorder2c tst-initorder2d. Add rules to build them.
34600 ($(objpfx)tst-initorder2.out): New rule.
34601 * elf/tst-initorder2.c: New file.
34602 * elf/tst-initorder2.exp: New file.
34603
87162f46
AS
346042011-08-22 Andreas Schwab <schwab@redhat.com>
34605
70538b7f
AS
34606 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34607
f55ffe58
AS
34608 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34609 dependencies back to end of function.
34610
87162f46
AS
34611 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34612 $(elfobjdir)/ld.so.
34613
91b392a4
UD
346142011-08-21 Ulrich Drepper <drepper@gmail.com>
34615
34616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34617 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34619 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34620 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34621 of __vdso_gettimeofday.
34622 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34623 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34624 attribute_hidden.
34625 (_libc_vdso_platform_setup): Remove initialization of
34626 __vdso_gettimeofday and __vdso_time.
34627
5c43483f
UD
346282011-08-20 Ulrich Drepper <drepper@gmail.com>
34629
775a77e7
UD
34630 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34631 and fgetc_unlocked.
34632 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34633 getc_unlocked.
89f447ed 34634
49c74ba9
UD
34635 * elf/dl-open.c (add_to_global): Report additions to the global scope
34636 for LD_DEBUG=scopes.
34637 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34638 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34639
5c43483f
UD
34640 [BZ #13114]
34641 * stdio-common/Makefile (tests): Add bug24.
34642 * stdio-common/bug24.c: New file.
34643
a101b025
AJ
346442011-08-19 Andreas Jaeger <aj@suse.de>
34645
34646 [BZ #13114]
34647 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34648 non-existant file when using close-on-exec mode.
34649
c88f1766
UD
346502011-08-20 Ulrich Drepper <drepper@gmail.com>
34651
0276a718
UD
34652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34653 the very first instruction.
34654
c88f1766
UD
34655 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34656 the CFI state in the end.
34657 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34658 inclusion of dl-trampoline.h.
34659 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34660
51ccffa0
AS
346612011-08-19 Andreas Schwab <schwab@redhat.com>
34662
94d7165f
AS
34663 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34664 expectations for long double.
34665
51ccffa0
AS
34666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34667 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34668
fd708658 346692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34670
34671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34672 artificual limit depends upon the system page size.
34673
44f0a71e
UD
346742011-08-17 Ulrich Drepper <drepper@gmail.com>
34675
34676 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34677 * resolv/Makefile: Define CFLAGS-libresolv.
34678
8de79a24
AS
346792011-08-17 Andreas Schwab <schwab@redhat.com>
34680
34681 * nss/makedb.c (compute_tables): Make variables used in nested
34682 function static.
34683
27724598
UD
346842011-08-17 Ulrich Drepper <drepper@gmail.com>
34685
c5305d88
UD
34686 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34687 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34688 if buffer was too small.
34689
27724598
UD
34690 * elf/pldd.c (main): Attach to all threads in the process.
34691 Rewrite /proc handling to use *at functions.
34692
076fe015
UD
346932011-08-16 Ulrich Drepper <drepper@gmail.com>
34694
174baab3
UD
34695 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34696 specifies first scope to show.
34697 (dl_open_worker): Update callers. Move printing scope of new
34698 object to before the relocation.
44f0a71e 34699 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34700 * sysdeps/generic/ldsodefs.h: Update declaration.
34701
076fe015
UD
34702 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34703 string for the scope number.
34704
a60df2c3
UD
347052011-08-14 Ulrich Drepper <drepper@gmail.com>
34706
34707 * nscd/servicescache.c (cache_addserv): Make sure written is always
34708 initialized.
34709
5e4287d1
RM
347102011-08-14 Roland McGrath <roland@hack.frob.com>
34711
85ae0589
RM
34712 * sysdeps/i386/i486/bits/atomic.h
34713 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34714 statement expression, so as to suppress "set but not used" warning.
34715 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34716
69f63097
RM
34717 * string/strncat.c (STRNCAT): Use prototype definition.
34718
675456ef
RM
34719 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34720 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34721 -Iprograms here.
34722 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34723 (localedef-modules): Add localedef.
34724 (locale-modules): Add locale.
34725
5e4287d1
RM
34726 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34727 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34728 to avoid a warning.
34729
9c96ff23
DM
347302011-08-14 David S. Miller <davem@davemloft.net>
34731
34732 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34733 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34734
f9ddf089
UD
347352011-08-13 Ulrich Drepper <drepper@gmail.com>
34736
44f0a71e 34737 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34738 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34739 * elf/rtld.c (dl_main): Set l_name of vDSO.
34740 Call _dl_show_scope when DL_DEBUG_SCOPES.
34741 (process_dl_debug): Recognize scopes flag and also set it for all.
34742 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34743 Declare _dl_show_scope.
34744
1dc27704
UD
34745 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34746 (do_dlopen): Pass caller_dlopen to dl_open.
34747 (__libc_dlopen_mode): Initialize caller_dlopen.
34748
f9ddf089
UD
34749 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34750 of libc. Make tolower call locale-independent. Optimize a bit by
34751 using isdigit instead of isalnum.
34752 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34753
9ac533d3
UD
347542011-08-12 Ulrich Drepper <drepper@gmail.com>
34755
34756 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34757 was a dependency or dynamically loaded.
34758
89edf2e9
UD
347592011-08-11 Ulrich Drepper <drepper@gmail.com>
34760
8e999d29
UD
34761 * intl/l10nflist.c: Allow architecture-specific pop function.
34762 * sysdeps/x86_64/l10nflist.c: New file.
34763
89edf2e9
UD
34764 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34765 classification.
34766
14d96785
AS
347672011-08-10 Andreas Schwab <schwab@redhat.com>
34768
34769 * include/dirent.h: Add libc_hidden_proto for scandirat and
34770 scandirat64. Don't declare __scandirat64.
34771 * dirent/scandirat.c: Add libc_hidden_def.
34772 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34773 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34774
6761ac04
DM
347752011-08-10 David S. Miller <davem@davemloft.net>
34776
34777 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34778 enum.
34779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34780 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34782
c55fbd1e
UD
347832011-08-09 Ulrich Drepper <drepper@gmail.com>
34784
34785 * Versions.def [libc]: Add GLIBC_2.15.
34786 * dirent/Makefile (routines): Add scandirat and scandirat64.
34787 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34788 GLIBC_2.15.
34789 * dirent/dirent.h: Declare scandirat and scandirat64.
34790 * dirent/scandirat.c: New file.
34791 * dirent/scandirat64.c: New file.
34792 * sysdeps/wordsize-64/scandirat.c: New file.
34793 * sysdeps/wordsize-64/scandirat64.c: New file.
34794 * dirent/opendir.c: Define opendirat.
34795 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34796 using scandirat.
34797 * dirent/scandir64.c: Adjust for scandir.c change.
34798 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34799 __scandirat64, and __scandir_cancel_handler.
34800 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34801 additional parameter and use openat instead of open (outside of ld.so).
34802 Add new __opendir as wrapper around __opendirat.
34803 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34804 here without requiring old scandirat implementation.
34805
879165f2
UD
348062011-08-08 Ulrich Drepper <drepper@gmail.com>
34807
34808 * dirent/scandir.c (cancel_handler): Renamed to
34809 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34810 defined. Adjust users.
34811 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34812 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34813
cb7e923b
UD
348142011-08-04 Ulrich Drepper <drepper@gmail.com>
34815
16292edd
UD
34816 * string/test-string.h (IMPL): Use __STRING to expand name and then
34817 stringify it.
34818
cb7e923b
UD
34819 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34820 of cleanups.
34821
cff82933
LD
348222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34823
34824 * string/Makefile: Update.
34825 (strop-tests): Append strncat.
34826 * string/test-wcscmp.c: New file.
34827 New comprehensive test for wcscmp.
34828 * string/test-strcmp.c: Update.
34829 (WIDE): New define.
34830
9be9bfcc
AS
348312011-07-22 Andreas Schwab <schwab@redhat.com>
34832
34833 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34834 line.
34835
2e96f1c7
AS
348362011-07-26 Andreas Schwab <schwab@redhat.com>
34837
34838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34839 encoding to ACE if AI_IDN.
34840
85188888
JJ
348412011-08-01 Jakub Jelinek <jakub@redhat.com>
34842
34843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34844 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34845
5fa16e9b
LD
348462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34847
34848 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34849 Fix overflow bug in strncat.
34850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34851
34852 * string/test-strncat.c: Update.
34853 Add new tests for checking overflow bugs.
34854
348552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34856
34857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34858 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34859 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34860 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34861 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34862 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34863 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34864 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34865 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34866
34867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34868 (USE_AS_STRCAT): Define.
34869 Add strcat and strncat support.
34870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34871
8c1a459f
AS
348722011-07-25 Andreas Schwab <schwab@redhat.com>
34873
34874 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34875 __n bigger than INT_MAX+1.
34876 (__strncmp_g): Likewise.
34877
bba33c28
UD
348782011-07-23 Ulrich Drepper <drepper@gmail.com>
34879
798be72d
UD
34880 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34881 * libio/stido.h: Likewise.
34882
8accd4dc
UD
34883 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34884 (AF_NFC): Define.
34885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34886 (AF_NFC): Define.
34887
cbff0d96
UD
34888 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34889 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34891 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34893
9191c04a
UD
34894 [BZ #13021]
34895 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34896 installed.
34897
bba33c28
UD
34898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34899 typo.
34900 (_dl_x86_64_save_sse): Likewise.
34901
90f139dd
UD
349022011-07-22 Ulrich Drepper <drepper@gmail.com>
34903
1aae088a
UD
34904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34905 OSXSAVE.
34906 (_dl_x86_64_save_sse): Likewise.
34907
8e2045f5
UD
34908 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34909
90f139dd
UD
34910 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34911
1d002f25
AS
349122011-07-21 Andreas Schwab <schwab@redhat.com>
34913
34914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34915 change.
34916 (_dl_x86_64_save_sse): Use correct AVX check.
34917
21137f89
UD
349182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34919
34920 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34921 bug in strncpy/strncat.
34922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34923
a65c0b7a
UD
349242011-07-21 Ulrich Drepper <drepper@gmail.com>
34925
34926 * string/tester.c (test_strcat): Add tests for different alignments
34927 of source and destination.
34928 (test_strncat): Likewise.
34929
6986b98a
UD
349302011-07-20 Ulrich Drepper <drepper@gmail.com>
34931
90bb2039
UD
34932 [BZ #12852]
34933 * posix/glob.c (glob): Check passed in values before using them in
34934 expressions to avoid some overflows.
34935 (glob_in_dir): Likewise.
34936
5644ef54
UD
34937 [BZ #13007]
34938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34939 check for AVX enablement so that we don't crash with old kernels and
34940 new hardware.
34941 * elf/tst-audit4.c: Add same checks here.
34942 * elf/tst-audit6.c: Likewise.
34943
34944 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34945
bfc9dc9b
AS
349462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34947
34948 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34949
702e64bb
UD
349502011-07-20 Ulrich Drepper <drepper@gmail.com>
34951
34952 * po/cs.po: Update from translation team.
34953 * po/bg.po: Likewise.
34954
295e904f
MP
349552011-07-12 Marek Polacek <mpolacek@redhat.com>
34956
34957 * misc/sys/cdefs.h: Add support for const attribute.
34958 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34959 to gnu_dev_{major,minor,makedev} functions.
34960
3ff94596
MP
349612011-07-20 Marek Polacek <mpolacek@redhat.com>
34962
34963 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34964
28b59fca
AS
349652011-07-20 Andreas Schwab <schwab@redhat.com>
34966
34967 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34968 strlen results.
34969
19df733e
AK
349702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34971
34972 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34973 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34974 register in order to avoid conflicts with the soft frame pointer
34975 being held in r11 when necessary.
34976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34977 (INTERNAL_VSYSCALL_NCS): Likewise.
34978
c8835729
MP
349792011-07-14 Marek Polacek <mpolacek@redhat.com>
34980
34981 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34982 * elf/dl-fini.c (_dl_fini): Adjust caller.
34983 * elf/dl-close.c (_dl_close_worker): Likewise.
34984 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34985
b902330c
MP
349862011-07-15 Marek Polacek <mpolacek@redhat.com>
34987
8991e135
MP
34988 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34989 "aux_cache->nlibs < 0".
34990
b902330c
MP
34991 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34992 in the reload-count case.
34993
99710781
LD
349942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34995
34996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34997 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34998 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34999 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35000 * sysdeps/x86_64/multiarch/strcat.S: New file.
35001 * sysdeps/x86_64/multiarch/strncat.S: New file.
35002 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35003 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35004 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35005 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35007 (USE_AS_STRCAT): Define.
35008 Add strcat and strncat support.
35009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35010 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35011 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35012 * string/strncat.c: Update.
35013 (USE_AS_STRNCAT): Define.
35014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35015 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35016 and i7.
35017 * sysdeps/x86_64/multiarch/init-arch.h
35018 (bit_Prefer_PMINUB_for_stringop): New.
35019 (index_Prefer_PMINUB_for_stringop): Likewise.
35020 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35021 bit_Prefer_PMINUB_for_stringop.
35022
7dc6bd90
UD
350232011-07-19 Ulrich Drepper <drepper@gmail.com>
35024
35025 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35026 buffer64.
35027 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35028 of casting of buffer.
35029 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35030 buffer32 and buffer64.
35031 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35032 writes instead of casting of buffer.
35033 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35034 buffer32.
35035 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35036 casting of buffer.
35037
e0e72284
AS
350382011-07-19 Andreas Schwab <schwab@redhat.com>
35039
35040 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35041
feb1eb0b
UD
350422011-07-19 Ulrich Drepper <drepper@gmail.com>
35043
35044 * nscd/nscd.c (termination_handler): Don't do anything for a database
35045 if it has not yet been initialized.
35046
298711ff
UD
350472011-07-18 Ulrich Drepper <drepper@gmail.com>
35048
35049 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35050
350512011-07-15 Marek Polacek <mpolacek@redhat.com>
35052
35053 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35054
f9d68389
UD
350552011-07-18 Ulrich Drepper <drepper@gmail.com>
35056
35057 * po/nl.po: Update from translation team.
35058 * po/sv.po: Likewise.
35059
db290cf5
RM
350602011-07-16 Roland McGrath <roland@hack.frob.com>
35061
35062 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35063 now disallowed by GCC.
5c550700 35064
fd5e21c7
RM
35065 * configure.in (use-default-link): Default to yes if a test -shared
35066 link meets our qualifications.
35067 * configure: Regenerated.
35068
5c550700
RM
35069 * config.make.in (output-format): New variable.
35070 * configure.in: Check for ld --print-output-format support.
35071 * configure: Regenerated.
35072 * Makerules ($(common-objpfx)format.lds)
35073 [$(output-format) != unknown]: Just use $(output-format),
35074 instead of the linker-script munging.
35075
9fa2c032
RM
350762011-07-14 Roland McGrath <roland@hack.frob.com>
35077
a6928d51
RM
35078 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35079 of $(common-objpfx)shlib.lds.
35080 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35081
661607b3
RM
35082 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35083 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35084
9fa2c032
RM
35085 * configure.in (-z relro check): Adjust test code to add a large
35086 writable data section after it.
35087 * configure: Regenerated.
35088
defe9061
RM
350892011-07-11 Roland McGrath <roland@hack.frob.com>
35090
35091 * configure.in (-z relro check): Fix test code to make the variable
35092 truly const.
35093 * configure: Regenerated.
35094
319b9ad4
UD
350952011-07-11 Ulrich Drepper <drepper@gmail.com>
35096
35097 * nscd/nscd.h (struct traced_file): Define.
35098 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35099 elements. Add traced_files.
35100 (inotify_fd): Declare.
35101 (register_traced_file): Declare.
35102 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35103 (inotify_fd): Export.
35104 (resolv_conf_descr): Remove.
35105 (nscd_init): Move inotify descriptor creation to main.
35106 Don't register files for notification here.
35107 (register_traced_file): New function.
35108 (invalidate_cache): Don't use reset_res to determine whether to call
35109 res_init, go through the list of registered files.
35110 (main_loop_poll): The inotify descriptors are now stored in the
35111 structures for the traced files.
35112 (main_loop_epoll): Likewise
35113 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35114 to __nss_disable_nscd.
35115 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35116 for a database anymore. Check the records for all the registered
35117 files instead.
35118 * nss/Makefile (libnss_files-routines): Add files-init.
35119 (libnss_db-routines): Add db-init.
35120 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35121 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35122 * nss/nss_db/db-init.c: New file.
35123 * nss/nss_files/files-init.c: New file.
35124 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35125 __nss_lookup_function.
35126 (__nss_lookup_function): Call nss_load_library.
35127 (nss_load_all_libraries): New function.
35128 (__nss_disable_nscd): Take parameter with callback function for files
35129 to register. Set is_nscd. Load all the DSOs for the NSS modules
35130 used for the cached services.
35131 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35132 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35133 options for features to all the files in nscd.
35134
35135 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35136
23bee3e8
RM
351372011-07-10 Roland McGrath <roland@hack.frob.com>
35138
35139 * csu/elf-init.c (__libc_csu_init): Comment typo.
35140
46a5b7f0
UD
351412011-07-09 Ulrich Drepper <drepper@gmail.com>
35142
35143 * po/pl.po: Update from translation team.
35144 * po/ja.po: Likewise.
35145 * po/ru.po: Likewise.
35146 * po/ko.po: Likewise.
35147 * po/fr.po: Likewise.
35148
d30cf5bb
RM
351492011-07-09 Roland McGrath <roland@hack.frob.com>
35150
113ddea4
RM
35151 * configure.in (.ctors/.dtors header and trailer check):
35152 Use an empirical test on a built program.
35153 * configure: Regenerated.
35154
574920b4
RM
35155 * configure.in (-z relro check): Use an empirical test on a built DSO.
35156 Detect, but do not require, on ia64.
35157 * configure: Regenerated.
35158
d30cf5bb
RM
35159 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35160 Update tests that use readelf to use $READELF instead.
35161 * configure: Regenerated.
35162
8538fdb3
UD
351632011-07-08 Ulrich Drepper <drepper@gmail.com>
35164
35165 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35166 if the result is not used.
35167
04d08991
AJ
351682011-07-05 Andreas Jaeger <aj@suse.de>
35169
35170 [BZ#9696]
35171 * stdlib/tst-strtod.c: Add testcase.
35172
de283087
AD
351732011-07-07 Ulrich Drepper <drepper@gmail.com>
35174
4e5f31c8 35175 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35176 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35177 The latter has a higher limit. Take additional parameter to pass to
35178 the new function.
35179 (__pathconf): Pass file to __statfs_link_max.
35180 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35181 __statfs_link_max.
35182 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35183 __statfs_link_max.
35184
de283087
AD
35185 [BZ #12868]
35186 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35187 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35188 Handle Lustre.
35189 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35190 (__statfs_filesize_max): Likewise.
35191 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35192
c75fa153
AJ
351932011-07-05 Andreas Jaeger <aj@suse.de>
35194
35195 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35196
1a544854
UD
351972011-07-06 Marek Polacek <mpolacek@redhat.com>
35198
35199 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35200 `status' variable.
35201 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35202 Likewise.
35203
6f0eec67
UD
352042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35205
35206 * Makefile (strop-tests): Add strncat.
35207 * string/test-strncat.c: New file.
35208
aae30307
UD
352092011-06-30 Marek Polacek <mpolacek@redhat.com>
35210
35211 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35212
c0cfb5eb
UD
352132011-06-21 Andreas Jaeger <aj@suse.de>
35214
35215 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35216 Copy rule from iconvdata/Makefile.
35217
01636b21
UD
352182011-07-06 Ulrich Drepper <drepper@gmail.com>
35219
35220 [BZ #12922]
35221 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35222 but no long options are defined, just return 'W'.
35223
9895c8bc
UD
352242011-06-22 Marek Polacek <mpolacek@redhat.com>
35225
35226 [BZ #9696]
35227 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35228
5d4cf042
UD
352292011-07-06 Ulrich Drepper <drepper@gmail.com>
35230
35231 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35232 netgroups to read.
960e5535 35233 (innetgr): Likewise.
5d4cf042 35234
751eb97e
RM
352352011-07-05 Roland McGrath <roland@hack.frob.com>
35236
35237 * config.make.in (install_root): Default to $(DESTDIR).
35238
f15f1e45
UD
352392011-07-05 Ulrich Drepper <drepper@gmail.com>
35240
35241 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35242
4e34ac6a
RM
352432011-07-02 Roland McGrath <roland@hack.frob.com>
35244
5e9b6af4
RM
35245 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35246
84f9ea0f
RM
35247 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35248 containing directory rather than embedding absolute directory names.
35249
ea5ee9f7
RM
35250 * scripts/check-local-headers.sh: Rewritten using awk.
35251 Match by word, not by line. Print error messages for matches.
35252 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35253
1b74661a
RM
35254 * Makerules [shlib-lds-flags empty]:
35255 ($(common-objpfx)libc_pic.opts): New target.
35256 ($(common-objpfx)libc_pic.os.clean): New target.
35257 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35258
35259 * config.make.in (OBJCOPY): New variable.
35260 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35261 * configure: Regenerated.
35262
f781ef40
RM
35263 * config.make.in (use-default-link): New variable.
35264 * configure.in (use_default_link): Grok --with-default-link to set it.
35265 * configure: Regenerated.
35266 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35267 (shlib-lds, shlib-lds-flags): Define to empty.
35268
2d4fa81e
RM
35269 * Makerules (shlib-lds): New variable.
35270 (shlib-lds-flags): New variable.
35271 (build-shlib, build-moduile, build-module-asneeded): Use it.
35272 ($(common-objpfx)libc.so): Use $(shlib-lds).
35273 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35274 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35275
31fffa6b
RM
35276 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35277 DT_FLAGS/DT_FLAGS_1 with zero flags.
35278
4e34ac6a
RM
35279 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35280 linker script munging.
35281
fcfc776b
UD
352822011-07-02 Ulrich Drepper <drepper@gmail.com>
35283
35284 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35285 as 128-bit value.
35286 * crypt/sha512.c (sha512_process_block): Perform total addition using
35287 128-bit if possible.
35288 (__sha512_finish_ctx): Likewise.
35289 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35290 as 64-bit value.
35291 * crypt/sha256.c (SWAP64): Define.
35292 (sha256_process_block): Perform total addition using 64-bit if
35293 possible.
35294 (__sha256_finish_ctx): Likewise.
35295
99231d9a
UD
352962011-07-01 Ulrich Drepper <drepper@gmail.com>
35297
35298 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35300 * nscd/hstcache.c (cache_addhst): Likewise.
35301 * nscd/grpcache.c (cache_addgr): Likewise.
35302 * nscd/aicache.c (addhstaiX): Likewise
35303 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35304
445b4a53
TK
353052011-07-01 Thorsten Kukuk <kukuk@suse.de>
35306
35307 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35309 * nscd/hstcache.c (cache_addhst): Likewise.
35310 * nscd/grpcache.c (cache_addgr): Likewise.
35311 * nscd/aicache.c (addhstaiX): Likewise
35312
6d4d8e8e
AS
353132011-07-01 Andreas Schwab <schwab@redhat.com>
35314
35315 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35316 domain only when needed.
35317
89f654c5
AS
353182011-06-30 Andreas Schwab <schwab@redhat.com>
35319
35320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35321 is always restored.
35322
cf3b23ff
UD
353232011-06-29 Ulrich Drepper <drepper@gmail.com>
35324
35325 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35326 are re-adding the entry.
35327 * nscd/servicescache.c (cache_addserv): Likewise.
35328
751626f9
AJ
353292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35330
35331 * sysdeps/generic/dl-irel.h: fix protection against multiple
35332 inclusions.
35333 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35334
9113ea1f
UD
353352011-06-28 Ulrich Drepper <drepper@gmail.com>
35336
5c0b8d90
UD
35337 [BZ #12935]
35338 * malloc/memusage.sh: Fix quoting in message.
35339 * debug/xtrace.sh: Likewise.
35340
9113ea1f
UD
35341 * configure.in: Remove support for --experimental-malloc option, make
35342 it the default.
35343 * config.make.in: Likewise.
35344 * malloc/Makefile: Likewise.
35345
a4172181
AS
353462011-06-27 Andreas Schwab <schwab@redhat.com>
35347
35348 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35349 two-byte characters.
35350
78a7eee7
RM
353512011-06-27 Roland McGrath <roland@hack.frob.com>
35352
62bede13
RM
35353 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35354 AC_CACHE_CHECK invocation.
35355 * configure: Regenerated.
35356
78a7eee7
RM
35357 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35358
5ce33a62
UD
353592011-06-27 Ulrich Drepper <drepper@gmail.com>
35360
034807a9
UD
35361 [BZ #12350]
35362 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35363 bit from old_res_options.
35364
4902da17
UD
35365 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35366
5ce33a62
UD
35367 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35368 value type for setfct.
35369
c2344f56
L
353702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35371
35372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35373 __gettimeofday instead of gettimeofday.
35374
68468076
UD
353752011-06-26 Ulrich Drepper <drepper@gmail.com>
35376
35377 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35378
acb0d739
L
353792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35380
35381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35382
35383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35384 info.
35385
8912479f
L
353862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35387
35388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35389 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35390 strcpy-sse2-unaligned strncpy-sse2-unaligned
35391 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35392 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35393 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35394 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35395 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35398 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35399 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35400 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35401 (STRCPY): Support SSE2 and SSSE3 versions.
35402
d5495a11
UD
354032011-06-24 Ulrich Drepper <drepper@gmail.com>
35404
35405 [BZ #12874]
35406 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35407 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35408 kernels which artificially limit size of requests.
35409
0b1cbaae
L
354102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35411
35412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35413 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35414 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35415 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35416 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35417 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35418 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35419 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35420 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35422 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35423 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35424 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35425 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35426 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35428 Enable unaligned load optimization for Intel Core i3, i5 and i7
35429 processors.
35430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35431 Define.
35432 (index_Fast_Unaligned_Load): Define.
35433 (HAS_FAST_UNALIGNED_LOAD): Define.
35434
07f494a0
MP
354352011-06-23 Marek Polacek <mpolacek@redhat.com>
35436
35437 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35438
fa3fc0fe
UD
354392011-06-22 Ulrich Drepper <drepper@gmail.com>
35440
35441 [BZ #12907]
35442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35443 until it is clear that the information is realy needed.
35444 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35445
e12df166
AS
354462011-06-22 Andreas Schwab <schwab@redhat.com>
35447
35448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35449
852eb34d
UD
354502011-06-22 Ulrich Drepper <drepper@gmail.com>
35451
84e2a551
UD
35452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35453 /sys/devices/system/cpu/online if it is usable.
35454
852eb34d
UD
35455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35456 reading the information from the /proc filesystem to once a second.
35457
6e502e19
UD
354582011-06-21 Andreas Jaeger <aj@suse.de>
35459
35460 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35461 NULL after inclusion of kernel headers.
35462
75d39ff2
UD
354632011-06-21 Ulrich Drepper <drepper@gmail.com>
35464
51f9aa6a
UD
35465 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35466 calls to internal_setent.
35467
c0244a9d
UD
35468 [BZ #12885]
35469 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35470 addresses using gethostbyname4_r ignore IPv4 addresses.
35471
c5e3c2ae
UD
35472 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35473 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35474
75d39ff2
UD
35475 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35476
42675c6f
DM
354772011-06-20 David S. Miller <davem@davemloft.net>
35478
35479 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35480 inclusions.
35481 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35482
35483 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35484 (elf_irel): Use it.
35485 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35486 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35487 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35488 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35489 * sysdeps/x86_64/dl-irel.h: Likewise.
35490
35491 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35492 * elf/dl-sym.c: Likewise.
35493
57912a71
UD
354942011-06-15 Ulrich Drepper <drepper@gmail.com>
35495
35496 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35497 need to dereference resplen2.
35498
ee22793d
AS
354992011-06-14 Andreas Schwab <schwab@redhat.com>
35500
35501 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35502
a9e836b0
UD
355032011-06-15 Ulrich Drepper <drepper@gmail.com>
35504
77fb9117
UD
35505 * Makeconfig: Define vardbdir and inst_vardbdir.
35506 * nss/Makefile: Add rules to install db-Makefile.
35507
40c1b22c
UD
35508 * nss/nss_db/db-XXX.c: Cleanup.
35509
9f2da732
UD
35510 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35511 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35512 GLIBC_PRIVATE.
35513 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35514 * nss/makedb.c: Implement -g option to specify that value strings
35515 are generated and should not be added to table iterated over for
35516 get*ent calls.
35517 * nss/nss_db/db-initgroups.c: New file.
35518
82e9a1f7
UD
35519 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35520 interface.
35521
c41af17e
UD
35522 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35523 (internal_getgrouplist): Adjust to name change.
35524 Update use_initgroups_entry if this is not the first call.
35525 * nss/databases.def: Add initgroups entry.
35526
a9e836b0
UD
35527 * nss/makedb.c (compute_tables): Check result of multiple hash table
35528 sizes to minimize maximum chain length.
35529
2666d441
UD
355302011-06-14 Ulrich Drepper <drepper@gmail.com>
35531
35532 * Versions.def: Add entry for libnss_db.
35533 * shlib-versions: Likewise.
35534 * nss/Makefile: Add rules to build libnss_db.
35535 * nss/Versions: Add libnss_db information. Organize libnss_files
35536 entries better.
35537 * nss/db-Makefile: Add gshadow support. Change rules for the new
35538 makedb progra. Some minor improvements to generate smaller files.
35539 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35540 here from...
35541 * nss/makedb.c: ...here.
35542 Improve database format to be smaller and require less memory at
35543 runtime.
35544 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35545 db anymore.
35546 * nss/nss_db/db-netgrp.c: Likewise.
35547 * nss/nss_db/db-open.c: Likewise.
35548 * nss/nss_files/flies-XXX.x: Adjust comments.
35549 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35550 * nss/nss_files/files-grp.c: Likewise.
35551 * nss/nss_files/files-hosts.c: Likewise.
35552 * nss/nss_files/files-network.c: Likewise.
35553 * nss/nss_files/files-proto.c: Likewise.
35554 * nss/nss_files/files-pwd.c: Likewise.
35555 * nss/nss_files/files-rpc.c: Likewise.
35556 * nss/nss_files/files-service.c: Likewise.
35557 * nss/nss_files/files-sgrp.c: Likewise.
35558 * nss/nss_files/files-spwd.c: Likewise.
35559 * nss/nss_db/db-alias.c: Removed.
35560 * nss/nss_db/dummy-db.h: Removed.
35561
9ee76b5a
UD
355622011-06-02 Ulrich Drepper <drepper@gmail.com>
35563
35564 * nss/makedb.c: Rewritten to not use database library.
35565 * nss/Makefile: Update to build new makedb program.
35566
c71ca1f8
AJ
355672011-06-14 Andreas Jaeger <aj@suse.de>
35568
35569 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35570 memset declaration.
35571
3154bfb8
UD
355722011-06-10 Andreas Schwab <schwab@redhat.com>
35573
35574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35575 tmpbuf.
35576
b350afab
RM
355772011-06-10 Roland McGrath <roland@hack.frob.com>
35578
decd4e50
RM
35579 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35580 * elf/Makefile ($(objpfx)ld.so): Likewise.
35581
5615eaf2
RM
35582 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35583 Don't list ld.so twice in dependencies.
35584
35585 * posix/bug-regex31.c: Include <stdlib.h>.
35586
35587 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35588
35589 * nis/nss_compat/compat-spwd.c
35590 (getspent_next_nss_netgr): Remove unused variable.
35591 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35592
35593 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35594 nonmembers" output to use the right array.
35595
35596 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35597
35598 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35599
35600 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35601 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35602 * catgets/gencat.c (read_input_file): Likewise.
35603 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35604
35605 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35606 variable definition inside #if's controlling its use.
35607
35608 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35609
35610 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35611
35612 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35613
35614 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35615 unreachable code.
35616
35617 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35618
b68e08db
RM
35619 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35620 * configure: Regenerated.
35621
b350afab
RM
35622 * Makerules: Revert last change.
35623 * elf/Makefile: Likewise.
35624
28368601
RM
356252011-06-09 Roland McGrath <roland@hack.frob.com>
35626
35627 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35628 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35629 (reloc-link): Likewise.
35630
11988f8f
UD
356312011-06-09 Ulrich Drepper <drepper@gmail.com>
35632
35633 * elf/Makefile: Add rules to build pldd.
35634 * elf/pldd.c: New file.
35635 * elf/pldd-xx.c: New file.
35636
e80fab37
UD
356372011-06-07 Ulrich Drepper <drepper@gmail.com>
35638
35639 * version.h: Update for 2.15 development version.
35640
9b849836
DM
356412011-06-07 David S. Miller <davem@davemloft.net>
35642
35643 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35644 ifuncs.
35645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35646 elf_machine_lazy_rel): Likewise.
35647 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35649 elf_machine_lazy_rel): Likewise.
35650 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35651 dl_hwcap via passed in argument.
35652 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35653 Likewise.
35654
5a31b283
AK
356552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35656
35657 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35658
069e52f8
RM
356592011-06-06 Roland McGrath <roland@hack.frob.com>
35660
35661 [BZ #12849]
35662 * manual/fdl-1.1.texi: New file, verbatim from:
35663 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35664 * manual/lgpl-2.1.texi: New file, verbatim from:
35665 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35666 * manual/Makefile (licenses): New variable, list those new file names.
35667 (texis): Use it.
35668 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35669
35670 * manual/fdl.texi: File removed.
35671 * manual/lesser.texi: File removed.
35672 * manual/libc.texinfo (Copying, Documentation License):
35673 Use new @include file names, put @appendix directive before @include.
35674
f16846a5
JJ
356752011-06-04 Jakub Jelinek <jakub@redhat.com>
35676
35677 [BZ #12841]
35678 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35679 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35680 (mq_open): Add __NTH.
35681
3d29045b
L
356822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35683
35684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35685 Assume Intel Core i3/i5/i7 processor if AVX is available.
35686
8c297311
UD
356872011-05-31 Ulrich Drepper <drepper@gmail.com>
35688
35689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35690 typo.
35691
c8fc0c91
UD
356922011-05-31 Andreas Schwab <schwab@redhat.com>
35693
35694 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35695 memory. Use alloca_account. Fix memory leak when retrying.
35696
5b27a807
UD
356972011-05-31 Ulrich Drepper <drepper@gmail.com>
35698
356f8bc6
UD
35699 * version.h (RELEASE): Bump for 2.14 release.
35700 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35701
5b27a807
UD
35702 * config.make.in (RANLIB): Remove entry.
35703
01f16ab0
UD
357042011-05-30 Ulrich Drepper <drepper@gmail.com>
35705
41fce8bd
UD
35706 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35707 (libc.pot): Work around missing support for .ksh extension in xgettext.
35708
4769ae77
UD
35709 [BZ #12684]
35710 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35711 if both request failed.
35712 (send_dg): In case of server errors clear resplen or *resplen2.
35713
6b1e7d19
UD
35714 [BZ #12454]
35715 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35716 when there are multiple maps.
35717 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35718 (_dl_fini): Remove test here.
35719
01f16ab0
UD
35720 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35721
b1ebd700
UD
357222011-05-29 Ulrich Drepper <drepper@gmail.com>
35723
7ae22829
UD
35724 [BZ #12350]
35725 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35726 bit from old_res_options.
35727 (gaih_inet): Likewise.
35728
553149f6 35729 [BZ #11099]
18a84741 35730 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35731 as signed.
35732
652ffab1
UD
35733 * resolv/res_init.c (res_setoptions): Make the code more compact.
35734
16985fd0
UD
35735 [BZ #11558]
35736 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35737 set RES_USEVC.
35738
0464f746
UD
35739 [BZ #11634]
35740 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35741
7d17596c
UD
35742 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35743
cf6bbbd7
UD
35744 [BZ #11781]
35745 * malloc/malloc.h: Declare malloc hook variables as volatile.
35746
13f1ab36
UD
35747 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35748 in last patch.
35749
b1ebd700
UD
35750 [BZ #11799]
35751 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35752 raise in the comment.
80e2212d
UD
35753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35755 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35756
ce67228d
UD
357572011-05-28 Ulrich Drepper <drepper@gmail.com>
35758
8887a920
UD
35759 [BZ #12811]
35760 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35761 grow the buffers more if it already has to be sufficient.
35762 (build_wcs_upper_buffer): Likewise.
35763 * posix/regexec.c (check_matching): Likewise.
35764 (clean_state_log_if_needed): Likewise.
35765 (extend_buffers): Don't enlarge buffers beyond size of the input
35766 buffer.
35767 Patches mostly by Emil Wojak <emil@wojak.eu>.
35768 * posix/bug-regex32.c: New file.
35769 * posix/Makefile (tests): Add bug-regex32.
35770
4f031072
UD
35771 * locale/findlocale.c (_nl_find_locale): Return right away if
35772 _nl_explode_name failed.
35773 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35774
d0478f0c
UD
35775 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35776
de81b246
UD
35777 * debug/xtrace.sh: Unify messages.
35778 * malloc/memusage.sh: Likewise.
35779
c738465a
UD
35780 [BZ #12813]
35781 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35782 time symbol from vDSO. Substitute with vsyscall if not available.
35783 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35784 __vdso_time.
35785
f1f929d7
UD
35786 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35787 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35788 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35789 Add sendmmsg and internal_sendmmsg.
35790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35791 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35792 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35793
ce67228d
UD
35794 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35795 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35796 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35797
e57420c6
UD
357982011-05-27 Ulrich Drepper <drepper@gmail.com>
35799
a8509ca5
UD
35800 [BZ #12813]
35801 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35802 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35803 available.
35804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35805 __vdso_getcpu.
35806
e57420c6
UD
35807 [BZ #12814]
35808 * iconvdata/Makefile (tests): Add bug-iconv9.
35809 * iconvdata/bug-iconv9.c: New file.
35810
4d07db15
AS
358112011-05-27 Andreas Schwab <schwab@redhat.com>
35812
35813 [BZ #12814]
35814 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35815
ea486f69
JJ
358162011-05-25 Jakub Jelinek <jakub@redhat.com>
35817
35818 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35819 (struct user_regs_struct): Change intcs field back to cs.
35820
6f038433
UD
358212011-05-25 Ulrich Drepper <drepper@gmail.com>
35822
35823 * po/ja.po: Update from translation team.
35824
67f86a25
UD
358252011-05-23 Ulrich Drepper <drepper@gmail.com>
35826
35827 [BZ #12795]
35828 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35829 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35830
def7fbd6
AS
358312011-05-20 Andreas Schwab <schwab@redhat.com>
35832
35833 * stdlib/longlong.h: Update from GCC.
35834
f50ef8f1
AS
358352011-05-23 Andreas Schwab <schwab@redhat.com>
35836
35837 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35838 parameter name.
35839 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35840 Add parameter name.
35841 (__sysconf): Pass it down.
35842
de7ce8f1
UD
358432011-05-22 Ulrich Drepper <drepper@gmail.com>
35844
f2962a71
UD
35845 [BZ #12671]
35846 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35847 some situations.
35848 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35849 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35850 add in in __libc_use_alloca calls. Adjust callers.
35851 (glob): Use malloc in some situations.
35852
de7ce8f1
UD
35853 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35854 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35855 pltexit.
35856
aec84f53
UD
358572011-05-21 Ulrich Drepper <drepper@gmail.com>
35858
05bb4a68
UD
35859 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35860 and CLOCK_BOOTTIME_ALARM.
35861
7ea72f99
UD
35862 [BZ #12782]
35863 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35864 is returned.
35865
7e4afad5
UD
35866 * string/_strerror.c (__strerror_r): Print negative errors as signed
35867 numbers.
35868
8e211fec
UD
35869 [BZ #12777]
35870 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35871 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35872 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35873
f7d82dc9
UD
35874 * configure.in: Fix typo in redirection and correct removal of test
35875 files in two cases.
35876
cc9e536d
UD
35877 [BZ #12788]
35878 * locale/setlocale.c (new_composite_name): Fix test to check for
35879 identical name of all categories.
35880
aec84f53
UD
35881 [BZ #12792]
35882 * libio/filedoalloc.c (local_isatty): New function.
35883 (_IO_file_doallocate): Use local_isatty.
35884 * stdio-common/perror.c (perror): In case a new stream is used
35885 forward the stream error.
35886 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35887 error flag.
35888
78e64fdc
RT
358892011-05-20 Ulrich Drepper <drepper@gmail.com>
35890
34a9094f
UD
35891 [BZ #11869]
35892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35893 alloca.
35894 * include/alloca.h (extend_alloca_account): Define.
35895
78e64fdc
RT
35896 [BZ #11857]
35897 * posix/regex.h: Fix comments with documentation of user-accessible
35898 fields after compilation and describe correct free'ing of pattern
35899 after re_compile_pattern.
35900 Patch by Reuben Thomas <rrt@sc3d.org>.
35901
457bddfc
RA
359022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35903
35904 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35905 and -mno-altivec to prevent the compiler from using Altivec and/or
35906 VSX instructions when the corresponding registers are not available.
35907
a4527b51
AS
359082011-05-19 Andreas Schwab <schwab@redhat.com>
35909
35910 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35911
ed690b2f
UD
359122011-05-19 Ulrich Drepper <drepper@gmail.com>
35913
35914 * libio/freopen.c (freopen): Use __dup2, not dup2.
35915 * libio/freopen64.c (freopen64): Likewise.
35916
8db73634
L
359172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35918
35919 [BZ #12775]
35920 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35921 * math/Makefile (tests): Add test-powl.
35922 (CFLAGS-test-powl.c): Define.
35923 * math/test-powl.c: New file.
35924
0a197a9d
L
359252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35926
35927 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35928
ee30c380
UD
359292011-05-17 Ulrich Drepper <drepper@gmail.com>
35930
35931 [BZ #11837]
35932 * iconvdata/gb18030.c: Update to GB18020-2005.
35933
6ce75379
UD
359342011-05-16 Ulrich Drepper <drepper@gmail.com>
35935
a4b89fd8
AR
35936 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35937 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35938 Patch by Aharon Robbins <arnold@skeeve.com>.
35939
ea389b12
UD
35940 [BZ #11892]
35941 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35942 on the stack.
35943
68a3f91f
UD
35944 [BZ #11895]
35945 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35946 through underflows.
35947
15cc7dd1
UD
35948 [BZ #12766]
35949 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35950 point to strings before performing equality test for error_one_per_line
35951 mode.
35952
f3799213
UD
35953 [BZ #11697]
35954 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35955
d79a9c94
UD
35956 [BZ #11820]
35957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35958 (struct user_fpregs_struct): Avoid __uint*_t types.
35959
56e5eb46
UD
35960 [BZ #6420]
35961 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35962 symbol info. Use it instead of calling _dl_addr locally.
35963 (lock_and_info): New function.
35964 (tr_freehook): Call lock_and_info and pass symbol info as additional
35965 parameter to tr_where.
35966 (tr_mallochook): Likewise.
35967 (tr_reallochook): Likewise.
35968 (tr_memalignhook): Likewise.
35969
6ce75379
UD
35970 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35971 used and couldn't be at all thread-safe.
35972
f8a3b5bf
UD
359732011-05-15 Ulrich Drepper <drepper@gmail.com>
35974
94b7cc37
UD
35975 * libio/freopen.c (freopen): Don't close old file descriptor
35976 before the new one is opened. Instead dup the new file descriptor
35977 to the old one after the new stream is created.
35978 * libio/freopen64.c (freopen64): Likewise.
35979 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35980 * libio/fileops.c (_IO_new_file_close_it): Handle new
35981 _IO_FLAGS2_NOCLOSE flag.
35982 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35983 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35984 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35985 _IO_FLAGS2_NOCLOSE flag.
35986 * include/unistd.h: Add hidden_proto for dup3.
35987 Define __have_dup3.
35988 * io/dup3.c: Define hidden symbol.
35989 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35990
bd25564e
UD
35991 [BZ #7101]
35992 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35993 when an incomplete long option is used.
35994 * posix/tst-getopt_long1.c: New file.
35995 * posix/Makefile (tests): Add tst-getopt_long1.
35996
c84cfef4
UD
35997 [BZ #10138]
35998 * scripts/config.guess: Update from autoconf-2.68.
35999 * scripts/config.sub: Likewise.
36000
3b85df27
UD
36001 [BZ #10157]
36002 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36003 tests into ...
36004 (has_cpuclock): ...this. New function.
36005 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36006 macro here based on has_cpuclock code.
36007
15a856b1
UD
36008 [BZ #10149]
36009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36010 First byte (not low byte) is now always NUL.
36011 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36012
05f399e6
UD
36013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36014 Use non-cancelable interfaces.
36015
10a52685 36016 [BZ #9809]
94ecc67d
UD
36017 * locale/iso-639.def: Add entry for Sorani.
36018
f8a3b5bf
UD
36019 [BZ #11901]
36020 * include/stdlib.h: Move include protection to the right place.
36021 Define abort_msg_s. Declare __abort_msg with it.
36022 * stdlib/abort.c (__abort_msg): Adjust type.
36023 * assert/assert.c (__assert_fail_base): New function. Majority
36024 of code from __assert_fail. Allocate memory for __abort_msg with
36025 mmap.
36026 (__assert_fail): Now call __assert_fail_base.
36027 * assert/assert-perr.c: Remove bulk of implementation. Use
36028 __assert_fail_base.
36029 * include/assert.hL Declare __assert_fail_base.
36030 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36031 mmap.
36032 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36033
1af4e298
UD
360342011-05-14 Ulrich Drepper <drepper@gmail.com>
36035
f8a3b5bf 36036 [BZ #11952]
d26dfc60
MG
36037 [BZ #12453]
36038 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36039 until all modules are registered in the DTV.
36040 * elf/Makefile: Add rules to build and run tst-tls19.
36041 * elf/tst-tls19.c: New file.
36042 * elf/tst-tls19mod1.c: New file.
36043 * elf/tst-tls19mod2.c: New file.
36044 * elf/tst-tls19mod3.c: New file.
36045 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36046
2fc54d6f
UD
36047 [BZ #12083]
36048 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36049 correctly.
36050
98d76b46
UD
36051 [BZ #12601]
36052 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36053 two-byte sequence errors.
36054 * iconvdata/Makefile (tests): Add bug-iconv8.
36055 * iconvdata/bug-iconv8.c: New file.
36056
da3c19ef
UD
36057 [BZ #12626]
36058 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36059 buf2 definition.
36060
ca408c15
UD
36061 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36062
d6f67f7d
UD
36063 [BZ #12432]
36064 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36065 (dummy_getcfa): New function.
36066 (init): Get _Unwind_GetCFA address, use dummy if not found.
36067 (backtrace_helper): In recursion check, also check whether CFA changes.
36068 (__backtrace): Completely initialize arg.
36069
1af4e298 36070 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36071 storing incomplete byte sequence in state object. Avoid testing for
36072 guaranteed too small input if we know there is enough data available.
1af4e298 36073
da62f81b
AS
360742011-05-11 Andreas Schwab <schwab@redhat.com>
36075
36076 * Makeconfig (+link-pie): Indent.
36077 * Rules (binaries-pie): Define if $(have-fpie) and
36078 $(build-shared).
36079 (binaries-shared): Also filter out $(binaries-pie).
36080 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36081 * nscd/Makefile (others-pie): Add nscd.
36082 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36083 ($(objpfx)nscd): Remove command override.
36084 * login/Makefile (others-pie): Add pt_chown.
36085 ($(objpfx)pt_chown): Remove command override.
36086 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36087 remove command overrides.
36088
fcabc0f8
UD
360892011-05-13 Ulrich Drepper <drepper@gmail.com>
36090
20030ae6
UD
36091 * libio/tst_putwc.c: Fix error messages.
36092
fcabc0f8
UD
36093 [BZ #12724]
36094 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36095 currently writing and seek to current position when not.
36096 * libio/Makefile (tests): Add bug-fclose1.
36097 * libio/bug-fclose1.c: New file.
36098
320a5dc0
PB
360992011-05-12 Ulrich Drepper <drepper@gmail.com>
36100
36101 [BZ #12511]
36102 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36103 don't set DF_1_NODELETE here.
36104 (do_lookup_x): When entering new entry test for copy relocation
36105 and if necessary set DF_1_NODELETE flag.
36106 * elf/tst-unique4.cc: New file.
36107 * elf/tst-unique4.h: New file.
36108 * elf/tst-unique4lib.cc: New file.
36109 * elf/Makefile: Add rules to build and run tst-unique4.
36110 Patch by Piotr Bury <pbury@goahead.com>.
36111
22836f52
UD
361122011-05-11 Ulrich Drepper <drepper@gmail.com>
36113
f574184a
UD
36114 [BZ #12052]
36115 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36116
e1fb097f
UD
36117 [BZ #12625]
36118 * misc/mntent_r.c (addmntent): Flush the stream after the output
36119
22836f52
UD
36120 [BZ #12393]
36121 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36122 (is_trusted_path_normalize): Skip initial colon. Append slash
36123 to empty buffer. Duplicate is_trusted_path code but allow
36124 constructed patch to be prefix.
36125 (is_dst): Allow $ORIGIN followed by /.
36126 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36127 Correct testing of result of is_trusted_path_normalize
36128 (decompose_rpath): Fix warning.
36129
7b3b0b2a
UD
361302011-05-10 Ulrich Drepper <drepper@gmail.com>
36131
36132 [BZ #11257]
36133 * grp/initgroups.c (internal_getgrouplist): When we found the service
36134 list through the initgroups entry in nsswitch.conf do not always
36135 continue on a successful lookup. Don't always use the
eac80ce2 36136 __nss_group_database value if it is set.
7b3b0b2a
UD
36137 * nss/nsswitch.conf (initgroups): Change action for successful db
36138 lookup to continue for compatibility.
36139
2a81eaa5
UD
361402011-05-09 Ulrich Drepper <drepper@gmail.com>
36141
be97a69e
UD
36142 [BZ #11532]
36143 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36144 and CP774 modules.
36145 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36146 and CP774 modules.
36147 * iconvdata/tst-tables.sh: Likewise.
36148 * iconvdata/cp770.c: New file.
36149 * iconvdata/cp771.c: New file.
36150 * iconvdata/cp772.c: New file.
36151 * iconvdata/cp773.c: New file.
36152 * iconvdata/cp774.c: New file.
36153 * iconvdata/testdata/CP770: New file.
36154 * iconvdata/testdata/CP770..UTF8: New file.
36155 * iconvdata/testdata/CP771: New file.
36156 * iconvdata/testdata/CP771..UTF8: New file.
36157 * iconvdata/testdata/CP772: New file.
36158 * iconvdata/testdata/CP772..UTF8: New file.
36159 * iconvdata/testdata/CP773: New file.
36160 * iconvdata/testdata/CP773..UTF8: New file.
36161 * iconvdata/testdata/CP774: New file.
36162 * iconvdata/testdata/CP774..UTF8: New file.
36163
36164 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36165 END CHARMAP line.
36166 * iconvdata/gen-8bit-gap.sh: Likewise.
36167 * iconvdata/gen-8bit.sh: Likewise.
36168
c1e9e399
UD
36169 * locale/iso-639.def: Add ary entry.
36170
24c55fb3 36171 [BZ #11258]
96b4b1b0
UD
36172 * locale/C-translit.h.in: Add U20A1 transliteration.
36173
bdc2f971
KB
36174 [BZ #12178]
36175 * locale/iso-639.def: Add wae entry.
36176 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36177
2952b117
UD
36178 [BZ #12545]
36179 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36180 for n.
36181
2a81eaa5
UD
36182 [BZ #12711]
36183 * locale/C-translit.h.in: Add entry for U20B9.
36184 Patch by pravin.d.s@gmail.com.
36185
28377d1b
UD
361862011-05-08 Ulrich Drepper <drepper@gmail.com>
36187
7fb90fb8
UD
36188 [BZ #12713]
36189 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36190 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36191 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36192 in rtld. Use *stat64.
7fb90fb8 36193 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36194 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36195 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36196 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36197 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36198 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36199 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36200 __fstatat64 macros.
7fb90fb8
UD
36201 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36202 * dirent/rewinddir.c: Add libc_hidden_def.
36203 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36204 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36205
28377d1b
UD
36206 * include/dirent.h (__alloc_dir): Add flags parameter.
36207 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36208 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36209 __alloc_dir.
36210 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36211 from fdopendir if O_CLOEXEC is already set.
36212
66bdbaa4
AM
362132011-03-15 Alan Modra <amodra@gmail.com>
36214
36215 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36216 l_tls_firstbyte_offset non-zero. Save padding offset in
36217 l_tls_firstbyte_offset for later use.
36218 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36219 freeing static tls block.
36220
95721191
JN
362212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36222
36223 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36224 where #ifdef was intended. The intent is to prevent ARG_MAX from
36225 being defined by the kernel headers.
36226
f87dfb1f
UD
362272011-05-07 Ulrich Drepper <drepper@gmail.com>
36228
36229 [BZ #12734]
36230 * resolv/resolv.h: Define RES_NOTLDQUERY.
36231 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36232 no-tld-query and set RES_NOTLDQUERY.
36233 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36234 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36235 modern BIND to search name as TLD unless forbidden.
36236
47c3cd7a
UD
362372011-05-07 Petr Baudis <pasky@suse.cz>
36238 Ulrich Drepper <drepper@gmail.com>
36239
36240 [BZ #12393]
36241 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36242 (is_trusted_path): ...to here.
c1e9ea35 36243 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36244 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36245 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36246
8a35c912
PP
362472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36248
36249 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36250 __BEGIN/__END_DECLS.
36251
acd41f47
UD
362522011-05-06 Ulrich Drepper <drepper@gmail.com>
36253
36254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36255 NSS_STATUS_NOTFOUND if no record was found.
36256
597df647
AS
362572011-05-05 Andreas Schwab <schwab@redhat.com>
36258
36259 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36260 (headers-not-in-tirpc): Remove rpc/netdb.h
36261 * resolv/netdb.h: Revert last change.
36262
b9af1301
PP
362632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36264
36265 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36266 circular dependency between libgcc.a and libc.a.
36267
4e34d5f5
AS
362682011-05-05 Andreas Schwab <schwab@redhat.com>
36269
36270 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36271 * nis/Makefile: Don't install rpcsvc/*.
36272 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36273 instead of <rpc/types.h>.
36274 (MAXHOSTNAMELEN): Define.
36275
00ee369c
AS
362762011-05-03 Andreas Schwab <schwab@redhat.com>
36277
36278 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36279
0b592a30
MB
362802011-04-28 Maciej Babinski <mbabinski@google.com>
36281
36282 [BZ #12714]
36283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36284 gethostbyname4_r when IPv6 results are possible.
36285
6e04cbbe
UD
362862011-05-02 Ulrich Drepper <drepper@gmail.com>
36287
36288 [BZ #12723]
36289 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36290 _PC_PIPE_BUF handling.
36291
e4ecafe0
BH
362922011-04-30 Bruno Haible <bruno@clisp.org>
36293
36294 [BZ #12717]
36295 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36296 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36297 to 'int'.
36298 * inet/getnameinfo.c (getnameinfo): Likewise.
36299
125ee683
UD
363002011-04-29 Ulrich Drepper <drepper@gmail.com>
36301
36302 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36303 to groups setting in database lookup.
36304 * nss/nsswitch.conf: Add initgroups entry.
36305
b722481a
EB
363062011-04-22 Ulrich Drepper <drepper@gmail.com>
36307
36308 [BZ #12685]
36309 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36310 mode string.
36311 Patch by Eric Blake <eblake@redhat.com>.
36312
4df46dbd
L
363132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36314
36315 * sunrpc/Makefile (need-export-routines): Add svc_run.
36316 (routines): Remove svc_run.
36317 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36318 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36319 * sunrpc/svc_run.c (svc_run): Likewise.
36320 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36321
e84142d2
UD
363222011-04-21 Ulrich Drepper <drepper@gmail.com>
36323
36324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36325 problem in reallocation in last patch.
36326
877175d8
UD
363272011-04-20 Ulrich Drepper <drepper@gmail.com>
36328
36329 * sunrpc/Makefile: Move inclusion of Rules.
36330
ab8eed78
UD
363312011-04-19 Ulrich Drepper <drepper@gmail.com>
36332
36333 * nss/nss_files/files-initgroups.c: New file.
36334 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36335 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36336 _nss_files_initgroups_dyn.
36337
e3d8f584
RS
363382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36339
36340 * elf/elf.h (R_ARM_IRELATIVE): Define.
36341
af190f45
UD
363422011-04-19 Ulrich Drepper <drepper@gmail.com>
36343
36344 * po/ru.po: Update from translation team.
36345
53cf59ef
UD
363462011-04-17 Ulrich Drepper <drepper@gmail.com>
36347
36348 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36349 dependencies.
36350
4c559bcd
MF
363512011-02-06 Mike Frysinger <vapier@gentoo.org>
36352
36353 [BZ #12653]
36354 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36355 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36357 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36358 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36359
4420675c
AS
363602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36361
36362 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36363 differing bytes.
36364 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36367
75ea32ab
UD
363682011-04-17 Ulrich Drepper <drepper@gmail.com>
36369
36370 [BZ #12420]
36371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36372 storing it.
36373 * stdlib/bug-getcontext.c: New file.
36374 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36375
27390476
AK
363762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36377
36378 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36379 instructions into .machine "z9-109".
36380 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36381 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36382
10442705
AK
363832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36384
36385 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36386 between environment variables and auxiliary vector.
36387
7b57bfe5
UD
363882011-04-16 Ulrich Drepper <drepper@gmail.com>
36389
36390 * Makefile: Add rules to build linkobj/libc.so.
36391 * include/libc-symbols.h: Define libc_hidden_nolink.
36392 * include/rpc/auth.h: Mark functions which are to be hidden.
36393 * include/rpc/auth_des.h: Likewise.
36394 * include/rpc/auth_unix.h: Likewise.
36395 * include/rpc/clnt.h: Likewise.
36396 * include/rpc/des_crypt.h: Likewise.
36397 * include/rpc/key_prot.h: Likewise.
36398 * include/rpc/pmap_clnt.h: Likewise.
36399 * include/rpc/pmap_prot.h: Likewise.
36400 * include/rpc/pmap_rmt.h: Likewise.
36401 * include/rpc/rpc_msg.h: Likewise.
36402 * include/rpc/svc.h: Likewise.
36403 * include/rpc/svc_auth.h: Likewise.
36404 * include/rpc/xdr.h: Likewise.
36405 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36406 * nss/Makefile: Likewise.
36407 * sunrpc/Makefile: Don't install headers. Build library with normal
36408 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36409 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36410 for the compat linking library. Remove use of INTDEF/INTUSE.
36411 * sunrpc/auth_none.c: Likewise.
36412 * sunrpc/auth_unix.c: Likewise.
36413 * sunrpc/authdes_prot.c: Likewise.
36414 * sunrpc/authuxprot.c: Likewise.
36415 * sunrpc/clnt_gen.c: Likewise.
36416 * sunrpc/clnt_perr.c: Likewise.
36417 * sunrpc/clnt_raw.c: Likewise.
36418 * sunrpc/clnt_simp.c: Likewise.
36419 * sunrpc/clnt_tcp.c: Likewise.
36420 * sunrpc/clnt_udp.c: Likewise.
36421 * sunrpc/clnt_unix.c: Likewise.
36422 * sunrpc/des_crypt.c: Likewise.
36423 * sunrpc/des_soft.c: Likewise.
36424 * sunrpc/get_myaddr.c: Likewise.
36425 * sunrpc/key_call.c: Likewise.
36426 * sunrpc/key_prot.c: Likewise.
36427 * sunrpc/netname.c: Likewise.
36428 * sunrpc/pm_getmaps.c: Likewise.
36429 * sunrpc/pm_getport.c: Likewise.
36430 * sunrpc/pmap_clnt.c: Likewise.
36431 * sunrpc/pmap_prot.c: Likewise.
36432 * sunrpc/pmap_prot2.c: Likewise.
36433 * sunrpc/pmap_rmt.c: Likewise.
36434 * sunrpc/publickey.c: Likewise.
36435 * sunrpc/rpc_cmsg.c: Likewise.
36436 * sunrpc/rpc_common.c: Likewise.
36437 * sunrpc/rpc_dtable.c: Likewise.
36438 * sunrpc/rpc_prot.c: Likewise.
36439 * sunrpc/rpc_thread.c: Likewise.
36440 * sunrpc/rtime.c: Likewise.
36441 * sunrpc/svc.c: Likewise.
36442 * sunrpc/svc_auth.c: Likewise.
36443 * sunrpc/svc_authux.c: Likewise.
36444 * sunrpc/svc_raw.c: Likewise.
36445 * sunrpc/svc_run.c: Likewise.
36446 * sunrpc/svc_simple.c: Likewise.
36447 * sunrpc/svc_tcp.c: Likewise.
36448 * sunrpc/svc_udp.c: Likewise.
36449 * sunrpc/svc_unix.c: Likewise.
36450 * sunrpc/svcauth_des.c: Likewise.
36451 * sunrpc/xcrypt.c: Likewise.
36452 * sunrpc/xdr.c: Likewise.
36453 * sunrpc/xdr_array.c: Likewise.
36454 * sunrpc/xdr_float.c: Likewise.
36455 * sunrpc/xdr_intXX_t.c: Likewise.
36456 * sunrpc/xdr_mem.c: Likewise.
36457 * sunrpc/xdr_rec.c: Likewise.
36458 * sunrpc/xdr_ref.c: Likewise.
36459 * sunrpc/xdr_sizeof.c: Likewise.
36460 * sunrpc/xdr_stdio.c: Likewise.
36461
e6c61494
UD
364622011-04-10 Ulrich Drepper <drepper@gmail.com>
36463
36464 [BZ #12650]
36465 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36466 * sysdeps/ia64/dl-tls.h: Likewise.
36467 * sysdeps/powerpc/dl-tls.h: Likewise.
36468 * sysdeps/s390/dl-tls.h: Likewise.
36469 * sysdeps/sh/dl-tls.h: Likewise.
36470 * sysdeps/sparc/dl-tls.h: Likewise.
36471 * sysdeps/x86_64/dl-tls.h: Likewise.
36472 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36473
34fe483e
AS
364742011-03-14 Andreas Schwab <schwab@redhat.com>
36475
36476 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36477 rpath element also skip the following colon.
36478 (expand_dynamic_string_token): Add is_path parameter and pass
36479 down to DL_DST_REQUIRED and _dl_dst_substitute.
36480 (decompose_rpath): Call expand_dynamic_string_token with
36481 non-zero is_path. Ignore empty rpaths.
36482 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36483 with zero is_path.
36484
f12a32e6
AS
364852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36486
36487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36488 Make cancelable.
36489
38a7d692
UD
364902011-04-09 Ulrich Drepper <drepper@gmail.com>
36491
36492 [BZ #12655]
36493 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36494 Patch by Filipe David Manana <fdmanana@apache.org>.
36495
e451d22b
AS
364962011-04-07 Andreas Schwab <schwab@redhat.com>
36497
36498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36499 Maintain aligned stack.
36500 (CHECK_RSP): Remove unused macro.
36501
dedc7c7b
UD
365022011-04-03 Ulrich Drepper <drepper@gmail.com>
36503
36504 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36505 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36506
94521213
UD
365072011-04-02 Ulrich Drepper <drepper@gmail.com>
36508
36509 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36510
8cb700c0 36511 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36512
0354e355
L
365132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36514
36515 [BZ #12518]
36516 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36517 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36518 * sysdeps/x86_64/memmove.c: New file.
36519 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36520 (memcpy): Renamed to ...
36521 (__new_memcpy): This.
36522 (memcpy): Provide GLIBC_2_14 memcpy.
36523 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36524 (memcpy): Provide GLIBC_2_2_5 memcpy.
36525
8593482f
UD
365262011-04-01 Ulrich Drepper <drepper@gmail.com>
36527
36528 [BZ #12631]
36529 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36530
81a5726b
AS
365312011-03-30 Andreas Schwab <schwab@redhat.com>
36532
36533 * misc/syncfs.c: New file.
36534 * misc/Makefile (routines): Add syncfs.
36535 * posix/unistd.h: Declare syncfs.
36536 * sysdeps/unix/syscalls.list: Add syncfs.
36537
00e5419f
AS
365382011-04-01 Andreas Schwab <schwab@redhat.com>
36539
36540 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36541 open_by_handle_at.
36542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36545 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36547 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36549
748876bf
UD
365502011-04-01 Ulrich Drepper <drepper@gmail.com>
36551
658e451d
UD
36552 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36553 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36558 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36559
748876bf
UD
36560 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36561 sync_file_range.c with -fexceptions.
36562 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36563 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36564 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36565 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36566 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36567 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36569 sync_file_range as cancellation point
36570 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36571 now a wrapper around __call_sync_file_range with cancellation handling.
36572 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36573 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36574 function name to __call_sync_file_range.
36575 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36576 Add call_sync_file_range.
748876bf 36577
6e63d5e1
AS
365782011-04-01 Andreas Schwab <schwab@redhat.com>
36579
36580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36581 bits/timex.h.
6e63d5e1 36582
46998f74
UD
365832011-04-01 Ulrich Drepper <drepper@gmail.com>
36584
4c1423ed
UD
36585 * iconv/iconv.h: Fix typo in comment.
36586 * io/fcntl.h: Likewise.
36587 * libio/stdio.h: Likewise.
36588 * posix/spawn.h: Likewise.
36589 * posix/unistd.h: Likewise.
36590 * stdlib/stdlib.h: Likewise.
36591 * time/time.h: Likewise.
36592 * wcsmbs/wchar.h: Likewise.
36593
158648c0
UD
36594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36595 open_by_handle): Add.
36596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36597 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36598 Augment a few comments.
36599 * sysdeps/unix/sysv/linux/ia64/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 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36605 open_by_handle.
36606
46998f74
UD
36607 * io/fcntl.h (AT_EMPTY_PATH): Define.
36608
83fe108b
UD
366092011-03-30 Ulrich Drepper <drepper@gmail.com>
36610
36611 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36612 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36613 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36614 to...
36615 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36616 * Versions.def: Add GLIBC_2.14.
36617 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36618 Export.
83fe108b 36619
bb242059
UD
366202011-03-22 Ulrich Drepper <drepper@gmail.com>
36621
36622 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36623 round counter.
36624 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36625
c97a1282
L
366262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36627
36628 [BZ #12597]
36629 * string/test-strncmp.c (do_page_test): New function.
36630 (check2): Likewise.
36631 (test_main): Call check2.
36632 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36633
2a115601
UD
366342011-03-20 Ulrich Drepper <drepper@gmail.com>
36635
36636 [BZ #12587]
36637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36638 Handle cache information in CPU leaf 4.
36639 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36640
8126d904
UD
366412011-03-18 Ulrich Drepper <drepper@gmail.com>
36642
042c49c6 36643 [BZ #12583]
8126d904
UD
36644 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36645 character representation.
36646 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36647
ccfe366e
RA
366482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36649
36650 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36651 END(__isnan) to END(__isnanf) to match function entry point/label
36652 EALIGN(__isnanf,...).
36653
c6e13027
JJ
366542011-03-10 Jakub Jelinek <jakub@redhat.com>
36655
36656 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36657
33f85a3f
UD
366582011-03-10 Ulrich Drepper <drepper@gmail.com>
36659
028478fa
UD
36660 [BZ #12510]
36661 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36662 copy from the symbol referenced in the relocation to initialize the
36663 used variable.
36664 Patch by Piotr Bury <pbury@goahead.com>.
36665 * elf/Makefile: Add rules to build and tst-unique3.
36666 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36667 * elf/tst-unique3.cc: New file.
36668 * elf/tst-unique3.h: New file.
36669 * elf/tst-unique3lib.cc: New file.
36670 * elf/tst-unique3lib2.cc: New file.
36671
33f85a3f
UD
36672 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36673
03592fc7
MF
366742011-03-10 Mike Frysinger <vapier@gentoo.org>
36675
36676 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36677 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36678 to _start.
03592fc7 36679
6a5ee102
UD
366802011-03-06 Ulrich Drepper <drepper@gmail.com>
36681
36682 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36683 to-be-loaded object along a path to loader is ld.so.
36684
7e4ba49c
HJ
366852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36686 Ulrich Drepper <drepper@gmail.com>
36687
36688 * sysdeps/x86_64/memset.S: After aligning destination, code
36689 branches to different locations depending on the value of
36690 misalignment, when multiarch is enabled. Fix this.
36691
366922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36693
36694 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36695 Set _x86_64_preferred_memory_instruction for AMD processsors.
36696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36697 Set bit_Prefer_SSE_for_memop for AMD processors.
36698
13a804de
UD
366992011-03-04 Ulrich Drepper <drepper@gmail.com>
36700
36701 * libio/fmemopen.c (fmemopen): Optimize a bit.
36702
9d25c392
AS
367032011-03-03 Andreas Schwab <schwab@redhat.com>
36704
36705 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36706
a5543c6a
RM
367072011-03-03 Roland McGrath <roland@redhat.com>
36708
36709 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36710
012d35f7
DM
367112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36712
7e4ba49c 36713 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36714 __bzero_ultra1 instead of __memset_ultra1.
36715
4bff6e01
AS
367162011-02-23 Andreas Schwab <schwab@redhat.com>
36717 Ulrich Drepper <drepper@gmail.com>
36718
36719 [BZ #12509]
36720 * include/link.h (struct link_map): Add l_orig_initfini.
36721 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36722 returning unsuccessfully.
36723 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36724 close of a file loaded at startup, restore the original l_initfini
36725 list.
36726 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36727 list, store the pointer.
36728 * elf/Makefile ($(objpfx)noload-mem): New rule.
36729 (noload-ENV): Define.
36730 (tests): Add $(objpfx)noload-mem.
36731 * elf/noload.c: Include <memcheck.h>.
36732 (main): Call mtrace. Close all opened handles.
36733
f2092faf
AS
367342011-02-17 Andreas Schwab <schwab@redhat.com>
36735
36736 [BZ #12454]
36737 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36738 dependencies are missing.
36739
6c8a2e88
ST
367402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36741
f2092faf 36742 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36743 Hurd needs munmap.
36744 * sysdeps/mach/hurd/ifreq.h: New file.
36745
84a42118
PB
367462011-01-27 Petr Baudis <pasky@suse.cz>
36747 Ulrich Drepper <drepper@gmail.com>
36748
071f805e 36749 [BZ 12445]#
84a42118
PB
36750 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36751 to extend_alloca().
36752 * stdio-common/bug23.c: New file.
36753 * stdio-common/Makefile (tests): Add bug23.
36754
e23fe25b
AS
367552010-09-28 Andreas Schwab <schwab@redhat.com>
36756 Ulrich Drepper <drepper@gmail.com>
36757
36758 [BZ #12489]
36759 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36760 before performing relro protection. At old place add assertion
36761 to make sure nothing changed.
36762
d3f02e10
NS
367632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36764 Glauber de Oliveira Costa <glommer@gmail.com>
36765
36766 * elf/elf.h: Add new ARM TLS relocs.
36767
d55fd7a5
RA
367682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36769
36770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36771 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36772 cast from r3.
36773 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36774 'tests' variable.
36775 * sysdeps/wordsize-64/tst-writev.c: New file.
36776
2206397e
RA
367772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36778
36779 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36780 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36781 insns in _dl_start to prevent a TOC reference before relocs are
36782 resolved.
36783
e9433893
UD
367842011-02-15 Ulrich Drepper <drepper@gmail.com>
36785
36786 [BZ #12469]
36787 * Makeconfig: Remove RANLIB definition.
36788 * Makerules: Don't use RANLIB.
36789 * aclocal.m4: Remove ranlib test.
36790 * configure.in: No need to check for ranlib.
36791 * elf/rtld-Rules: Don't use RANLIB.
36792
f75286c6
ST
367932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36794
8e31c82d
ST
36795 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36796 protection macro.
36797 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36798 inclusion protection macro.
36799
f75286c6
ST
36800 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36801 SIGRTMIN and SIGRTMAX and print information in that case only when
36802 SIGRTMIN is defined.
36803
c1d0e639
JJ
368042011-02-11 Jakub Jelinek <jakub@redhat.com>
36805
36806 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36807 arginfo fn returning -1.
36808
36809 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36810 and thousands string is zero terminated.
36811
edf9294e
AS
368122011-02-03 Andreas Schwab <schwab@redhat.com>
36813
36814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36815 sysdeps/unix/sysv/linux/bits/socket.h.
36816
2b7e92df
ST
368172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36818
edf9294e
AS
36819 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36820 (__CPU_COUNT): Remove old macros.
36821 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36822 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36823 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36824 (__sched_cpualloc, __sched_cpufree): Add declarations.
36825
a4c7ea7b
UD
368262011-02-05 Ulrich Drepper <drepper@gmail.com>
36827
36828 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36829 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36830 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36831 (readdhstai): Return value of addhstaiX call.
36832 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36833 (addgrbyX): Return value returned by cache_addgr.
36834 (readdgrbyname): Return value returned by addgrbyX.
36835 (readdgrbygid): Likewise.
36836 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36837 (addpwbyX): Return value returned by cache_addpw.
36838 (readdpwbyname): Return value returned by addhstbyX.
36839 (readdpwbyuid): Likewise.
36840 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36841 (addservbyX): Return value returned by cache_addserv.
36842 (readdservbyname): Return value returned by addservbyX:
36843 (readdservbyport): Likewise.
36844 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36845 (addhstbyX): Return value returned by cache_addhst.
36846 (readdhstbyname): Return value returned by addhstbyX.
36847 (readdhstbyaddr): Likewise.
36848 (readdhstbynamev6): Likewise.
36849 (readdhstbyaddrv6): Likewise.
36850 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36851 (readdinitgroups): Return value returned by addinitgroupsX.
36852 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36853 (prune_cache): Keep track of timeout value of re-added entries.
36854 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36855 * nscd/nscd.h: Adjust prototypes of readd* functions.
36856
a0bf67cc
RM
368572011-02-04 Roland McGrath <roland@redhat.com>
36858
36859 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36860 (nis_stats): Likewise.
36861 * nis/nis_modify.c (nis_modify): Likewise.
36862 * nis/nis_remove.c (nis_remove): Likewise.
36863 * nis/nis_add.c (nis_add): Likewise.
36864
36865 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36866
36867 * posix/fnmatch_loop.c: Add some consts.
36868
36869 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36870
435b95eb
L
368712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36872
36873 [BZ #12460]
36874 * config.make.in (config-cflags-novzeroupper): Define.
36875 * configure.in: Substitute libc_cv_cc_novzeroupper.
36876 * elf/Makefile (AVX-CFLAGS): Define.
36877 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36878 (CFLAGS-tst-auditmod4a.c): Likewise.
36879 (CFLAGS-tst-auditmod4b.c): Likewise.
36880 (CFLAGS-tst-auditmod6b.c): Likewise.
36881 (CFLAGS-tst-auditmod6c.c): Likewise.
36882 (CFLAGS-tst-auditmod7b.c): Likewise.
36883 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36884
8517b15e
UD
368852011-02-02 Ulrich Drepper <drepper@gmail.com>
36886
36887 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36888 function to the callback.
36889 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36890
10a656fe
AS
368912011-02-02 Andreas Schwab <schwab@redhat.com>
36892
36893 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36894 of errno.
36895
968dad0a
UD
368962011-01-19 Ulrich Drepper <drepper@gmail.com>
36897
9f94d2ea 36898 [BZ #11724]
968dad0a
UD
36899 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36900 of constructors.
36901 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36902 of destructors.
36903 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36904
36905 [BZ #11724]
36906 * elf/Makefile: Add rules to build and run new test.
36907 * elf/tst-initorder.c: New file.
36908 * elf/tst-initorder.exp: New file.
36909 * elf/tst-initordera1.c: New file.
36910 * elf/tst-initordera2.c: New file.
36911 * elf/tst-initordera3.c: New file.
36912 * elf/tst-initordera4.c: New file.
36913 * elf/tst-initorderb1.c: New file.
36914 * elf/tst-initorderb2.c: New file.
36915 * elf/tst-order-a1.c: New file.
36916 * elf/tst-order-a2.c: New file.
36917 * elf/tst-order-a3.c: New file.
36918 * elf/tst-order-a4.c: New file.
36919 * elf/tst-order-b1.c: New file.
36920 * elf/tst-order-b2.c: New file.
36921 * elf/tst-order-main.c: New file.
36922 New test case by George Gensure <werkt0@gmail.com>.
36923
86e92359
UD
369242010-10-01 Andreas Schwab <schwab@redhat.com>
36925
36926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36927 decoding ACE if AI_CANONIDN.
36928
5d5732b0
UD
369292011-01-18 Ulrich Drepper <drepper@gmail.com>
36930
36931 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36932
a77e8cbc
UD
369332011-01-17 Ulrich Drepper <drepper@gmail.com>
36934
6392473f
UD
36935 * version.h (RELEASE): Bump for 2.13 release.
36936 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36937
620a0529
UD
36938 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36939
18ba70a5
UD
36940 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36941 MADV_NOHUGEPAGE.
32465c3e
UD
36942 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36944 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36945 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36947 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36948
c0dafcf1
UD
36949 * posix/getconf.c: Update copyright year.
36950 * catgets/gencat.c: Likewise.
36951 * csu/version.c: Likewise.
36952 * debug/catchsegv.sh: Likewise.
36953 * debug/xtrace.sh: Likewise.
36954 * elf/ldconfig.c: Likewise.
36955 * elf/ldd.bash.in: Likewise.
36956 * elf/sprof.c (print_version): Likewise.
36957 * iconv/iconv_prog.c: Likewise.
36958 * iconv/iconvconfig.c: Likewise.
36959 * locale/programs/locale.c: Likewise.
36960 * locale/programs/localedef.c: Likewise.
36961 * malloc/memusage.sh: Likewise.
36962 * malloc/mtrace.pl: Likewise.
36963 * nscd/nscd.c (print_version): Likewise.
36964 * nss/getent.c: Likewise.
36965
a77e8cbc
UD
36966 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36967 PF_CAIF, and PF_ALG.
36968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36969
77e8bddf
AS
369702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36971
1f20b93a
AS
36972 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36973 (modules-names): Use them.
36974 (ifunc-test-modules, ifunc-pie-tests): Define.
36975 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36976 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36977 (test-extras): Likewise.
36978 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36979 $(compile-command.c).
36980 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36981 (all-built-dso): Define.
36982 (check-textrel.out, check-execstack.out): Depend on it.
36983
77e8bddf
AS
36984 * configure.in: Don't override --enable-multi-arch.
36985
bc425b33
UD
369862011-01-15 Ulrich Drepper <drepper@gmail.com>
36987
36988 [BZ #6812]
36989 * nscd/hstcache.c (tryagain): Define.
36990 (cache_addhst): Return tryagain not notfound for temporary errors.
36991 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36992 failed.
36993
794c3ad3
UD
369942011-01-14 Ulrich Drepper <drepper@gmail.com>
36995
70181fdd
UD
36996 [BZ #10563]
36997 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36998 to make the syscall.
36999 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37000
794c3ad3
UD
37001 [BZ #12378]
37002 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37003 and fall back to matching as normal character if the string ends before
37004 the matching ']' is found. This is what POSIX requires.
37005 * posix/testfnm.c: Adjust test result.
37006 * posix/globtest.sh: Adjust test result. Add new test.
37007 * posix/tst-fnmatch.input: Likewise.
37008 * posix/tst-fnmatch2.c: Add new test.
37009
68dc9497
AS
370102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37011
37012 * elf/Makefile (check-execstack): Revert last change. Depend on
37013 check-execstack.h.
37014 (check-execstack.h): New target.
37015 (generated): Add check-execstack.h.
37016 * elf/check-execstack.c: Include "check-execstack.h".
37017 (main): Revert last change.
37018 (handle_file): Return zero if GNU_STACK is absent and
37019 DEFAULT_STACK_PERMS doesn't include PF_X.
37020
451f001b
UD
370212011-01-13 Ulrich Drepper <drepper@gmail.com>
37022
cfa28e56
UD
37023 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37024 in child fails because the descriptor is already closed.
8cf8ce17
UD
37025 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37026 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37028
1086d70d
UD
37029 [BZ #12397]
37030 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37031 syscall.
37032
451f001b
UD
37033 [BZ #10484]
37034 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37035 temporary buffer used to handle multi lookups locally.
a85b5cb4 37036 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37037
08769175
UD
370382011-01-12 Ulrich Drepper <drepper@gmail.com>
37039
37040 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37041 loader is ld.so.
37042
5e49c52e
UD
370432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37044
37045 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37046 alignment for SSE2.
37047
60522a5f
UD
370482011-01-12 Ulrich Drepper <drepper@gmail.com>
37049
37050 [BZ #12394]
37051 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37052 characters. When rounding increased number of integer digits recompute
37053 number of groups.
37054 * stdio-common/tst-grouping.c: New file.
37055 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37056
f257bbd7
UD
370572011-01-09 Ulrich Drepper <drepper@gmail.com>
37058
37059 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37060 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37061
37062 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37063 void.
37064 * bits/select.h: Likewise.
37065
fa9c15cb
UD
370662011-01-08 Ulrich Drepper <drepper@gmail.com>
37067
37068 * po/ja.po: Update from translation team.
37069
16c2895f
DM
370702011-01-04 David S. Miller <davem@sunset.davemloft.net>
37071
37072 [BZ #11155]
37073 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37074 implementation just like for lxstat, fxstatat, et al.
37075
2543fef2
JM
370762010-12-27 Jim Meyering <meyering@redhat.com>
37077
37078 [BZ #12348]
37079 * posix/regexec.c (build_trtable): Return failure indication upon
37080 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37081
98727dbe
UD
370822010-12-25 Ulrich Drepper <drepper@gmail.com>
37083
5bd6dc5c
UD
37084 [BZ #12201]
37085 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37086 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37087 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37088 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37089
97983464
UD
37090 [BZ #12207]
37091 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37092
98727dbe
UD
37093 [BZ #12204]
37094 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37095 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37096
4a531bb0
L
370972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37098
37099 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37100 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37101 script has SORT_BY_INIT_PRIORITY.
37102 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37103 NO_CTORS_DTORS_SECTIONS is defined.
37104 * elf/soinit.c: Likewise.
37105 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37106 NO_CTORS_DTORS_SECTIONS is defined.
37107 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37108 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37109 * sysdeps/sh/init-first.c: Likewise.
37110 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37111
07eb4b71
UD
371122010-12-24 Ulrich Drepper <drepper@gmail.com>
37113
37114 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37115 always use the slow path.
37116
30950a5f
RA
371172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37118
37119 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37120 similar rule which adds the sysdep directories to the header search in
37121 order to pick up the correct platform stackinfo.h.
37122 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37123 perform test if it is, otherwise return successfully without testing.
37124 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37125 DEFAULT_STACK_PERMS define in stackinfo.h.
37126 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37127 defined in stackinfo.h.
37128 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37129 DEFAULT_STACK_PERMS defined in stackinfo.h.
37130 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37131 * sysdeps/ia64/stackinfo.h: Likewise.
37132 * sysdeps/s390/stackinfo.h: Likewise.
37133 * sysdeps/sh/stackinfo.h: Likewise.
37134 * sysdeps/sparc/stackinfo.h: Likewise.
37135 * sysdeps/x86_64/stackinfo.h: Likewise.
37136 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37137 PF_X for powerpc64. Retain PF_X for powerpc32.
37138
db753e2c
UD
371392010-12-19 Ulrich Drepper <drepper@gmail.com>
37140
14b697f7
UD
37141 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37142 accurately.
db753e2c
UD
37143 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37144 GETDENTS_64BIT_ALIGNED.
37145
28300719
UD
371462010-12-14 Ulrich Drepper <dreper@gmail.com>
37147
14b697f7 37148 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37149
4f197237
AS
371502010-12-10 Andreas Schwab <schwab@redhat.com>
37151
dbb0472f
AS
37152 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37153 _GNU_SOURCE.
37154
4f197237
AS
37155 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37156 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37157 Remove __restrict.
37158 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37159 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37160
fb88ac72
UD
371612010-12-09 Ulrich Drepper <drepper@gmail.com>
37162
37163 [BZ #11655]
37164 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37165 are initialized.
37166
42acbb92
JJ
371672010-12-09 Jakub Jelinek <jakub@redhat.com>
37168
37169 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37170
c038d98d
UD
371712010-12-03 Ulrich Drepper <drepper@gmail.com>
37172
37173 * po/it.po: Update from translation team.
37174
3a4a2499
L
371752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37176
37177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37178 unused codes.
37179
1e24cf6e
UD
371802010-11-30 Ulrich Drepper <drepper@gmail.com>
37181
37182 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37183
a7690819
AS
371842010-11-24 Andreas Schwab <schwab@redhat.com>
37185
37186 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37187 specially.
37188 (gaih_getanswer_slice): Likewise.
37189
3bf8d1b1
JJ
371902010-10-20 Jakub Jelinek <jakub@redhat.com>
37191
37192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37193
6db52fbb
PB
371942010-05-31 Petr Baudis <pasky@suse.cz>
37195
37196 [BZ #11149]
37197 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37198 silently even in the chroot mode.
37199
eaca7569
UD
372002010-11-22 Ulrich Drepper <drepper@gmail.com>
37201
37202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37203 last patch a bit. Pretty printing
37204
3056dcdb
UD
372052010-05-31 Petr Baudis <pasky@suse.cz>
37206
37207 [BZ #10085]
37208 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37209 initialization of skip_initgroups_dyn.
37210
cf7c9078
UD
372112010-11-19 Ulrich Drepper <drepper@gmail.com>
37212
37213 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37214 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37215
a1fb5e3e
UD
372162010-11-16 Ulrich Drepper <drepper@gmail.com>
37217
37218 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37219
3540d66b
AS
372202010-11-11 Andreas Schwab <schwab@redhat.com>
37221
37222 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37223 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37224 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37225 ($(objpfx)tst-fnmatch-mem): New rule.
37226 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37227 * posix/tst-fnmatch.c (main): Call mtrace.
37228
13b69574
L
372292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37230
37231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37232 Support Intel processor model 6 and model 0x2c.
37233
da93d214
LM
372342010-11-10 Luis Machado <luisgpm@br.ibm.com>
37235
37236 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37237 signed comparison.
37238
8ca52c6e
L
372392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37240
37241 [BZ #12205]
37242 * string/test-strncasecmp.c (check_result): New function.
37243 (do_one_test): Use it.
37244 (check1): New function.
37245 (test_main): Use it.
37246 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37247 Support strcasecmp and strncasecmp.
37248
69da074d
UD
372492010-11-08 Ulrich Drepper <drepper@gmail.com>
37250
37251 [BZ #12194]
37252 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37254
ff02d528
L
372552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37256
37257 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37258 IFUNC support.
37259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37260 memset-x86-64.
37261 * sysdeps/x86_64/multiarch/bzero.S: New file.
37262 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37263 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37264 * sysdeps/x86_64/multiarch/memset.S: New file.
37265 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37267 Set bit_Prefer_SSE_for_memop for Intel processors.
37268 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37269 Define.
37270 (index_Prefer_SSE_for_memop): Define.
37271 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37272
344d0b54
LM
372732010-11-04 Luis Machado <luisgpm@br.ibm.com>
37274
37275 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37276 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37277
c0dde15b
UD
372782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37279
37280 [BZ #12191]
37281 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37282 (__x86_64_raw_data_cache_size_half): Likewise.
37283 (__x86_64_raw_shared_cache_size): Likewise.
37284 (__x86_64_raw_shared_cache_size_half): Likewise.
37285
37286 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37287 (__x86_64_raw_data_cache_size_half): Likewise.
37288 (__x86_64_raw_shared_cache_size): Likewise.
37289 (__x86_64_raw_shared_cache_size_half): Likewise.
37290 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37291 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37292 and __x86_64_raw_shared_cache_size_half. Round
37293 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37294 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37295 to multiple of 256 bytes.
37296
0e516e0e
MS
372972010-11-03 Ulrich Drepper <drepper@gmail.com>
37298
37299 [BZ #12167]
37300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37301 of inacessible symlinks. Verify result of symlink before returning it.
37302 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37303 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37304
0e012e87
ER
373052010-10-28 Erich Ritz <erichritz@gmail.com>
37306
37307 * math/math.h (isinf): Fix typo in comment.
37308
de0ff7bc
UD
373092010-11-01 Ulrich Drepper <drepper@gmail.com>
37310
37311 * po/da.po: Update from translation team.
37312
fa41c84d
UD
373132010-10-26 Ulrich Drepper <drepper@gmail.com>
37314
37315 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37316 is added to the list.
37317
f0967738
AK
373182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37319 Ulrich Drepper <drepper@gmail.com>
37320
37321 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37322 the global list here. Move code to...
37323 (_dl_add_to_namespace_list): ...here. New function.
37324 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37325 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37326 * elf/dl-load.c (lose): Don't remove the element from the list.
37327 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37328 (_dl_map_object): Likewise.
37329
373302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37331
37332 [BZ #12159]
37333 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37334 into all bytes of SSE register.
37335 Patch by Richard Li <richardpku@gmail.com>.
37336
f0967738 373372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37338
37339 [BZ #12140]
37340 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37341 perturbing.
37342
d0b9e94f
MB
373432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37344
37345 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37346 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37347 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37348 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37350 submachine.
37351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37352
8e9f92e9
AS
373532010-10-22 Andreas Schwab <schwab@redhat.com>
37354
37355 * include/dlfcn.h (__RTLD_SECURE): Define.
37356 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37357 mode & __RTLD_SECURE instead.
37358 (open_path): Rename preloaded parameter to secure.
37359 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37360 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37361 * elf/dl-deps.c (openaux): Likewise.
37362 * elf/rtld.c (struct map_args): Remove is_preloaded.
37363 (map_doit): Don't use it.
37364 (dl_main): Likewise.
37365 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37366 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37367
bc96fbda
AS
373682010-09-09 Andreas Schwab <schwab@redhat.com>
37369
37370 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37371 (sysd-rules-targets): Remove duplicates.
37372 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37373 rtld-%.$o dependency.
37374
22cd1c9b
AS
373752010-10-18 Andreas Schwab <schwab@redhat.com>
37376
37377 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37378 _dl_map_object do it.
37379
18edac48
UD
373802010-10-19 Ulrich Drepper <drepper@gmail.com>
37381
37382 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37383 fast fma builtins, define the macros in the C99 standard.
37384 (FP_FAST_FMAF): Likewise.
37385 (FP_FAST_FMAL): Likewise.
37386 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37387
37388 * bits/mathdef.h: Update copyright year.
37389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37390
d2050124
MM
373912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37392
37393 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37394 builtins, define the macros in the C99 standard.
37395 (FP_FAST_FMAF): Likewise.
37396 (FP_FAST_FMAL): Likewise.
37397 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37398 multiply/add.
37399 (FP_FAST_FMAF): Likewise.
37400
475facd1
JJ
374012010-10-15 Jakub Jelinek <jakub@redhat.com>
37402
37403 [BZ #3268]
37404 * math/libm-test.inc (fma_test): Some new testcases.
37405 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37406 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37407 y and infinite z. Do multiplication by C already in long double.
37408 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37410 y and infinite z. Do bitwise or of inexact bit into u.d.
37411 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37412 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37413 * sysdeps/i386/fpu/s_fma.S: Removed.
37414 * sysdeps/i386/fpu/s_fmal.S: Removed.
37415
7c08a05c
JJ
374162010-10-16 Jakub Jelinek <jakub@redhat.com>
37417
37418 [BZ #3268]
37419 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37421 computation is not scheduled after fetestexcept. Fix value
37422 of minimum denormal long double.
37423
f3f7372d
JJ
374242010-10-14 Jakub Jelinek <jakub@redhat.com>
37425
37426 [BZ #3268]
37427 * math/libm-test.inc (fma_test): Add some more tests.
37428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37429 correctly.
37430
14d43591
AS
374312010-10-15 Andreas Schwab <schwab@redhat.com>
37432
37433 * scripts/data/localplt-s390-linux-gnu.data: New file.
37434 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37435
5e908464
JJ
374362010-10-13 Jakub Jelinek <jakub@redhat.com>
37437
37438 [BZ #3268]
37439 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37440 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37441 instead of dbl-64.
37442 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37443 inlines.
37444 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37446 if one of x and y is very large and the other is subnormal.
37447 * sysdeps/s390/fpu/s_fmaf.c: New file.
37448 * sysdeps/s390/fpu/s_fma.c: New file.
37449 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37450 * sysdeps/powerpc/fpu/s_fma.S: New file.
37451 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37452 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37453 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37454
374552010-10-12 Jakub Jelinek <jakub@redhat.com>
37456
37457 [BZ #3268]
37458 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37459 fma tests.
37460 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37461 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37462 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37463 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37464 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37465 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37466 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37467
b833d51f
UD
374682010-10-12 Ulrich Drepper <drepper@redhat.com>
37469
37470 [BZ #12078]
37471 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37472 * posix/bug-regex31.input: Add test case.
37473
1751705d
UD
374742010-10-11 Ulrich Drepper <drepper@gmail.com>
37475
e9b9cbf5
UD
37476 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37477 * posix/bug-regex31.input: New file.
37478
37479 [BZ #12078]
37480 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37481 (parse_sub_exp): Fix last change, use postorder.
37482
ef06edbe
UD
37483 * posix/bug-regex31.c: New file.
37484 * posix/Makefile: Add rules to build and run bug-regex31.
37485
a129c80d
UD
37486 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37487
37488 [BZ #12078]
37489 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37490
b76b818e
UD
37491 [BZ #12108]
37492 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37493 to have entries in sys_siglist.
37494
1751705d
UD
37495 [BZ #12093]
37496 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37497 be NULL.
37498
9ff8d36f
JJ
374992010-10-07 Jakub Jelinek <jakub@redhat.com>
37500
37501 [BZ #3268]
37502 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37503 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37504 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37505 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37506 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37507 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37508 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37509 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37510 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37511 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37512 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37513 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37514 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37515 * math/ftestexcept.c (fetestexcept): Likewise.
37516 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37517 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37518 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37519 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37520 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37521 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37522 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37523
af325969
UD
375242010-10-11 Ulrich Drepper <drepper@gmail.com>
37525
c579b202 37526 [BZ #12107]
af325969
UD
37527 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37528 newline.
37529
67a67b95
UD
375302010-10-06 Ulrich Drepper <drepper@gmail.com>
37531
37532 * string/bug-strstr1.c: New file.
37533 * string/Makefile: Add rules to build and run bug-strstr1.
37534
5fb308bc
EB
375352010-10-05 Eric Blake <eblake@redhat.com>
37536
37537 [BZ #12092]
37538 * string/str-two-way.h (two_way_long_needle): Always clear memory
37539 when skipping input due to the shift table.
37540
45db99c7
UD
375412010-10-03 Ulrich Drepper <drepper@gmail.com>
37542
3b111893
UD
37543 [BZ #12005]
37544 * malloc/mcheck.c: Handle large requests.
37545
45db99c7
UD
37546 [BZ #12077]
37547 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37548 for strncmp and strncasecmp.
37549 * string/stratcliff.c: Add tests for strcmp and strncmp.
37550 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37551
cf7a1eb8
NI
375522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37553
37554 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37555 __set_fpscr.
37556
6484ba5e
AJ
375572010-09-30 Andreas Jaeger <aj@suse.de>
37558
37559 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37560 (CGROUP_SUPER_MAGIC): Define.
37561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37562 Handle btrfs and cgroup file systems.
37563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37564 Likewise.
37565
91c42559
LM
375662010-09-27 Luis Machado <luisgpm@br.ibm.com>
37567
37568 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37569 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37570
87a97932
AK
375712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37572
37573 [BZ #12067]
37574 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37575 trying to locate the ELF header.
37576
c21cc9bc
AS
375772010-09-27 Andreas Schwab <schwab@redhat.com>
37578
37579 [BZ #11611]
37580 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37581 Mask out sign-bit copies when constructing f_fsid.
37582
315970f6
PB
375832010-09-24 Petr Baudis <pasky@suse.cz>
37584
37585 * debug/stack_chk_fail_local.c: Add missing licence exception.
37586 * debug/warning-nop.c: Likewise.
37587
1ac7a2c7
JM
375882010-09-15 Joseph Myers <joseph@codesourcery.com>
37589
37590 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37591 implementing getdents64 using getdents syscall, set d_type if
37592 __ASSUME_GETDENTS32_D_TYPE.
37593
56801c50
AS
375942010-09-16 Andreas Schwab <schwab@redhat.com>
37595
37596 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37597 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37598
dda51327
UD
375992010-09-21 Ulrich Drepper <drepper@redhat.com>
37600
37601 [BZ #12037]
37602 * posix/unistd.h: Undo change of feature selection for ftruncate from
37603 2010-01-11.
37604
8ffcee4a
UD
376052010-09-20 Ulrich Drepper <drepper@redhat.com>
37606
a545ecd9 37607 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37608 detection.
37609
e24f0a8b
AS
376102010-09-20 Andreas Schwab <schwab@redhat.com>
37611
37612 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37613 fanotify_mark.
37614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37615
7291c56f
AS
376162010-09-14 Andreas Schwab <schwab@redhat.com>
37617
37618 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37619 variables after CHECK_SP call.
37620 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37621
bc5fb037
AS
376222010-09-13 Andreas Schwab <schwab@redhat.com>
37623 Ulrich Drepper <drepper@redhat.com>
37624
37625 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37626 re-relocationg ld.so.
37627 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37628 _dl_init_paths call.
37629 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37630 here anymore.
37631
e66e7419
UD
376322010-09-14 Ulrich Drepper <drepper@redhat.com>
37633
37634 * resolv/res_init.c (__res_vinit): Count the default server we added.
37635
c044aa75
CLT
376362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37637 Ulrich Drepper <drepper@redhat.com>
37638
37639 [BZ #11968]
37640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37641 (____longjmp_chk): Use %ebx for saving value across system call.
37642 Add unwind info.
37643
32cf4069
AS
376442010-09-06 Andreas Schwab <schwab@redhat.com>
37645
37646 * manual/Makefile: Don't mix pattern rules with normal rules.
37647
817328ee
AS
376482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37649
37650 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37651 operation.
37652 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37653 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37654 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37655 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37657 Likewise.
37658
29fddf61
UD
376592010-09-04 Ulrich Drepper <drepper@redhat.com>
37660
37661 [BZ #11979]
37662 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37663 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37664
0959ffc9
UD
376652010-09-02 Ulrich Drepper <drepper@redhat.com>
37666
37667 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37668 * sysdeps/x86_64/addmul_1.S: Likewise.
37669 * sysdeps/x86_64/lshift.S: Likewise.
37670 * sysdeps/x86_64/mul_1.S: Likewise.
37671 * sysdeps/x86_64/rshift.S: Likewise.
37672 * sysdeps/x86_64/sub_n.S: Likewise.
37673 * sysdeps/x86_64/submul_1.S: Likewise.
37674
ece29840
ST
376752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37676
0959ffc9
UD
37677 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37678 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37679 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37680 * bits/sched.h [__need_schedparam]
ece29840 37681 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37682 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37683 (__defined_schedparam): Define to 1.
ece29840
ST
37684 (__sched_param): New structure, identical to sched_param.
37685 (__need_schedparam): Undefine.
37686
e53a31fe
MF
376872010-08-31 Mike Frysinger <vapier@gentoo.org>
37688
fdc0c10d
MF
37689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37690 (epoll_create1): Declare.
37691
e53a31fe
MF
37692 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37693
a726d796
AS
376942010-08-31 Andreas Schwab <schwab@redhat.com>
37695
37696 [BZ #7066]
37697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37698 shifting retval into place.
37699
2f3e3dc7
UD
377002010-09-01 Ulrich Drepper <drepper@redhat.com>
37701
f2933da9
UD
37702 * nis/rpcsvc/nis.h: Update copyright notice.
37703 * nis/rpcsvc/nis.x: Likewise.
37704 * nis/rpcsvc/nis_callback.h: Likewise.
37705 * nis/rpcsvc/nis_callback.x: Likewise.
37706 * nis/rpcsvc/nis_object.x: Likewise.
37707 * nis/rpcsvc/nis_tags.h: Likewise.
37708 * nis/rpcsvc/yp.h: Likewise.
37709 * nis/rpcsvc/yp.x: Likewise.
37710 * nis/rpcsvc/ypupd.h: Likewise.
37711 * nis/yp_xdr.c: Likewise.
37712 * nis/ypupdate_xdr.c: Likewise.
37713
2f3e3dc7
UD
37714 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37715 mainly the body of pmap_getport. Add parameters to specify timeouts.
37716 (pmap_getport): Use __libc_rpc_getport.
37717 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37718 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37719 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37720
f3dcc2f9
AS
377212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37722
37723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37724 fanotify_mark.
37725
6d34eb5b
RM
377262010-08-27 Roland McGrath <roland@redhat.com>
37727
37728 * sysdeps/i386/i686/multiarch/Makefile
37729 (CFLAGS-varshift.c): New variable.
37730
9ea3de11
UD
377312010-08-27 Ulrich Drepper <drepper@redhat.com>
37732
c96d23fc
UD
37733 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37734 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37735
9ea3de11
UD
37736 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37737
37738 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37739
623aac7f
L
377402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37741
37742 * sysdeps/x86_64/strlen.S: Unroll the loop.
37743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37744 strlen-sse2 strlen-sse2-bsf.
37745 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37746 __strlen_no_bsf if bit_Slow_BSF is set.
37747 (__strlen_sse42): Removed.
37748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37749 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37750
8b2b7715
RM
377512010-08-25 Roland McGrath <roland@redhat.com>
37752
37753 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37754 * sysdeps/x86_64/multiarch/varshift.c: New file.
37755 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37756 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37757 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37758 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37759
e73015f2
L
377602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37761
37762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37763 strlen-sse2 strlen-sse2-bsf.
37764 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37765 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37766 (__strlen_sse2): Removed.
37767 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37770 bit_Slow_BSF for Atom.
37771 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37772 (index_Slow_BSF): Define.
37773 (HAS_SLOW_BSF): Define.
37774
df24a73e
UD
377752010-08-25 Ulrich Drepper <drepper@redhat.com>
37776
37777 [BZ #10851]
37778 * resolv/res_init.c (__res_vinit): When no server address at all
37779 is given default to loopback.
37780
f2ac4868
RM
377812010-08-24 Roland McGrath <roland@redhat.com>
37782
09055553
RM
37783 * configure.in: Remove config-name.h generation.
37784 * configure: Regenerated.
37785 * config-name.in: File removed.
37786 * scripts/config-uname.sh: New file.
37787 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37788 ($(objdir)config-name.h): New target.
37789
f2ac4868
RM
37790 * sunrpc/rpc_parse.h: Avoid nested comment.
37791
73f27d5e
RH
377922010-08-24 Richard Henderson <rth@redhat.com>
37793 Ulrich Drepper <drepper@redhat.com>
37794 H.J. Lu <hongjiu.lu@intel.com>
37795
37796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37798 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37799 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37800 _mm_alignr_epi8 with _mm_loadu_si128.
37801 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37802 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37803 (__m128i_shift_right): Removed.
37804 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37805 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37806 * sysdeps/x86_64/multiarch/varshift.h: New file.
37807 * sysdeps/x86_64/multiarch/varshift.S: New file.
37808
84b9230c
MF
378092010-08-21 Mike Frysinger <vapier@gentoo.org>
37810
37811 * configure.in: Move assembler checks to before sysdep dir checking.
37812
9bbd0ddc
PB
378132010-08-20 Petr Baudis <pasky@suse.cz>
37814
37815 * LICENSES: Sync the sunrpc license.
37816
9da4bb31
UD
378172010-08-19 Ulrich Drepper <drepper@redhat.com>
37818
a7ab6ec8
UD
37819 * sunrpc/auth_des.c: Update copyright notice once again.
37820 * sunrpc/auth_none.c: Likewise.
37821 * sunrpc/auth_unix.c: Likewise.
37822 * sunrpc/authdes_prot.c: Likewise.
37823 * sunrpc/authuxprot.c: Likewise.
37824 * sunrpc/bindrsvprt.c: Likewise.
37825 * sunrpc/clnt_gen.c: Likewise.
37826 * sunrpc/clnt_perr.c: Likewise.
37827 * sunrpc/clnt_raw.c: Likewise.
37828 * sunrpc/clnt_simp.c: Likewise.
37829 * sunrpc/clnt_tcp.c: Likewise.
37830 * sunrpc/clnt_udp.c: Likewise.
37831 * sunrpc/clnt_unix.c: Likewise.
37832 * sunrpc/des_crypt.c: Likewise.
37833 * sunrpc/des_soft.c: Likewise.
37834 * sunrpc/get_myaddr.c: Likewise.
37835 * sunrpc/getrpcport.c: Likewise.
37836 * sunrpc/key_call.c: Likewise.
37837 * sunrpc/key_prot.c: Likewise.
37838 * sunrpc/openchild.c: Likewise.
37839 * sunrpc/pm_getmaps.c: Likewise.
37840 * sunrpc/pm_getport.c: Likewise.
37841 * sunrpc/pmap_clnt.c: Likewise.
37842 * sunrpc/pmap_prot.c: Likewise.
37843 * sunrpc/pmap_prot2.c: Likewise.
37844 * sunrpc/pmap_rmt.c: Likewise.
37845 * sunrpc/rpc/auth.h: Likewise.
37846 * sunrpc/rpc/auth_unix.h: Likewise.
37847 * sunrpc/rpc/clnt.h: Likewise.
37848 * sunrpc/rpc/des_crypt.h: Likewise.
37849 * sunrpc/rpc/key_prot.h: Likewise.
37850 * sunrpc/rpc/netdb.h: Likewise.
37851 * sunrpc/rpc/pmap_clnt.h: Likewise.
37852 * sunrpc/rpc/pmap_prot.h: Likewise.
37853 * sunrpc/rpc/pmap_rmt.h: Likewise.
37854 * sunrpc/rpc/rpc.h: Likewise.
37855 * sunrpc/rpc/rpc_des.h: Likewise.
37856 * sunrpc/rpc/rpc_msg.h: Likewise.
37857 * sunrpc/rpc/svc.h: Likewise.
37858 * sunrpc/rpc/svc_auth.h: Likewise.
37859 * sunrpc/rpc/types.h: Likewise.
37860 * sunrpc/rpc/xdr.h: Likewise.
37861 * sunrpc/rpc_clntout.c: Likewise.
37862 * sunrpc/rpc_cmsg.c: Likewise.
37863 * sunrpc/rpc_common.c: Likewise.
37864 * sunrpc/rpc_cout.c: Likewise.
37865 * sunrpc/rpc_dtable.c: Likewise.
37866 * sunrpc/rpc_hout.c: Likewise.
37867 * sunrpc/rpc_main.c: Likewise.
37868 * sunrpc/rpc_parse.c: Likewise.
37869 * sunrpc/rpc_parse.h: Likewise.
37870 * sunrpc/rpc_prot.c: Likewise.
37871 * sunrpc/rpc_sample.c: Likewise.
37872 * sunrpc/rpc_scan.c: Likewise.
37873 * sunrpc/rpc_scan.h: Likewise.
37874 * sunrpc/rpc_svcout.c: Likewise.
37875 * sunrpc/rpc_tblout.c: Likewise.
37876 * sunrpc/rpc_util.c: Likewise.
37877 * sunrpc/rpc_util.h: Likewise.
37878 * sunrpc/rpcinfo.c: Likewise.
37879 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37880 * sunrpc/rpcsvc/key_prot.x: Likewise.
37881 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37882 * sunrpc/rpcsvc/mount.x: Likewise.
37883 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37884 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37885 * sunrpc/rpcsvc/rex.x: Likewise.
37886 * sunrpc/rpcsvc/rstat.x: Likewise.
37887 * sunrpc/rpcsvc/rusers.x: Likewise.
37888 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37889 * sunrpc/rpcsvc/spray.x: Likewise.
37890 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37891 * sunrpc/rtime.c: Likewise.
37892 * sunrpc/svc.c: Likewise.
37893 * sunrpc/svc_auth.c: Likewise.
37894 * sunrpc/svc_authux.c: Likewise.
37895 * sunrpc/svc_raw.c: Likewise.
37896 * sunrpc/svc_run.c: Likewise.
37897 * sunrpc/svc_simple.c: Likewise.
37898 * sunrpc/svc_tcp.c: Likewise.
37899 * sunrpc/svc_udp.c: Likewise.
37900 * sunrpc/svc_unix.c: Likewise.
37901 * sunrpc/svcauth_des.c: Likewise.
37902 * sunrpc/xcrypt.c: Likewise.
37903 * sunrpc/xdr.c: Likewise.
37904 * sunrpc/xdr_array.c: Likewise.
37905 * sunrpc/xdr_float.c: Likewise.
37906 * sunrpc/xdr_mem.c: Likewise.
37907 * sunrpc/xdr_rec.c: Likewise.
37908 * sunrpc/xdr_ref.c: Likewise.
37909 * sunrpc/xdr_sizeof.c: Likewise.
37910 * sunrpc/xdr_stdio.c: Likewise.
37911
9da4bb31
UD
37912 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37913 handling.
37914
bdaa77bc
AS
379152010-08-19 Andreas Schwab <schwab@redhat.com>
37916
37917 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37918
fe2f79db
LM
379192010-08-19 Luis Machado <luisgpm@br.ibm.com>
37920
37921 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37923 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37924 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37925 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37926 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37927 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37928 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37929 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37931 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37932 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37933 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37934 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37935
b9b42ee0
AB
379362010-07-26 Anton Blanchard <anton@samba.org>
37937
37938 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37939 * malloc/arena.c (heap_trim): Likewise.
37940
1c06ba31
UD
379412010-08-16 Ulrich Drepper <drepper@redhat.com>
37942
37943 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37944 here. Not...
37945 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37946 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37947
f8392f40
L
379482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37949
37950 * sysdeps/i386/elf/Makefile: New file.
37951
3162f12e
AS
379522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37953
37954 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37955 from fanotify_init.
37956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37958
28c90b2c
UD
379592010-08-15 Ulrich Drepper <drepper@redhat.com>
37960
37961 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37962 of strncasecmp_l.
1feccb6c 37963 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37964
ca6bb004
UD
379652010-08-14 Ulrich Drepper <drepper@redhat.com>
37966
e9f82e0d
UD
37967 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37968 strncase_l-nonascii.
37969 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37970 Add strncase_l-ssse3.
37971 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37972 * sysdeps/x86_64/strcmp.S: Likewise.
37973 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37974 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37975 * sysdeps/x86_64/strncase.S: New file.
37976 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37977 * sysdeps/x86_64/strncase_l.S: New file.
37978 * string/Makefile (strop-tests): Add strncasecmp.
37979 * string/test-strncasecmp.c: New file.
37980
37981 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37982 warning.
37983
ca6bb004
UD
37984 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37985 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37986
052fa7b3
AS
379872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37988
37989 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37990
962dba78
UD
379912010-08-12 Ulrich Drepper <drepper@redhat.com>
37992
37993 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37994 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37995 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37996
bebff237
AM
379972010-05-01 Alan Modra <amodra@gmail.com>
37998
37999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38000 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38001 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38002 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38003 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38004 tidying. Don't tail-call __sigjmp_save for static lib.
38005 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38006 save location.
38007 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38008 (CALL_MCOUNT): Add eh info, and nop after bl.
38009 (TAIL_CALL_SYSCALL_ERROR): New macro.
38010 (PSEUDO_RET): Use it.
38011 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38012 Correct save location of integer regs and cr.
38013 (_dl_profile_resolve): Correct cr save location. Delete nops
38014 after bl when SHARED. Reduce cfi size a little by better
38015 placement of cfi directives.
38016 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38017 make a stack frame. Instead use parm save area as a temp.
38018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38019 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38021 Don't make a stack frame for parent, use parm save area.
38022 Increase child stack frame to 112 bytes. Don't save unused reg,
38023 and adjust reg usage. Set up cfi on error recovery and
38024 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38026 (__makecontext): Add dummy nop after jump to exit.
38027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38028 Use correct parm save area and cr save, reduce stack frame.
38029 Correct cfi for possible PSEUDO_RET frame setup.
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38031 Branch to local label emitted by PSEUDO_RET rather than
38032 __syscall_error.
38033
02637374
AS
380342010-08-12 Andreas Schwab <schwab@redhat.com>
38035
38036 [BZ #11904]
38037 * locale/programs/locale.c (print_assignment): New function.
38038 (show_locale_vars): Use it.
38039
c3e2f19b
UD
380402010-08-11 Ulrich Drepper <drepper@redhat.com>
38041
3cdaa6ad
UD
38042 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38043 field.
38044 (struct statfs64): Likewise.
38045 (_STATFS_F_FLAGS): Define.
38046 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38047 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38048 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38049 (ST_VALID): Define locally.
38050 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38051 __statvfs_getflags, use the provided value.
38052 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38053 __ASSUME_STATFS_F_FLAGS.
38054
754f7da3
UD
38055 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38056
10b3bedc
UD
38057 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38058 Add sys/fanotify.h.
38059 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38060 fanotify_mask for GLIBC_2.13.
38061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38062 fanotify_init and fanotify_mark.
38063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38064 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38065
c08fb0d7
UD
38066 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38067 Add prlimit.
38068 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38069 prlimit64 for GLIBC_2.13.
38070 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38071 prlimit64.
38072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38073 syscall.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38076 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38077 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38079 add prlimit alias.
38080 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38081
15bac72b
UD
38082 [BZ #11903]
38083 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38084 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38085
c3e2f19b
UD
38086 * nss/Makefile: Add rules to build and run tst-nss-test1.
38087 * shlib-versions: Add entry for libnss_test1.
38088 * nss/nss_test1.c: New file.
38089 * nss/tst-nss-test1.c: New file.
38090
38091 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38092 (__nss_configure_lookup): Set appropriate entry in
38093 __nss_configure_lookup to true.
38094 * nss/nsswitch.h: Define enum with indeces of databases in
38095 databases and __nss_database_custom arrays. Declare
38096 __nss_database_custom.
38097 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38098 to avoid using nscd when custom rules are installed.
38099 * nss/getXXbyYY_r.c: Likewise.
38100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38101
38102 * nss/nss_files/files-parse.c: Whitespace fixes.
38103
f15ce4d8
UD
381042010-08-09 Ulrich Drepper <drepper@redhat.com>
38105
38106 [BZ #11883]
38107 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38108 * posix/fnmatch_loop.c: Likewise.
38109
d22e4cc9
AK
381102010-07-17 Andi Kleen <ak@linux.intel.com>
38111
38112 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38113 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38114 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38115 * Versions.def [GLIBC_2.13]: Add.
38116
805bc17d
UD
381172010-08-06 Ulrich Drepper <drepper@redhat.com>
38118
38119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38120 Also fail if tpwd after pwuid call is NULL.
38121
5a42321d
ST
381222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38123
38124 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38125 when converting to ms.
38126
fd3ebeda
ST
381272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38128
38129 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38130 EOPNOTSUPP errors with ENOTTY.
38131 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38132 EOPNOTSUPP errors with ENOTTY.
38133
73507d3a
UD
381342010-07-31 Ulrich Drepper <drepper@redhat.com>
38135
38136 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38137 Add strcasecmp_l-ssse3.
38138 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38139 strcasecmp.
38140 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38141 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38142 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38143
fe36dd02
UD
381442010-07-30 Ulrich Drepper <drepper@redhat.com>
38145
66f6765a
UD
38146 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38147
42e08a54
UD
38148 * string/Makefile (strop-tests): Add strcasecmp.
38149 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38150 strcasecmp_l-nonascii.
38151 (gen-as-const-headers): Add locale-defines.sym.
38152 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38153 * sysdeps/x86_64/strcasecmp.S: New file.
38154 * sysdeps/x86_64/strcasecmp_l.S: New file.
38155 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38156 * sysdeps/x86_64/locale-defines.sym: New file.
38157 * string/test-strcasecmp.c: New file.
38158
fe36dd02
UD
38159 * string/test-strcasestr.c: Test both ends of the range of characters.
38160 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38161
48cbc0d6
RM
381622010-07-29 Roland McGrath <roland@redhat.com>
38163
76e6d6bc 38164 [BZ #11856]
48cbc0d6
RM
38165 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38166
880113d9
UD
381672010-07-27 Ulrich Drepper <drepper@redhat.com>
38168
38169 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38170 for ld.so.
38171
deb9cabb
AS
381722010-07-27 Andreas Schwab <schwab@redhat.com>
38173
38174 * manual/memory.texi (Malloc Tunable Parameters): Document
38175 M_PERTURB.
38176
1c7570ff
RM
381772010-07-26 Roland McGrath <roland@redhat.com>
38178
38179 [BZ #11840]
38180 * configure.in (-fgnu89-inline check): Set and substitute
38181 gnu89_inline, not libc_cv_gnu89_inline.
38182 * configure: Regenerated.
38183 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38184
24fb0f88
UD
381852010-07-26 Ulrich Drepper <drepper@redhat.com>
38186
38187 * string/test-strnlen.c: New file.
38188 * string/Makefile (strop-tests): Add strnlen.
38189 * string/tester.c (test_strnlen): Add a few more test cases.
38190 * string/tst-strlen.c: Better error reporting.
38191
38192 * sysdeps/x86_64/strnlen.S: New file.
38193
8e96b93a
UD
381942010-07-24 Ulrich Drepper <drepper@redhat.com>
38195
38196 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38197 lower-latency instructions.
38198
dbc676d4
UD
381992010-07-23 Ulrich Drepper <drepper@redhat.com>
38200
38201 * string/test-strcasestr.c: New file.
38202 * string/test-strstr.c: New file.
38203 * string/Makefile (strop-tests): Add strstr and strcasestr.
38204 * string/str-two-way.h: Don't undefine MAX.
38205 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38206
f6a31e0e
AS
382072010-07-21 Andreas Schwab <schwab@redhat.com>
38208
38209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38210 strcasestr-nonascii.
38211 (CFLAGS-strcasestr-nonascii.c): Define.
38212 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38214 Remove unused attribute.
38215
5dbc3b6c
RM
382162010-07-20 Roland McGrath <roland@redhat.com>
38217
38218 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38219 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38220 ld.so.cache was broken. With it, there is no way to disable dsocaps
38221 like LD_HWCAP_MASK can disable hwcaps.
38222
23d101d8
EPM
382232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38224
38225 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38226
cc9f2e47
UD
382272010-07-16 Ulrich Drepper <drepper@redhat.com>
38228
38229 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38230 call in strcasestr.
38231 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38232 __strcasestr_sse42_nonascii.
38233 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38234 strcasestr-nonascii.c.
38235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38236
77c1b069
LM
382372010-06-15 Luis Machado <luisgpm@br.ibm.com>
38238
38239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38242 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38243
440566c3
UD
382442010-07-09 Ulrich Drepper <drepper@redhat.com>
38245
38246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38247 fcntl.
38248
5be9d05d
AS
382492010-07-06 Andreas Schwab <schwab@redhat.com>
38250
c30b7ee2 38251 [BZ #11577]
5be9d05d
AS
38252 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38253 dl_signal_cerror.
38254
8a492a67
UD
382552010-07-06 Ulrich Drepper <drepper@redhat.com>
38256
38257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38258 _PC_PIPE_BUF using F_GETPIPE_SZ.
38259
713df3d5
RM
382602010-07-05 Roland McGrath <roland@redhat.com>
38261
38262 * manual/arith.texi (Rounding Functions): Fix rint description
38263 implicit in round description.
38264
702e8f14
UD
382652010-07-02 Ulrich Drepper <drepper@redhat.com>
38266
38267 * elf/Makefile: Fix linking for a few tests to make recent linker
38268 happy.
38269
52ed8be9
AS
382702010-06-30 Andreas Schwab <schwab@redhat.com>
38271
38272 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38273 $(common-objpfx)libc_nonshared.a.
38274
f47c9a11
LM
382752010-06-21 Luis Machado <luisgpm@br.ibm.com>
38276
38277 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38278 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38279 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38280 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38281 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38282 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38283 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38284 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38299 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38300 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38301 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38302 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38303 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38304 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38305 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38306 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38307 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38308 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38309 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38310 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38325
6fb8cbcb
L
383262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38327
38328 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38329 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38330 * string/memmove.c (memmove): Renamed to ...
38331 (MEMMOVE): ...this. Default to memmove.
38332 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38333 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38334 (END_CHK): Define.
38335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38336 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38337 mempcpy-ssse3-back memmove-ssse3-back.
38338 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38339 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38340 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38341 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38342 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38343 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38344 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38345 * sysdeps/x86_64/multiarch/memmove.c: New file.
38346 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38347 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38348 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38349 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38350 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38352 Define.
38353 (index_Fast_Copy_Backward): Define.
38354 (HAS_ARCH_FEATURE): Define.
38355 (HAS_FAST_REP_STRING): Define.
38356 (HAS_FAST_COPY_BACKWARD): Define.
38357
4e733bac 383582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38359
38360 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38361 Restore proper fallback handling.
38362
63c4ed22
UD
383632010-06-19 Ulrich Drepper <drepper@redhat.com>
38364
ac2b484c
UD
38365 [BZ #11701]
38366 * posix/group_member.c (__group_member): Correct checking loop.
38367
63c4ed22
UD
38368 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38369 OOM in getpwuid_r correctly. Return error number when the caller
38370 should return, otherwise -1.
38371 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38372 call returning > 0 value.
38373 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38374
765ade4b
AS
383752010-06-07 Andreas Schwab <schwab@redhat.com>
38376
38377 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38378 libc_nonshared.a from targets in modules-names.
38379
80da2e09
KS
383802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38381
38382 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38383 requires it.
38384
158db122
LM
383852010-06-10 Luis Machado <luisgpm@br.ibm.com>
38386
38387 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38388 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38389 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38391
caa78cf8
AS
383922010-06-02 Andreas Schwab <schwab@redhat.com>
38393
38394 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38395
b2ef2c01
UD
383962010-06-14 Ulrich Drepper <drepper@redhat.com>
38397
38398 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38399 and F_GETPIPE_SZ.
38400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38405 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38406
fbd643b6
RM
384072010-06-14 Roland McGrath <roland@redhat.com>
38408
38409 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38410
f32f2869
JJ
384112010-06-07 Jakub Jelinek <jakub@redhat.com>
38412
38413 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38414 __REDIRECT followed by __THROW.
38415 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38416 * posix/getopt.h (getopt): Likewise.
38417
2a50c078
EPM
384182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38419
38420 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38421 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38422 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38423 in AT_FLAGS.
38424 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38425 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38426
eb5ad2eb
LM
384272010-05-28 Luis Machado <luisgpm@br.ibm.com>
38428
38429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38430
3c88fe1e
L
384312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38432
38433 [BZ #11640]
38434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38435 Properly check family and model.
38436
d2f73151
TY
384372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38438
38439 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38440
ebd2e13d
LM
384412010-05-24 Luis Machado <luisgpm@br.ibm.com>
38442
38443 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38444
b32b8b45
UD
384452010-05-21 Ulrich Drepper <drepper@redhat.com>
38446
38447 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38448 symbol reference.
38449
9acbe24d
AS
384502010-05-19 Andreas Schwab <schwab@redhat.com>
38451
38452 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38453 symbol reference.
38454
f0ccf6ea
AS
384552010-05-21 Andreas Schwab <schwab@redhat.com>
38456
3d04ff3a
AS
38457 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38458 and internal_recvmmsg.
38459 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38460 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38461 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38462 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38463
f0ccf6ea
AS
38464 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38465 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38466 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38467
5b08ac57
AS
384682010-05-20 Andreas Schwab <schwab@redhat.com>
38469
38470 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38471
4828935d
LM
384722010-05-17 Luis Machado <luisgpm@br.ibm.com>
38473
38474 POWER7 optimizations.
38475 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38476 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38477
373d545e
UD
384782010-05-19 Ulrich Drepper <drepper@redhat.com>
38479
38480 * version.h: Update for 2.13 development version.
38481
21a2b1ae
AS
384822010-05-12 Andrew Stubbs <ams@codesourcery.com>
38483
38484 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38485 exceptions. Return 0.
38486
3f7dcb2b
RM
384872010-05-07 Roland McGrath <roland@redhat.com>
38488
38489 * elf/ldconfig.c (main): Add a const.
38490
5f24d53a 384912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38492
a160f8d8
UD
38493 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38494 (args_options): Add no-idn option.
38495 (ahosts_keys_int): Add idn_flags to ai_flags.
38496 (parse_option): Handle 'i' option to clear idn_flags.
38497
5f24d53a
UD
38498 * malloc/malloc.c (_int_free): Possible race in the most recently
38499 added check. Only act on the data if no current modification
38500 happened.
265bb1ce
UD
38501
38502See ChangeLog.17 for earlier changes.