]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use separate libc.abilist for MIPS o32 soft float.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b821f414
JM
12014-01-07 Joseph Myers <joseph@codesourcery.com>
2
1f0f2067
JM
3 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4
a5a326f6
JM
5 * math/auto-libm-test-in: Mark various tests with
6 xfail-rounding:ldbl-128ibm.
7 * math/auto-libm-test-out: Regenerated.
8
b821f414
JM
9 [BZ #16407]
10 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11 Increase overflow threshold.
12
94c8a4bc
OB
132014-01-07 Ondřej Bílka <neleai@seznam.cz>
14
15 [BZ #14286]
16 * stdio-common/vfprintf.c: Check for integer overflow.
17
87ded0c3
AK
182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19
20 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21 the first argument and return value of __tls_get_addr_internal.
22
c5eebdd0
AK
232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24
25 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27
05d138ef
AK
282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29
30 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
31 * sysdeps/s390/rtld-global-offsets.sym: New file.
32 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33 GLIBC_2.19 symbol.
34 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37 ... this.
38 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40 ... this.
41 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42 Regenerate.
43 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44 Regenerate.
45 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
46 halfs of GPRs for high_gprs contexts.
47 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
48 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
49 field.
50 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51 uc_flags field.
52 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
53 64 bit versions:
54 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
55 for high GPRs (uc_high_gprs) and for future extensions
56 (__reserved).
57 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58 for future extensions (__reserved).
59 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
60 64 bit versions:
61 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
62 SC_HIGHGPRS offset definition.
63 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
64 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
65
93a45ff1
AK
662014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67
68 * Versions.def: Add GLIBC_2.19 for libpthread.
69 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
70 siglongjmp for libpthread with GLIBC_2.19 symver.
71 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
72 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
73 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
74 * sysdeps/s390/__longjmp.c: New file.
75 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
76 * sysdeps/s390/longjmp.c: New file.
77 * sysdeps/s390/setjmp.S: New file.
78 * sysdeps/s390/sigjmp.S: New file.
79 * sysdeps/s390/v1-longjmp.c: New file.
80 * sysdeps/s390/v1-setjmp.h: New file.
81 * sysdeps/s390/v1-sigjmp.c: New file.
82 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
83 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
84 GLIBC_2.19 version.
85 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
86 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
87 versioned symbols for ____longjmp_chk.
88 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
89 Likewise.
90 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
91 Regenerate.
92 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
93 Regenerate.
94 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
95 Regenerate.
96 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
97 Regenerate.
98 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
99 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
100 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
101 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
102 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
103 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
104 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
105 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
106 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
107 * sysdeps/s390/rtld-__longjmp.c: New file.
108 * sysdeps/s390/rtld-setjmp.S: New file.
109
eb3fc44b
JM
1102014-01-06 Joseph Myers <joseph@codesourcery.com>
111
112 [BZ #16400]
113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
114 Return -__logl (x) for small positive arguments without evaluating
115 a polynomial.
116
9341dde4
MF
1172014-01-06 Mike Frysinger <vapier@gentoo.org>
118
119 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
120 Rename to ...
121 (__ptrace_peeksiginfo_args): ... this.
122 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
124 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
125
4cff0293
AM
1262014-01-06 Allan McRae <allan@archlinux.org>
127
128 * inet/netinet/in.h: Fix typo in comment.
129
75595dcf
AJ
1302014-01-05 Andreas Jaeger <aj@suse.de>
131
132 * sysdeps/i386/fpu/libm-test-ulps: Update.
133
79c1e109
AM
1342014-01-05 Allan McRae <allan@archlinux.org>
135
dd804818
AM
136 * po/libc.pot: Regenerated.
137
79c1e109
AM
138 * malloc/memusagestat.c: Fix gettext call formatting.
139
0c813d1f
SK
1402014-01-04 Sami Kerola <kerolasa@iki.fi>
141
142 * nscd/nscd.c: Improve usage() output.
143
20f4a8d9
MF
1442014-01-04 Mike Frysinger <vapier@gentoo.org>
145
146 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
147 * sysdeps/unix/sysv/linux/configure: Regenerated.
148 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
149 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
150
22562bb2
JM
1512014-01-03 Joseph Myers <joseph@codesourcery.com>
152
153 [BZ #16390]
154 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
155 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
156
d7ad2d9b
AZ
1572014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158
159 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
160 extra tokens at end of #undef directive.
161 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
162 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
163 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
164
7f507ee1
AH
1652014-01-03 Andrew Hunter <ahh@google.com>
166
0da43124 167 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
168 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
169 atomic_compare_and_exchange_bool_acq
170 (_dl_allocate_static_tls): Block signals.
171 * elf/dl-tls.c (allocate_and_init): Return void.
172 (_dl_update_slotinfo): Block signals, use atomic update.
173
7dd009d8
JM
1742014-01-03 Joseph Myers <joseph@codesourcery.com>
175
24db925a
JM
176 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
177
7dd009d8
JM
178 * math/auto-libm-test-in: Mark various tests with
179 xfail-rounding:ldbl-128ibm.
180 * math/auto-libm-test-out: Regenerated.
181
396e3ecf
JM
1822014-01-02 Joseph Myers <joseph@codesourcery.com>
183
819e5d50
JM
184 [BZ #16386]
185 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
186 numbers with subnormal high part when calculating exponent.
187
90b6a1e5
JM
188 [BZ #16385]
189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
190 fabs.
191
396e3ecf
JM
192 [BZ #16384]
193 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
194 M_LN2l.
195 (__ieee754_acoshl): Use __log1pl not __log1p.
196
6c8dbf00
OB
1972013-01-02 Ondřej Bílka <neleai@seznam.cz>
198
199 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
200 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
201 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
202 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
203 Convert to GNU style.
204 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
205 mem2mem_check, mem2chunk_check, top_check, realloc_check,
206 memalign_check, __malloc_set_state): Likewise.
207 * malloc/mallocbug.c (main): Likewise.
208 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
209 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
210 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
211 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
212 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
213 * malloc/malloc.h: Likewise.
214 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
215 memalignhook, reallochook, mabort): Likewise.
216 * malloc/mcheck.h: Likewise.
217 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
218 mmap64, mremap, munmap, dest): Likewise.
219 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
220 * malloc/morecore.c (__default_morecore): Likewise.
221 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
222 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
223 _obstack_allocated_p, obstack_free, _obstack_memory_used,
224 print_and_abort): Likewise.
225 * malloc/obstack.h: Likewise.
226 * malloc/set-freeres.c (__libc_freeres): Likewise.
227 * malloc/tst-mallocstate.c (main): Likewise.
228 * malloc/tst-mtrace.c (main): Likewise.
229 * malloc/tst-realloc.c (do_test): Likewise.
230
d4124212
SP
2312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
232
9a3c6a6f
SP
233 [BZ #16366]
234 * nscd/netgroupcache.c (do_notfound): New function.
235 (addgetnetgrentX): Use it.
236
d4124212
SP
237 [BZ # 16365]
238 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
239 NSS_STATUS_NOTFOUND.
240
97b9a009
JM
2412014-01-01 Joseph Myers <joseph@codesourcery.com>
242
243 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
245
d4697bc9
AM
2462014-01-01 Allan McRae <allan@archlinux.org>
247
ddb3687f
AM
248 * scripts/update-copyrights: Update configure input file suffix.
249
88726d48
AM
250 * NEWS: Update copyright year.
251 * catgets/gencat.c: Likewise.
252 * csu/version.c: Likewise.
253 * debug/catchsegv.sh: Likewise.
254 * debug/pcprofiledump.c: Likewise.
255 * debug/xtrace.sh: Likewise.
256 * elf/ldconfig.c: Likewise.
257 * elf/ldd.bash.in: Likewise.
258 * elf/pldd.c: Likewise.
259 * elf/sotruss.ksh: Likewise.
260 * elf/sprof.c: Likewise.
261 * iconv/iconv_prog.c: Likewise.
262 * iconv/iconvconfig.c: Likewise.
263 * locale/programs/locale.c: Likewise.
264 * locale/programs/localedef.c: Likewise.
265 * login/programs/pt_chown.c: Likewise.
266 * malloc/memusage.sh: Likewise.
267 * malloc/memusagestat.c: Likewise.
268 * malloc/mtrace.pl: Likewise.
269 * manual/libc.texinfo: Likewise.
270 * nscd/nscd.c: Likewise.
271 * nss/getent.c: Likewise.
272 * nss/makedb.c: Likewise.
273 * posix/getconf.c: Likewise.
274 * scripts/test-installation.pl: Likewise.
275
d4697bc9
AM
276 * All files with FSF copyright notices: Update copyright dates
277 using scripts/update-copyrights.
278 * intl/plural.c: Regenerated.
279 * locale/programs/charmap-kw.h: Likewise.
280 * locale/programs/locfile-kw.h: Likewise.
281
c8590f9d
MF
2822013-12-31 Mike Frysinger <vapier@gentoo.org>
283
284 * sysdeps/unix/sysv/linux/configure: Regenerated.
285 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
286 the linux/fanotify.h header.
287 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
288 HAVE_LINUX_FANOTIFY_H is defined.
289
b19221b9
SP
2902013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
291
dd1d85e5
SP
292 * benchtests/cos-inputs: New inputs.
293 * benchtests/sin-inputs: Likewise.
294
1acbb90f
SP
295 * benchtests/atan-inputs: New inputs. Fix name of multiple
296 precision fallback inputs.
297
4c012ed3
SP
298 * benchtests/atanh-inputs: New inputs.
299 * benchtests/tanh-inputs: Likewise.
300
eff98324
SP
301 * benchtests/acosh-inputs: New inputs.
302 * benchtests/asinh-inputs: Likewise.
303
ce641152
SP
304 * benchtests/cosh-inputs: New inputs.
305 * benchtests/sinh-inputs: Likewise.
306
b19221b9
SP
307 * benchtests/acos-inputs: Add more inputs.
308 * benchtests/asin-inputs: Likewise.
309
030a4976 3102013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 311
030a4976 312 [BZ #16375]
9dcc8f11
VS
313 * manual/arith.texi: Fix spelling.
314 * manual/charset.texi: Likewise.
315 * manual/errno.texi: Likewise.
316 * manual/filesys.texi: Likewise.
317 * manual/lang.texi: Likewise.
318 * manual/llio.texi: Likewise.
319 * manual/locale.texi: Likewise.
320 * manual/message.texi: Likewise.
321 * manual/resource.texi: Likewise.
322 * manual/search.texi: Likewise.
323 * manual/setjmp.texi: Likewise.
324 * manual/stdio.texi: Likewise.
325 * manual/string.texi: Likewise.
326 * manual/sysinfo.texi: Likewise.
327 * manual/time.texi: Likewise.
328
11520a57
CD
3292013-12-27 Carlos O'Donell <carlos@redhat.com>
330
331 * po/sl.po: New file.
332
471103ae
MF
3332013-12-27 Mike Frysinger <vapier@gentoo.org>
334
335 * .gitignore: Add core/.gdbinit/.gdb_history.
336
6c9642ed
AM
3372013-12-27 Allan McRae <allan@archlinux.org>
338
339 [BZ #16369]
340 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
341 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
342
3f637079
BM
3432013-12-24 Brooks Moses <bmoses@google.com>
344
345 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
346 all compilers that claim C++98 compliance, not just GCC.
347 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
348 Likewise.
349
abc26e99
MK
3502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
351
352 * NEWS: Restore accidentally deleted bug-fix entries.
353
362b47fe
MK
3542013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
355 Ondřej Bílka <neleai@seznam.cz>
356
357 [BZ #15073]
358 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 359 have_lock.
362b47fe 360
b9bcbbcb
OB
3612013-12-23 Ondřej Bílka <neleai@seznam.cz>
362
363 [BZ #12986]
364 * manual/stdio.texi (String Input Conversions): Clarify that character
365 classes are not supported.
366
fb55fcd2
AZ
3672013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368
369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
370
ef7344f0
JM
3712013-12-22 Joseph Myers <joseph@codesourcery.com>
372
4f40e4b3
JM
373 [BZ #16337]
374 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
375 Calculate results for small negative arguments directly rather
376 than using reflection formula with special underflow handling.
377
ef7344f0
JM
378 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
379 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
380 sysdeps/unix/bsd/bsd4.4/syscalls.list.
381 (fchflags): Likewise.
382 (revoke): Likewise.
383 (setlogin): Likewise.
384 (sigaltstack): Likewise.
385 (wait4): Likewise.
386 (sigblock): Remove.
387 (sigsetmask): Likewise.
388 (wait3): Likewise.
389 (waitpid): Likewise.
390 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
391 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
392 file.
393 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
394 * sysdeps/unix/bsd/Makefile: ... here.
395 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
396 * sysdeps/unix/bsd/Versions: ... here.
397 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
398 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
399 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
400 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
401 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
402 * sysdeps/unix/bsd/sigblock.c: ... here.
403 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
404 * sysdeps/unix/bsd/sigsetmask.c: ... here.
405 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
406 * sysdeps/unix/bsd/sigvec.c: ... here.
407 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
408 * sysdeps/unix/bsd/tcdrain.c: ... here.
409 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
410 * sysdeps/unix/bsd/tcgetattr.c: ... here.
411 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
412 * sysdeps/unix/bsd/tcsetattr.c: ... here.
413 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
414 * sysdeps/unix/bsd/wait.c: ... here.
415 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
416 * sysdeps/unix/bsd/wait3.c: ... here.
417 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
418 * sysdeps/unix/bsd/waitpid.c: ... here.
419
5b0626b9
JM
4202013-12-21 Joseph Myers <joseph@codesourcery.com>
421
422 [BZ #16356]
423 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
424 round-to-nearest for [!USE_AS_EXPM1L].
425 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
426 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
427 more tests of exp and exp10. Expect some exp10 tests to miss
428 exceptions or fail in directed rounding modes.
429 * math/auto-libm-test-out: Regenerated.
430 * math/libm-test.inc (exp10_tonearest_test_data): New array.
431 (exp10_test_tonearest): New function.
432 (exp10_towardzero_test_data): New array.
433 (exp10_test_towardzero): New function.
434 (exp10_downward_test_data): New array.
435 (exp10_test_downward): New function.
436 (exp10_upward_test_data): New array.
437 (exp10_test_upward): New function.
438 (main): Call the new functions.
439 * sysdeps/i386/fpu/libm-test-ulps: Update.
440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
441
7fda5682
JM
4422013-12-20 Joseph Myers <joseph@codesourcery.com>
443
31e3a405
JM
444 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
445 asinh, atan, atan2, atanh, cbrt, cos and cosh.
446 * math/auto-libm-test-out: Regenerated.
447 * math/libm-test.inc (acosh_test_data): Add more tests.
448 (atanh_test_data): Likewise.
449 (ceil_test_data): Likewise.
450 (copysign_test_data): Likewise.
451 * sysdeps/i386/fpu/libm-test-ulps: Update.
452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
453
85bff96a
JM
454 * timezone/checktab.awk: Update from tzcode 2013i.
455 * timezone/private.h: Likewise.
456 * timezone/scheck.c: Likewise.
457 * timezone/tzfile.h: Likewise.
458 * timezone/tzselect.ksh: Likewise.
459 * timezone/zdump.c: Likewise.
460 * timezone/zic.c: Likewise.
461
b7867a3b
JM
462 * math/auto-libm-test-in: Add tests of cpow.
463 * math/auto-libm-test-out: Regenerated.
464 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
465 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
466 mpc_cc_c.
467 (func_calc_desc): Add mpc_cc_c union field.
468 (test_functions): Add cpow.
469 (special_fill_2pi): New function.
470 (special_real_inputs): Add 2pi.
471 (calc_generic_results): Handle mpc_cc_c.
472 * sysdeps/i386/fpu/libm-test-ulps: Update.
473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
474
7fda5682
JM
475 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
476 csqrt, ctan and ctanh.
477 * math/auto-libm-test-out: Regenerated.
478 * math/libm-test.inc (TEST_COND_x86_64): New macro.
479 (TEST_COND_x86): Likewise.
480 (ccos_test_data): Use AUTO_TESTS_c_c.
481 (ccosh_test_data): Likewise.
482 (cexp_test_data): Likewise.
483 (clog_test_data): Likewise.
484 (csqrt_test_data): Likewise.
485 (ctan_test_data): Likewise.
486 (ctan_tonearest_test_data): Likewise.
487 (ctan_towardzero_test_data): Likewise.
488 (ctan_downward_test_data): Likewise.
489 (ctan_upward_test_data): Likewise.
490 (ctanh_test_data): Likewise.
491 (ctanh_tonearest_test_data): Likewise.
492 (ctanh_towardzero_test_data): Likewise.
493 (ctanh_downward_test_data): Likewise.
494 (ctanh_upward_test_data): Likewise.
495 * math/gen-auto-libm-tests.c (func_calc_method): Add value
496 mpc_c_c.
497 (func_calc_desc): Add mpc_c_c union field.
498 (FUNC_mpc_c_c): New macro.
499 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
500 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
501 ctanh.
502 (special_fill_min_subnorm_p120): New function.
503 (special_real_inputs): Add min_subnorm_p120.
504 (calc_generic_results): Handle mpc_c_c.
505 * sysdeps/i386/fpu/libm-test-ulps: Update.
506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
507
5ff8d60e
SP
5082013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
509
392dd2de
SP
510 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
511 do_sin_slow): New functions.
512 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
513 cslow2, csloww1, csloww2): Use the new functions.
514
84ba214c
SP
515 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
516 Use M to change sign of result instead of X. Assume X is
517 positive.
518 (csloww1): Likewise.
519 (__sin): Adjust.
520 (__cos): Adjust.
521
975195e4
SP
522 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
523 arguments A and DA.
524 (__sin): Adjust.
525 (__cos): Likewise.
526
5ff8d60e
SP
527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
528 (__cos): Likewise.
529 (sloww1): Don't adjust sign of DX.
530 (csloww1): Likewise.
531 (sloww2): Use X directly and don't adjust sign of DX.
532 (csloww2): Likewise.
533
eb983568
JM
5342013-12-19 Joseph Myers <joseph@codesourcery.com>
535
64a17f1a
JM
536 * math/auto-libm-test-in: Add tests of cabs and carg.
537 * math/auto-libm-test-out: Regenerated.
538 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
539 (carg_test_data): Likewise.
540 * math/gen-auto-libm-tests.c (func_calc_method): Add value
541 mpc_c_f.
542 (func_calc_desc): Add mpc_c_f union field.
543 (test_functions): Add cabs and carg.
544 (calc_generic_results): Handle mpc_c_f.
545
eb983568
JM
546 * sysdeps/powerpc/powerpc32/libgcc-compat.S
547 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
548 as a macro and a compat symbol.
549 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
550 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
551 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
552 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
553 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
554 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
555 not use .hidden.
556 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
557 Likewise.
558 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
559 Likewise.
560 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
561 Likewise.
562 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
563 Likewise.
564 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
565 Likewise.
566 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
567 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
568 from GLIBC_2.3.2.
569
6eeb678a
AZ
5702013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
571
572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
573
063b2acb
PP
5742013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
575
576 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
577 (__signal_safe_memalign, __signal_safe_free): Use it.
578 (__signal_safe_realloc): Likewise.
579
6f6fc482
JM
5802013-12-19 Joseph Myers <joseph@codesourcery.com>
581
21fea2e2
JM
582 * manual/texinfo.tex: Update to version 2013-11-26.10 with
583 trailing whitespace removed.
584 * scripts/config.guess: Update to version 2013-11-29.
585 * scripts/config.sub: Update to version 2013-10-01.
586
6f6fc482
JM
587 * math/auto-libm-test-in: Add tests of sincos.
588 * math/auto-libm-test-out: Regenerated.
589 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
590 * math/gen-auto-libm-tests.c (func_calc_method): Add value
591 mpfr_f_11.
592 (func_calc_desc): Add mpfr_f_11 union field.
593 (test_functions): Add sincos.
594 (calc_generic_results): Handle mpfr_f_11.
595 * sysdeps/i386/fpu/libm-test-ulps: Update.
596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
597
83f5c32d
AS
5982013-12-19 Andreas Schwab <schwab@suse.de>
599
600 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
601 CALL_MCOUNT.
602 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
603 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
604 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
605
c688b419
JM
6062013-12-19 Joseph Myers <joseph@codesourcery.com>
607
335ee092
JM
608 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
609 * sysdeps/i386/fpu/libm-test-ulps: Update.
610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
611
f88acd39
JM
612 [BZ #16293]
613 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
614 round-to-nearest mode when using frndint.
615 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
616 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
617 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
618 Likewise.
619 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
620 sinh test to fail.
621 * math/auto-libm-test-out: Regenerated.
622 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
623 (TEST_COND_x86): Likewise.
624 (expm1_tonearest_test_data): New array.
625 (expm1_test_tonearest): New function.
626 (expm1_towardzero_test_data): New array.
627 (expm1_test_towardzero): New function.
628 (expm1_downward_test_data): New array.
629 (expm1_test_downward): New function.
630 (expm1_upward_test_data): New array.
631 (expm1_test_upward): New function.
632 (main): Run the new test functions.
633 * sysdeps/i386/fpu/libm-test-ulps: Update.
634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
635
c688b419
JM
636 * include/features.h: Update comment documenting feature test
637 macros. Mention _DEFAULT_SOURCE in comment.
638 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
639 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
640 _BSD_SOURCE and _SVID_SOURCE.
641 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
642 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
643 !_SVID_SOURCE]: Likewise.
644 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
645 (__USE_POSIX_IMPLICITLY): Define.
646 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
647 (_POSIX_SOURCE): Undefine and redefine.
648 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
649 (_POSIX_C_SOURCE): Likewise.
650 * manual/creature.texi (_DEFAULT_SOURCE): Document.
651 (Feature Test Macros): Update documentation of default features.
652
9f6e964c
RS
6532013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
654
655 * benchtests/Makefile: Add bench-strtok.
656 * benchtests/bench-strtok.c: New file: strtok benchtest.
657
ee0a148a
AM
6582013-12-19 Allan McRae <allan@archlinux.org>
659
660 * manual/install.texi: Suppress menu for plain text output.
661 * INSTALL: Regenerated.
662
1f33d36a
PP
6632013-12-18 Andrew Hunter <ahh@google.com>
664
665 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
666 (__signal_safe_malloc, __signal_safe_free): Likewise.
667 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
668 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
669 (__signal_safe_memalign, __signal_safe_malloc): New function.
670 (__signal_safe_free, __signal_safe_realloc): Likewise.
671 (__signal_safe_calloc): Likewise.
672 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
673 functions.
674 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
675
35e8f7ab
PP
6762013-12-18 Andrew Hunter <ahh@google.com>
677
678 * elf/Versions (ld): Add _dl_clear_dtv.
679 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
680 * elf/dl-tls.c (_dl_clear_dtv): New function.
681 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
682
69a17d9d
PP
6832013-12-18 Andrew Hunter <ahh@google.com>
684
685 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
686 (_dl_unmask_signals): Likewise.
687 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
688 (_dl_unmask_all_signals): Likewise.
689 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
690 (_dl_unmask_all_signals): Likewise.
691 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
692 (_dl_unmask_signals): Likewise.
693
b9ab448f
BM
6942013-12-18 Brooks Moses <bmoses@google.com>
695
696 [BZ #15846]
697 * misc/getauxval.c: Include errno.h.
698 (__getauxval): Set errno to ENOENT if the requested type is not
699 found.
700 * misc/sys/auxv.h (getauxval): Document that it may set errno;
701 don't declare with __attribute_const__.
702 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
703 * manual/startup.texi: Document that getauxval sets errno.
704
23776487
JM
7052013-12-18 Joseph Myers <joseph@codesourcery.com>
706
f889953b
JM
707 * math/auto-libm-test-in: Add tests of jn and yn.
708 * math/auto-libm-test-out: Regenerated.
709 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
710 (yn_test_data): Likewise.
711 * math/gen-auto-libm-tests.c (func_calc_method): Add value
712 mpfr_if_f.
713 (func_calc_desc): Add mpfr_if_f union field.
714 (FUNC_mpfr_if_f): New macro.
715 (test_functions): Add jn and yn.
716 (calc_generic_results): Assert type of second input for
717 mpfr_ff_f. Handle mpfr_if_f.
718 (output_for_one_input_case): Disable all checking for arguments
719 fitting floating-point types in case of an integer argument.
720 * sysdeps/i386/fpu/libm-test-ulps: Update.
721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
722
23776487
JM
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
724 Don't expect fegetround reference in libm.so.
725
cb756c6d
MS
7262013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
727
728 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
729 $(config-cflags-nofma).
730
2dec468f
JM
7312013-12-18 Joseph Myers <joseph@codesourcery.com>
732
5953eb3a
JM
733 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
734 * math/auto-libm-test-out: Regenerated.
735
2dec468f
JM
736 [BZ #16338]
737 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
738 to determine exponent and adjust argument to have exponent of -1.
739 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
740 log2.
741 * math/auto-libm-test-out: Regenerated.
742 * sysdeps/i386/fpu/libm-test-ulps: Update.
743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
744
4d84e6ad
OB
7452013-12-18 Ondřej Bílka <neleai@seznam.cz>
746
747 * manual/probes.texi: Remove cases when per-thread arenas are
748 disabled.
749
1818483b
AS
7502013-12-18 Andreas Schwab <schwab@suse.de>
751
752 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
753 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
754 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
755 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
756 * sysdeps/i386/i686/multiarch/Makefile: Update.
757 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
758
25de95bf
JM
7592013-12-17 Joseph Myers <joseph@codesourcery.com>
760
761 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
762 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
763
674762d9
PE
7642013-12-17 Paul Eggert <eggert@cs.ucla.edu>
765
0748546f
PE
766 Support TZ transition times < 00:00:00.
767 This is needed for version-3 tz-format files; it supports time
768 stamps past 2037 for America/Godthab (the only entry in the tz
769 database for which this change is relevant).
770 * manual/time.texi (TZ Variable): Document transition times
771 from -167:59:59 through -00:00:01.
772 * time/tzset.c (tz_rule): Time of day is now signed.
773 (__tzset_parse_tz): Parse negative time of day.
774
4480e934
PE
775 Document TZ transition times >= 25:00:00.
776 * manual/time.texi (TZ Variable): Document transition times from
777 25:00:00 through 167:59:59. These are already supported, and this
778 support will help with version-3 tz-format files.
779
69947401
PE
780 * manual/time.texi (TZ Variable): Modernize North America example
781 to reflect current (i.e., 2007-and-later) daylight saving rules.
782
674762d9
PE
783 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
784
7011c262
JM
7852013-12-17 Joseph Myers <joseph@codesourcery.com>
786
2fc6557e
JM
787 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
788 * sysdeps/unix/bsd/bits/stat.h: Likewise.
789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
791 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
792 * sysdeps/unix/bsd/bsdstat.h: Likewise.
793 * sysdeps/unix/bsd/clock.c: Likewise.
794 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
795 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
796 * sysdeps/unix/bsd/init-posix.c: Likewise.
797 * sysdeps/unix/bsd/poll.c: Likewise.
798 * sysdeps/unix/bsd/ptsname.c: Likewise.
799 * sysdeps/unix/bsd/seekdir.c: Likewise.
800 * sysdeps/unix/bsd/setegid.c: Likewise.
801 * sysdeps/unix/bsd/seteuid.c: Likewise.
802 * sysdeps/unix/bsd/setgid.c: Likewise.
803 * sysdeps/unix/bsd/setrgid.c: Likewise.
804 * sysdeps/unix/bsd/setruid.c: Likewise.
805 * sysdeps/unix/bsd/setsid.c: Likewise.
806 * sysdeps/unix/bsd/setuid.c: Likewise.
807 * sysdeps/unix/bsd/sigaction.c: Likewise.
808 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
809 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
810 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
811 * sysdeps/unix/bsd/telldir.c: Likewise.
812 * sysdeps/unix/bsd/times.c: Likewise.
813 * sysdeps/unix/bsd/usleep.c: Likewise.
814
029c7b25
JM
815 * misc/Makefile (install-lib): Remove libbsd-compat.a.
816 ($(objpfx)libbsd-compat.a): Remove rule.
817
7011c262
JM
818 * include/features.h (__FAVOR_BSD): Do not define.
819 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
820 features conflicting with POSIX.
821 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
822 (_BSD_SOURCE): Remove description of not being a subset of other
823 feature test macros.
824 * manual/job.texi (getpgrp): Do not document BSD version.
825 (getpgid): Do not document by reference to BSD getpgrp.
826 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
827 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
828 * signal/signal.h [__FAVOR_BSD]: Likewise.
829 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
830 instead of making contents conditional on [__FAVOR_BSD].
831 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
832
affb6f78
AZ
8332013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
834
835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
836
c88769dd
JM
8372013-12-17 Joseph Myers <joseph@codesourcery.com>
838
6432a540
JM
839 [BZ #16314]
840 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
841 values below 2**-450, not 2**-500.
842 * math/auto-libm-test-in: Don't allow spurious underflow from
843 hypot.
844 * math/auto-libm-test-out: Regenerated.
845
c88769dd
JM
846 [BZ #16316]
847 [BZ #16330]
848 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
849 values of ha and hb and sort them after adjusting subnormal
850 arguments.
851 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
852 Likewise.
853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
854 values of ea and eb and sort them after adjusting subnormal
855 arguments.
856 * math/auto-libm-test-in: Do not expect some hypot tests of
857 subnormals to fail. Add more hypot tests.
858 * math/auto-libm-test-out: Regenerated.
859
29618f6b
KK
8602013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
861
862 [BZ #13304]
863 * sysdeps/sh/s_fma.c: New file.
864 * sysdeps/sh/s_fmaf.c: New file.
865 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
866 version.
867 * sysdeps/sh/Implies: Add sh/soft-fp.
868
eacfdfbf
RM
8692013-12-16 Roland McGrath <roland@hack.frob.com>
870
871 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
872 level of indirection to members `objname', `errstring', `malloced'.
873 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
874 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
875 it as the __longjmp argument (just pass 1 instead).
876 (_dl_catch_error): Initialize C with argument pointers and address of
877 volatile local ERRCODE rather than copying values out of C at return.
878
ff362e5b
JM
8792013-12-16 Joseph Myers <joseph@codesourcery.com>
880
881 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
882 * math/auto-libm-test-out: Regenerated.
883 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
884 (hypot_test_data): Likewise.
885 (pow_test_data): Likewise.
886 (pow_tonearest_test_data): Likewise.
887 * math/gen-auto-libm-tests.c (func_calc_method): Add value
888 mpfr_ff_f.
889 (func_calc_desc): Add mpfr_ff_f union field.
890 (FUNC_mpfr_ff_f): New macro.
891 (test_functions): Add atan2, hypot and pow.
892 (special_fill_min): New function.
893 (special_fill_minus_min): Likewise.
894 (special_fill_min_subnorm): Likewise.
895 (special_fill_minus_min_subnorm): Likewise.
896 (special_real_inputs): Add min, -min, min_subnorm and
897 -min_subnorm.
898 (calc_generic_results): Handle mpfr_ff_f.
899 * sysdeps/i386/fpu/libm-test-ulps: Update.
900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
901
5764c27f
WN
9022013-12-16 Will Newton <will.newton@linaro.org>
903
904 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
905 (Aligned Memory Blocks): Add documentation for aligned_alloc
906 and suggest it as an alternative to posix_memalign.
907 (Hooks for Malloc): Document __memalign_hook is also called
908 for aligned_alloc. (Summary of Malloc): Add summary for
909 aligned alloc. Document __memalign_hook is also called
910 for aligned_alloc.
911
0a096e44
WN
9122013-12-16 Will Newton <will.newton@linaro.org>
913
914 * manual/memory.texi (Malloc Examples): Clarify default
915 alignment documentation. Suggest posix_memalign rather
916 than memalign or valloc.
917 (Aligned Memory Blocks): Remove suggestion to use memalign
918 or valloc. Remove obsolete comment about BSD.
919 Document memalign errno values and mark the function obsolete.
920 Document posix_memalign returned error codes. Mark valloc
921 as obsolete. (Hooks for Malloc): __memalign_hook is also
922 called for posix_memalign and valloc.
923 (Summary of Malloc): Add posix_memalign to function summary.
924 __memalign_hook is also called for posix_memalign and valloc.
925
8d561986
SP
9262013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
927
928 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
929 TAYLOR_SIN.
930 (__sin): Adjust.
931 (__cos): Likewise.
932 (sloww): Use mynumber union. Expand ternary operator into
933 if-else statements.
934 (cslow): use mynumber union.
935
73616a74
AM
9362013-12-16 Allan McRae <allan@archlinux.org>
937
9e8ac24b
AM
938 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
939 * configure: Regenerated.
940
6f8e37eb
AM
941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
942
8894bad3
AM
943 [BZ #14120]
944 * configure.ac: Added --enable-maintainer-mode. Check for
945 autoconf when enabled.
946 * configure: Regenerated.
947
73616a74
AM
948 * nscd/nscd.service: New file.
949 * nscd/nscd.tmpfiles: New file.
950
584b18eb
OB
9512013-12-14 Ondřej Bílka <neleai@seznam.cz>
952
953 [BZ #12100]
954 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
955 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
956 * sysdeps/x86_64/multiarch/strstr.c: ... here.
957 (strstr): Add __strstr_sse2_unaligned ifunc.
958 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
959 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
960 (strcasestr): Remove __strcasestr_sse42 ifunc.
961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
964
8a5c7897
KK
9652013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
966
967 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
968 * sysdeps/sh/bits/fenv.h: ... here.
969 * sysdeps/sh/sh4/fpu/bits: Remove directory.
970
fd712ef3
AZ
9712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
972
973 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
974
42fcb46c
AZ
9752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
976
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
978 hypotf multiarch implementations.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
980 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
982 multiarch hypot for PPC64.
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
986 multiarch hypotf for PPC64.
987
83efded4
AZ
9882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989
990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
991 modff multiarch implementations.
992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
995 multiarch modf for PPC64.
996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
999 multiarch modff for PPC64.
1000
43e246d2
AZ
10012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002
1003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1004 and logl multiarch implementations.
1005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1008 multiarch logb for PPC64.
1009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1012 multiarch logb for PPC64.
1013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1016 multiarch logb for PPC64.
1017
8fdad123
AZ
10182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1019
1020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1021 isinff multiarch implementation.
1022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1023 file.
1024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1026 multiarch isinf for PPC64.
1027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1028 file.
1029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1030 multiarch isinff for PPC64.
1031
1481d706
AZ
10322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1033
1034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1035 finitef multiarch implementation.
1036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1037 file.
1038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1040 multiarch finite for PPC64.
1041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1042 file.
1043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1044 multiarch finitef for PPC64.
1045
5ccd5fc8
AZ
10462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1047
1048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1049 lrint multiarch implementation.
1050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1051 file.
1052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1054 multiarch llrint for PPC64.
1055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1056 multiarch lrint for PPC64.
1057
2568f3fa
AZ
10582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1059
1060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1061 copysignf multiarch implementation.
1062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1063 file.
1064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1065 file.
1066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1067 multiarch copysign for PPC64.
1068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1069 multiarch copysignf for PPC64.
1070
1cb341fd
AZ
10712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1072
1073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1074 multiarch implementation.
1075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1076 file.
1077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1078 file.
1079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1080 file.
1081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1082 file.
1083 multiarch llround for PPC64.
1084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1085 multiarch trunc for PPC64.
1086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1087 multiarch truncf for PPC64.
1088
59a3e194
AZ
10892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1090
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1092 multiarch implementation.
1093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1094 file.
1095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1096 file.
1097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1098 file.
1099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1100 file.
1101 multiarch llround for PPC64.
1102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1103 multiarch round for PPC64.
1104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1105 multiarch roundf for PPC64.
1106
357fd3b4
AZ
11072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1108
1109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1110 multiarch implementation.
1111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1112 file.
1113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1114 file.
1115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1116 file.
1117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1118 file.
1119 multiarch llround for PPC64.
1120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1121 multiarch floor for PPC64.
1122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1123 multiarch floorf for PPC64.
1124
96770f12
AZ
11252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1128 multiarch implementation.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1130 file.
1131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1132 file.
1133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1134 file.
1135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1136 file.
1137 multiarch llround for PPC64.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1139 multiarch ceil for PPC64.
1140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1141 multiarch ceilf for PPC64.
1142
c3627f6e
AZ
11432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1144
1145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1146 multiarch implementation.
1147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1148 file.
1149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1150 file.
1151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1152 file.
1153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1154 multiarch llround for PPC64.
1155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1156 multiarch lround for PPC64.
1157
b2284ad7
AZ
11582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159
1160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1161 multiarch implementation.
1162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1165 file.
1166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1169 multiarch isnan for PPC64.
1170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1171 multiarch isnanf for PPC64.
1172
69bbc63d
AZ
11732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174
1175 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1176 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1177 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1178 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1179 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1181
c24517c9
AZ
11822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1183
1184 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1185 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1187 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1188
a52374e8
AZ
11892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1190
1191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1192 multiarch implementations.
1193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1194 (__libc_ifunc_impl_list): Likewise.
1195 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1196 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1197 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1198 multiarch stpcpy for PPC64.
1199
7f5ec113
AZ
12002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1201
1202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1203 multiarch implementations.
1204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1205 (__libc_ifunc_impl_list): Likewise.
1206 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1207 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1208 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1209 multiarch strcpy for PPC64.
1210
e28bcd42
AZ
12112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212
1213 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1214 redefine function name.
1215 (_wordcopy_fwd_dest_aligned): Likewise.
1216 (_wordcopy_bwd_aligned): Likewise.
1217 (_wordcopy_bwd_dest_aligned): Likewise.
1218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1219 multiarch implementations.
1220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1221 (__libc_ifunc_impl_list): Likewise.
1222 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1223 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1224 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1225 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1226 multiarch wcscpy for PPC64.
1227
92cacfce
AZ
12282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1229
1230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1231 multiarch implementations.
1232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1233 (__libc_ifunc_impl_list): Likewise.
1234 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1235 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1236 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1237 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1238 multiarch wcscpy for PPC64.
1239
7b714620
AZ
12402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241
1242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1243 multiarch implementations.
1244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1245 (__libc_ifunc_impl_list): Likewise.
1246 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1247 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1248 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1250 multiarch wcsrchr for PPC64.
1251
16fd2ae3
AZ
12522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253
1254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1255 multiarch implementations.
1256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1257 (__libc_ifunc_impl_list): Likewise.
1258 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1259 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1260 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1261 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1262 multiarch wcschr for PPC64.
1263
9ee2969b
AZ
12642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1265
1266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1267 multiarch implementations.
1268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1269 (__libc_ifunc_impl_list): Likewise.
1270 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1271 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1272 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1273 multiarch strchrnul for PPC64.
1274
372dc060
AZ
12752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1276
1277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1278 implementations.
1279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1280 (__libc_ifunc_impl_list): Likewise.
1281 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1282 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1283 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1284 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1285 strchr for PPC64.
1286
24c2c3b9
AZ
12872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288
1289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1290 implementations.
1291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1292 (__libc_ifunc_impl_list): Likewise.
1293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1295 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1296 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1297 strncmp for PPC64.
1298
1c92d9a0
AZ
12992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1300
1301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1302 multiarch implementations.
1303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1304 (__libc_ifunc_impl_list): Likewise.
1305 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1306 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1307 strncasecmp for PPC64.
1308 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1309 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1310 multiarch strncasecmp_l for PPC64.
1311
17de3ee3
AZ
13122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1313
1314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1315 multiarch implementations.
1316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1317 (__libc_ifunc_impl_list): Likewise.
1318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1319 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1320 multiarch strcasecmp for PPC64.
1321 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1322 file.
1323 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1324 multiarch strcasecmp_l for PPC64.
1325
62982bf9
AZ
13262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1327
1328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1329 implementations.
1330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1331 (__libc_ifunc_impl_list): Likewise.
1332 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1333 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1334 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1335 strnlen for PPC64.
1336
a65f4904
AZ
13372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338
1339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1340 implementations.
1341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1342 (__libc_ifunc_impl_list): Likewise.
1343 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1344 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1345 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1346 strlen for PPC64.
1347
1fd005ad
AZ
13482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349
1350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1351 implementations.
1352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1353 (__libc_ifunc_impl_list): Likewise.
1354 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1355 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1356 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1357 rawmemrchr for PPC64.
1358
cd05ba91
AZ
13592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1360
1361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1362 implementation.
1363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1364 (__libc_ifunc_impl_list): Likewise.
1365 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1366 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1367 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1368 memrchr for PPC64.
1369
870f8676
AZ
13702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371
1372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1373 implementation.
1374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1375 (__libc_ifunc_impl_list): Likewise.
1376 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1377 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1378 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1379 memchr for PPC64.
1380
f00be62b
AZ
13812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382
1383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1384 implementation.
1385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1386 (__libc_ifunc_impl_list): Likewise.
1387 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1388 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1389 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1390 mempcpy for PPC64.
1391
8a29a3d0
AZ
13922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393
1394 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1395 avoid cretion of __bzero symbol.
1396 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1397 Likewise.
1398 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1399 Likewise.
1400 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1401 Likewise.
1402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1403 multiarch implementations.
1404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1405 (__libc_ifunc_impl_list): Likewise.
1406 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1407 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1408 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1409 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1410 bzero for PPC32.
1411 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1412 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1413 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1414 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1415 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1416 memset for PPC64.
1417 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1418
07253fcf
AZ
14192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1420
1421 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1423 implementations.
1424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1425 (__libc_ifunc_impl_list): Likewise.
1426 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1428 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1429 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1430 memcmp for PPC64.
1431
b5beafbc
AZ
14322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433
1434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1435 multiarch for POWER/PPC64.
1436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1437 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1440 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1443 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1444 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1445 memcpy for PPC64.
1446
5e6a4d4b
AZ
14472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1448
1449 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1450 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1451 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1452 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1453 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1454 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1455 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1456 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1457 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1458 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1459 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1460 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1461 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1462 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1463 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1471
ddfab6dc
KK
14722013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1473
1474 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1475
19b5525e
SP
14762013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1477
1478 * benchtests/Makefile (bench): Add exp2 and log2.
1479 (LDLIBS-bench-exp2): Add -lm.
1480 (LDLIBS-bench-log2): Likewise.
1481 * benchtests/exp2-inputs: New inputs file.
1482 * benchtests/log2-inputs: New inputs file.
1483 * benchtests/log-inputs: Add new inputs.
1484 * benchtests/tan-inputs: Likewise.
1485
196f7f5d
SP
14862013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1487
7a74607f
SP
1488 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1489 definition...
1490 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1491 csloww1, csloww2): ... from here.
1492
196f7f5d
SP
1493 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1494 instead of structures.
1495 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1496 (POLYNOMIAL): Likewise.
1497 (TAYLOR_SLOW): Likewise.
1498 (__sin): Likewise.
1499 (__cos): Likewise.
1500 (slow1): Likewise.
1501 (slow2): Likewise.
1502 (sloww): Likewise.
1503 (sloww1); Likewise.
1504 (sloww2): Likewise.
1505 (bsloww1): Likewise.
1506 (bsloww2): Likewise.
1507 (cslow2): Likewise.
1508 (csloww): Likewise.
1509 (csloww1): Likewise.
1510 (csloww2): Likewise.
1511
0dfa665c
OB
15122013-12-10 Ondřej Bílka <neleai@seznam.cz>
1513
1514 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1515 (__malloc_assert, __libc_realloc, __libc_calloc,
1516 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1517 memcpy and memset.
1518 * malloc/hooks.c (realloc_check): Likewise.
1519
5782a80f
OB
15202013-12-10 Ondřej Bílka <neleai@seznam.cz>
1521
1522 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1523 * malloc/arena.c: Remove PER_THREAD conditional.
1524 [!PER_THREAD]: Remove code.
1525 (ptmalloc_unlock_all2): Likewise.
1526 (ptmalloc_init): Likewise.
1527 (_int_new_arena): Likewise.
1528 (arena_get2): Likewise.
1529 * malloc/hooks.c (__malloc_get_state): Likewise.
1530 (__malloc_set_state): Likewise.
1531 * malloc/malloc.c: Likewise.
1532 (struct malloc_state): Likewise.
1533 (struct malloc_par): Likewise.
1534 (__libc_realloc): Likewise.
1535 (__libc_mallopt): Likewise.
1536
aeb95445
AZ
15372013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1538
1539 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1540
e8349efd
OB
15412013-12-09 Ondřej Bílka <neleai@seznam.cz>
1542
1543 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1544 macro to a function. Check for zero perturb_byte.
1545 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1546
f3eeb3fc
OB
15472013-12-09 Ondřej Bílka <neleai@seznam.cz>
1548
1549 * malloc/malloc.c: (force_reg): Remove.
1550 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1551 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1552 force_reg by atomic_forced_read.
1553 * malloc/arena.c (ptmalloc_init): Likewise.
1554 * malloc/hooks.c (top_check): Likewise.
1555
be2f9009
AZ
15562013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1557
1558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1559
e7b914bd
MT
15602013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1561
1562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1563
9f0be4f8
JM
15642013-12-08 Joseph Myers <joseph@codesourcery.com>
1565
1566 * math/auto-libm-test-in: Add tests of lgamma.
1567 * math/auto-libm-test-out: Regenerated.
1568 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1569 (M_LOG_2_SQRT_PIl): Likewise.
1570 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1572 mpfr_f_f1.
1573 (func_calc_desc): Add mpfr_f_f1 union field.
1574 (ARGS1): New macro.
1575 (ARGS2): Likewise.
1576 (ARGS3): Likewise.
1577 (ARGS4): Likewise.
1578 (RET1): Likewise.
1579 (RET2): Likewise.
1580 (CALC): Likewise.
1581 (FUNC): Likewise.
1582 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1583 (test_functions): Add lgamma.
1584 (calc_generic_results): Handle mpfr_f_f1.
1585 * sysdeps/i386/fpu/libm-test-ulps: Update.
1586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1587
24eeafdb
AZ
15882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589
1590 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1591 __mpn_add_n for PowerPC64/POWER7.
1592 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1593 __mpn_sub_n for PowerPC64/POWER7.
1594
4a2c0fd4
AZ
15952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1596
1597 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1598 __mpn_addmul_1 for PowerPC64.
1599 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1600 __mpn_submul_1 for PowerPC64.
1601 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1602 for PowerPC64.
1603 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1604 for PowerPC64.
1605
4b5b548c
FS
16062013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1607
1608 [BZ #15089]
1609 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1610
0a3ac0aa
AZ
16112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1612
1613 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1614
ccdc8438
AZ
16152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1616
1617 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1618 add multiarch folders.
1619 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1620 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1621 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1622 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1623 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1624 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1625 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1626 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1627 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1628 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1629 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1636
2e973d99
AZ
16372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1638
1639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1640 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1642 New file.
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1644 New file.
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1646 multiarch __ieee754_hypot for PowerPC32.
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1648 New file.
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1650 New file.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1652 multiarch __ieee754_hypotf for PowerPC32.
1653
2d9470b2
AZ
16542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1655
1656 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1657 long_double_symbol only if __logbl is defined.
1658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1659 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1661 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1663 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1664 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1665 path for implementation.
1666 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1667 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1669 logb, and logbl multiarch implementations for PowerPC32.
1670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1671 file.
1672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1673 file.
1674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1675 multiarch logb for PowerPC32.
1676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1677 file.
1678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1679 file.
1680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1681 multiarch logbf for PowerPC32.
1682 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1684 file.
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1686 multiarch logbl implementation for PowerPC32.
1687
5212ffce
AZ
16882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689
1690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1691 and modff multiarch implementations.
1692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1693 New file.
1694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1695 New file.
1696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1697 multiarch modf for PowerPC32.
1698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1699 New file.
1700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1701 New file.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1703 multiarch modff for PowerPC32.
1704
79dccf31
AZ
17052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706
1707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1708 and lrintf multiarch implementations.
1709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1710 New file.
1711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1712 New file.
1713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1714 multiarch lrint for PowerPC32.
1715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1716 file: multiarch lrintf for PowerPC32.
1717
deb66480
AZ
17182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1719
1720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1721 and lroundf multiarch implementations.
1722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1723 New file.
1724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1725 New file.
1726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1727 New file.
1728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1729 multiarch lround for PowerPC32.
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1731 file: multiarch lroundf for PowerPC32.
1732
264b036b
AZ
17332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734
1735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1736 copysign and copysignf multiarch implementations.
1737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1738 New file.
1739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1740 New file.
1741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1742 file: multiarch copysign for PowerPC32.
1743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1744 file: multiarch copysignf for PowerPC32.
1745
d47db6c9
AZ
17462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1747
1748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1749 and truncf multiarch implementations.
1750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1751 New file.
1752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1753 file.
1754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1755 multiarch trunc for PowerPC32.
1756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1757 New file.
1758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1759 New file.
1760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1761 multiarch truncf for PowerPC32.
1762
ddb60b5a
AZ
17632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1764
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1766 and roundf multiarch implementations.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1768 New file.
1769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1770 file.
1771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1772 multiarch round for PowerPC32.
1773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1774 New file.
1775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1776 New file.
1777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1778 multiarch roundf for PowerPC32.
1779
bedcf49b
AZ
17802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1781
1782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1783 and floorf multiarch implementations.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1785 New file.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1787 file.
1788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1789 multiarch floor for PowerPC32.
1790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1791 New file.
1792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1793 New file.
1794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1795 multiarch floorf for PowerPC32.
1796
35ae5b40
AZ
17972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1800 and ceilf multiarch implementations.
1801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1802 New file.
1803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1804 file.
1805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1806 multiarch ceil for PowerPC32.
1807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1808 New file.
1809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1810 file.
1811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1812 multiarch ceilf for PowerPC32.
1813
ae1a4cd9
AZ
18142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1815
1816 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1817 is defined.
1818 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1819 FINITEF is defined.
1820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1821 and finitef multiarch implementations.
1822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1823 New file.
1824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1825 file.
1826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1827 multiarch finite for PowerPC32.
1828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1829 New file.
1830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1831 file: multiarch finitef for PowerPC32.
1832
64fffd65
AZ
18332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1834
1835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1836 and isinff multiarch implementations.
1837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1838 file.
1839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1840 file.
1841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1842 multiarch isinf for PowerPC32.
1843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1844 New file.
1845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1846 multiarch isinff for PowerPC32.
1847
8e4e7ba2
AZ
18482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1849
1850 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1851 alias when __isnan is defined.
1852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1853 and isnanf multiarch implementations.
1854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1855 file.
1856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1857 file.
1858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1859 file.
1860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1861 file.
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1863 multiarch isnan for PowerPC32.
1864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1865 New file.
1866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1867 New file.
1868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1869 multiarch isnanf for PowerPC32.
1870
ddba588e
AZ
18712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872
1873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1874 and sqrtf multiarch implementations.
1875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1876 file.
1877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1878 file.
1879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1880 multiarch sqrt for PowerPC32.
1881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1882 file.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1884 file.
1885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1886 multiarch sqrtf for PowerPC32.
1887
0f96a2f0
AZ
18882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1889
1890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1891 and llroundf multiarch implementations.
1892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1893 New file.
1894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1895 New file.
1896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1897 New file.
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1899 file: multiarch llround for PowerPC32.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1901 file: multiarch llroundf for PowerPC32.
1902
c9b5d79e
AZ
19032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904
1905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1906 multiarch PowerPC32 fpu implementations.
1907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1908 New file.
1909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1910 New file.
1911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1912 multiarch llrint for PowerPC32.
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1914 New file.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1916 New file.
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1918 file.
1919
9cbb3aab
AZ
19202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1921
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1923
ea5a72f8
AZ
19242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1927 file.
1928 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1929 file.
1930 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1931 file.
1932 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1933 multiarch wordcopy for PPC32.
1934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1935 wordcopy objects.
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1937 (__libc_ifunc_impl_list): Likewise.
1938 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1939 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1940 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1941 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1942 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1943 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1944
93be09e7
AZ
19452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1946
1947 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1949 file.
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1951 file.
1952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1953 file.
1954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1955 multiarch wcscpy for PPC32.
1956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1957 multiarch objects.
1958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1959 (__libc_ifunc_impl_list): Likewise.
1960 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1961 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1962 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1963 sysdeps/powerpc/power6/wcscpy.c.
1964
bb04e529
AZ
19652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1966
1967 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1969 file.
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1971 file.
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1973 file.
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1975 multiarch wcsrchr for PPC32.
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1977 multiarch objects.
1978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1979 (__libc_ifunc_impl_list): Likewise.
1980 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1981 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1982 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1983 sysdeps/powerpc/power6/wcsrchr.c.
1984
05b5cd1c
AZ
19852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1988 file.
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1990 file.
1991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1993 multiarch wcschr for PPc32.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1995 multiarch objects.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1997 (__libc_ifunc_impl_list): Likewise.
1998 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1999 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2000 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2001 sysdeps/powerpc/power6/wcschr.c.
2002
ba964147
AZ
20032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2007 file.
2008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2009 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2010 file: multiarch strchr for PPC32.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2012 multiarch objects.
2013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2014 (__libc_ifunc_impl_list): Likewise.
2015
31c81aaa
AZ
20162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2017
2018 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2019 name.
2020 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2021 file.
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2023 file.
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2025 multiarch strchrnul for PPC32.
2026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2027 multiarch objects.
2028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2029 (__libc_ifunc_impl_list): Likewise.
2030
0d0607d9
AZ
20312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2032
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2034 file.
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2036 multiarch strncasecmp for PPC32.
2037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2038 file.
2039 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2040 multiarch strncasecmp_l for PPC32.
2041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2042 strncasecmp multiarch objects.
2043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2044 (__libc_ifunc_impl_list): Likewise.
2045
4dfd5c86
AZ
20462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2047
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2049 file.
2050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2051 multiarch strncasecmp for PPC32.
2052 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2053 New file.
2054 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2055 multiarch strcasecmp_l for PPC32.
2056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2057 multiarch objects.
2058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2059 (__libc_ifunc_impl_list): Likewise.
2060
a19e01a3
AZ
20612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2062
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2064 file.
2065 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2066 file.
2067 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2068 multiarch strncmp for PPC32.
2069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2070 multiarch objects.
2071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2072 (__libc_ifunc_impl_list): Likewise.
2073
ae9cf7a2
AZ
20742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2075
2076 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2077 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2078 file.
2079 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2080 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2082 multiarch objects.
2083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2084 (__libc_ifunc_impl_list): Likewise.
2085
3148bb7d
AZ
20862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087
2088 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2089 file.
2090 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2091 file.
2092 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2094 multiarch objects.
2095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2096 (__libc_ifunc_impl_list): Likewise.
2097
7af8b946
AZ
20982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2099
2100 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2101 file.
2102 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2103 file.
2104 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2105 multiarch rawmemchr for PPC32.
2106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2107 multiarch objects.
2108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2109 (__libc_ifunc_impl_list): Likewise.
2110
03a6aa6a
AZ
21112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2112
2113 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2114 file.
2115 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2116 file.
2117 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2118 file: memrchr multiarch for PPC32.
2119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2120 multiarch objects.
2121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2122 (__libc_ifunc_impl_list): Likewise.
2123
1c62e6d9
AZ
21242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2125
2126 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2127 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2128 file.
2129 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2130 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2131 multiarch memchr for PPC32.
2132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2133 multiarch objects.
2134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2135 (__libc_ifunc_impl_list): Likewise.
2136
87da8bdb
AZ
21372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138
2139 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2141 file.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2143 file.
2144 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2145 file: multiarch mempcpy for PPC32.
2146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2147 multiarch objects.
2148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2149 (__libc_ifunc_impl_list): Likewise.
2150
20ed4714
AZ
21512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2152
2153 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2154 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2155 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2157 multiarch bzero for PPC32.
2158 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2159 file.
2160 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2161 file.
2162 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2163 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2164 file: multiarch memset for PPC32.
2165 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2167 memset multiarch objects.
2168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2169 (__libc_ifunc_impl_list): Likewise.
2170
ab3e3a46
AZ
21712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2172
2173 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2174 file.
2175 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2176 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2177 memcmp for PPC32.
2178 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2180 multiarch objects.
2181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2182 (__libc_ifunc_impl_list): Likewise.
2183
930de6f0
AZ
21842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2185
2186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2189 file.
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2191 file.
2192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2193 file.
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2195 multiarch memcpy for PPC32.
2196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2197 multiarch objects.
2198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2199 (__libc_ifunc_impl_list): Likewise.
2200
4c628e00
AZ
22012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2204 support multiarch for POWER/PPC32.
2205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2206 Likewise.
2207 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2209 Implies file to make multiarch folder appers before the fpu and
2210 default folder for power4 configuration.
2211
f4479220
SP
22122013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2213
2214 * scripts/bench.pl: Append volatile keyword to type.
2215
8517800f
KK
22162013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2217
2218 * sysdeps/sh/sotruss-lib.c: New file.
2219 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2220
180138f1
AZ
22212013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222
2223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2224
bbf37bdc
JM
22252013-12-05 Joseph Myers <joseph@codesourcery.com>
2226
e47cc4e0
JM
2227 [BZ #6810]
2228 * math/w_tgamma.c: Include <errno.h>.
2229 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2230 * math/w_tgammaf.c: Include <errno.h>.
2231 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2232 * math/w_tgammal.c: Include <errno.h>.
2233 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2234 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2235 underflow. Add more tgamma tests.
2236 * math/auto-libm-test-out: Regenerated.
2237 * sysdeps/i386/fpu/libm-test-ulps: Update.
2238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2239
bbf37bdc
JM
2240 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2241 sin, sinh, tan, tanh, tgamma, y0 and y1.
2242 * math/auto-libm-test-out: Regenerated.
2243 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2244 (TEST_COND_x86): Likewise.
2245 (M_E2l): Remove macro.
2246 (M_E3l): Likewise.
2247 (M_2_SQRT_PIl): Likewise.
2248 (M_SQRT_PIl): Likewise.
2249 (M_1_DIV_El): Likewise.
2250 (log_test_data): Use AUTO_TESTS_f_f.
2251 (log10_test_data): Likewise.
2252 (log1p_test_data): Likewise.
2253 (log2_test_data): Likewise.
2254 (sin_test_data): Likewise.
2255 (sin_tonearest_test_data): Likewise.
2256 (sin_towardzero_test_data): Likewise.
2257 (sin_downward_test_data): Likewise.
2258 (sin_upward_test_data): Likewise.
2259 (sinh_test_data): Likewise.
2260 (sinh_tonearest_test_data): Likewise.
2261 (sinh_towardzero_test_data): Likewise.
2262 (sinh_downward_test_data): Likewise.
2263 (sinh_upward_test_data): Likewise.
2264 (tan_test_data): Likewise.
2265 (tan_tonearest_test_data): Likewise.
2266 (tan_towardzero_test_data): Likewise.
2267 (tan_downward_test_data): Likewise.
2268 (tan_upward_test_data): Likewise.
2269 (tanh_test_data): Likewise.
2270 (tgamma_test_data): Likewise.
2271 (y0_test_data): Likewise.
2272 (y1_test_data): Likewise.
2273 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2274 (special_real_inputs): Add pi/4.
2275 * sysdeps/i386/fpu/libm-test-ulps: Update.
2276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2277
eb5ad6b9
AZ
22782013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2279
2280 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2281 "longjmp_target" static probes.
2282 (__longjmp): Rename to __longjmp_symbol.
2283 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2284 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2285 on which longjmp to generate.
2286 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2287 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2288 probe.
2289 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2290 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2291 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2292 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2293 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2294 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2296 __longjmp_symbol based on which __longjmp to generate.
2297 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2298 probe.
2299 (setjmp): Rename to setjmp_symbol.
2300 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2301 (_setjmp): Rename to _setjmp_symbol.
2302 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2303 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2304 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2305 which setjmp to generate.
2306 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2307 "longjmp_target" static probes.
2308
d136c6dc
SP
23092013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2310
9298ecba
SP
2311 * benchtests/README: Add note about output arguments.
2312 * benchtests/bench-sincos.c: Remove file.
2313 * benchtests/sincos-inputs: New file.
2314 * scripts/bench.pl: Identify output arguments and define
2315 static variables for them.
2316
232983e9
SP
2317 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2318
d136c6dc
SP
2319 [BZ #15941]
2320 * Makefile (INSTALL): Add install-plain.texi as the primary
2321 dependency.
2322 * manual/install-plain.texi: New file.
2323 * manual/install.texi: Include node directive only for
2324 non-plaintext output.
2325
699ff837
JM
23262013-12-04 Joseph Myers <joseph@codesourcery.com>
2327
ab07cea8
JM
2328 * stdlib/longlong.h: Update from GCC.
2329
699ff837
JM
2330 [BZ #6807]
2331 [BZ #15901]
2332 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2333 * math/w_j0f.c (y0f): Likewise.
2334 * math/w_j0l.c (__y0l): Likewise.
2335 * math/w_j1.c (y1): Likewise.
2336 * math/w_j1f.c (y1f): Likewise.
2337 * math/w_j1l.c (__y1l): Likewise
2338 * math/w_jn.c (yn): Likewise.
2339 * math/w_jnf.c (ynf): Likewise.
2340 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2341 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2342 value for Bessel function domain errors outside _SVID_ mode.
2343 Adjust sign of return value for yn (negative integer, 0).
2344 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2345 by zero in return for negative x and set sign appropriately for
2346 negative n.
2347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2348 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2349 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2350 expectations in error cases.
2351 (y1_test_data): Likewise.
2352 (yn_test_data): Likewise.
2353 * sysdeps/i386/fpu/libm-test-ulps: Update.
2354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2355
5b118558
UW
23562013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2357
2358 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2359 "64" to "64-v1". Add "64-v2".
2360 (abi-64-options): Rename to ...
2361 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2362 (abi-64-condition): Rename to ...
2363 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2364 (abi-64-ld-soname): Rename to ...
2365 (abi-64-v1-ld-soname): ... this.
2366 (abi-64-v2-options): Define.
2367 (abi-64-v2-condition): Likewise.
2368 (abi-64-v2-ld-soname): Likewise.
2369 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2370 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2374
61cd8fe4
UW
23752013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2376 Alan Modra <amodra@gmail.com>
2377
2378 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2379 New versions for use with the ELFv2 ABI.
2380 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2381 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2382 declaration.
2383 (struct La_ppc64v2_retval): Likewise.
2384 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2385 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2386 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2387 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2388 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2389 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2390 Do not save or restore CR.
2391 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2392 (_dl_profile_resolve): Do no save or restore CR. Support extended
2393 return values for ELFv2 ABI. Fix location of FPR return registers.
2394 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2395 updated values for _CALL_ELF == 2.
2396 (La_regs, La_retval, int_retval): Likewise.
2397
8b8a692c
UW
23982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2399
2400 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2401 (FRAME_MIN_SIZE_PARM): Likewise.
2402 (FRAME_BACKCHAIN): Likewise.
2403 (FRAME_CR_SAVE): Likewise.
2404 (FRAME_LR_SAVE): Likewise.
2405 (FRAME_TOC_SAVE): Likewise.
2406 (FRAME_PARM_SAVE): Likewise.
2407 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2408 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2409 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2410 (call_mcount_parm_offset): New macro.
2411 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2412 (PROF): Use symbolic stack frame offsets.
2413 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2414 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2415 Redefine in terms of FRAME_MIN_SIZE.
2416 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2417 (_dl_profile_resolve): Likewise. Update comment.
2418 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2419 symbols stack frame offsets.
2420 (__sigsetjmp): Likewise.
2421 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2422 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2423 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2424 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2425
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2427 (FRAME_BACKCHAIN): Remove.
2428 (FRAME_CR_SAVE): Likewise.
2429 (FRAME_LR_SAVE): Likewise.
2430 (FRAME_COMPILER_DW): Likewise.
2431 (FRAME_LINKER_DW): Likewise.
2432 (FRAME_TOC_SAVE): Likewise.
2433 (FRAME_PARM_SAVE): Likewise.
2434 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2435 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2436 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2438 (CHECK_SP): Use symbolic stack frame offsets.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2440 zone" instead of caller's parameter save area for temp storage.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2442 Likewise. Also, use symbolic stack frame offsets.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2444 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2445 our own stack frame instead of the caller's.
2446 (__socket): Use symbolic stack frame offsets.
2447
122b66de
UW
24482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2449 Alan Modra <amodra@gmail.com>
2450
2451 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2452 Define.
2453 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2454 PPC64_LOCAL_ENTRY_OFFSET): Define.
2455 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2456 New function.
2457 (elf_machine_fixup_plt): Call it.
2458 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2459 reloc arguments.
2460 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2462 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2463 r2 before calling target.
2464
696caf1d
UW
24652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2466 Alan Modra <amodra@gmail.com>
2467
2468 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2469 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2470 versions of macros to support ELFv2 ABI.
2471 (LOCALENTRY): New macro.
2472 (ENTRY, EALIGN): Use it.
2473 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2474 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2475 fall through into ENTRY entry point.
2476 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2477 Only define if _CALL_ELF != 2.
2478
2479 (elf_machine_matches_host): Verify ABI version matches.
2480 (RTLD_START): Use LOCALENTRY.
2481 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2482 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2483 (PLT_ENTRY_WORDS): New macro.
2484 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2485 (elf_machine_runtime_setup): Support ELFv2 ABI.
2486 (elf_machine_fixup_plt): Likewise.
2487 (elf_machine_plt_conflict): Likewise.
2488 (resolve_ifunc): Likewise.
2489 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2491 Likewise.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2493 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2495 (makecontext): Support ELFv2 ABI.
2496 * elf/elf.h (EF_PPC64_ABI): Define.
2497
d31beafa
UW
24982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2499
2500 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2501 New assembler macro.
2502 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2503 [ASSEMBLER] (ENTRY): ... but instead here ...
2504 [ASSEMBLER] (EALIGN): ... and here.
2505 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2506 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2507 [!ASSEMBLER] (ENTRY_2): Use it.
2508 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2509 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2511 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2512 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2514 Use PPC64_LOAD_FUNCPTR.
2515
b525166b
UW
25162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2517
2518 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2519
7ec07d9a
AM
25202013-12-04 Alan Modra <amodra@gmail.com>
2521
2522 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2523 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2524 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2525 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2526
2527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2528 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2529 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2530 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2531 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2532 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2533
5162e7dd
UW
25342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2535
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2537 (__makecontext): Fix incorrect CFI when backtracing out of
2538 context created via makecontext.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2540 (__setcontext): Fix incorrect CFI during switch to new context.
2541 (__novec_setcontext): Likewise.
2542
19e3372b
OB
25432013-12-04 Ondřej Bílka <neleai@seznam.cz>
2544
2545 [BZ #4772]
2546 * time/strptime_l.c (__strptime_internal): Allow modifiers
2547 in strptime.
2548 * time/tst-strptime.c (day_tests): Add testcase.
2549
2550
ecaf142d
SP
25512013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2552
2553 * scripts/bench.pl: Skip over blank lines.
2554
fbf964ae
PE
25552013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2556
2557 [BZ #926]
2558 * manual/time.texi (Calendar Time): Clarify what timezone functions
2559 use.
2560
fa60a674
AZ
25612013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562
2563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2564
d674f0ef
OB
25652013-12-04 Ondřej Bílka <neleai@seznam.cz>
2566
2567 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2568 implementation.
2569 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2570 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2571 * debug/memset_chk.c (__memset_chk): Likewise.
2572 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2573 * debug/strncpy_chk.c: Likewise.
2574
17dea188
JM
25752013-12-03 Joseph Myers <joseph@codesourcery.com>
2576
749008ff
JM
2577 [BZ #15268]
2578 [BZ #15425]
2579 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2580 (__ieee754_exp): For possibly underflowing results, check size of
2581 result and force underflow exception if required.
2582 * math/auto-libm-test-in: Add more tests of exp.
2583 * math/auto-libm-test-out: Regenerated.
2584 * sysdeps/i386/fpu/libm-test-ulps: Update.
2585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2586
17dea188
JM
2587 [BZ #16283]
2588 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2589 * math/w_exp2f.c (__exp2f): Likewise.
2590 * math/w_exp2l.c (__exp2l): Likewise.
2591 * math/auto-libm-test-in: Do not allow missing errno on exp2
2592 underflow.
2593 * math/auto-libm-test-out: Regenerated.
2594
b20de2c3
OB
25952013-12-03 Ondřej Bílka <neleai@seznam.cz>
2596
2597 [BZ #16274]
2598 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2599 handle filename validation.
2600 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2601 (do_open): Delete.
2602
d8e2dbe3
JM
26032013-12-03 Joseph Myers <joseph@codesourcery.com>
2604
34e16df5
JM
2605 [BZ #6786]
2606 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2607 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2608 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2609 <float.h>.
2610 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2611 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2612 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2613 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2614 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2615 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2616 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2617 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2618 Add more erfc tests.
2619 * math/auto-libm-test-out: Regenerated.
2620 * sysdeps/i386/fpu/libm-test-ulps: Update.
2621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2622
d8e2dbe3
JM
2623 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2624 exp2, expm1, j0 and j1.
2625 * math/auto-libm-test-out: Regenerated.
2626 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2627 (erfc_test_data): Likewise.
2628 (exp_test_data): Likewise.
2629 (exp_tonearest_test_data): Likewise.
2630 (exp_towardzero_test_data): Likewise.
2631 (exp_downward_test_data): Likewise.
2632 (exp_upward_test_data): Likewise.
2633 (exp10_test_data): Likewise.
2634 (exp2_test_data): Likewise.
2635 (expm1_test_data): Likewise.
2636 (j0_test_data): Likewise.
2637 (j1_test_data): Likewise.
2638 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2639 (input_flag_type): Add flag_xfail_rounding.
2640 (input_flags): Add xfail-rounding.
2641 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2642 (output_for_one_input_case): Handle flag_xfail_rounding.
2643 * sysdeps/i386/fpu/libm-test-ulps: Update.
2644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2645
18d14251
AJ
26462013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2647
3d2e6075 2648 [BZ #16289]
18d14251
AJ
2649 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2650 division by 0.
2651
520d437b
SP
26522013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2653
2654 [BZ #16195]
2655 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2656 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2657 (STAP_PROBE0): New macro.
2658 (STAP_PROBE1): Likewise.
2659 (STAP_PROBE2): Likewise.
2660 (STAP_PROBE3): Likewise.
2661 (STAP_PROBE4): Likewise.
2662
416e0145
OB
26632013-12-02 Ondřej Bílka <neleai@seznam.cz>
2664
2665 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2666
9d17796a
SE
26672013-12-02 Steve Ellcey <sellcey@mips.com>
2668
2669 * benchtests/Makefile (bench): Add sqrt.
2670 (LDLIBS-bench-sqrt): New.
2671 * benchtests/sqrt-input: New.
2672
f524d6a8
PS
26732013-12-02 Pavel Simerda <psimerda@redhat.com>
2674
639a0ef8
PS
2675 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2676 (GAIH_EAI): Likewise.
2677 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2678 (gaih_inet): Likewise.
2679 (getaddrinfo): Don't use GAIH_EAI.
2680
f524d6a8
PS
2681 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2682 (struct gaih): Remove definition.
2683
df3aedaf
SP
26842013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2685
2686 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2687 Use HERRNOP directly.
2688
1ab19dec
AZ
26892013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2690
b42ad38d 2691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2692
176b0c79
JM
26932013-11-30 Joseph Myers <joseph@codesourcery.com>
2694
2695 * math/gen-auto-libm-tests.c (test_functions): Add more
2696 single-argument functions.
2697 (special_fill_pi_2): New function.
2698 (special_fill_minus_pi_2): Likewise.
2699 (special_fill_pi_6): Likewise.
2700 (special_fill_minus_pi_6): Likewise.
2701 (special_fill_pi_3): Likewise.
2702 (special_fill_2pi_3): Likewise.
2703 (special_fill_e): Likewise.
2704 (special_fill_1_e): Likewise.
2705 (special_fill_e_minus_1): Likewise.
2706 (special_real_inputs): Add more special inputs.
2707 (output_for_one_input_case): Do not require ERANGE on underflow to
2708 zero if round-to-nearest result does not underflow to zero, unless
2709 exact results required.
2710 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2711 atan, atanh, cbrt, cos and cosh.
2712 * math/auto-libm-test-out: Regenerated.
2713 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2714 (acos_tonearest_test_data): Likewise.
2715 (acos_towardzero_test_data): Likewise.
2716 (acos_downward_test_data): Likewise.
2717 (acos_upward_test_data): Likewise.
2718 (acosh_test_data): Likewise.
2719 (asin_test_data): Likewise.
2720 (asin_tonearest_test_data): Likewise.
2721 (asin_towardzero_test_data): Likewise.
2722 (asin_upward_test_data): Likewise.
2723 (asinh_test_data): Likewise.
2724 (atan_test_data): Likewise.
2725 (atanh_test_data): Likewise.
2726 (cbrt_test_data): Likewise.
2727 (cos_test_data): Likewise.
2728 (cos_tonearest_test_data): Likewise.
2729 (cos_towardzero_test_data): Likewise.
2730 (cos_downward_test_data): Likewise.
2731 (cos_upward_test_data): Likewise.
2732 (cosh_test_data): Likewise.
2733 (cosh_tonearest_test_data): Likewise.
2734 (cosh_towardzero_test_data): Likewise.
2735 (cosh_downward_test_data): Likewise.
2736 (cosh_upward_test_data): Likewise.
2737 * sysdeps/i386/fpu/libm-test-ulps: Update.
2738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2739
ffb536d0
JM
27402013-11-29 Joseph Myers <joseph@codesourcery.com>
2741
2a77a467
JM
2742 [BZ #6787]
2743 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2744 * math/w_exp10f.c (__exp10f): Likewise.
2745 * math/w_exp10l.c (__exp10l): Likewise.
2746 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2747 errno settings in existing tests.
2748
ea3bc4e8
JM
2749 [BZ #14032]
2750 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2751 precision control set to double precision.
2752 * sysdeps/i386/fpu/w_sqrt.c: New file.
2753 * math/auto-libm-test-in: Add more tests.
2754 * math/auto-libm-test-out: Update.
2755
0712c9d8
JM
2756 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2757 (sqrt_test_tonearest): New function.
2758 (sqrt_towardzero_test_data): New variable.
2759 (sqrt_test_towardzero): New function.
2760 (sqrt_downward_test_data): New variable.
2761 (sqrt_test_downward): New function.
2762 (sqrt_upward_test_data): New variable.
2763 (sqrt_test_upward): New function.
2764 (main): Call the new functions.
2765
ffb536d0
JM
2766 * math/gen-auto-libm-tests.c: New file.
2767 * math/auto-libm-test-in: Likewise.
2768 * math/auto-libm-test-out: New generated file.
2769 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2770 variables.
2771 (%beautify): Add generated representations of zero.
2772 (top level): Set $auto_input and call parse_auto_input.
2773 (beautify): Remove trailing "f" from hex float constants.
2774 (parse_args): Handle XFAIL_TEST.
2775 (convert_condition): New function.
2776 (or_value): Likewise.
2777 (or_cond_value): Likewise.
2778 (generate_testfile): Handle AUTO_TESTS_* lines.
2779 (parse_auto_input): New function.
2780 * math/libm-test.inc (XFAIL_TEST): New macro.
2781 (ERRNO_UNCHANGED): Update value.
2782 (ERRNO_EDOM): Likewise.
2783 (ERRNO_ERANGE): Likewise.
2784 (IGNORE_RESULT): Likewise.
2785 (TEST_COND_flt_32): New macro.
2786 (TEST_COND_dbl_64): Likewise.
2787 (TEST_COND_ldbl_96_intel): Likewise.
2788 (TEST_COND_ldbl_96_m68k): Likewise.
2789 (TEST_COND_ldbl_128): Likewise.
2790 (TEST_COND_ldbl_128ibm): Likewise.
2791 (TEST_COND_long32): Likewise.
2792 (TEST_COND_long64): Likewise.
2793 (TEST_COND_before_rounding): Likewise.
2794 (TEST_COND_after_rounding): Likewise.
2795 (enable_test): Handle XFAIL_TEST flag.
2796 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2797 with finite results.
2798 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2799 auto-libm-test-out.
2800
acd98a8e
AK
28012013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2802 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2803
2804 [BZ #16214]
2805 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2806 __tls_get_addr_internal instead of __tls_get_offset in order to
2807 avoid GOT pointer dependency. Make rtld export
2808 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2809 __tls_get_addr since we are a __tls_get_offset platform.
2810 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2811 GOT pointer being set up before.
2812 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2813
3c1c46a6
JM
28142013-11-28 Joseph Myers <joseph@codesourcery.com>
2815
7475aef5
JM
2816 * manual/math.texi (Errors in Math Functions): Document accuracy
2817 goals.
2818
8bca7cd8
JM
2819 [BZ #15004]
2820 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2821 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2822 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2823 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2824 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2826 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2831 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2833 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2834 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2836
91a1f3fe
JM
2837 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2838 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2839 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2840 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2841 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2842 Likewise.
2843 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2844 Likewise.
2845 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2846 Likewise.
2847 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2848 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2849 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2850 atomic-feupdateenv and flt-rounds.
2851 * sysdeps/powerpc/nofpu/Versions (libc): Add
2852 __atomic_feholdexcept, __atomic_feclearexcept,
2853 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2854 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2855 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2856 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2857 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2858 here.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2860 Update.
2861
c5df7609
JM
2862 * manual/arith.texi (FP Exceptions): Document that exceptions may
2863 not be raised when matherr is used.
2864 (Math Error Reporting): Document overflow in directed rounding
2865 modes. Document that errno may not be set when finite values are
2866 returned on overflow. Document intent to set errno on underflow
2867 only for underflow to zero.
2868
3c1c46a6
JM
2869 [BZ #16271]
2870 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2871 round-to-nearest then adjust result for other rounding modes.
2872 * include/fenv.h (fegetround): Use libm_hidden_proto.
2873 * math/fegetround.c (fegetround): Use libm_hidden_def.
2874 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2875 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2876 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2877 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2878 Likewise.
2879 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2880 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2881 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2882 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2883
5a4c6d53
SP
28842013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2885
2886 [BZ #16077]
2887 * nss/Versions (libnss_files): Add
2888 _nss_files_gethostbyname3_r.
2889 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2890 New function.
2891 (HOST_DB_LOOKUP): Remove macro.
2892 (_nss_files_gethostbyname_r): Implement function without the
2893 HOST_DB_LOOKUP macro.
2894 (_nss_files_gethostbyname2_r): Likewise.
2895
897b98ba
OB
28962013-11-28 Ondřej Bílka <neleai@seznam.cz>
2897
2898 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2899
6f476861
UB
29002013-11-26 Uros Bizjak <ubizjak@gmail.com>
2901
2902 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2903 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2904 warning.
2905
bd12ab55
AZ
29062013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907
2908 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2909 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2910 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2911 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2912 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2913 __fe_nomask_env_priv and attribute_hidden.
2914 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2915 (libc_feupdateenv_test_ppc): Likewise.
2916 (libc_feresetround_ppc): Likewise.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2918 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2919 compat_symbol macro.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2921 (__fe_nomask_env): Likewise.
2922 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2923
52bb6543
OB
29242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2925
2926 * string/Makefile: Remove ifunc tests.
2927 * string/test-string.h: Define TEST_IFUNC.
2928 * string/test-bcopy-ifunc.c: Remove.
2929 * string/test-bzero-ifunc.c: Likewise.
2930 * string/test-memccpy-ifunc.c: Likewise.
2931 * string/test-memchr-ifunc.c: Likewise.
2932 * string/test-memcmp-ifunc.c: Likewise.
2933 * string/test-memcpy-ifunc.c: Likewise.
2934 * string/test-memmem-ifunc.c: Likewise.
2935 * string/test-memmove-ifunc.c: Likewise.
2936 * string/test-mempcpy-ifunc.c: Likewise.
2937 * string/test-memrchr-ifunc.c: Likewise.
2938 * string/test-memset-ifunc.c: Likewise.
2939 * string/test-rawmemchr-ifunc.c: Likewise.
2940 * string/test-stpcpy-ifunc.c: Likewise.
2941 * string/test-stpncpy-ifunc.c: Likewise.
2942 * string/test-strcasecmp-ifunc.c: Likewise.
2943 * string/test-strcasestr-ifunc.c: Likewise.
2944 * string/test-strcat-ifunc.c: Likewise.
2945 * string/test-strchr-ifunc.c: Likewise.
2946 * string/test-strchrnul-ifunc.c: Likewise.
2947 * string/test-strcmp-ifunc.c: Likewise.
2948 * string/test-strcpy-ifunc.c: Likewise.
2949 * string/test-strcspn-ifunc.c: Likewise.
2950 * string/test-strlen-ifunc.c: Likewise.
2951 * string/test-strncasecmp-ifunc.c: Likewise.
2952 * string/test-strncat-ifunc.c: Likewise.
2953 * string/test-strncmp-ifunc.c: Likewise.
2954 * string/test-strncpy-ifunc.c: Likewise.
2955 * string/test-strnlen-ifunc.c: Likewise.
2956 * string/test-strpbrk-ifunc.c: Likewise.
2957 * string/test-strrchr-ifunc.c: Likewise.
2958 * string/test-strspn-ifunc.c: Likewise.
2959 * string/test-strstr-ifunc.c: Likewise.
2960
ab260039 29612013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2962
2963 * benchtests/Makefile: Remove ifunc tests.
2964 * benchtests/bench-string.h: Define TEST_IFUNC.
2965 * benchtests/bench-bcopy-ifunc.c: Remove.
2966 * benchtests/bench-bzero-ifunc.c: Likewise.
2967 * benchtests/bench-memccpy-ifunc.c: Likewise.
2968 * benchtests/bench-memchr-ifunc.c: Likewise.
2969 * benchtests/bench-memcmp-ifunc.c: Likewise.
2970 * benchtests/bench-memcpy-ifunc.c: Likewise.
2971 * benchtests/bench-memmem-ifunc.c: Likewise.
2972 * benchtests/bench-memmove-ifunc.c: Likewise.
2973 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2974 * benchtests/bench-memrchr-ifunc.c: Likewise.
2975 * benchtests/bench-memset-ifunc.c: Likewise.
2976 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2977 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2978 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2979 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2980 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2981 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2982 * benchtests/bench-strcat-ifunc.c: Likewise.
2983 * benchtests/bench-strchr-ifunc.c: Likewise.
2984 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2985 * benchtests/bench-strcmp-ifunc.c: Likewise.
2986 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2987 * benchtests/bench-strcpy-ifunc.c: Likewise.
2988 * benchtests/bench-strcspn-ifunc.c: Likewise.
2989 * benchtests/bench-strlen-ifunc.c: Likewise.
2990 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2991 * benchtests/bench-strncat-ifunc.c: Likewise.
2992 * benchtests/bench-strncmp-ifunc.c: Likewise.
2993 * benchtests/bench-strncpy-ifunc.c: Likewise.
2994 * benchtests/bench-strnlen-ifunc.c: Likewise.
2995 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2996 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2997 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2998 * benchtests/bench-strspn-ifunc.c: Likewise.
2999 * benchtests/bench-strstr-ifunc.c: Likewise.
3000
30012013-11-26 Ondřej Bílka <neleai@seznam.cz>
3002
ab260039
OB
3003 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3004
d1d9eaf4 30052013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3006
d1d9eaf4
OB
3007 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3008 * rt/aio.h: Likewise.
3009 * sysdeps/gnu/bits/utmp.h: Likewise.
3010 * sysdeps/gnu/bits/utmpx.h: Likewise.
3011 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3012 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3013 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3014 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3015 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3016 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3017 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3018 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3019 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3020 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3021 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3022 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3023 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3025 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3026 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3027 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3028 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3029 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3030 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3031 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3032 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3033 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3034 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3035 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3037 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3038 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3041 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3042 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3043 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3044 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3045 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3046 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3047 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3048 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3049 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3050 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3051 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3052 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3053
a7624ed9
CD
30542013-11-25 Carlos O'Donell <carlos@redhat.com>
3055
3056 [BZ #16245]
3057 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3058 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3059
63cfe52b
JM
30602013-11-25 Joseph Myers <joseph@codesourcery.com>
3061
3062 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3063 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3064 Likewise.
3065
41e8926a
AZ
30662013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3067
3068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3069 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3070 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3071 (__fesetround): Remove define.
3072 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3073 rounding and exceptions handling.
3074 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3075 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3076 (__fe_nomask_env): Likewise.
3077 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3078 __fegetround instead of fegetround.
3079 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3080 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3081
6851bd4d
RM
30822013-11-21 Roland McGrath <roland@hack.frob.com>
3083
070906ff
RM
3084 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3085 it's there.
3086
6851bd4d
RM
3087 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3088
84ae135d
MI
30892013-11-21 Meador Inge <meadori@codesourcery.com>
3090
3091 [BZ #11157]
3092 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3093 (encrypt_r): Likewise.
3094 * malloc/obstack.h (obstack_free): Likewise.
3095 * posix/unistd.h (encrypt): Likewise.
3096
daf75146
GM
30972013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3098
3099 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3100 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3101 DL_CALL_DT_FINI() that call the functions directly.
3102 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3103 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3104 * elf/dl-fini.c: Likewise.
3105
10ad46bc
OB
31062013-11-20 Ondřej Bílka <neleai@seznam.cz>
3107
3108 * malloc/hooks.c (memalign_check): Add alignment rounding.
3109 * malloc/malloc.c (_mid_memalign): New function.
3110 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3111 Implement by calling _mid_memalign.
3112 * manual/probes.texi (Memory Allocation Probes): Remove
3113 memory_valloc_retry and memory_pvalloc_retry.
3114
f3fd2628
SP
31152013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3116
4712799f
SP
3117 * locale/programs/locarchive.c (open_archive): Add const
3118 qualifier to ARCHIVEFNAME and copy default fname to
3119 DEFAULT_FNAME.
3120
0417b20f
SP
3121 [BZ #15601]
3122 * libio/tst-widetext.input: Rename Oriya to Odia.
3123 * locale/iso-639.def: Likewise.
3124
f3fd2628
SP
3125 * manual/probes.texi (Mathematical Function Probes): Add
3126 documentation for sin, cos, asin and acos probes.
3127 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3128 (__sin32): Add slowasin probe.
3129 (__cos32): Add slowacos probe.
3130 (__mpsin): Add slowsin probe.
3131 (__mpcos): Add slowcos probe.
3132
73c1ce4f
JM
31332013-11-19 Joseph Myers <joseph@codesourcery.com>
3134
3135 [BZ #15483]
3136 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3137 thread-local __sim_exceptions_thread and global
3138 __sim_exceptions_global.
3139 (__sim_disabled_exceptions): Change to thread-local
3140 __sim_disabled_exceptions_thread and global
3141 __sim_disabled_exceptions_global.
3142 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3143 and global __sim_round_mode_global.
3144 (__simulate_exceptions): Use thread-local floating-point state and
3145 set global state from it as needed.
3146 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3147 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3148 __sim_round_mode_thread.
3149 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3150 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3151 and global __sim_exceptions_global.
3152 (__sim_disabled_exceptions): Change to thread-local
3153 __sim_disabled_exceptions_thread and global
3154 __sim_disabled_exceptions_global.
3155 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3156 and global __sim_round_mode_global.
3157 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3158 (SIM_SET_GLOBAL): Likewise.
3159 * sysdeps/powerpc/soft-fp/sfp-machine.h
3160 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3161 __sim_round_mode_thread.
3162 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3163 __sim_disabled_exceptions_thread.
3164 (__sim_exceptions): Change to __sim_exceptions_thread.
3165 (__sim_disabled_exceptions): Change to
3166 __sim_disabled_exceptions_thread.
3167 (__sim_round_mode): Change to __sim_round_mode_thread.
3168 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3169 thread-local floating-point state and set global state from it as
3170 needed.
3171 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3172 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3173 (__sim_disabled_exceptions): Remove extern declaration.
3174 (feenableexcept): Use thread-local floating-point state and set
3175 global state from it as needed.
3176 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3177 extern declaration.
3178 (__sim_disabled_exceptions): Likewise.
3179 (__sim_round_mode): Likewise.
3180 (__fegetenv): Use thread-local floating-point state.
3181 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3182 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3183 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3184 floating-point state and set global state from it as needed.
3185 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3186 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3187 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3188 Likewise.
3189 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3190 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3191 Likewise.
3192 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3193 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3194 Use __sim_round_mode_thread.
3195 * math/test-fenv-tls.c: New file.
3196 * math/Makefile (tests): Add test-fenv-tls.
3197 ($(objpfx)test-fenv-tls): Depend on
3198 $(common-objpfx)nptl/libpthread.so.
3199
b5449b12
AS
32002013-11-19 Andreas Schwab <schwab@suse.de>
3201
3202 * locale/programs/locale.c (show_info): Decode wordarray elements.
3203 * locale/categories.def (LC_MONETARY): Add element for
3204 _NL_MONETARY_CRNCYSTR.
3205 * locale/C-monetary.c (conversion_rate): New variable.
3206 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3207 element.
3208
e186536b
CM
32092013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3210
3211 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3212 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3213
5c349950
PP
32142013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3215
3216 * elf/Makefile (tst-auxv): New test.
3217 * elf/tst-auxv.c: New
3218 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3219
699df45b
JM
32202013-11-18 Joseph Myers <joseph@codesourcery.com>
3221
3222 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3223 (hidden_proto): Caller changed.
3224 (hidden_tls_proto): New macro.
3225 (libc_hidden_tls_proto): Likewise.
3226 (rtld_hidden_tls_proto): Likewise.
3227 (libm_hidden_tls_proto): Likewise.
3228 (libresolv_hidden_tls_proto): Likewise.
3229 (librt_hidden_tls_proto): Likewise.
3230 (libdl_hidden_tls_proto): Likewise.
3231 (libnss_files_hidden_tls_proto): Likewise.
3232 (libnsl_hidden_tls_proto): Likewise.
3233 (libnss_nisplus_hidden_tls_proto): Likewise.
3234 (libutil_hidden_tls_proto): Likewise.
3235
b7589107
OB
32362013-11-18 Ondřej Bílka <neleai@seznam.cz>
3237
3238 [BZ #10253]
3239 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3240 (decompose_rpath): Defer expansion to fillin_rpath.
3241 (_dl_init_paths): Pass linkmap to fillin_rpath.
3242
250c23bd
RS
32432013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3244
3245 * benchtests/Makefile: Add strsep.
3246 * benchtests/bench-strsep.c: New file: strsep benchtest.
3247 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3248
a7931fcf
AS
32492013-11-18 Andreas Schwab <schwab@suse.de>
3250
3251 * locale/programs/locale.c (show_info) [case byte]: Check for
3252 '\377' instead of '\177'.
3253 * locale/C-monetary.c (not_available): Always use "\377".
3254 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3255 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3256 detect unavailable sign_posn locale elements.
3257 * locale/localeconv.c (__localeconv): For grouping and
3258 mon_grouping handle "\177" and "\377" like no grouping.
3259 (INT_ELEM): New macro. Use it to set all numeric members.
3260 * locale/programs/ld-monetary.c (monetary_read)
3261 <tok_mon_grouping>: Normalize single -1 to the empty string.
3262 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3263 Likewise.
3264
728dab0e
OB
32652013-11-07 Ondřej Bílka <neleai@seznam.cz>
3266
3267 [BZ #16055]
3268 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3269 when we match (nil).
3270 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3271
66294491
JM
32722013-11-16 Joseph Myers <joseph@codesourcery.com>
3273
ce665817
JM
3274 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3275 (NO_TEST_INLINE): Update value.
3276 (ERRNO_UNCHANGED): Likewise.
3277 (ERRNO_EDOM): Likewise.
3278 (ERRNO_ERANGE): Likewise.
3279 (IGNORE_RESULT): Likewise.
3280 (check_float_internal): Check signs of NaN results if
3281 TEST_NAN_SIGN used.
3282 (check_complex): Pass TEST_NAN_SIGN flag through to second
3283 check_float_internal call.
3284 (copysign_test_data): Add tests with quiet NaNs as second
3285 argument. Use TEST_NAN_SIGN.
3286 (fabs_test_data): Add test of negative quiet NaN argument. Use
3287 TEST_NAN_SIGN.
3288 (signbit_test_data): Add tests of quiet NaN argument.
3289 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3290
ee1466a9
JM
3291 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3292 $ignore_result.
3293 (parse_args): Handle function results specified as IGNORE.
3294 * math/libm-test.inc (IGNORE_RESULT): New macro.
3295 (check_float_internal): Do not check numerical result if flag
3296 IGNORE_RESULT set.
3297 (check_complex): Pass through IGNORE_RESULT to second
3298 check_float_internal call.
3299 (check_int): Do not check numerical result if flag IGNORE_RESULT
3300 set.
3301 (check_long): Likewise.
3302 (check_bool): Likewise.
3303 (check_longlong): Likewise.
3304 (lrint_test_data): Add tests of infinite and NaN arguments.
3305 (lrint_tonearest_test_data): Likewise.
3306 (lrint_towardzero_test_data): Likewise.
3307 (lrint_downward_test_data): Likewise.
3308 (lrint_upward_test_data): Likewise.
3309 (llrint_test_data): Likewise.
3310 (llrint_tonearest_test_data): Likewise.
3311 (llrint_towardzero_test_data): Likewise.
3312 (llrint_downward_test_data): Likewise.
3313 (llrint_upward_test_data): Likewise.
3314 (lround_test_data): Likewise.
3315 (llround_test_data): Likewise.
3316
14407b7e
JM
3317 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3318 (ERRNO_UNCHANGED): Update value.
3319 (ERRNO_EDOM): Likewise.
3320 (ERRNO_ERANGE): Likewise.
3321 (NO_TEST_INLINE_FLOAT): New macro.
3322 (NO_TEST_INLINE_DOUBLE): Likewise.
3323 (enable_test): New function.
3324 (RUN_TEST_f_f): Check enable_test before running test.
3325 (RUN_TEST_2_f): Likewise.
3326 (RUN_TEST_fff_f): Likewise.
3327 (RUN_TEST_c_f): Likewise.
3328 (RUN_TEST_f_f1): Likewise.
3329 (RUN_TEST_fF_f1): Likewise.
3330 (RUN_TEST_fI_f1): Likewise.
3331 (RUN_TEST_ffI_f1): Likewise.
3332 (RUN_TEST_c_c): Likewise.
3333 (RUN_TEST_cc_c): Likewise.
3334 (RUN_TEST_f_i): Likewise.
3335 (RUN_TEST_f_i_tg): Likewise.
3336 (RUN_TEST_ff_i_tg): Likewise.
3337 (RUN_TEST_f_b): Likewise.
3338 (RUN_TEST_f_b_tg): Likewise.
3339 (RUN_TEST_f_l): Likewise.
3340 (RUN_TEST_f_L): Likewise.
3341 (RUN_TEST_fFF_11): Likewise.
3342 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3343 conditionals.
3344 (cosh_test_data): Likewise.
3345 (exp_test_data): Likewise.
3346 (expm1_test_data): Likewise.
3347 (hypot_test_data): Likewise.
3348 (pow_test_data): Likewise.
3349 (sinh_test_data): Likewise.
3350 (tanh_test_data): Likewise.
3351 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3352 flags argument.
3353
ca07f197
JM
3354 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3355 tests with quiet NaN input and output.
3356 (acosh_test_data): Likewise.
3357 (asin_test_data): Likewise.
3358 (asinh_test_data): Likewise.
3359 (atan_test_data): Likewise.
3360 (atanh_test_data): Likewise.
3361 (atan2_test_data): Likewise.
3362 (cbrt_test_data): Likewise.
3363 (cos_test_data): Likewise.
3364 (cosh_test_data): Likewise.
3365 (erf_test_data): Likewise.
3366 (erfc_test_data): Likewise.
3367 (exp_test_data): Likewise.
3368 (exp10_test_data): Likewise.
3369 (exp2_test_data): Likewise.
3370 (expm1_test_data): Likewise.
3371 (hypot_test_data): Likewise.
3372 (j0_test_data): Likewise.
3373 (j1_test_data): Likewise.
3374 (jn_test_data): Likewise.
3375 (lgamma_test_data): Likewise.
3376 (log_test_data): Likewise.
3377 (log10_test_data): Likewise.
3378 (log1p_test_data): Likewise.
3379 (log2_test_data): Likewise.
3380 (pow_test_data): Likewise.
3381 (scalb_test_data): Likewise.
3382 (sin_test_data): Likewise.
3383 (sincos_test_data): Likewise.
3384 (sinh_test_data): Likewise.
3385 (tan_test_data): Likewise.
3386 (tanh_test_data): Likewise.
3387 (tgamma_test_data): Likewise.
3388 (y0_test_data): Likewise.
3389 (y1_test_data): Likewise.
3390 (yn_test_data): Likewise.
3391
66294491
JM
3392 [BZ #16167]
3393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3394 argument being NaN and avoid computations with second argument in
3395 that case.
3396 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3397 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3398 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3399
1820b143
CL
34002013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3401
3402 * locale/iso-639.def: Add Chitwani Tharu (the).
3403
714bd261
AS
34042013-11-14 Andreas Schwab <schwab@suse.de>
3405
3406 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3407 word instead of empty string.
3408
7ab44563
AZ
34092013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3410
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3412 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3414 (__fe_nomask_env): Likewise.
3415
e8470ea2
SE
34162013-11-13 Steve Ellcey <sellcey@mips.com>
3417
3418 * benchtests/bench-timing.h: Include time.h.
3419
17c1d9f0
L
34202013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 [BZ #15997]
3423 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3424 to 3.4.0 for x32.
3425 * sysdeps/unix/sysv/linux/configure: Regenerated.
3426
9310c284
JM
34272013-11-13 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #16151]
3430 * stdlib/strtod_l.c (round_and_return): Do not consider
3431 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3432 exponent one less than half the least subnormal exponent.
3433 * stdlib/test-strtod-round-data: Add more tests.
3434 * stdlib/tst-strtod-round.c (tests): Regenerated.
3435
7a2ad8cf
AZ
34362013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3437
3438 [BZ #14143]
3439 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3440 (__fe_mask_env): Likewise.
3441 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3442 libm_hidden_proto and add function prototype.
3443 (__fe_mask_env): Add function prototype.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3445 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3447 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3449 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3450
50727aa7
MS
34512013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3452
b2f386c1 3453 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3454 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3455
a615be46
MS
34562013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3457
3458 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3459 of htab_find_slot().
3460
7ddace62
DM
34612013-11-11 David S. Miller <davem@davemloft.net>
3462
3463 [BZ #16150]
3464 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3465 symbol in the non-vis3 case in static builds.
3466 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3467 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3468 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3469 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3470
9182aa67
JK
34712013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3472
3473 [BZ #387]
3474 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3475 it is empty.
3476
450a2e2d
AZ
34772013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3478
b2f386c1
SP
3479 * benchtests/Makefile: Add bench-strtod.
3480 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3481
8ec3f656
AS
34822013-11-11 Andreas Schwab <schwab@suse.de>
3483
3484 [BZ #16153]
3485 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3486 terminating NUL in key length.
3487
76a9b998
AZ
34882013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3489
3490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3491 Add artificial ODP entry for vDSO symbol for PPC64.
3492 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3493 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3494
e4368156
OB
34952013-11-07 Ondřej Bílka <neleai@seznam.cz>
3496
3497 [BZ #15374]
3498 * nss/getent.c (services_keys): Recognize services starting with digit.
3499
8d6bb57c
DM
35002013-11-06 David S. Miller <davem@davemloft.net>
3501
3502 [BZ #15985]
3503 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3504 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3505
e256c421
WN
35062013-11-06 Will Newton <will.newton@linaro.org>
3507
3508 * manual/memory.texi (Malloc Examples): Remove register
3509 keyword from examples.
3510
f6e12daa 35112013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3512
f6e12daa 3513 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3514
9d880655
AS
35152013-11-04 Joseph Myers <joseph@codesourcery.com>
3516
3517 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3518 depending on [__GCC_IEC_559 > 0].
3519 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3520 depending on [__GCC_IEC_559_COMPLEX > 0].
3521
ae129d3c
CL
35222013-11-03 Chris Leonard <cjl@sugarlabs.org>
3523
3524 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3525 to iso-639.def.
3526
4a15c2a4 35272013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3528
3529 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3530
8b35e35d
OB
35312013-11-01 Ondřej Bílka <neleai@seznam.cz>
3532
3533 [BZ #16112]
3534 * malloc/malloc (malloc_info): Do not handle first bin as
3535 special case.
3536
1d70fd6c
CL
35372013-11-01 Chris Leonard <cjl@sugarlabs.org>
3538
3539 * locale/iso-639.def: Add Central Nahuatl (nhn).
3540
8c5c2600
BH
35412013-11-01 Bruno Haible <bruno@clisp.org>
3542
3543 [BZ #7003]
3544 * manual/math.texi (BSD Random): Specify range upper bound as
3545 in POSIX.
3546
da5579c2
CL
35472013-10-31 Chris Leonard <cjl@sugarlabs.org>
3548
3549 * locale/iso-639.def: Add Meadow Mari (mhr).
3550
5d30d853
OB
35512013-10-31 Ondřej Bílka <neleai@seznam.cz>
3552
3553 [BZ #14752], [BZ #15763]
3554 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3555 Validate name.
3556 * rt/tst_shm.c: Add test for escaping directory.
3557
a4966c61
AS
35582013-10-31 Andreas Schwab <schwab@suse.de>
3559
8a43e768 3560 [BZ #15917]
a4966c61
AS
3561 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3562 followed by 'x' as part of digit sequence.
3563 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3564
28d708c4
MAP
35652013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3566
3567 [BZ #16037]
3568 * configure.ac: allow GNU Make 4.0 and greater.
3569 * configure: Regenerated.
3570
a56ee40b
WN
35712013-10-30 Will Newton <will.newton@linaro.org>
3572
3573 [BZ #16038]
3574 * malloc/hooks.c (memalign_check): Limit alignment to the
3575 maximum representable power of two.
3576 * malloc/malloc.c (__libc_memalign): Likewise.
3577 * malloc/tst-memalign.c (do_test): Add test for very
3578 large alignment values.
3579 * malloc/tst-posix_memalign.c (do_test): Likewise.
3580
c6e4925d
OB
35812013-10-30 Ondřej Bílka <neleai@seznam.cz>
3582
3583 [BZ #11087]
3584 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3585 (munmap_chunk): Likewise.
3586 (mremap_chunk): Likewise.
3587
35882013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3589
8a43e768 3590 [BZ #15799]
bbea82f7
OB
3591 * stdlib/div.c (div): Remove obsolete code.
3592 * stdlib/ldiv.c (ldiv): Likewise.
3593 * stdlib/lldiv.c (lldiv): Likewise.
3594
977f4b31
SP
35952013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
3597 [BZ #16071]
3598 * nss/nss_files/files-XXX.c (get_contents_ret): New
3599 enumerator.
3600 (get_contents): New function.
3601 (internal_getent): Use it. Expand size of LINEBUFLEN.
3602
cb8a6dbd
MF
36032013-10-30 Mike Frysinger <vapier@gentoo.org>
3604
3605 * configure.in: Moved to ...
3606 * configure.ac: ... here. Change reference to configure.in
3607 to configure.ac.
3608 * sysdeps/arm/preconfigure.ac: ... here.
3609 configure.in to configure.ac.
3610 * sysdeps/gnu/configure.in: Moved to ...
3611 * sysdeps/gnu/configure.ac: ... here.
3612 * sysdeps/i386/configure.in: Moved to ...
3613 * sysdeps/i386/configure.ac: ... here.
3614 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3615 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3616 * sysdeps/mach/configure.in: Moved to ...
3617 * sysdeps/mach/configure.ac: ... here.
3618 * sysdeps/mach/hurd/configure.in: Moved to ...
3619 * sysdeps/mach/hurd/configure.ac: ... here.
3620 * sysdeps/powerpc/configure.in: Moved to ...
3621 * sysdeps/powerpc/configure.ac: ... here.
3622 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3623 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3624 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3625 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3626 * sysdeps/s390/s390-32/configure.in: Moved to ...
3627 * sysdeps/s390/s390-32/configure.ac: ... here.
3628 * sysdeps/s390/s390-64/configure.in: Moved to ...
3629 * sysdeps/s390/s390-64/configure.ac: ... here.
3630 * sysdeps/sh/configure.in: Moved to ...
3631 * sysdeps/sh/configure.ac: ... here.
3632 * sysdeps/sparc/configure.in: Moved to ...
3633 * sysdeps/sparc/configure.ac: ... here.
3634 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3635 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3636 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3637 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3638 * sysdeps/x86_64/configure.in: Moved to ...
3639 * sysdeps/x86_64/configure.ac: ... here.
3640 * sysdeps/x86_64/preconfigure.in: Moved to ...
3641 * sysdeps/x86_64/preconfigure.ac: ... here.
3642 * aclocal.m4: Change reference to configure.in to configure.ac.
3643 * config.h.in: Likewise.
3644 * manual/install.texi: Likewise.
3645 * manual/maint.texi: Likewise.
3646 * Makefile: Likewise.
3647 * malloc/Makefile: Likewise.
3648 * nscd/Makefile: Likewise.
3649 * Makeconfig: Change reference to configure.in and
3650 preconfigure.in to configure.ac and preconfigure.ac
3651 respectively.
3652 * INSTALL: Regenerated.
3653 * configure: Likewise.
3654 * sysdeps/gnu/configure: Likewise.
3655 * sysdeps/i386/configure: Likewise.
3656 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3657 * sysdeps/mach/configure: Likewise.
3658 * sysdeps/mach/hurd/configure: Likewise.
3659 * sysdeps/powerpc/configure: Likewise.
3660 * sysdeps/powerpc/powerpc32/configure: Likewise.
3661 * sysdeps/powerpc/powerpc64/configure: Likewise.
3662 * sysdeps/s390/s390-32/configure: Likewise.
3663 * sysdeps/s390/s390-64/configure: Likewise.
3664 * sysdeps/sh/configure: Likewise.
3665 * sysdeps/sparc/configure: Likewise.
3666 * sysdeps/unix/sysv/linux/configure: Likewise.
3667 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3668 * sysdeps/x86_64/configure: Likewise.
3669 * sysdeps/x86_64/preconfigure: Likewise.
3670
36a4953a
AS
36712013-10-29 Andreas Schwab <schwab@suse.de>
3672
3673 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3674
c79a1204
SP
36752013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3676
dfa1b402
SP
3677 * benchtests/pow-inputs: Add new inputs.
3678
54f73d9c
SP
3679 * benchtests/exp-inputs: Add new inputs.
3680
c79a1204
SP
3681 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3682 conditional check for return value.
3683 (__cos32): Likewise.
3684
67beb545 36852013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3686
3687 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3688 to provide a boost for large inputs with word alignment.
3689 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3690 implementation based on optimized PPC64 strcpy.
3691 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3692 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3693 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3694 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3695
151659f6
OB
36962013-10-25 Ondřej Bílka <neleai@seznam.cz>
3697
482a077e 3698 [BZ #2801]
151659f6
OB
3699 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3700
10b0f26b
OB
37012013-10-25 Ondřej Bílka <neleai@seznam.cz>
3702
3703 [BZ #14876]
3704 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3705 * time/tst-strptime.c (day_tests): Add testcase.
3706
ca42d35e
OB
37072013-10-25 Ondřej Bílka <neleai@seznam.cz>
3708
482a077e 3709 [BZ #14029]
ca42d35e
OB
3710 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3711
52e6d801
FB
37122013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3713
3714 [BZ #16074]
3715 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3716 MAP_FAILED on error.
3717
7cbcdb36
SP
37182013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3719
3720 [BZ #16072]
3721 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3722 heap for large requests.
3723
894f3f10
AM
37242013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3725
3726 [BZ #9954]
3727 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3728 result if the result has no associated interface.
3729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3730 interface for all 127.X.Y.Z addresses.
3731
b85545a6
CL
37322013-10-24 Chris Leonard <cjl@sugarlabs.org>
3733
3734 * locale/iso-639.def: Add Ligurian (lij)
3735
d1f23d46
OB
37362013-10-21 Ondřej Bílka <neleai@seznam.cz>
3737
3738 [BZ #15825]
3739 * sunrpc/rpc_main.c: Document rpcgen -5.
3740
4db5b08f
MS
37412013-10-19 Michael Stahl <mstahl@redhat.com>
3742
3743 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3744
a471e96a
OB
37452013-10-19 Ondřej Bílka <neleai@seznam.cz>
3746
d1f23d46 3747 [BZ #10278]
a471e96a
OB
3748 * posix/glob.c: Match only directories when trailing slash is present.
3749 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3750 (main): Add testcase.
3751
45c30c61
OB
37522013-10-19 Ondřej Bílka <neleai@seznam.cz>
3753
3754 [BZ #15670]
3755 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3756
484c12fb
CD
37572013-10-18 Carlos O'Donell <carlos@redhat.com>
3758
3d7dc513
CD
3759 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3760 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3761 AUTH_DES and cindex for FIPS 140-2.
3762 (DES Encryption): Add cindex FIPS 46-3.
3763
484c12fb
CD
3764 * locale/locarchive.h (struct locarhandle): Add fname.
3765 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3766 if an optional argument was specified to --list-archive,
3767 otherwise NULL.
3768 * locale/programs/locarchive.c (show_archive_content): Take new
3769 argument fname and pass it via ah.fname to open_archive.
3770 * locale/programs/localedef.h: Update decl.
3771 (open_archive): If AH->fname is non-null, open that file
3772 rather than the default file name, and don't ignore ENOENT.
3773 (create_archive): Set AH.fname to NULL.
3774 (delete_locales_from_archive): Likewise.
3775 (add_locales_to_archive): Likewise.
3776 * locale/programs/locfile.c (write_all_categories): Likewise.
3777
3c8325fb
JM
37782013-10-18 Joseph Myers <joseph@codesourcery.com>
3779 Aldy Hernandez <aldyh@redhat.com>
3780
3781 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3782 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3783 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3784 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3785 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3786 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3787 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3788 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3789 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3790 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3791 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3792 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3793 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3794 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3796 Likewise.
3797 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3798 Likewise.
3799 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3800 Likewise.
3801 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3802 Likewise.
3803 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3804 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3805 Likewise.
3806 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3807 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3808 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3809 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3810 Likewise.
3811 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3812 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3813 * sysdeps/powerpc/preconfigure: Likewise.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3815 Likewise.
3816 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3817 Replace contents of file by #include of <fenv_libc.h>.
3818 * sysdeps/powerpc/soft-fp/sfp-machine.h
3819 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3820 and <sys/prctl.h>.
3821 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3825 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3831 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3832 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3834 Allow copysignl PLT reference to be missing.
3835
5abe0682
RS
38362013-10-18 Richard Sandiford <richard@codesourcery.com>
3837 Joseph Myers <joseph@codesourcery.com
3838
3839 [BZ #15948]
3840 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3841 single character.
3842 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3843
c7738d08
SP
38442013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3845
3846 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3847 * elf/tst-tls1.c: Likewise.
3848 * elf/tst-tls10.h: Likewise.
3849 * elf/tst-tls14.c: Likewise.
3850 * elf/tst-tls2.c: Likewise.
3851 * elf/tst-tls3.c: Likewise.
3852 * elf/tst-tls4.c: Likewise.
3853 * elf/tst-tls5.c: Likewise.
3854 * elf/tst-tls6.c: Likewise.
3855 * elf/tst-tls7.c: Likewise.
3856 * elf/tst-tls8.c: Likewise.
3857 * elf/tst-tls9.c: Likewise.
3858 * elf/tst-tlsmod1.c: Likewise.
3859 * elf/tst-tlsmod13.c: Likewise.
3860 * elf/tst-tlsmod13a.c: Likewise.
3861 * elf/tst-tlsmod14a.c: Likewise.
3862 * elf/tst-tlsmod16a.c: Likewise.
3863 * elf/tst-tlsmod16b.c: Likewise.
3864 * elf/tst-tlsmod2.c: Likewise.
3865 * elf/tst-tlsmod3.c: Likewise.
3866 * elf/tst-tlsmod4.c: Likewise.
3867 * elf/tst-tlsmod5.c: Likewise.
3868 * elf/tst-tlsmod6.c: Likewise.
3869
0bfcf2c7
OB
38702013-10-18 Ondřej Bílka <neleai@seznam.cz>
3871
3872 [BZ #12486]
3873 * malloc/malloc.c: remove checks for statistics.
3874
264aad1e
OB
38752013-10-17 Ondřej Bílka <neleai@seznam.cz>
3876
3877 [BZ #15277]
3878 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3879 * inet/tst-network.c: Add testcase.
3880
b957ced8
AS
38812013-10-17 Andreas Schwab <schwab@suse.de>
3882
3883 [BZ #15218]
3884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3885 to determine canonical name.
3886
c5d5d574
OB
38872013-10-17 Ondřej Bílka <neleai@seznam.cz>
3888
3889 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3890 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3895 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3896 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3900 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3902 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3903 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3904 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3906 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3907 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3908 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3911 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3912 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3913 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3914 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3915 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3916 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3917 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3918 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3919 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3947
e5c2c2d0
JM
39482013-10-17 Joseph Myers <joseph@codesourcery.com>
3949
3950 [BZ #16041]
3951 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3952 make result into a quiet NaN.
3953
51ca9e29
JM
39542013-10-16 Joseph Myers <joseph@codesourcery.com>
3955
3956 * soft-fp/adddf3.c: Fix horizontal whitespace.
3957 * soft-fp/addsf3.c: Likewise.
3958 * soft-fp/addtf3.c: Likewise.
3959 * soft-fp/divdf3.c: Likewise.
3960 * soft-fp/divsf3.c: Likewise.
3961 * soft-fp/divtf3.c: Likewise.
3962 * soft-fp/double.h: Likewise.
3963 * soft-fp/eqdf2.c: Likewise.
3964 * soft-fp/eqsf2.c: Likewise.
3965 * soft-fp/eqtf2.c: Likewise.
3966 * soft-fp/extenddftf2.c: Likewise.
3967 * soft-fp/extended.h: Likewise.
3968 * soft-fp/extendsfdf2.c: Likewise.
3969 * soft-fp/extendsftf2.c: Likewise.
3970 * soft-fp/extendxftf2.c: Likewise.
3971 * soft-fp/fixdfdi.c: Likewise.
3972 * soft-fp/fixdfsi.c: Likewise.
3973 * soft-fp/fixdfti.c: Likewise.
3974 * soft-fp/fixsfdi.c: Likewise.
3975 * soft-fp/fixsfsi.c: Likewise.
3976 * soft-fp/fixsfti.c: Likewise.
3977 * soft-fp/fixtfdi.c: Likewise.
3978 * soft-fp/fixtfsi.c: Likewise.
3979 * soft-fp/fixtfti.c: Likewise.
3980 * soft-fp/fixunsdfdi.c: Likewise.
3981 * soft-fp/fixunsdfsi.c: Likewise.
3982 * soft-fp/fixunsdfti.c: Likewise.
3983 * soft-fp/fixunssfdi.c: Likewise.
3984 * soft-fp/fixunssfsi.c: Likewise.
3985 * soft-fp/fixunssfti.c: Likewise.
3986 * soft-fp/fixunstfdi.c: Likewise.
3987 * soft-fp/fixunstfsi.c: Likewise.
3988 * soft-fp/fixunstfti.c: Likewise.
3989 * soft-fp/floatdidf.c: Likewise.
3990 * soft-fp/floatdisf.c: Likewise.
3991 * soft-fp/floatditf.c: Likewise.
3992 * soft-fp/floatsidf.c: Likewise.
3993 * soft-fp/floatsisf.c: Likewise.
3994 * soft-fp/floatsitf.c: Likewise.
3995 * soft-fp/floattidf.c: Likewise.
3996 * soft-fp/floattisf.c: Likewise.
3997 * soft-fp/floattitf.c: Likewise.
3998 * soft-fp/floatundidf.c: Likewise.
3999 * soft-fp/floatundisf.c: Likewise.
4000 * soft-fp/floatunditf.c: Likewise.
4001 * soft-fp/floatunsidf.c: Likewise.
4002 * soft-fp/floatunsisf.c: Likewise.
4003 * soft-fp/floatunsitf.c: Likewise.
4004 * soft-fp/floatuntidf.c: Likewise.
4005 * soft-fp/floatuntisf.c: Likewise.
4006 * soft-fp/floatuntitf.c: Likewise.
4007 * soft-fp/fmadf4.c: Likewise.
4008 * soft-fp/fmasf4.c: Likewise.
4009 * soft-fp/fmatf4.c: Likewise.
4010 * soft-fp/gedf2.c: Likewise.
4011 * soft-fp/gesf2.c: Likewise.
4012 * soft-fp/getf2.c: Likewise.
4013 * soft-fp/ledf2.c: Likewise.
4014 * soft-fp/lesf2.c: Likewise.
4015 * soft-fp/letf2.c: Likewise.
4016 * soft-fp/muldf3.c: Likewise.
4017 * soft-fp/mulsf3.c: Likewise.
4018 * soft-fp/multf3.c: Likewise.
4019 * soft-fp/negdf2.c: Likewise.
4020 * soft-fp/negsf2.c: Likewise.
4021 * soft-fp/negtf2.c: Likewise.
4022 * soft-fp/op-1.h: Likewise.
4023 * soft-fp/op-2.h: Likewise.
4024 * soft-fp/op-4.h: Likewise.
4025 * soft-fp/op-8.h: Likewise.
4026 * soft-fp/op-common.h: Likewise.
4027 * soft-fp/quad.h: Likewise.
4028 * soft-fp/single.h: Likewise.
4029 * soft-fp/soft-fp.h: Likewise.
4030 * soft-fp/sqrtdf2.c: Likewise.
4031 * soft-fp/sqrtsf2.c: Likewise.
4032 * soft-fp/sqrttf2.c: Likewise.
4033 * soft-fp/subdf3.c: Likewise.
4034 * soft-fp/subsf3.c: Likewise.
4035 * soft-fp/subtf3.c: Likewise.
4036 * soft-fp/truncdfsf2.c: Likewise.
4037 * soft-fp/trunctfdf2.c: Likewise.
4038 * soft-fp/trunctfsf2.c: Likewise.
4039 * soft-fp/trunctfxf2.c: Likewise.
4040 * soft-fp/unorddf2.c: Likewise.
4041 * soft-fp/unordsf2.c: Likewise.
4042 * soft-fp/unordtf2.c: Likewise.
4043
9ebb0332
JM
40442013-10-15 Joseph Myers <joseph@codesourcery.com>
4045
4046 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4047 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4048
4b1a6d8b
OB
40492013-10-15 Ondřej Bílka <neleai@seznam.cz>
4050
4051 * elf/dl-libc.c: Clear initfini list after freeing.
4052
1e145589
JM
40532013-10-14 Joseph Myers <joseph@codesourcery.com>
4054
4055 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4056 * soft-fp/addsf3.c: Likewise.
4057 * soft-fp/addtf3.c: Likewise.
4058 * soft-fp/divdf3.c: Likewise.
4059 * soft-fp/divsf3.c: Likewise.
4060 * soft-fp/divtf3.c: Likewise.
4061 * soft-fp/double.h: Likewise.
4062 * soft-fp/eqdf2.c: Likewise.
4063 * soft-fp/eqsf2.c: Likewise.
4064 * soft-fp/eqtf2.c: Likewise.
4065 * soft-fp/extenddftf2.c: Likewise.
4066 * soft-fp/extended.h: Likewise.
4067 * soft-fp/extendsfdf2.c: Likewise.
4068 * soft-fp/extendsftf2.c: Likewise.
4069 * soft-fp/extendxftf2.c: Likewise.
4070 * soft-fp/fixdfdi.c: Likewise.
4071 * soft-fp/fixdfsi.c: Likewise.
4072 * soft-fp/fixdfti.c: Likewise.
4073 * soft-fp/fixsfdi.c: Likewise.
4074 * soft-fp/fixsfsi.c: Likewise.
4075 * soft-fp/fixsfti.c: Likewise.
4076 * soft-fp/fixtfdi.c: Likewise.
4077 * soft-fp/fixtfsi.c: Likewise.
4078 * soft-fp/fixtfti.c: Likewise.
4079 * soft-fp/fixunsdfdi.c: Likewise.
4080 * soft-fp/fixunsdfsi.c: Likewise.
4081 * soft-fp/fixunsdfti.c: Likewise.
4082 * soft-fp/fixunssfdi.c: Likewise.
4083 * soft-fp/fixunssfsi.c: Likewise.
4084 * soft-fp/fixunssfti.c: Likewise.
4085 * soft-fp/fixunstfdi.c: Likewise.
4086 * soft-fp/fixunstfsi.c: Likewise.
4087 * soft-fp/fixunstfti.c: Likewise.
4088 * soft-fp/floatdidf.c: Likewise.
4089 * soft-fp/floatdisf.c: Likewise.
4090 * soft-fp/floatditf.c: Likewise.
4091 * soft-fp/floatsidf.c: Likewise.
4092 * soft-fp/floatsisf.c: Likewise.
4093 * soft-fp/floatsitf.c: Likewise.
4094 * soft-fp/floattidf.c: Likewise.
4095 * soft-fp/floattisf.c: Likewise.
4096 * soft-fp/floattitf.c: Likewise.
4097 * soft-fp/floatundidf.c: Likewise.
4098 * soft-fp/floatundisf.c: Likewise.
4099 * soft-fp/floatunsidf.c: Likewise.
4100 * soft-fp/floatunsisf.c: Likewise.
4101 * soft-fp/floatuntidf.c: Likewise.
4102 * soft-fp/floatuntisf.c: Likewise.
4103 * soft-fp/floatuntitf.c: Likewise.
4104 * soft-fp/fmadf4.c: Likewise.
4105 * soft-fp/fmasf4.c: Likewise.
4106 * soft-fp/fmatf4.c: Likewise.
4107 * soft-fp/gedf2.c: Likewise.
4108 * soft-fp/gesf2.c: Likewise.
4109 * soft-fp/getf2.c: Likewise.
4110 * soft-fp/ledf2.c: Likewise.
4111 * soft-fp/lesf2.c: Likewise.
4112 * soft-fp/letf2.c: Likewise.
4113 * soft-fp/muldf3.c: Likewise.
4114 * soft-fp/mulsf3.c: Likewise.
4115 * soft-fp/multf3.c: Likewise.
4116 * soft-fp/negdf2.c: Likewise.
4117 * soft-fp/negsf2.c: Likewise.
4118 * soft-fp/negtf2.c: Likewise.
4119 * soft-fp/op-1.h: Likewise.
4120 * soft-fp/op-2.h: Likewise.
4121 * soft-fp/op-4.h: Likewise.
4122 * soft-fp/op-8.h: Likewise.
4123 * soft-fp/op-common.h: Likewise.
4124 * soft-fp/quad.h: Likewise.
4125 * soft-fp/single.h: Likewise.
4126 * soft-fp/soft-fp.h: Likewise.
4127 * soft-fp/sqrtdf2.c: Likewise.
4128 * soft-fp/sqrtsf2.c: Likewise.
4129 * soft-fp/sqrttf2.c: Likewise.
4130 * soft-fp/subdf3.c: Likewise.
4131 * soft-fp/subsf3.c: Likewise.
4132 * soft-fp/subtf3.c: Likewise.
4133 * soft-fp/truncdfsf2.c: Likewise.
4134 * soft-fp/trunctfdf2.c: Likewise.
4135 * soft-fp/trunctfsf2.c: Likewise.
4136 * soft-fp/trunctfxf2.c: Likewise.
4137 * soft-fp/unorddf2.c: Likewise.
4138 * soft-fp/unordsf2.c: Likewise.
4139 * soft-fp/unordtf2.c: Likewise.
4140
17c48a60
OB
41412013-10-14 Ondřej Bílka <neleai@seznam.cz>
4142
4143 [BZ #15672]
4144 * misc/error.c (error_tail): Fix possible buffer overflow.
4145
cabba934
OB
41462013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4147
4148 [BZ #13028]
4149 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4150 address.
4151
94bf958a
PM
41522013-10-14 P. J. McDermott <pj@pehjota.net>
4153
4154 [BZ #832]
4155 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4156 testing pipefail option.
4157
71b4dea7
JM
41582013-10-12 Joseph Myers <joseph@codesourcery.com>
4159
4160 * soft-fp/double.h: Indent preprocessor directives inside #if.
4161 * soft-fp/extended.h: Likewise.
4162 * soft-fp/op-2.h: Likewise.
4163 * soft-fp/op-4.h: Likewise.
4164 * soft-fp/op-common.h: Likewise.
4165 * soft-fp/quad.h: Likewise.
4166 * soft-fp/single.h: Likewise.
4167 * soft-fp/soft-fp.h: Likewise.
4168
55602758
YC
41692013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4170
4171 * iconv/iconv_prog.c: Fix typos.
4172 * stdio-common/psiginfo-data.h: Likewise.
4173
9cd83302
RT
41742013-10-12 Reuben Thomas <rrt@sc3d.org>
4175
4176 [BZ #15764]
4177 * locale/setlocale.c: Fix typo.
4178
99fd9f47
JM
41792013-10-12 Joseph Myers <joseph@codesourcery.com>
4180
b7ea74f0
JM
4181 [BZ #16036]
4182 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4183 signaling NaN arguments.
4184 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4185 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4186
8a509447
JM
4187 [BZ #14910]
4188 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4189 unordered operands.
4190 * soft-fp/gesf2.c (__gesf2): Likewise.
4191 * soft-fp/getf2.c (__getf2): Likewise.
4192 * soft-fp/ledf2.c (__ledf2): Likewise.
4193 * soft-fp/lesf2.c (__lesf2): Likewise.
4194 * soft-fp/letf2.c (__letf2): Likewise.
4195
98998e9f
JM
4196 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4197 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4198 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4199 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4200 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4201 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4202 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4203 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4204 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4205 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4206 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4207 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4208 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4209 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4210 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4211 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4212 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4213 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4214 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4215 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4216 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4217 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4218 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4219 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4220 * soft-fp/floattidf.c (__floattidf): Likewise.
4221 * soft-fp/floattisf.c (__floattisf): Likewise.
4222 * soft-fp/floattitf.c (__floattitf): Likewise.
4223 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4224 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4225 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4226 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4227 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4228 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4229 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4230 * soft-fp/gesf2.c (__gesf2): Likewise.
4231 * soft-fp/getf2.c (__getf2): Likewise.
4232 * soft-fp/ledf2.c (__ledf2): Likewise.
4233 * soft-fp/lesf2.c (__lesf2): Likewise.
4234 * soft-fp/letf2.c (__letf2): Likewise.
4235
8edc4a11
JM
4236 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4237 Undefine and redefine.
4238 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4239 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4240 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4241 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4242 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4243 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4244 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4245 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4246 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4247 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4248 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4249 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4250 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4251 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4252 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4253
8399acaf
JM
4254 [BZ #16032]
4255 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4256 without decrementing exponent if mantissa >= that for the
4257 denominator, not >.
4258 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4259 denominator, not >. Decrement exponent in < case instead of
4260 incrementing in >= case.
4261 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4262 without decrementing exponent if mantissa >= that for the
4263 denominator, not >.
4264
99fd9f47
JM
4265 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4266 computing saturated result for unsigned overflow.
4267
10e1cf6b
SP
42682013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4269 Jeff Law <law@redhat.com>
4270
4271 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4272 (atan2Mp): Add systemtap probe marker.
4273 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4274 (__ieee754_log): Add systemtap probe marker.
4275 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4276 (atanMp): Add systemtap probe marker.
4277 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4278 (tanMp): Add systemtap probe marker.
4279 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4280 (__slowexp): Add systemtap probe marker.
4281 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4282 (__slowpow): Add systemtap probe marker.
4283 * manual/probes.texi: Document probes.
4284
3d110c7c
EB
42852013-10-11 Eric Biggers <ebiggers3@gmail.com>
4286
4287 [BZ #15362]
4288 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4289 written.
4290 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4291 written.
4292 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4293 written to buffer but not flushed.
4294 * libio/iofwrite_u.c: Likewise.
4295 * libio/iopadn.c: Return bytes returned even if EOF was
4296 encountered.
4297 * libio/iowpadn.c: Likewise.
4298 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4299 if _IO_padn does not write the whole buffer.
4300 [!COMPILE_WPRINTF] (PAD): Likewise.
4301
75b4202a
DM
43022013-10-10 David S. Miller <davem@davemloft.net>
4303
4304 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4305 directory block.
4306
6c6352e6
JM
43072013-10-10 Joseph Myers <joseph@codesourcery.com>
4308
33b853c3
JM
4309 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4310 instead of FSF address.
4311 * soft-fp/fixdfti.c: Likewise.
4312 * soft-fp/fixsfti.c: Likewise.
4313 * soft-fp/fixtfti.c: Likewise.
4314 * soft-fp/fixunsdfti.c: Likewise.
4315 * soft-fp/fixunssfti.c: Likewise.
4316 * soft-fp/fixunstfti.c: Likewise.
4317 * soft-fp/floattidf.c: Likewise.
4318 * soft-fp/floattisf.c: Likewise.
4319 * soft-fp/floattitf.c: Likewise.
4320 * soft-fp/floatuntidf.c: Likewise.
4321 * soft-fp/floatuntisf.c: Likewise.
4322 * soft-fp/floatuntitf.c: Likewise.
4323 * soft-fp/trunctfxf2.c: Likewise.
4324
6c6352e6
JM
4325 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4326 * soft-fp/fixdfti.c: Likewise.
4327 * soft-fp/fixsfti.c: Likewise.
4328 * soft-fp/fixtfti.c: Likewise.
4329 * soft-fp/fixunsdfti.c: Likewise.
4330 * soft-fp/fixunssfti.c: Likewise.
4331 * soft-fp/fixunstfti.c: Likewise.
4332 * soft-fp/floattidf.c: Likewise.
4333 * soft-fp/floattisf.c: Likewise.
4334 * soft-fp/floattitf.c: Likewise.
4335 * soft-fp/floatuntidf.c: Likewise.
4336 * soft-fp/floatuntisf.c: Likewise.
4337 * soft-fp/floatuntitf.c: Likewise.
4338 * soft-fp/trunctfxf2.c: Likewise.
4339
3bf78b71
DM
43402013-10-10 David S. Miller <davem@davemloft.net>
4341
4342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4343
6f10289e
JM
43442013-10-10 Joseph Myers <joseph@codsourcery.com>
4345
bd878fc0
JM
4346 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4347 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4348 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4349 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4350 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4351 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4352 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4353
6f10289e
JM
4354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4355 for NaNs before doing comparisons on argument.
4356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4357 Likewise.
4358
321e2684
WN
43592013-10-10 Will Newton <will.newton@linaro.org>
4360
4361 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4362 passed to _int_memalign does not overflow.
4363
40fefba1
TR
43642013-10-10 Torvald Riegel <triegel@redhat.com>
4365
4366 * scripts/bench.pl: Add include-sources directive.
4367 * benchtests/README: Update documentation.
4368
2ae21ed2
JM
43692013-10-10 Joseph Myers <joseph@codesourcery.com>
4370
dcc2dd3f
JM
4371 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4372 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4373 instead of FP_INIT_ROUNDMODE.
4374 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4375 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4376
2ae21ed2
JM
4377 [BZ #16034]
4378 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4379 copy class of input value.
4380 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4381 not handle exceptions.
4382 * soft-fp/negsf2.c (__negsf2): Likewise.
4383 * soft-fp/negtf2.c (__negtf2): Likewise.
4384 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4385
cb8f9562
JM
43862013-10-09 Joseph Myers <joseph@codesourcery.com>
4387
4388 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4389 semicolon. From Linux kernel.
4390
5b60c59d
AB
43912013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4392
4393 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4394
b86835ca
YC
43952013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4396
4397 [BZ #156]
4398 * manual/socket.texi: Added statement about buffer
4399 for gethostbyname2_r.
4400
e7044ea7
OB
44012013-10-08 Ondřej Bílka <neleai@seznam.cz>
4402
4403 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4404 Use .p2align directive instead, throughout.
4405 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4406 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4407 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4408 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4409 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4410 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4411 * sysdeps/x86_64/strchr.S: Likewise.
4412 * sysdeps/x86_64/strrchr.S: Likewise.
4413
09544cbc
SP
44142013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4415
88576635
SP
4416 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4417
e7b2d1dd
SP
4418 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4419
09544cbc
SP
4420 * sysdeps/generic/math_private.h (__mpsin1): Remove
4421 declaration.
4422 (__mpcos1): Likewise.
4423 (__mpsin): New argument __range_reduce.
4424 (__mpcos): Likewise.
4425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4426 (slow): Use __mpsin and __mpcos.
4427 (slow1): Likewise.
4428 (slow2): Likewise.
4429 (sloww): Likewise.
4430 (sloww1): Likewise.
4431 (sloww2): Likewise.
4432 (bsloww): Likewise.
4433 (bsloww1): Likewise.
4434 (bsloww2): Likewise.
4435 (cslow2): Likewise.
4436 (csloww): Likewise.
4437 (csloww1): Likewise.
4438 (csloww2): Likewise.
4439 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4440 range_reduce. Merge in __mpsin1.
4441 (__mpcos): Likewise.
4442 (__mpsin1): Remove.
4443 (__mpcos1): Likewise.
4444
7602d070
JM
44452013-10-07 Joseph Myers <joseph@codesourcery.com>
4446
4447 * locale/loadlocale.c (_nl_intern_locale_data): Use
4448 LOCFILE_ALIGNED_P.
4449 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4450 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4451 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4452 obstack data is appropriately aligned.
4453 (obstack_int32_grow_fast): Likewise.
4454 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4455 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4456 (add_locale_uint32_array): Likewise.
4457
a357259b
SP
44582013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4459
4460 * benchtests/Makefile: Remove ARGLIST and RET variables.
4461 ($(objpfx)bench-%.c): Pass only function name to the script.
4462 * benchtests/README: Update documentation.
4463 * benchtests/acos-inputs: Add new directives.
4464 * benchtests/acosh-inputs: Likewise.
4465 * benchtests/asin-inputs: Likewise.
4466 * benchtests/asinh-inputs: Likewise.
4467 * benchtests/atan-inputs: Likewise.
4468 * benchtests/atanh-inputs: Likewise.
4469 * benchtests/cos-inputs: Likewise.
4470 * benchtests/cosh-inputs: Likewise.
4471 * benchtests/exp-inputs: Likewise.
4472 * benchtests/log-inputs: Likewise.
4473 * benchtests/pow-inputs: Likewise.
4474 * benchtests/rint-inputs: Likewise.
4475 * benchtests/sin-inputs: Likewise.
4476 * benchtests/sinh-inputs: Likewise.
4477 * benchtests/tan-inputs: Likewise.
4478 * benchtests/tanh-inputs: Likewise.
4479 * scripts/bench.pl: Add support for new directives.
4480
9ec1b13d
AM
44812013-10-07 Alan Modra <amodra@gmail.com>
4482
4483 * README: Fix careless merge.
4484
8b7d57cd
AM
44852013-10-05 Alan Modra <amodra@gmail.com>
4486
4487 * NEWS: Mention powerpc64le support and bugs fixed.
4488 * README: Both big-endian and little-endian powerpc64 supported.
4489
7b7bab13
ST
44902013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4491
4492 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4493 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4494 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4495 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4496
d39baad1
RA
44972013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4498
4499 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4500 match prototype.
4501
cd78f7e7
JM
45022013-10-04 Joseph Myers <joseph@codesourcery.com>
4503
29d73d86
JM
4504 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4505 Move -mhard-float appending from
4506 ports/sysdeps/powerpc/powerpc32/Makefile.
4507 [$(with-fp) = yes] (ASFLAGS): Likewise.
4508 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4509 * sysdeps/powerpc/nofpu: Move directory from
4510 ports/sysdeps/powerpc/nofpu.
4511 * sysdeps/powerpc/soft-fp: Move directory from
4512 ports/sysdeps/powerpc/soft-fp.
4513 * sysdeps/powerpc/powerpc32/405: Move directory from
4514 ports/sysdeps/powerpc/powerpc32/405.
4515 * sysdeps/powerpc/powerpc32/440: Move directory from
4516 ports/sysdeps/powerpc/powerpc32/440.
4517 * sysdeps/powerpc/powerpc32/464: Move directory from
4518 ports/sysdeps/powerpc/powerpc32/464.
4519 * sysdeps/powerpc/powerpc32/476: Move directory from
4520 ports/sysdeps/powerpc/powerpc32/476.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4528 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4530 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4531 * README: Update for powerpc-*-linux-gnu software floating point
4532 support in libc.
4533
e246b347
JM
4534 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4535 case to powerpc/powerpc32*.
4536 * sysdeps/unix/sysv/linux/configure: Regenerated.
4537
89c2003e
JM
4538 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4539 (_FPU_MASK_OM): Define as 0x04.
4540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4542 0x00c10080.
4543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4544 0x0000003c.
4545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4546
cd78f7e7
JM
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4548 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4549 getcontext_e500.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4551 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4552 setcontext_e500.
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4554 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4555 and setcontext_e500.
4556
c755294d
CL
45572013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4558
4559 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4560
e16d221c
SP
45612013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4562
4563 * manual/threads.texi (Default Thread Attributes): Fix typo.
4564
215c7d43
WN
45652013-10-04 Will Newton <will.newton@linaro.org>
4566
4567 * malloc/Makefile: Add tst-memalign.
4568 * malloc/tst-memalign.c: New file.
4569
27d0461b
WN
4570 * malloc/tst-posix_memalign.c: Add comments.
4571 (do_test): Add comments and call free on all potentially
4572 allocated pointers. Add space after cast.
4573
1bc92709
WN
4574 * malloc/tst-pvalloc.c: Add comments.
4575 (do_test): Add comments and call free on all potentially
4576 allocated pointers. Remove duplicate check for NULL pointer.
4577 Add space after cast.
4578
66a9be9d
WN
4579 * malloc/tst-valloc.c: Add comments.
4580 (do_test): Add comments and call free on all potentially
4581 allocated pointers. Remove duplicate check for NULL pointer.
4582 Add space after cast.
4583
4cb81307
AM
45842013-10-04 Alan Modra <amodra@gmail.com>
4585
4586 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4587 Use stdint types in rather than __attribute__((mode())).
4588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4589
f8e3e9f3
AM
45902013-10-04 Alan Modra <amodra@gmail.com>
4591
4592 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4593 Correct handling of unaligned relocs for little-endian.
4594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4595
8f9ebb08
AM
45962013-10-04 Alan Modra <amodra@gmail.com>
4597
4598 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4599 * configure: Regenerate.
4600 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4601 * shlib-versions: Likewise.
4602
0edf96c2
AM
46032013-10-04 Alan Modra <amodra@gmail.com>
4604
4605 * string/tester.c (test_memrchr): Increment reported test cycle.
4606
e0f7a380
AM
46072013-10-04 Alan Modra <amodra@gmail.com>
4608
4609 * string/test-memcpy.c (do_one_test): When reporting errors, print
4610 string address and don't overrun end of string.
4611
466b0393
AM
46122013-10-04 Alan Modra <amodra@gmail.com>
4613
4614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4615 insrdi. Make better use of reg selection to speed exit slightly.
4616 Schedule entry path a little better. Remove useless "are we done"
4617 checks on entry to main loop. Handle wrapping around zero address.
4618 Correct main loop count. Handle single left-over word from main
4619 loop inline rather than by using loop_small. Remove extra word
4620 case in loop_small caused by wrong loop count. Add little-endian
4621 support.
4622 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4624 cache hint.
4625 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4626 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4627 support. Avoid rlwimi.
4628 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4629
3be87c77
AM
46302013-10-04 Alan Modra <amodra@gmail.com>
4631
4632 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4633 insrdi. Formatting.
3be87c77
AM
4634 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4636 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4637 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4638 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4639 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4640
759cfef3
AM
46412013-10-04 Alan Modra <amodra@gmail.com>
4642
4643 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4644 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4646 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4647 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4648 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4649 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4650 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4651 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4652 use of regs. Use power7 mtocrf. Tidy function tails.
4653
fe6e95d7
AM
46542013-10-04 Alan Modra <amodra@gmail.com>
4655
4656 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4657 Formatting. Consistently use rXXX register defines or rN defines.
4658 Use early exit labels that avoid restoring unused non-volatile regs.
4659 Make cr field use more consistent with rWORDn compares. Rename
4660 regs used as shift registers for unaligned loop, using rN defines
4661 for short lifetime/multiple use regs.
4662 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4664 addi 1,1,64 to pop stack frame. Simplify return value code.
4665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4666
664318c3
AM
46672013-10-04 Alan Modra <amodra@gmail.com>
4668
4669 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4670 support. Correct typos, formatting. Optimize tail. Use insrdi
4671 rather than rlwimi.
4672 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4673 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4674 little-endian support. Correct typos.
4675 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4676 rather than rlwimi.
4677 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4678 in loop and entry code to keep "and." results.
4679 (strchr): Add little-endian support. Comment. Move cntlzd
4680 earlier in tail.
4681 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4682
43b84013
AM
46832013-10-04 Alan Modra <amodra@gmail.com>
4684
4685 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4686 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4687 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4688 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4689
8a7413f9
AM
46902013-10-04 Alan Modra <amodra@gmail.com>
4691
4692 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4693 (rTMP): Define as r11.
4694 (strcmp): Add little-endian support. Optimise tail.
4695 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4696 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4697 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4698 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4699 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4701 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4702
33ee81de
AM
47032013-10-04 Alan Modra <amodra@gmail.com>
4704
4705 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4706 little-endian support. Remove unnecessary "are we done" tests.
4707 Handle "s" wrapping around zero and extremely large "size".
4708 Correct main loop count. Handle single left-over word from main
4709 loop inline rather than by using small_loop. Correct comments.
4710 Delete "zero" tail, use "end_max" instead.
4711 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4712
db9b4570
AM
47132013-10-04 Alan Modra <amodra@gmail.com>
4714
4715 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4716 support. Don't branch over align.
4717 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4718 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4719 support. Rearrange tmp reg use to suit. Comment.
4720 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4721
f7c399cf
AM
47222013-10-04 Alan Modra <amodra@gmail.com>
4723
4724 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4725
0b2c2ace
AM
47262013-10-04 Alan Modra <amodra@gmail.com>
4727
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4729 conditional form of branch and link when obtaining pc.
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4731
02f04a6c
AM
47322013-10-04 Alan Modra <amodra@gmail.com>
4733
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4735 HIWORD/LOWORD.
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4738
9b874b2f
AM
47392013-10-04 Alan Modra <amodra@gmail.com>
4740
4741 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4742 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4743 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4744 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4745 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4746 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4747 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4748 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4749 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4750 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4751
be1e5d31
AB
47522013-10-04 Anton Blanchard <anton@au1.ibm.com>
4753 Alistair Popple <alistair@ozlabs.au.ibm.com>
4754 Alan Modra <amodra@gmail.com>
4755
4756 [BZ #15723]
4757 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4758 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4759 _dl_hwcap access for little-endian.
4760 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4761 destroy vmx regs when saving unaligned.
4762 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4763 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4764 destroy vmx regs when saving unaligned.
4765
fef13a78
AM
47662013-10-04 Alan Modra <amodra@gmail.com>
4767
4768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4769 Don't use a union to pack hi/low value.
4770
76a66d51
AB
47712013-10-04 Anton Blanchard <anton@au1.ibm.com>
4772
4773 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4774 for little-endian.
4775 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4777 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4778 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4779 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4780
6a31fe7f
AM
47812013-10-04 Alan Modra <amodra@gmail.com>
4782
4783 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4784 constants to usual value for .cst8 section, and remove redundant
4785 high address load.
4786 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4787 constant for 0x1p52. Load little-endian words of double from
4788 correct stack offsets.
4789
7b88401f
AM
47902013-10-04 Alan Modra <amodra@gmail.com>
4791
4792 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4793 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4794 words of double from correct stack offsets.
4795 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4796 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4797 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4798 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4799 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4800 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4801 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4802 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4803 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4805 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4806 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4807 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4808 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4809 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4810 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4811 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4812
9c008155
AM
48132013-10-04 Alan Modra <amodra@gmail.com>
4814
4815 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4816 64-bit int/double union.
4817 (_FPU_SETCW): Likewise.
4818 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4819 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4820
da13146d
AM
48212013-10-04 Alan Modra <amodra@gmail.com>
4822
4823 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4824 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4825
603e8410
AM
48262013-10-04 Alan Modra <amodra@gmail.com>
4827
4828 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4829 use vector int constants.
4830 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4831
4a28b3ca
AB
48322013-10-04 Anton Blanchard <anton@au1.ibm.com>
4833
4834 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4835 array with long long.
4836 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4837 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4838 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4839 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4840 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4841 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4842 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4843 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4844 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4845 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4846 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4847 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4848 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4849
2ca85d2b
AB
48502013-10-04 Anton Blanchard <anton@au1.ibm.com>
4851
4852 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4853 (__signbit): Likewise. Correct for little-endian.
4854 (__signbitl): Call __signbit.
4855 (lrint): Correct for little-endian.
4856 (lrintf): Call lrint.
4857
62a728ae
AM
48582013-10-04 Alan Modra <amodra@gmail.com>
4859
4860 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4861 union 32-bit int array member with 64-bit int array.
4862 (t515, tm256): Double rather than long double.
4863 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4864
32c301df
AM
48652013-10-04 Alan Modra <amodra@gmail.com>
4866
4867 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4868 Delete.
4869 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4871 version of math_ldbl.h.
4872
650ef4bd
AM
48732013-10-04 Alan Modra <amodra@gmail.com>
4874
4875 [BZ #15734], [BZ #15735]
4876 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4877 all uses of ieee875 long double macros and unions. Simplify test
4878 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4879 ldbl_extract_mantissa value for ix,iy exponents. Properly
4880 normalize after ldbl_extract_mantissa, and don't add hidden bit
4881 already handled. Don't treat low word of ieee854 mantissa like
4882 low word of IBM long double and mask off bit when testing for
4883 zero.
4884 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4885 all uses of ieee875 long double macros and unions. Simplify tests
4886 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4887 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4888 two1022, instead use their values. Recognise that tests for large
4889 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4890 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4891 Rewrite all uses of ieee875 long double macros and unions. Simplify
4892 test for 0.0L and nan. Correct negation.
4893 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4894 ieee875 long double macros and unions. Correct output for large
4895 magnitude x. Correct absolute value calculation.
4896 (__erfcl): Likewise.
4897 * math/libm-test.inc: Add tests for errors discovered in IBM long
4898 double versions of fmodl, remainderl, erfl and erfcl.
4899
765714ca
AM
49002013-10-04 Alan Modra <amodra@gmail.com>
4901
4902 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4903 all uses of ieee854 long double macros and unions. Simplify tests
4904 for long doubles that are fully specified by the high double.
4905 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4906 Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4908 Remove dead code too.
4909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4910 (__ieee754_ynl): Likewise.
4911 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4914 Remove dead code too.
4915 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4916 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4918 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4919 Simplify.
4920 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4921 Simplify.
4922 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4925 Comment on variable precision.
4926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4928 Likewise.
4929 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4930 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4933 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4934
4ebd120c
AM
49352013-10-04 Alan Modra <amodra@gmail.com>
4936
4937 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4938 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4939 all uses of ieee854 long double macros and unions.
4940 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4941 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4942 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4943 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4944 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4946 Likewise.
4947 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4948 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4949 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4950 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4951 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4953 Simplify sign and nan test too.
4954 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4955 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4958 Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4961 Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4963 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4968
1b6adf88
AM
49692013-10-04 Alan Modra <amodra@gmail.com>
4970
4971 * stdio-common/printf_size.c (__printf_size): Don't use
4972 union ieee854_long_double in fpnum union.
4973 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4974 signbit macro to retrieve sign from long double.
4975 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4976 retrieve sign from long double.
4977 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4978 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4979 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4980 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4981 * math/test-misc.c (main): Don't use union ieee854_long_double.
4982
4cf69995
AM
49832013-10-04 Alan Modra <amodra@gmail.com>
4984
4985 [BZ #15680]
4986 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4987 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4988 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4989 calculation. Remove unnecessary test for denormal exponent.
4990 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4991 Correct handling of denormals. Avoid undefined shift behaviour.
4992 Correct normalisation of low mantissa when low double is denormal.
4993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4994 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4995 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4996 Correct normalisation of low mantissa. Test for overflow of high
4997 mantissa and normalise.
4998 (ldbl_nearbyint): Use more readable constant for two52.
4999 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5000 (__mpn_construct_long_double): Fix test for overflow of high
5001 mantissa and correct normalisation. Avoid undefined shift.
5002
9605ca6c
AM
50032013-10-04 Alan Modra <amodra@gmail.com>
5004
5005 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5006 (union ibm_extended_long_double): Define as an array of ieee754_double.
5007 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5008 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5009 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5010 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5011 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5014 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5015 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5016 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5017 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5018
975569d0
JM
50192013-10-03 Joseph Myers <joseph@codesourcery.com>
5020
d3d23756
JM
5021 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5022 page size instead of calling getpagesize.
5023
975569d0
JM
5024 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5025 (LOCFILE_ALIGN_MASK): Likewise.
5026 (LOCFILE_ALIGN_UP): Likewise.
5027 (LOCFILE_ALIGNED_P): Likewise.
5028 * locale/programs/ld-collate.c (collate_output): Use the new
5029 macros instead of __alignof__ (int32_t).
5030 * locale/weight.h (findidx): Likewise.
5031
b1fe1f2b
OB
50322013-10-03 Ondřej Bílka <neleai@seznam.cz>
5033
5034 [BZ #431]
5035 * manual/string.texi: Fix strncat and wcsncat.
5036
5f855e35
BM
50372013-10-03 Brooks Moses <bmoses@google.com>
5038
5039 [BZ #15915]
5040 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5041 * Makerules: ...here, and adjust associated comments.
5042
3cef6009
WN
50432013-10-02 Will Newton <will.newton@linaro.org>
5044
5045 * malloc/Makefile: Add tst-pvalloc.
5046 * malloc/tst-pvalloc.c: New file.
5047
7815420b
WN
50482013-10-02 Will Newton <will.newton@linaro.org>
5049
5050 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5051 improve test coverage.
5052
4868b204
WN
50532013-10-02 Will Newton <will.newton@linaro.org>
5054
5055 * malloc/Makefile: Add tst-posix_memalign.
5056 * malloc/tst-posix_memalign.c: New file.
5057
29c793b3
EB
50582013-10-01 Eric Blake <eblake@redhat.com>
5059
5060 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5061 Use __THROWNL rather than __THROW on static functions.
5062
fd967522
PM
50632013-09-30 Petr Machata <pmachata@redhat.com>
5064
5065 * elf/elf.h (R_AARCH64_ABS16): New macro.
5066 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5067 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5068 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5069 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5070 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5071 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5072 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5073 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5074 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5075 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5076 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5077 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5078 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5079 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5080 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5081 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5082 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5083 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5084 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5085 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5086 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5087 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5088 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5089 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5090 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5091 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5092 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5093 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5094 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5095 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5096 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5097 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5098 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5099 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5100 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5101 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5102 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5103 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5104 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5105 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5106 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5107 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5108 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5109 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5110 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5111 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5112 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5113 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5114 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5115 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5116 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5117 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5118 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5119 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5120 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5121 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5122 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5123 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5124 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5125 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5126 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5127 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5128 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5129 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5130 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5131 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5132 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5133 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5134 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5135 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5136 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5137 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5138 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5139 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5140 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5141 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5142 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5143 (R_AARCH64_TLSDESC_LDR): Likewise.
5144 (R_AARCH64_TLSDESC_ADD): Likewise.
5145 (R_AARCH64_TLSDESC_CALL): Likewise.
5146
b2179107
AS
51472013-09-30 Andreas Schwab <schwab@suse.de>
5148
5149 [BZ #15048]
5150 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5151 the nss database lookup.
5152 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5154
47f28d0a
MF
51552013-09-28 Mike Frysinger <vapier@gentoo.org>
5156
5157 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5158
51592013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5160
5161 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5162 ${Bash-specific parameter/pattern/string} parameter expansion.
5163 * sysdeps/unix/make-syscalls.sh: Likewise.
5164
f4518a17
KK
51652013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5166
5167 * sysdeps/sh/stackguard-macros.h: New file.
5168
dc1a95c7
OB
51692013-09-26 Ondřej Bílka <neleai@seznam.cz>
5170
5171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5173 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5174 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5175 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5176 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5177
5ebbff8f
AZ
51782013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5179
5180 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5181 Fix thread ID register.
5182
4fd2cf9f
JM
51832013-09-25 Joseph Myers <joseph@codesourcery.com>
5184
5185 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5186 [POSIX || UNIX98]: Require rather than permitting all symbols from
5187 <time.h>.
5188 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5189 element of struct sched_param.
5190 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5191 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5192 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5193 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5194 constant.
5195
12c22bc4
OL
51962013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5197
5198 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5199 argument calculation.
5200
a03d8ea7
JM
52012013-09-24 Joseph Myers <joseph@codesourcery.com>
5202
5203 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5204 Expect macro.
5205 [POSIX] (pthread_attr_t): Do not require type.
5206 [POSIX] (pthread_cond_t): Likewise.
5207 [POSIX] (pthread_condattr_t): Likewise.
5208 [POSIX] (pthread_key_t): Likewise.
5209 [POSIX] (pthread_mutex_t): Likewise.
5210 [POSIX] (pthread_mutexattr_t): Likewise.
5211 [POSIX] (pthread_once_t): Likewise.
5212 [POSIX] (pthread_t): Likewise.
5213 [POSIX-based standards] (pthread_atfork): Expect function.
5214
6055173a
JM
52152013-09-24 Joseph Myers <joseph@codesourcery.com>
5216 Richard Sandiford <richard@codesourcery.com>
5217
5218 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5219 (swap_endianness_p): New extern variable.
5220 (set_big_endian): New inline function.
5221 (maybe_swap_uint32): Likewise.
5222 (maybe_swap_uint32_array): Likewise.
5223 (maybe_swap_uint32_obstack): Likewise.
5224 * locale/programs/locfile.c: Include <stdbool.h>.
5225 (swap_endianness_p): New variable.
5226 (add_locale_uint32): Call maybe_swap_uint32.
5227 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5228 (write_locale_data): Call maybe_swap_uint32_array.
5229 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5230 maybe_swap_uint32.
5231 (obstack_int32_grow_fast): Likewise.
5232 (output_weightwc): Call maybe_swap_uint32_obstack.
5233 (collate_output): Likewise.
5234 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5235 (OPT_LITTLE_ENDIAN): Likewise.
5236 (options): Add --little-endian and --big-endian options.
5237 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5238 * locale/programs/locarchive.c: Include "locfile.h".
5239 (GET): New macro.
5240 (SET): Likewise.
5241 (INC): Likewise.
5242 (create_archive): Use the new macros to access fields of
5243 structures directly mapped from or written to locale archives.
5244 (oldlocrecentcmp): Likewise.
5245 (enlarge_archive): Likewise.
5246 (insert_name): Likewise.
5247 (add_alias): Likewise.
5248 (add_locale): Likewise.
5249 (delete_locales_from_archive): Likewise.
5250 (show_archive_content): Likewise.
5251 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5252 locale data.
5253
39bf0bb4
RM
52542013-09-24 Roland McGrath <roland@hack.frob.com>
5255
5256 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5257 http://www.gnu.org/doc/freemanuals.texi.
5258 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5259
f02eed10
WN
52602013-09-24 Will Newton <will.newton@linaro.org>
5261
5262 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5263 macro.
5264
a3a6c312
JM
52652013-09-23 Joseph Myers <joseph@codesourcery.com>
5266
5267 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5268 unsigned char.
5269
107375ac
MR
52702013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5271
5272 * manual/threads.texi (POSIX Threads): Fix a typo.
5273
141f3a77
SP
52742013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5275
303e567a
SP
5276 [BZ #14547]
5277 * string/tst-strcoll-overflow.c: New test case.
5278 * string/Makefile (xtests): Add tst-strcoll-overflow.
5279 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5280 cache if string sizes may cause integer overflow.
5281
141f3a77
SP
5282 [BZ #14547]
5283 * string/strcoll_l.c (coll_seq): New members rule, idx,
5284 save_idx and back_us.
5285 (get_next_seq_nocache): New function.
5286 (do_compare_nocache): New function.
5287 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5288 when malloc fails.
5289
c61b4d41
CD
52902013-09-23 Carlos O'Donell <carlos@redhat.com>
5291
0b1f8e35
CD
5292 [BZ #15754]
5293 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5294 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5295 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5296
c61b4d41
CD
5297 [BZ #15754]
5298 * elf/Makefile (tests): Add tst-ptrguard1.
5299 (tests-static): Add tst-ptrguard1-static.
5300 (tst-ptrguard1-ARGS): Define.
5301 (tst-ptrguard1-static-ARGS): Define.
5302 * elf/tst-ptrguard1.c: New file.
5303 * elf/tst-ptrguard1-static.c: New file.
5304 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5305 * sysdeps/i386/stackguard-macros.h: Likewise.
5306 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5307 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5308 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5309 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5310 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5311 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5312
53132013-09-23 Hector Marco <hecmargi@upv.es>
5314 Ismael Ripoll <iripoll@disca.upv.es>
5315 Carlos O'Donell <carlos@redhat.com>
5316
5317 [BZ #15754]
5318 * sysdeps/generic/stackguard-macros.h: Define
5319 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5320 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5321 Define __pointer_chk_guard_local.
5322 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5323 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5324
f5f4e7b4
VV
53252013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5326
5327 [BZ #15859]
5328 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5329
5bb43a43
AS
53302013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5331
5332 * include/string.h (__ffs): Declare as hidden.
5333 * string/ffs.c (__ffs): Define as hidden.
5334 * sysdeps/i386/ffs.c (__ffs): Likewise.
5335 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5336 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5337 * sysdeps/s390/ffs.c (__ffs): Likewise.
5338 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5339
3ea5be54
AO
53402013-09-20 Alexandre Oliva <aoliva@redhat.com>
5341
ffb89e53
AO
5342 * NEWS: Mention malloc probes.
5343
322dea08
AO
5344 * malloc/arena.c (new_heap): New memory_heap_new probe.
5345 (grow_heap): New memory_heap_more probe.
5346 (shrink_heap): New memory_heap_less probe.
5347 (heap_trim): New memory_heap_free probe.
5348 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5349 (systrim): New memory_sbrk_less probe.
5350 * manual/probes.texi: Document them.
5351
655673f3
AO
5352 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5353 * manual/probes.texi: Document it.
5354
35fed6f1
AO
5355 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5356 (__libc_realloc): Add memory_realloc_retry probe.
5357 (__libc_memalign): Add memory_memalign_retry probe.
5358 (__libc_valloc): Add memory_valloc_retry probe.
5359 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5360 (__libc_calloc): Add memory_calloc_retry probe.
5361 * manual/probes.texi: Document them.
5362
6999d38c
AO
5363 * malloc/arena.c (get_free_list): Add probe
5364 memory_arena_reuse_free_list.
5365 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5366 and memory_arena_reuse.
5367 (arena_get2) [!PER_THREAD]: Likewise.
5368 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5369 memory_arena_reuse_realloc.
5370 * manual/probes.texi: Document them.
5371
0653427f
AO
5372 * malloc/malloc.c (__libc_free): Add
5373 memory_mallopt_free_dyn_thresholds probe.
5374 (__libc_mallopt): Add multiple memory_mallopt probes.
5375 * manual/probes.texi: Document them.
5376
3ea5be54
AO
5377 * malloc/malloc.c: Include stap-probe.h.
5378 (__libc_mallopt): Add memory_mallopt probe.
5379 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5380 * manual/probes.texi: New.
5381 * manual/Makefile (chapters): Add probes.
5382 * manual/threads.texi: Set next node.
5383
e35696c3 53842013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5385
e35696c3
CL
5386 [BZ #15963, #13985]
5387 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5388 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5389 Add `Chinese' to `nan' entry name.
5390
4aafb73c
SP
53912013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5392
5393 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5394 (POLYNOMIAL): Likewise.
5395 (TAYLOR_SINCOS): Likewise.
5396 (TAYLOR_SLOW): Likewise.
5397 (__sin): Use TAYLOR_SINCOS.
5398 (__cos): Likewise.
5399 (slow): Use TAYLOR_SLOW.
5400 (sloww): Likewise.
5401 (bsloww): Likewise.
5402 (csloww): Likewise.
5403
d84f25c7
LD
54042013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5405
5406 * stdlib/strtod_l.c: Fix buffer overrun.
5407
5eea0404
SP
54082013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5409
7849ff93
SP
5410 * benchtests/Makefile (bench): Add sincos.
5411 * benchtests/bench-sincos.c: New file.
5412
cfa3c886
SP
5413 * math/libm-test.inc (cos_test_data): New test inputs.
5414 (sin_test_data): Likewise.
5415
b348e1e3
SP
5416 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5417 macro.
5418 (__sin): Use it.
5419 (__cos): Likewise.
5420 (slow1): Likewise.
5421 (slow2): Likewise.
5422 (sloww1): Likewise.
5423 (sloww2): Likewise.
5424 (bsloww1): Likewise.
5425 (bsloww2): Likewise.
5426 (cslow2): Likewise.
5427 (csloww1): Likewise.
5428 (csloww2): Likewise.
5429
6cce25f8
SP
5430 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5431 function.
5432 (__sin): Use it.
5433 (__cos): Likewise.
5434
5eea0404
SP
5435 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5436 gotos.
5437 (__cos): Likewise.
5438
9c21573c
MR
54392013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5440
5441 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5442 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5443 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5444 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5445 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5446 * elf/cache.c (print_entry): Handle the new cache flags.
5447
24d22e65
JM
54482013-09-18 Joseph Myers <joseph@codesourcery.com>
5449 Aldy Hernandez <aldyh@redhat.com>
5450
5451 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5452 Change condition to [_SOFT_FLOAT].
5453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5465 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5468 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5469 declaration.
5470
d13ef066
JM
54712013-09-18 Joseph Myers <joseph@codesourcery.com>
5472
2e071de0
JM
5473 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5474 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5475 (__longjmp): Use LOAD_GP to load saved GPRs.
5476 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5477 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5478 (__sigsetjmp): Use SAVE_GP to save GPRs.
5479
d13ef066
JM
5480 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5481 Do not append -msoft-float.
5482 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5483
97a0650b
SP
54842013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5485
5486 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5487
11ca09e9
JM
54882013-09-17 Joseph Myers <joseph@codesourcery.com>
5489
5490 [BZ #15966]
5491 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5492 (_FPU_GETCW): Use initial "__" on variable and field names but not
5493 on macro parameter name.
5494 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5495 parentheses around reference to macro parameter.
5496
08ffcf34
RS
54972013-09-13 Richard Sandiford <richard@codesourcery.com>
5498
5499 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5500 prototype.
5501 (ctype_startup): Use uint32_t in cast and sizeof for
5502 ctype->charnames.
5503
ae7080d3
JL
55042013-09-11 Jia Liu <proljc@gmail.com>
5505
5506 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5507 __daddr_t_defined.
5508 [__FreeBSD__]: Likewise.
5509
5905e7b3
OB
55102013-09-11 Ondřej Bílka <neleai@seznam.cz>
5511
5512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5513 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5514 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5515 (strchr): Remove __strchr_sse42 ifunc selection.
5516 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5517 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5518
b987c776
WN
55192013-09-11 Will Newton <will.newton@linaro.org>
5520
5521 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5522 parameter to RES. Remove hardcoded 1000 value.
5523 * benchtests/bench-skeleton.c (main): Pass RES parameter
5524 to TIMING_INIT and multiply result by 1000.
5525
ddf985af
AZ
55262013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5527
5528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5529
ffdd3181
AS
55302013-09-11 Andreas Schwab <schwab@suse.de>
5531
5532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5533 if not defined.
5534 (O_TMPFILE) [__USE_GNU]: Define.
5535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5536 Define.
5537
b73ed247
WN
55382013-09-11 Will Newton <will.newton@linaro.org>
5539
5540 [BZ #15857]
5541 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5542 does not overflow.
5543
55e17aad
WN
55442013-09-11 Will Newton <will.newton@linaro.org>
5545
5546 [BZ #15856]
5547 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5548 does not overflow.
5549
1159a193
WN
55502013-09-11 Will Newton <will.newton@linaro.org>
5551
5552 [BZ #15855]
5553 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5554 does not overflow.
5555
5905e7b3 55562013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5557
5558 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5559 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5563
cdfc721b
AM
55642013-09-10 Allan McRae <allan@archlinux.org>
5565
aa04af00
AM
5566 [BZ #15748]
5567 * manual/arith.texi (Parsing of Floats): Clarify
5568 cross-reference.
5569
cdfc721b
AM
5570 [BZ #15849]
5571 * manual/install.texi (Running make install): Mention
5572 --enable-pt-chown.
5573 * INSTALL: Regenerated.
5574
95e7cf29
MR
55752013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5576
5577 * csu/init-first.c (_init): Remove the !SHARED condition around
5578 FPU control word initialization.
5579 * elf/dl-support.c (_dl_fpu_control): New variable.
5580 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5581 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5582 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5583 * math/test-fpucw-static.c: New file.
5584 * math/test-fpucw-ieee.c: New file.
5585 * math/test-fpucw-ieee-static.c: New file.
5586 * math/Makefile (tests): Add `test-fpucw-ieee' and
5587 `$(tests-static)'.
5588 (tests-static): New variable.
5589 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5590 dependency to...
5591 [($(build-shared),yes)]
5592 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5593 ... this.
5594 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5595 New dependency.
5596
83e43bf0
AM
55972013-09-09 Allan McRae <allan@archlinux.org>
5598
a9f5ce09
AM
5599 [BZ #15939]
5600 * manual/string.texi (Collation Functions): Fix typo in
5601 strcoll example.
5602 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5603
34829bc2
AM
5604 [BZ #15893]
5605 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5606
3932737d
AM
5607 [BZ #15892]
5608 * libio/memstream.c (open_memstream): Fix memory leak.
5609 * libio/wmemstream.c (open_wmemstream): Likewise.
5610
83e43bf0
AM
5611 [BZ #15895]
5612 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5613
0c66b8e9
WN
56142013-09-09 Will Newton <will.newton@linaro.org>
5615
5616 * malloc/Makefile: Add tst-realloc to tests.
5617 * malloc/tst-realloc.c: New file.
5618
f6b00fd1
AM
56192013-09-09 Allan McRae <allan@archlinux.org>
5620
5621 [BZ #15844]
5622 * COPYING: Update from GNU website to fix FSF address.
5623 * COPYING.LIB: Likewise.
5624
eec55e16
DM
56252013-09-06 David S. Miller <davem@davemloft.net>
5626
5627 * po/zh_TW.po: Update Chinese (traditional) translation from
5628 translation project.
5629
1ecbb381
RS
56302013-09-06 Richard Sandiford <richard@codesourcery.com>
5631 Joseph Myers <joseph@codesourcery.com>
5632
5633 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5634 "localeinfo.h".
5635 (obstack_chunk_alloc): New macro.
5636 (obstack_chunk_free): Likewise.
5637 (record_offset): New function.
5638 (init_locale_data): Likewise.
5639 (align_locale_data): Likewise.
5640 (add_locale_empty): Likewise.
5641 (add_locale_raw_data): Likewise.
5642 (add_locale_raw_obstack): Likewise.
5643 (add_locale_string): Likewise.
5644 (add_locale_wstring): Likewise.
5645 (add_locale_uint32): Likewise.
5646 (add_locale_uint32_array): Likewise.
5647 (add_locale_char): Likewise.
5648 (start_locale_structure): Likewise.
5649 (end_locale_structure): Likewise.
5650 (start_locale_prelude): Likewise.
5651 (end_locale_prelude): Likewise.
5652 (write_locale_data): Take locale_file structure rather than an
5653 iovec.
5654 * locale/programs/locfile.h: Include "obstack.h".
5655 (struct locale_file): Change to store locale file contents instead
5656 of header.
5657 (init_locale_data): New prototype.
5658 (align_locale_data): Likewise.
5659 (add_locale_empty): Likewise.
5660 (add_locale_raw_data): Likewise.
5661 (add_locale_raw_obstack): Likewise.
5662 (add_locale_string): Likewise.
5663 (add_locale_wstring): Likewise.
5664 (add_locale_uint32): Likewise.
5665 (add_locale_uint32_array): Likewise.
5666 (add_locale_char): Likewise.
5667 (start_locale_structure): Likewise.
5668 (end_locale_structure): Likewise.
5669 (start_locale_prelude): Likewise.
5670 (end_locale_prelude): Likewise.
5671 (write_locale_data): Update prototype.
5672 * locale/programs/3level.h (struct TABLE): Remove result field.
5673 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5674 Use new locale_file interface.
5675 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5676 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5677 * locale/programs/ld-address.c (address_output): Use new
5678 locale_file interface.
5679 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5680 NO_ADD_LOCALE.
5681 (collate_finish): Don't call collseq_table_finalize.
5682 (collate_output): Use new locale_file interface.
5683 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5684 in file.
5685 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5686 (TABLE): Move defines earlier in file.
5687 (ELEMENT): Likewise.
5688 (DEFAULT): Likewise.
5689 (wctrans_table_add): Move macro and inline function earlier in
5690 file.
5691 (struct wctype_table): Move type earlier in file.
5692 (add_locale_wctype_table): New static prototype.
5693 (struct locale_ctype_t): Use logical types instead of struct iovec
5694 pointers for members.
5695 (ctype_output): Use new locale_file interface.
5696 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5697 new locale_file interface.
5698 (allocate_arrays): Update for use of new locale_file interface.
5699 * locale/programs/ld-identification.c (identification_output): Use
5700 new locale_file interface.
5701 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5702 * locale/programs/ld-messages.c (messages_output): Likewise.
5703 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5704 * locale/programs/ld-name.c (name_output): Likewise.
5705 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5706 * locale/programs/ld-paper.c (paper_output): Likewise.
5707 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5708 * locale/programs/ld-time.c (time_output): Likewise.
5709
e029e2e5
AZ
57102013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5711
5712 * benchtests/Makefile: Add memrchr benchmark.
5713 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5714 benchmark as memrchr.
5715 * benchtests/bench-memrchr-ifunc.c: New file.
5716 * benchtests/bench-memrchr.c: New file.
5717
bbf6e8e4
WN
57182013-09-06 Will Newton <will.newton@linaro.org>
5719
5720 * benchtests/Makefile (string-bench): Add memcpy.
5721
6c82a2f8
CD
57222013-09-05 Carlos O'Donell <carlos@redhat.com>
5723 Cong Wang <amwang@redhat.com>
5724
5725 * sysdeps/unix/sysv/linux/bits/in.h
5726 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5727 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5728 before __USE_KERNEL_IPV6_DEFS uses.
5729 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5730 IPPROTO_BEETPH.
5731 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5732 sockaddr_in6, or ipv6_mreq.
5733
5430fc65
AZ
57342013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735
5736 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5737 memory access for final bytes in some large inputs.
5738 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5739
4660856c
AZ
57402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741
5742 * string/test-memrchr.c: New file.
5743 * string/test-memrchr-ifunc.c: New file.
5744 * string/Makefile: Add new memrchr testcase.
5745
bb8ea713
MF
57462013-09-05 Mike Frysinger <vapier@gentoo.org>
5747
5748 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5749 fanotify_init returns EPERM.
5750
b92a20b5
JM
57512013-09-04 Joseph Myers <joseph@codesourcery.com>
5752
5753 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5754 errors.
5755 (top level): Treat second token from macro or constant entries for
5756 allowed headers as allowed.
5757 * include/complex.h: Condition internal declarations on
5758 [!_ISOMAC].
5759 * include/fenv.h: Condition include of <stdbool.h> and internal
5760 declarations on [!_ISOMAC].
7447ccd9
CL
5761
57622013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5763
3e181dda 5764 [BZ #15923]
7447ccd9
CL
5765 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5766
3f2e46a4
JM
57672013-09-04 Joseph Myers <joseph@codesourcery.com>
5768
5769 * configure.in (--enable-versioning): Remove configure option.
5770 (libc_cv_asm_symver_directive): Remove configure test.
5771 (libc_cv_ld_version_script_option): Likewise.
5772 (VERSIONING): Remove variable and AC_SUBST.
5773 (DO_VERSIONING): Remove AC_DEFINE.
5774 * configure: Regenerated.
5775 * config.h.in (DO_VERSIONING): Remove macro.
5776 * Makerules [$(versioning) = yes]: Change conditionals to
5777 [$(build-shared) = yes].
5778 * config.make.in (versioning): Remove variable.
5779 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5780 [$(build-shared) = yes].
5781 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5782 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5783 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5784 [$(build-shared) = yes].
5785 * extra-lib.mk [$(versioning) = yes]: Likewise.
5786 * hurd/Makefile [$(versioning) = yes]: Likewise.
5787 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5788 [SHARED].
5789 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5790 [SHARED].
5791 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5792 [SHARED && !NO_HIDDEN].
5793 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5794 [SHARED].
5795 [SHARED && DO_VERSIONING]: Likewise..
5796 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5797 [$(build-shared) = yes].
5798 * manual/install.texi (--disable-versioning): Remove
5799 documentation.
5800 * INSTALL: Regenerated.
5801 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5802 to [SHARED].
5803 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5804 [$(build-shared) = yes].
5805 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5806 * sysdeps/i386/i686/multiarch/strstr-c.c
5807 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5808 [SHARED && !NO_HIDDEN].
5809 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5810 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5811 * sysdeps/powerpc/powerpc32/dl-machine.c
5812 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5813 * sysdeps/powerpc/powerpc32/sysdep.h
5814 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5815 to [SHARED && PIC && !NO_HIDDEN].
5816 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5817 conditional to [SHARED].
5818
44558701
WN
58192013-09-04 Will Newton <will.newton@linaro.org>
5820
5821 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5822 * benchtests/bench-string.h: Include bench-timing.h instead
5823 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5824 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5825 call to HP_TIMING_DIFF_INIT.
5826 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5827 instead of hp-timing.h macros.
5828 * benchtests/bench-memchr.c: Likewise.
5829 * benchtests/bench-memcmp.c: Likewise.
5830 * benchtests/bench-memcpy.c: Likewise.
5831 * benchtests/bench-memmem.c: Likewise.
5832 * benchtests/bench-memmove.c: Likewise.
5833 * benchtests/bench-memset.c: Likewise.
5834 * benchtests/bench-rawmemchr.c: Likewise.
5835 * benchtests/bench-strcasecmp.c: Likewise.
5836 * benchtests/bench-strcasestr.c: Likewise.
5837 * benchtests/bench-strcat.c: Likewise.
5838 * benchtests/bench-strchr.c: Likewise.
5839 * benchtests/bench-strcmp.c: Likewise.
5840 * benchtests/bench-strcpy.c: Likewise.
5841 * benchtests/bench-strcpy_chk.c: Likewise.
5842 * benchtests/bench-strlen.c: Likewise.
5843 * benchtests/bench-strncasecmp.c: Likewise.
5844 * benchtests/bench-strncat.c: Likewise.
5845 * benchtests/bench-strncmp.c: Likewise.
5846 * benchtests/bench-strncpy.c: Likewise.
5847 * benchtests/bench-strnlen.c: Likewise.
5848 * benchtests/bench-strpbrk.c: Likewise.
5849 * benchtests/bench-strrchr.c: Likewise.
5850 * benchtests/bench-strspn.c: Likewise.
5851 * benchtests/bench-strstr.c: Likewise.
5852
cae16d66
WN
58532013-09-04 Will Newton <will.newton@linaro.org>
5854
5855 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5856
ffa3cd7f
JM
58572013-09-03 Joseph Myers <joseph@codesourcery.com>
5858
5859 [BZ #15427]
5860 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5861 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5862 * math/libm-test.inc (lgamma_test_data): Add more tests.
5863 * sysdeps/i386/fpu/libm-test-ulps: Update.
5864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5865
8f02859f
OB
58662013-09-03 Ondřej Bílka <neleai@seznam.cz>
5867
5868 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5870 Add ifunc.
5871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5872 Add strcmp-sse2-unaligned
5873 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5874
18d43716
MF
58752013-09-02 Mike Frysinger <vapier@gentoo.org>
5876
5877 * Versions.def (libc): Add GLIBC_2.19.
5878
ac444012
MF
58792013-09-02 Mike Frysinger <vapier@gentoo.org>
5880
5881 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5882 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5883
b7835e32
JM
58842013-09-02 Joseph Myers <joseph@codesourcery.com>
5885
5886 [BZ #14155]
5887 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5888 intermediate calculations in recurrence.
5889 (__ieee754_ynf): Likewise.
5890 * math/libm-test.inc (jn_test_data): Do not allow spurious
5891 underflow exception. Add more tests.
5892 (yn_test_data): Add more tests.
5893 * sysdeps/i386/fpu/libm-test-ulps: Update.
5894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5895
8220f4f0
OB
58962013-09-02 Ondřej Bílka <neleai@seznam.cz>
5897
5898 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5899
f24a6d08
OB
59002013-08-30 Ondřej Bílka <neleai@seznam.cz>
5901
5902 * csu/init-first.c: Fix then/than typos.
5903 * locale/programs/ld-collate.c: Likewise.
5904 * locale/programs/linereader.h: Likewise.
5905 * manual/charset.texi: Likewise.
5906 * manual/filesys.texi: Likewise.
5907 * manual/stdio.texi: Likewise.
5908 * manual/string.texi: Likewise.
5909 * stdlib/fmtmsg.c: Likewise.
5910 * sysdeps/i386/stpncpy.S: Likewise.
5911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5912 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5914 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5915
382466e0
OB
59162013-08-30 Ondřej Bílka <neleai@seznam.cz>
5917
5918 * elf/dl-open.c: Fix typos.
5919 * iconvdata/gbbig5.c: Likewise.
5920 * iconvdata/iso-2022-jp.c: Likewise.
5921 * iconv/gconv_int.h: Likewise.
5922 * iconv/loop.c: Likewise.
5923 * nis/rpcsvc/nis.h: Likewise.
5924 * resolv/ns_name.c: Likewise.
5925 * stdio-common/vfscanf.c: Likewise.
5926 * streams/stropts.h: Likewise.
5927 * sunrpc/rpc_thread.c: Likewise.
5928 * sysdeps/i386/strpbrk.S: Likewise.
5929 * sysdeps/ieee754/k_standard.c: Likewise.
5930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5932 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5933 * sysdeps/mach/hurd/profil.c: Likewise.
5934 * sysdeps/s390/dl-procinfo.h: Likewise.
5935 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5937 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5938 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5940
0186c6e9
OB
59412013-08-30 Ondřej Bílka <neleai@seznam.cz>
5942
5943 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5945
d4e16af1
OB
59462013-08-29 Ondřej Bílka <neleai@seznam.cz>
5947
5948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5949 aix specific files.
5950 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5951 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5952 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5953 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5954 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5955 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5956 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5957 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5958
88335980
TS
59592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5960 Roland McGrath <roland@hack.frob.com>
5961
5962 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5963 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5964
ed479b02
ST
59652013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5966
5967 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5968 __executable_start symbol instead of _start.
5969
f1cc4c86
TS
59702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5971
d821f07c
TS
5972 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5973 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5974 Move macros to...
5975 * sysdeps/gnu/ldsodefs.h: ... this new file.
5976
c54290cf
TS
5977 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5978 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5979 instead of ELFOSABI_LINUX.
5980
0007fc9b 5981 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5982 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5983 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5984 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5985 Likewise.
5986 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5987 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5988 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5989 Likewise.
5990 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5991 (ibm_extended_long_double): Add ieee_nan member.
5992 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5993 (do_test): New function.
5994
f1cc4c86
TS
5995 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5996 TEST_TRUNC.
5997 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5998 functions, renamed from truncdfsf_test, trunctfsf_test,
5999 trunctfdf_test.
6000 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6001 functions.
6002 (do_test): Run all these.
6003
6f65e668
OB
60042013-08-29 Ondřej Bílka <neleai@seznam.cz>
6005
6006 * argp/argp-help.c: Fix typos.
6007 * argp/argp-parse.c: Likewise.
6008 * debug/backtracesyms.c: Likewise.
6009 * elf/elf.h: Likewise.
6010 * malloc/malloc.c: Likewise.
6011 * nis/nis_print.c: Likewise.
6012 * resolv/res_comp.c: Likewise.
6013 * stdlib/stdlib.h: Likewise.
6014 * sunrpc/clnt_tcp.c: Likewise.
6015 * sunrpc/clnt_udp.c: Likewise.
6016 * sunrpc/clnt_unix.c: Likewise.
6017 * sysdeps/unix/bsd/ptsname.c: Likewise.
6018 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6019 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6021 Likewise.
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6023 Likewise.
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6025 Likewise.
6f65e668
OB
6026 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6027
3a309239
SP
60282013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6029
6030 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6032
3b813b29
MF
60332013-08-27 Mike Frysinger <vapier@gentoo.org>
6034
6035 [BZ #15897]
6036 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6037 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6038 ($(objpfx)bug-dl-leaf): New rule.
6039 ($(objpfx)bug-dl-leaf.so): Likewise.
6040 ($(objpfx)bug-dl-leaf.out): Likewise.
6041 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6042 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6043 * dlfcn/bug-dl-leaf.c: New test.
6044 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6045 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6046 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6047 (dlclose): Likewise.
6048 (dlmopen): Likewise.
6049
8cc3269f
RM
60502013-08-27 Roland McGrath <roland@hack.frob.com>
6051
7f9d0034
RM
6052 * include/netdb.h [!_ISOMAC]:
6053 Don't include <tls.h>.
6054 (h_errno, __libc_h_errno): Move declaration and macros out of
6055 [_LIBC_REENTRANT].
6056
fb431262
RM
6057 * include/resolv.h [_RESOLV_H_]:
6058 Don't include <tls.h>.
6059 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6060 * resolv/res_libc.c: Don't include <tls.h>.
6061 (_res): Use __attribute__ ((nocommon)) in place of
6062 __attribute__ ((section (".bss"))).
6063
bd81123a
RM
6064 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6065 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6066
c4e42566
RM
6067 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6068
f890a59b
RM
6069 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6070 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6071
6072 * resolv/res_mkquery.c: Include <sys/time.h>.
6073
5d1f0a09
RM
6074 * inet/ifreq.c: Moved to ...
6075 * sysdeps/unix/ifreq.c: ... here.
6076 * inet/ifreq.c: New file, true stub version.
6077
6fcf28b3
RM
6078 * socket/sa_len.c: New file.
6079 * socket/Makefile (aux): Add it.
6080 * sysdeps/unix/sysv/linux/Makefile
6081 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6082 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6083 and #include <socket/sa_len.c>.
6084 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6085 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6086
e041fb8b
RM
6087 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6088 * bits/socket.h: ... here.
6089
8cc3269f
RM
6090 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6091 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6092 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6093
5d228a43
AS
60942013-08-27 Andreas Schwab <schwab@suse.de>
6095
45b8accc
AS
6096 [BZ #15736]
6097 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6098 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6099 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6100 * string/test-strcasecmp.c (test_main): Run tests in several
6101 locales.
6102 * string/test-strncasecmp.c (test_main): Likewise.
6103
5d228a43
AS
6104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6105 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6106 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6108 (__strncasecmp_ssse3) [PIC]: Likewise.
6109
59d112a4
RM
61102013-08-26 Roland McGrath <roland@hack.frob.com>
6111
53234cc3
RM
6112 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6113
59d112a4
RM
6114 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6115 instead of explicitly declaring xdecrypt.
6116 * nis/nss_nis/nis-publickey.c: Likewise.
6117
595aba70
SP
61182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6119
6120 [BZ #15890]
6121 * nscd/aicache.c: Include res_hconf.h.
6122 (addhstaiX): Initialize res_hconf.
6123
ffabd393
AS
61242013-08-26 Andreas Schwab <schwab@suse.de>
6125
6126 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6127 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6128
e0a69f5c
SP
61292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6130
6131 * nscd/aicache.c (addhstaiX): Fix indentation.
6132
8c12f01d
MF
61332013-08-25 Mike Frysinger <vapier@gentoo.org>
6134
6135 * configure.ac: Quote $build_pt_chown test.
6136 * configure: Regenerated.
6137
8fe89494
JM
61382013-08-23 Joseph Myers <joseph@codesourcery.com>
6139
6140 [BZ #15532]
6141 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6142 * math/s_cexpf.c (__cexpf): Likewise.
6143 * math/s_cexpl.c (__cexpl): Likewise.
6144 * math/libm-test.inc (cexp_test_data): Correct expected return
6145 value for NaN + i0. Add another test.
6146
75b181d6
DM
61472013-08-22 David S. Miller <davem@davemloft.net>
6148
6149 * po/ca.po: Update Catalan translation from translation project.
936241e4 6150 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6151
acd06bb1
JM
61522013-08-21 Joseph Myers <joseph@codesourcery.com>
6153
6154 [BZ #15797]
6155 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6156 is infinite, not alongside NaN test.
6157 * math/s_fdimf.c (__fdimf): Likewise.
6158 * math/s_fdiml.c (__fdiml): Likewise.
6159 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6160 errno is unchanged.
6161
c0c3f78a
OB
61622013-08-21 Ondřej Bílka <neleai@seznam.cz>
6163
6164 * argp/argp-help.c: Fix typos.
6165 * crypt/speeds.c: Likewise.
6166 * csu/check_fds.c: Likewise.
6167 * elf/dl-load.c: Likewise.
6168 * elf/dl-open.c: Likewise.
6169 * elf/reldep3.c: Likewise.
6170 * elf/reldep.c: Likewise.
6171 * elf/sprof.c: Likewise.
6172 * iconv/iconv_charmap.c: Likewise.
6173 * iconv/skeleton.c: Likewise.
6174 * iconv/strtab.c: Likewise.
6175 * io/lockf64.c: Likewise.
6176 * libio/libioP.h: Likewise.
6177 * resolv/gai_notify.c: Likewise.
6178 * resolv/ns_name.c: Likewise.
6179 * resolv/ns_samedomain.c: Likewise.
6180 * resolv/res_send.c: Likewise.
6181 * stdlib/random.c: Likewise.
6182 * sunrpc/rpc/xdr.h: Likewise.
6183 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6184 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6185 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6186 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6187 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6191 * sysdeps/mach/hurd/check_fds.c: Likewise.
6192 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6193 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6194 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6195 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6196 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6197 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6198 * sysdeps/pthread/aio_notify.c: Likewise.
6199 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6200 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6201 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6203 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6204
46ed1038
LD
62052013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6206
6207 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6208 version if bit_Slow_SSE4_2 is set.
6209 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6210 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6211
d400dcac
AZ
62122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6213
6214 [BZ #15867]
6215 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6216 trampoline stack frame information.
6217 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6218 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6219 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6220 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6221 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6222 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6223 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6224 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6225 sa_flags value.
6226 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6227 interrupting a syscall and set with option SA_SIGINFO.
6228
42c8fdd8
JM
62292013-08-20 Joseph Myers <joseph@codesourcery.com>
6230
c980f2f4
JM
6231 [BZ #15531]
6232 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6233 argument is infinite.
6234 * math/s_cprojf.c (__cprojf): Likewise.
6235 * math/s_cprojl.c (__cprojl): Likewise.
6236 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6237 * math/libm-test.inc (cproj_test_data): Add more tests.
6238
0716c4fc
JM
6239 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6240
42c8fdd8
JM
6241 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6242 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6243 size. Use __ffs to determine corresponding shift.
6244
b31469d0
JM
62452013-08-20 Joseph Myers <joseph@codesourcery.com>
6246 Roland McGrath <roland@hack.frob.com>
6247
6248 * Makefile (INSTALL): Remove trailing blank lines from output of
6249 makeinfo.
6250
4e39af6e
AK
62512013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6252
6253 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6254 Align 32 bit compat elf_greg to 8 bytes.
6255
f315524e
AA
62562013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6257
6258 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6259
1326ba1a
SP
62602013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6261
6262 * string/strcoll_l.c (coll_seq): New structure.
6263 (get_next_seq_cached): New function.
6264 (get_next_seq): New function.
6265 (do_compare): New function.
6266 (STRCOLL): Use GNU style definition. Simplify implementation
6267 by using get_next_seq, get_next_seq_cached and do_compare.
6268
91ce4085
FW
62692013-08-16 Florian Weimer <fweimer@redhat.com>
6270
6271 [BZ #14699]
6272 CVE-2013-4237
6273 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6274 member.
6275 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6276 member.
6277 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6278 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6279 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6280 conditional.
6281 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6282 GETDENTS_64BIT_ALIGNED.
6283 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6284 * manual/filesys.texi (Reading/Closing Directory): Document
6285 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6286 strongly.
6287 * manual/conf.texi (Limits for Files): Add portability note to
6288 NAME_MAX, PATH_MAX.
6289 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6290
ca0a6bc4
AS
62912013-08-13 Andreas Schwab <schwab@suse.de>
6292
6293 [BZ #15749]
6294 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6295 of fabs.
6296 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6297 LDBL_MAX_EXP >= 16384]: Add tests for it.
6298
6c1fd795
DM
62992013-08-12 David S. Miller <davem@davemloft.net>
6300
6301 * version.h (RELEASE): Set to "development".
6302 (VERSION): Set to "2.18.90".
6303 * NEWS: Add 2.19 section.
6304
31ad488d
DM
63052013-08-03 David S. Miller <davem@davemloft.net>
6306
6307 * po/ko.po: Update Korean translation from translation project.
6308
db24e684
DM
63092013-08-01 David S. Miller <davem@davemloft.net>
6310
6311 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6312 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6313 Bilka.
6314
f723285b
DM
63152013-07-30 David S. Miller <davem@davemloft.net>
6316
6317 * po/fr.po: Update French translation from translation project.
6318
3cbc52db
DM
63192013-07-28 David S. Miller <davem@davemloft.net>
6320
30bbc0cc
DM
6321 * po/cs.po: Update Czech translation from translation project.
6322
3cbc52db
DM
6323 * po/sv.po: Update Swedish translation from translation project.
6324
d492e6d0
DM
63252013-07-27 David S. Miller <davem@davemloft.net>
6326
f1a7f492
DM
6327 * po/eo.po: Update Esperanto translation from translation project.
6328
90e62a4a
DM
6329 * po/vi.po: Update Vietnamese translation from translation project.
6330
d492e6d0
DM
6331 * po/de.po: Update German translation from translation project.
6332
d4baa62d
DM
63332013-07-26 David S. Miller <davem@davemloft.net>
6334
641aa7b4
DM
6335 * po/bg.po: Update Bulgarian translation from translation project.
6336
d4baa62d
DM
6337 * po/nl.po: Update Dutch translation from translation project.
6338 * po/pl.po: Update Polish translation from translation project.
6339 * po/ru.po: Update Russian translation from translation project.
6340
61a9dcb9
DM
63412013-07-24 David S. Miller <davem@davemloft.net>
6342
6343 * po/libc.pot: Update.
6344
7b1f8b58
AZ
63452013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6346
6347 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6348 variable page size.
6349 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6350 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6351 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6352
a8fc7a03
AK
63532013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6354
6355 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6356
e4608715
CD
63572013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6358 Andreas Schwab <schwab@suse.de>
6359 Roland McGrath <roland@hack.frob.com>
6360 Joseph Myers <joseph@codesourcery.com>
6361 Carlos O'Donell <carlos@redhat.com>
6362
6363 [BZ #15755]
6364 * config.h.in: Define HAVE_PT_CHOWN.
6365 * config.make.in (build-pt-chown): New variable.
6366 * configure.in (--enable-pt_chown): New configure option.
6367 * configure: Regenerate.
6368 * login/Makefile: Include Makeconfig. Build pt_chown only if
6369 build-pt-chown is enabled.
6370 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6371 pt_chown to fix pty ownership.
6372 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6373 CLOSE_ALL_FDS.
6374 * manual/install.texi (Configuring and compiling): Mention
6375 --enable-pt_chown. Add @findex for grantpt.
6376 * INSTALL: Regenerate.
6377
da2d62df
DM
63782013-07-20 David S. Miller <davem@davemloft.net>
6379
6380 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6381 difference between 32-bit and 64-bit.
6382
d7e06450
CD
63832013-07-15 Carlos O'Donell <carlos@redhat.com>
6384
6385 [BZ #15711]
6386 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6387 Avoid system header dependency with -ffreestanding.
6388 ($(objpfx)bits/syscall%d): Likewise.
6389
f959cfd7
DM
63902013-07-13 David S. Miller <davem@davemloft.net>
6391
6392 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6393 underflows from atanl/atan2l due to bug 15319.
6394 (casinh_test_data): Likewise.
6395
c61f8513
DM
63962013-07-07 David S. Miller <davem@davemloft.net>
6397
6398 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6399
72c90ed0
JA
64002013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6401
6402 * sysdeps/i386/fpu/libm-test-ulps: Update.
6403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6404
52dfbe13
SP
64052013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6406
6407 * configure.in (--enable-lock-elision): Fix message text.
6408 * INSTALL: Regenerate.
6409 * configure: Regenerate.
6410
3f169543
AZ
64112013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6412
6413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6414
521c6785
AJ
64152013-07-03 Andreas Jaeger <aj@suse.de>
6416
6417 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6418 define.
6419 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6420 (ptrace_peeksiginfo_args): Add.
6421 (__ptrace_peeksiginfo_flags): Add.
6422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6425
d2cc15cb
AM
64262013-07-03 Allan McRae <allan@archlinux.org>
6427
6428 * sysdeps/i386/fpu/libm-test-ulps: Update.
6429
3aaeeca7
DM
64302013-07-02 David S. Miller <davem@davemloft.net>
6431
6432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6433
5314ed1a
MT
64342013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6435
6436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6437
67338156
JM
64382013-07-02 Joseph Myers <joseph@codesourcery.com>
6439
6440 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6442
1717da59
AK
64432013-07-02 Andi Kleen <ak@linux.intel.com>
6444
6445 * config.h.in (ENABLE_LOCK_ELISION): Add.
6446 * configure.in (--enable-lock-elision): Add option.
6447 * manual/install.texi: Document --enable lock elision.
6448 * configure: Regenerate
6449 * INSTALL: Regenerate.
6450
1c81621c
L
64512013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6452
6453 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6454 SSE4.2 strcasecmp for libc.a.
6455 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6456
77f01ab5
JM
64572013-07-02 Joseph Myers <joseph@codesourcery.com>
6458
6459 [BZ #13304]
6460 * soft-fp/op-common.h (_FP_FMA): New macro.
6461 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6462 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6463 (_FP_MUL_MEAT_1_imm): ... here.
6464 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6465 (_FP_MUL_MEAT_1_wide): ... here.
6466 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6467 (_FP_MUL_MEAT_1_hard): ... here.
6468 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6469 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6470 (_FP_MUL_MEAT_2_wide): ... here.
6471 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6472 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6473 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6474 (_FP_MUL_MEAT_2_gmp): ... here.
6475 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6476 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6477 (_FP_MUL_MEAT_4_wide): ... here.
6478 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6479 (_FP_MUL_MEAT_4_gmp): ... here.
6480 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6481 (_FP_WFRACBITS_DW_S): Likewise.
6482 (_FP_WFRACXBITS_DW_S): Likewise.
6483 (_FP_HIGHBIT_DW_S): Likewise.
6484 (FP_FMA_S): Likewise.
6485 (_FP_FRAC_HIGH_DW_S): Likewise.
6486 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6487 (_FP_WFRACBITS_DW_D): Likewise.
6488 (_FP_WFRACXBITS_DW_D): Likewise.
6489 (_FP_HIGHBIT_DW_D): Likewise.
6490 (FP_FMA_D): Likewise.
6491 (_FP_FRAC_HIGH_DW_D): Likewise.
6492 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6493 (_FP_WFRACBITS_DW_E): Likewise.
6494 (_FP_WFRACXBITS_DW_E): Likewise.
6495 (_FP_HIGHBIT_DW_E): Likewise.
6496 (FP_FMA_E): Likewise.
6497 (_FP_FRAC_HIGH_DW_E): Likewise.
6498 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6499 (_FP_WFRACBITS_DW_Q): Likewise.
6500 (_FP_WFRACXBITS_DW_Q): Likewise.
6501 (_FP_HIGHBIT_DW_Q): Likewise.
6502 (FP_FMA_Q): Likewise.
6503 (_FP_FRAC_HIGH_DW_Q): Likewise.
6504 * soft-fp/fmasf4.c: New file.
6505 * soft-fp/fmadf4.c: Likewise.
6506 * soft-fp/fmatf4.c: Likewise.
6507
6308fd9a
LD
65082013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6509
6510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6511 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6512 Silvermont.
6513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6514 macro.
6515 (index_Slow_SSE4_2): Likewise.
6516 (index_Prefer_PMINUB_for_stringop): Likewise.
6517 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6518 bit_Slow_SSE4_2 is set.
6519 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6520 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6521
89cd9569
RA
65222013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6523
6524 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6525 rtld_global._dl_hwcap2.
6526 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6527 POWER8.
6528 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6529 POWER8 feature descriptions defined in _dl_hwcap2.
6530 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6531 string handling for POWER8 feature bits.
6532 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6533 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6534 _dl_powerpc_cap_flags.
6535 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6536 * sysdeps/powerpc/rtld-global-offsets.sym
6537 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6538 _dl_hwcap2 in the rtld_global_ro structure.
6539
1ae8bfe0
RA
65402013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6541
6542 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6543 hardware capabilities in support of AT_HWCAP2.
6544 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6545 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6546 GLRO(dl_hwcap2).
6547 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6548 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6549 explicitly the unknown a_type display mechanism is used.
6550 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6551 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6552 struct member.
6553 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6554 to macro prototype for AT_HWCAP2 support.
6555 * sysdeps/i386/dl-procinfo.h: Likewise.
6556 * sysdeps/s390/dl-procinfo.h: Likewise.
6557 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6558 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6559 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6560 return -1 for unknown a_type display fallback.
6561 * sysdeps/sparc/dl-procinfo.h: Likewise.
6562 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6563 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6564
8fbec010
JM
65652013-06-28 Joseph Myers <joseph@codesourcery.com>
6566
6567 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6568 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6569
0432680e
PY
65702013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6571
6572 [BZ #12492]
6573 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6574 mprotect making __stack_prot writable.
6575
ce61a2ad
NF
65762013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6577 Joseph Myers <joseph@codesourcery.com>
6578
6579 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6580 as being properly aligned.
6581
f91f1c0f
MR
65822013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6583
3d0f5d0c
MR
6584 * dlfcn/modstatic5.c: New file.
6585 * dlfcn/tststatic5.c: New file.
6586 * dlfcn/Makefile (tests): Add tststatic5.
6587 (tests-static): Likewise.
6588 (modules-names): Add modstatic5.
6589 (tststatic5-ENV): New variable.
6590 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6591
f91f1c0f
MR
6592 [BZ #15022]
6593 * elf/dl-support.c (_dl_main_map): New variable.
6594 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6595 (_dl_nns, _dl_load_adds): Set to 1.
6596 (_dl_initial_searchlist): Refer to _dl_main_map.
6597 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6598 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6599 call to _dl_get_origin.
6600 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6601 around call_map.
6602 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6603 * dlfcn/modstatic3.c: New file.
6604 * dlfcn/tststatic3.c: New file.
6605 * dlfcn/tststatic4.c: New file.
6606 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6607 (tests-static): Likewise.
6608 (modules-names): Add modstatic3.
6609 (tststatic3-ENV, tststatic4-ENV): New variables.
6610 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6611 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6612
cbe7d24b
JM
66132013-06-26 Joseph Myers <joseph@codesourcery.com>
6614
6615 * configure.in (CC): Require GCC version 4.4 or later.
6616 * configure: Regenerated.
6617 * manual/install.texi (Tools for Compilation): Update GCC version
6618 requirement.
6619 * INSTALL: Regenerated.
6620
11b8a0e1
LD
66212013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6622
6623 [BZ #15674]
bb5bb87c
L
6624 * string/test-memcmp.c (check2): New.
6625 (main): Call check2.
6626
11b8a0e1
LD
6627 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6628
b0037103
MR
66292013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6630
6631 [BZ #15022]
6632 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6633 over to...
6634 (dl_open_worker) [!SHARED]: ... here.
6635
c18c701d
RA
66362013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6637
6638 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6639
1d17fa5f
RH
66402013-06-25 Richard Henderson <rth@redhat.com>
6641
6642 * locale/programs/locarchive.c: Include <libc-internal.h>
6643
8fcb833a
JM
66442013-06-25 Joseph Myers <joseph@codesourcery.com>
6645
6646 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6647 trailing whitespace removed.
6648
17db6e8d
MF
66492013-06-24 Mike Frysinger <vapier@gentoo.org>
6650
6651 [BZ #10283]
17db6e8d
MF
6652 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6653 * locale/programs/locarchive.c: Include libc-mmap.h.
6654 (prepare_address_space): Take two new outputs (the mmap base and len).
6655 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6656 values.
6657 (create_archive): Declare new mmap base and len values for
6658 prepare_address_space, and store the result in ah.
6659 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6660 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6661 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6662 Declare new mmap base and len values for
6663 prepare_address_space, and store the result in new_ah.
6664 (open_archive): Declare new mmap base and len values for
6665 prepare_address_space, and store the result in ah.
6666 (close_archive): If ah->mmap_base is not NULL, use that and
6667 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6668 * sysdeps/generic/libc-mmap.h: New file.
6669
d605071e
MF
66702013-06-24 Mike Frysinger <vapier@gentoo.org>
6671
6672 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6673 (ALIGN_UP): Likewise.
6674 (PTR_ALIGN_DOWN): Likewise.
6675 (PTR_ALIGN_UP): Likewise.
6676
2f063a6e
RA
66772013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6678
6679 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6680 entry mapped to PPC_PLATFORM_POWER8.
6681 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6682 POWER8.
6683 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6684 (_dl_string_platform): Add case for exporting platform position for
6685 POWER8.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6687 search path to sysdeps/powerpc/powerpc32/power8 directory.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6689 search path to sysdeps/powerpc/powerpc64/power8 directory.
6690 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6691 power7 directories.
6692 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6693 power7 directories.
6694
a31ee4b3
SP
66952013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6696
a74ca98f
SP
6697 * INSTALL: Regenerate.
6698
a31ee4b3
SP
6699 * nscd/connections.c (nscd_init): Fix comment.
6700
695c378f
JM
67012013-06-22 Joseph Myers <joseph@codesourcery.com>
6702
d8412221
JM
6703 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6704
695c378f
JM
6705 [BZ #15667]
6706 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6707 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6708
d1d54715
MR
67092013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6710
6711 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6712 DL_DST_REQ_STATIC.
6713 (DL_DST_REQ_STATIC): Remove macro.
6714
8fdda7af
JM
67152013-06-21 Joseph Myers <joseph@codesourcery.com>
6716
6717 [BZ #7006]
6718 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6719 with a shift of 0 bits.
6720
f3bc5e5a
MR
67212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6722
6723 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6724 $(tststatic-ENV).
6725
be09e8c9
KK
67262013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6727
6728 [BZ #15655]
6729 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6730
85c2e611
AZ
67312013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6732
6733 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6734 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6735 accepts -fno-tree-loop-distribute-patterns.
6736 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6737 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6738 recursive call.
6739 * string/memset.c (memset): Likewise.
6740 * string/test-memmove.c (simple_memmove): Disable loop transformation
6741 to library calls.
6742 * string/test-memset.c (simple_memset): Likewise.
6743 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6744 * benchtests/bench-memset.c (simple_memset): Likewise.
6745 * configure: Regenerated.
6746
c91e0825
JM
67472013-06-20 Joseph Myers <joseph@codesourcery.com>
6748
b8c792af
JM
6749 * math/test-misc.c (main): Ignore fesetround failure when failures
6750 of subsequent rounding tests would be ignored.
6751
c91e0825
JM
6752 [BZ #15654]
6753 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6754 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6755 * math/fegetenv.c (__fegetenv): Return 0.
6756 * math/fegetexcept.c (fegetexcept): Return 0.
6757 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6758 FE_TONEAREST.
6759 * math/feholdexcpt.c (feholdexcept): Return 0.
6760 * math/fesetenv.c (__fesetenv): Return 0.
6761 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6762 argument FE_TONEAREST.
6763 * math/feupdateenv.c (__feupdateenv): Return 0.
6764 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6765
bfcacbde
RM
67662013-06-18 Roland McGrath <roland@hack.frob.com>
6767
6768 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6769 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6770 ($(objpfx)rtld-%.os rules): Use them.
6771
e55a9b25
AZ
67722013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6773
6774 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6775 fields.
6776
346d65b3
RM
67772013-06-17 Roland McGrath <roland@hack.frob.com>
6778
12086fb4
RM
6779 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6780 length of target pattern, then descending length of dependency pattern.
6781 * configure.in (AWK): Require gawk 3.1.2 or newer.
6782 * manual/install.texi (Tools for Compilation): Say that we do.
6783 * configure: Regenerated.
6784
346d65b3
RM
6785 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6786 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6787 * scripts/sysd-rules.awk: ... this new script.
6788 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6789 than a glob-style pattern.
6790
1a846317
JM
67912013-06-17 Joseph Myers <joseph@codesourcery.com>
6792
6793 * math/test-misc.c (main): Do not treat incorrectly rounded
6794 conversions as failure unless ROUNDING_TESTS passes.
6795
8fc75e6f
JM
67962013-06-15 Joseph Myers <joseph@codesourcery.com>
6797
3711a167
JM
6798 [BZ #15631]
6799 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6800 restore exception state around main square root computation, then
6801 check for inexactness explicitly.
6802
8fc75e6f
JM
6803 * math/libm-test.inc (fma_test_data): Add another test.
6804
61dd6208
SP
68052013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6806
adf23d2c
SP
6807 * manual/threads.texi (Non-POSIX Extensions): New document
6808 node. Document pthread_getattr_default_np and
6809 pthread_setattr_default_np.
6810
61dd6208
SP
6811 * Versions.def (libpthread): Add GLIBC_2.18.
6812 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6814 Likewise.
6815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6816 Likewise.
6817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6818 Likewise.
6819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6820 Likewise.
6821 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6822 Likewise.
6823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6824 Likewise.
6825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6826 Likewise.
6827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6828 Likewise.
6829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6830 Likewise.
6831
d086fc7b
LD
68322013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6833
6834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6835 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6836
747ef469
SP
68372013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6838 H.J. Lu <hjl.tools@gmail.com>
6839
6840 [BZ #15627]
6841 * sysdeps/x86_64/rtld-memset.c: Remove file.
6842 * sysdeps/x86_64/rtld-memset.S: New file.
6843
1b2feed2
JM
68442013-06-14 Joseph Myers <joseph@codesourcery.com>
6845
6846 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6847 (test_in_one_mode): Take arguments for whether the rounding mode
6848 is supported for each floating-point type.
6849 (do_test): Pass new arguments to test_in_one_mode using
6850 ROUNDING_TESTS.
6851
a58ad3f8
RM
68522013-06-13 Roland McGrath <roland@hack.frob.com>
6853
6854 * posix/tst-waitid.c (do_test): Distinguish different instances of
6855 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6856 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6857 before entering the kernel for waitpid.
6858
c204ab28
SP
68592013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6860
6861 * NEWS: Fix note on clock function precision. Text by Roland
6862 McGrath.
6863
f4a29fba
RM
68642013-06-13 Roland McGrath <roland@hack.frob.com>
6865
6866 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6867 it into place only when and if the sanity check passes.
6868
1f24b9ad
JM
68692013-06-13 Joseph Myers <joseph@codesourcery.com>
6870
6871 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6872 output for whether conversion result is exact. Take argument
6873 indicating whether type is IBM long double.
6874 (round_for_all): Change need_exact field to ibm_ld.
6875 * stdlib/tst-strtod-round.c (struct exactness): New type.
6876 (struct test): Change bool ld_ok field to struct exactness exact.
6877 (TEST): Update all definitions for change to field.
6878 (tests): Regenerate array contents.
6879 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6880 field value. Check for IBM long double here.
6881 (do_test): Update calls to test_in_one_mode.
6882
58206c68
SP
68832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6884
6885 [BZ #12515]
6886 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6887 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6888
2d6f4c5b 68892013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6890
6891 [BZ #15605]
6892 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6893 generated by the compiler on loop optimizations.
6894 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6895 general definitions.
6896
94f2c076
JM
68972013-06-12 Joseph Myers <joseph@codesourcery.com>
6898
6899 * math/bug-nextafter.c: Include <math-tests.h>.
6900 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6901 the relevant type.
6902 * math/bug-nexttoward.c: Include <math-tests.h>.
6903 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6904 the relevant type.
6905 * math/test-misc.c: Include <math-tests.h>.
6906 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6907 the relevant type.
6908
e0e50a0a
AJ
69092013-06-12 Andreas Jaeger <aj@suse.de>
6910
6911 * po/ia.po: Update Interlingua translation from translation
6912 project.
6913
25061094
SP
69142013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6915
6916 * include/fenv.h: Include stdbool.h.
6917 (struct rm_ctx): New structure.
6918 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6919 Define macro.
6920 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6921 (SET_RESTORE_ROUNDF): Likewise.
6922 (SET_RESTORE_ROUNDL): Likewise.
6923 (SET_RESTORE_ROUND_NOEX): Likewise.
6924 (SET_RESTORE_ROUND_NOEXF): Likewise.
6925 (SET_RESTORE_ROUND_NOEXL): Likewise.
6926 (SET_RESTORE_ROUND_53BIT): Likewise.
6927 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6928 (libc_feresetround_noexf_ctx): Likewise.
6929 (libc_feresetround_noexl_ctx): Likewise.
6930 (libc_feholdsetround_53bit_ctx): Likewise.
6931 (libc_feresetround_53bit_ctx): Likewise.
6932 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6933 (libc_feholdexcept_setround_sse_ctx): New function.
6934 (libc_fesetenv_sse_ctx): Likewise.
6935 (libc_feupdateenv_sse_ctx): Likewise.
6936 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6937 (libc_feholdexcept_setround_387_ctx): Likewise.
6938 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6939 (libc_feholdsetround_387_prec_ctx): Likewise.
6940 (libc_feholdsetround_387_ctx): Likewise.
6941 (libc_feholdsetround_387_53bit_ctx): Likewise.
6942 (libc_feholdsetround_sse_ctx): Likewise.
6943 (libc_feresetround_sse_ctx): Likewise.
6944 (libc_feresetround_387_ctx): Likewise.
6945 (libc_feupdateenv_387_ctx): Likewise.
6946 (libc_feholdexcept_setroundf_ctx): Define macro.
6947 (libc_fesetenvf_ctx): Likewise.
6948 (libc_feupdateenvf_ctx): Likewise.
6949 (libc_feholdsetroundf_ctx): Likewise.
6950 (libc_feresetroundf_ctx): Likewise.
6951 (libc_feholdexcept_setround_ctx): Likewise.
6952 (libc_fesetenv_ctx): Likewise.
6953 (libc_feupdateenv_ctx): Likewise.
6954 (libc_feholdsetround_ctx): Likewise.
6955 (libc_feresetround_ctx): Likewise.
6956 (libc_feholdexcept_setroundl_ctx): Likewise.
6957 (libc_feupdateenvl_ctx): Likewise.
6958 (libc_feholdsetroundl_ctx): Likewise.
6959 (libc_feresetroundl_ctx): Likewise.
6960 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6961 (libc_feresetround_53bit_ctx): Likewise.
6962
59b30555
SP
69632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6964
6965 * locale/iso-639.def: Convert to UTF-8.
6966
f1d73d30
JM
69672013-06-11 Joseph Myers <joseph@codesourcery.com>
6968
6969 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6970 (EXCEPTION_TESTS_double): Likewise.
6971 (EXCEPTION_TESTS_long_double): Likewise.
6972 (EXCEPTION_TESTS): Likewise.
6973 * math/libm-test.inc (test_exceptions): Only test exceptions if
6974 EXCEPTION_TESTS (FLOAT).
6975
94aca5e7
SP
69762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6977
6978 * benchtests/Makefile (string-bench): Add strcpy_chk and
6979 stpcpy_chk.
6980 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6981 * benchtests/bench-stpcpy_chk.c: New file.
6982 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6983 * benchtests/bench-strcpy_chk.c: New file.
6984 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6985 code.
6986 (do_test): Likewise.
6987
fac0c5f2
RA
69882013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6989
6990 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6991 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6992 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6993 with tabs where appropriate.
6994 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6995 dl-procinfo.h.
6996 [PPC_PLATFORM_PPC440]: Likewise.
6997 [PPC_PLATFORM_PPC464]: Likewise.
6998 [PPC_PLATFORM_PPC476]: Likewise.
6999 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7000 ppc464, and ppc476 platform strings merging from ports/
7001 dl-procinfo.h.
7002
f22bc486
AS
70032013-06-11 Andreas Schwab <schwab@suse.de>
7004
7005 [BZ #14991]
7006 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7007 (from_ucs4_idx): Regenerate.
7008 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7009 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7010 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7011 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7012 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7013 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7014 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7015 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7016 from FROM_LOOP and TO_LOOP specific macros.
7017 (BODY): Handle combining characters.
7018 * iconvdata/BIG5HKSCS.irreversible: Update.
7019 * iconvdata/BIG5HKSCS.precomposed: New file.
7020 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7021 characters.
7022 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7023
c1f75dc3
SP
70242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7025
4eacded2
SP
7026 * include/sys/time.h: Fix indentation and add copyright header.
7027
fec799f8
SP
7028 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7029 (do_test): Likewise.
7030 * string/test-memchr.c (do_one_test): Likewise.
7031 (do_test): Likewise.
7032 * string/test-memcmp.c (do_one_test): Likewise.
7033 (do_test): Likewise.
7034 * string/test-memcpy.c (do_one_test): Likewise.
7035 (do_test): Likewise.
7036 * string/test-memmem.c (do_one_test): Likewise.
7037 (do_test): Likewise.
7038 (do_random_tests): Likewise.
7039 * string/test-memmove.c (do_one_test): Likewise.
7040 (do_test): Likewise.
7041 * string/test-memset.c (do_one_test): Likewise.
7042 (do_test): Likewise.
7043 * string/test-rawmemchr.c (do_one_test): Likewise.
7044 (do_test): Likewise.
7045 * string/test-strcasecmp.c (do_one_test): Likewise.
7046 (do_test): Likewise.
7047 * string/test-strcasestr.c (do_one_test): Likewise.
7048 (do_test): Likewise.
7049 * string/test-strcat.c (do_one_test): Likewise.
7050 (do_test): Likewise.
7051 * string/test-strchr.c (do_one_test): Likewise.
7052 (do_test): Likewise.
7053 * string/test-strcmp.c (do_one_test): Likewise.
7054 (do_test): Likewise.
7055 * string/test-strcpy.c (do_one_test): Likewise.
7056 (do_test): Likewise.
7057 * string/test-string.h: Likewise.
7058 (test_init): Likewise.
7059 * string/test-strlen.c (do_one_test): Likewise.
7060 (do_test): Likewise.
7061 * string/test-strncasecmp.c (do_one_test): Likewise.
7062 (do_test): Likewise.
7063 * string/test-strncat.c (do_one_test): Likewise.
7064 (do_test): Likewise.
7065 * string/test-strncmp.c (do_one_test): Likewise.
7066 (do_test_limit): Likewise.
7067 (do_test): Likewise.
7068 * string/test-strncpy.c (do_one_test): Likewise.
7069 (do_test): Likewise.
7070 * string/test-strnlen.c (do_one_test): Likewise.
7071 (do_test): Likewise.
7072 * string/test-strpbrk.c (do_one_test): Likewise.
7073 (do_test): Likewise.
7074 * string/test-strrchr.c (do_one_test): Likewise.
7075 (do_test): Likewise.
7076 * string/test-strspn.c (do_one_test): Likewise.
7077 (do_test): Likewise.
7078 * string/test-strstr.c (do_one_test): Likewise.
7079 (do_test): Likewise.
7080
97020474
SP
7081 * benchtests/Makefile (string-bench): Add string benchmarks.
7082 * benchtests/bench-bcopy-ifunc.c: New file.
7083 * benchtests/bench-bcopy.c: New file.
7084 * benchtests/bench-bzero-ifunc.c: New file.
7085 * benchtests/bench-bzero.c: New file.
7086 * benchtests/bench-memccpy-ifunc.c: New file.
7087 * benchtests/bench-memccpy.c: New file.
7088 * benchtests/bench-memchr-ifunc.c: New file.
7089 * benchtests/bench-memchr.c: New file.
7090 * benchtests/bench-memcmp-ifunc.c: New file.
7091 * benchtests/bench-memcmp.c: New file.
7092 * benchtests/bench-memmem-ifunc.c: New file.
7093 * benchtests/bench-memmem.c: New file.
7094 * benchtests/bench-memmove-ifunc.c: New file.
7095 * benchtests/bench-memmove.c: New file.
7096 * benchtests/bench-mempcpy-ifunc.c: New file.
7097 * benchtests/bench-mempcpy.c: New file.
7098 * benchtests/bench-memset-ifunc.c: New file.
7099 * benchtests/bench-memset.c: New file.
7100 * benchtests/bench-rawmemchr-ifunc.c: New file.
7101 * benchtests/bench-rawmemchr.c: New file.
7102 * benchtests/bench-stpcpy-ifunc.c: New file.
7103 * benchtests/bench-stpcpy.c: New file.
7104 * benchtests/bench-stpncpy-ifunc.c: New file.
7105 * benchtests/bench-stpncpy.c: New file.
7106 * benchtests/bench-strcasecmp-ifunc.c: New file.
7107 * benchtests/bench-strcasecmp.c: New file.
7108 * benchtests/bench-strcasestr-ifunc.c: New file.
7109 * benchtests/bench-strcasestr.c: New file.
7110 * benchtests/bench-strcat-ifunc.c: New file.
7111 * benchtests/bench-strcat.c: New file.
7112 * benchtests/bench-strchr-ifunc.c: New file.
7113 * benchtests/bench-strchr.c: New file.
7114 * benchtests/bench-strchrnul-ifunc.c: New file.
7115 * benchtests/bench-strchrnul.c: New file.
7116 * benchtests/bench-strcmp-ifunc.c: New file.
7117 * benchtests/bench-strcmp.c: New file.
7118 * benchtests/bench-strcpy-ifunc.c: New file.
7119 * benchtests/bench-strcpy.c: New file.
7120 * benchtests/bench-strcspn-ifunc.c: New file.
7121 * benchtests/bench-strcspn.c: New file.
7122 * benchtests/bench-strlen-ifunc.c: New file.
7123 * benchtests/bench-strlen.c: New file.
7124 * benchtests/bench-strncasecmp-ifunc.c: New file.
7125 * benchtests/bench-strncasecmp.c: New file.
7126 * benchtests/bench-strncat-ifunc.c: New file.
7127 * benchtests/bench-strncat.c: New file.
7128 * benchtests/bench-strncmp-ifunc.c: New file.
7129 * benchtests/bench-strncmp.c: New file.
7130 * benchtests/bench-strncpy-ifunc.c: New file.
7131 * benchtests/bench-strncpy.c: New file.
7132 * benchtests/bench-strnlen-ifunc.c: New file.
7133 * benchtests/bench-strnlen.c: New file.
7134 * benchtests/bench-strpbrk-ifunc.c: New file.
7135 * benchtests/bench-strpbrk.c: New file.
7136 * benchtests/bench-strrchr-ifunc.c: New file.
7137 * benchtests/bench-strrchr.c: New file.
7138 * benchtests/bench-strspn-ifunc.c: New file.
7139 * benchtests/bench-strspn.c: New file.
7140 * benchtests/bench-strstr-ifunc.c: New file.
7141 * benchtests/bench-strstr.c: New file.
7142
c1f75dc3
SP
7143 * benchtests/Makefile: Disable parallel execution of targets.
7144 (string-bench): Add memcpy.
7145 (benchset): New variable to store a list of benchmark sets.
7146 (bench-func): Renamed from bench.
7147 (bench-set): New target.
7148 (bench): Depend on bench-func and bench-set.
7149 * benchtests/README: Add section on benchmark sets.
7150 * benchtests/bench-memcpy-ifunc.c: New file.
7151 * benchtests/bench-memcpy.c: New file.
7152 * benchtests/bench-string.h: New file.
7153
50fd745b
AS
71542013-06-11 Andreas Schwab <schwab@suse.de>
7155
7156 [BZ #15577]
7157 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7158 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7159 values in the triple.
7160 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7161 terminator in the group key.
7162
3ee7e9fe
AJ
71632013-06-11 Andreas Jaeger <aj@suse.de>
7164
7165 * po/zh_TW.po: Update Chinese (traditional) translation from
7166 translation project.
7167
89fb6835
SP
71682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7169
7170 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7171 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7172 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7173 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7174 (clock_getcpuclockid): Likewise.
7175 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7176 Add weak_alias and libc_hidden_def.
7177 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7178 * rt/clock_gettime.c (clock_gettime): Rename to
7179 __clock_gettime. Add weak_alias and libc_hidden_def.
7180 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7181 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7182 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7183 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7184 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7185 Likewise.
7186 * rt/clock_settime.c (clock_settime): Rename to
7187 __clock_settime. Add weak_alias and libc_hidden_def.
7188 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7189
0efa6f8b
JM
71902013-06-10 Joseph Myers <joseph@codesourcery.com>
7191
b8c61b4b
JM
7192 * mach/err_boot.sub: Remove trailing whitespace.
7193 * mach/err_ipc.sub: Likewise.
7194 * mach/err_mach.sub: Likewise.
7195
0efa6f8b
JM
7196 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7197 (ROUNDING_TESTS_double): Likewise.
7198 (ROUNDING_TESTS_long_double): Likewise.
7199 (ROUNDING_TESTS): Likewise.
7200 * math/libm-test.inc: Include <math-tests.h>.
7201 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7202 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7203 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7204 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7205
50b818bf
SP
72062013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7207
7208 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7209 of assigning.
7210
60d2f8f3
JM
72112013-06-08 Joseph Myers <joseph@codesourcery.com>
7212
4902d2c3
JM
7213 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7214 otherwise empty TRANS lines.
7215 * sysdeps/gnu/errlist.c: Regenerated.
7216
60d2f8f3
JM
7217 * catgets/gencat.c (error_print): Use (void) in function
7218 definition.
7219 * crypt/crypt_util.c (__init_des): Likewise.
7220 * crypt/speeds.c (Stop): Likewise.
7221 (main): Likewise.
7222 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7223 * inet/ruserpass.c (token): Likewise.
7224 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7225 * intl/localealias.c (extend_alias_table): Likewise.
7226 * intl/plural-exp.c (init_germanic_plural): Likewise.
7227 * libio/fcloseall.c (__fcloseall): Likewise.
7228 * libio/genops.c (_IO_flush_all): Likewise.
7229 (_IO_flush_all_linebuffered): Likewise.
7230 (_IO_cleanup): Likewise.
7231 (_IO_iter_begin): Likewise.
7232 (_IO_iter_end): Likewise.
7233 (_IO_list_lock): Likewise.
7234 (_IO_list_unlock): Likewise.
7235 (_IO_list_resetlock): Likewise.
7236 * libio/getchar.c (getchar): Likewise.
7237 * libio/getchar_u.c (getchar_unlocked): Likewise.
7238 * libio/getwchar.c (getwchar): Likewise.
7239 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7240 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7241 * login/getpt.c (__getpt): Likewise.
7242 * login/tst-utmp.c (main): Likewise.
7243 * malloc/hooks.c (__malloc_check_init): Likewise.
7244 * malloc/malloc.c (__malloc_stats): Likewise.
7245 * malloc/mtrace.c (tr_break): Likewise.
7246 (mtrace): Likewise.
7247 (muntrace): Likewise.
7248 * misc/fstab.c (endfsent): Likewise.
7249 * misc/getclktck.c (__getclktck): Likewise.
7250 * misc/getdtsz.c (__getdtablesize): Likewise.
7251 * misc/gethostid.c (gethostid): Likewise.
7252 * misc/getpagesize.c (__getpagesize): Likewise.
7253 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7254 (__get_nprocs): Likewise.
7255 (__get_phys_pages): Likewise.
7256 (__get_avphys_pages): Likewise.
7257 * misc/getttyent.c (getttyent): Likewise.
7258 (setttyent): Likewise.
7259 (endttyent): Likewise.
7260 * misc/getusershell.c (getusershell): Likewise.
7261 (endusershell): Likewise.
7262 (setusershell): Likewise.
7263 (initshells): Likewise.
7264 * misc/hsearch.c (__hdestroy): Likewise.
7265 * misc/sync.c (sync): Likewise.
7266 * misc/syslog.c (closelog_internal): Likewise.
7267 (closelog): Likewise.
7268 * misc/ttyslot.c (ttyslot): Likewise.
7269 * misc/vhangup.c (vhangup): Likewise.
7270 * posix/fork.c (__fork): Likewise.
7271 * posix/getegid.c (__getegid): Likewise.
7272 * posix/geteuid.c (__geteuid): Likewise.
7273 * posix/getgid.c (__getgid): Likewise.
7274 * posix/getpid.c (__getpid): Likewise.
7275 * posix/getppid.c (__getppid): Likewise.
7276 * posix/getuid.c (__getuid): Likewise.
7277 * posix/pause.c (pause): Likewise.
7278 * posix/setpgrp.c (setpgrp): Likewise.
7279 * posix/setsid.c (__setsid): Likewise.
7280 * posix/test-vfork.c (noop): Likewise.
7281 * resolv/gethnamaddr.c (_endhtent): Likewise.
7282 (_gethtent): Likewise.
7283 (ht_endhostent): Likewise.
7284 (gethostent): Likewise.
7285 (dns_service): Likewise.
7286 * stdlib/drand48.c (drand48): Likewise.
7287 * stdlib/lrand48.c (lrand48): Likewise.
7288 * stdlib/mrand48.c (mrand48): Likewise.
7289 * stdlib/rand.c (rand): Likewise.
7290 * stdlib/random.c (__random): Likewise.
7291 * stdlib/setenv.c (clearenv): Likewise.
7292 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7293 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7294 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7295 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7296 (__get_nprocs): Likewise.
7297 (__get_phys_pages): Likewise.
7298 (__get_avphys_pages): Likewise.
7299 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7300 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7301 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7302 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7303 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7304 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7305 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7306 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7307 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7308 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7309 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7310 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7311 * sysdeps/posix/clock.c (clock): Likewise.
7312 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7313 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7314 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7315 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7316 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7318 (__get_nprocs_conf): Likewise.
7319 (__get_phys_pages): Likewise.
7320 (__get_avphys_pages): Likewise.
7321 * time/clock.c (clock): Likewise.
7322 * time/tzset.c (__tzname_max): Likewise.
7323
2e09a79a
JM
73242013-06-07 Joseph Myers <joseph@codesourcery.com>
7325
7326 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7327 (__bswap_32): Do not use "register".
7328 * crypt/crypt.c (_ufc_doit_r): Likewise.
7329 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7330 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7331 * gmon/gmon.c (__monstartup): Likewise.
7332 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7333 * hurd/hurdmalloc.c (more_memory): Likewise.
7334 (malloc): Likewise.
7335 (free): Likewise.
7336 (realloc): Likewise.
7337 (malloc_fork_prepare): Likewise.
7338 (malloc_fork_parent): Likewise.
7339 (malloc_fork_child): Likewise.
7340 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7341 (_svcauth_des): Likewise.
7342 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7343 * inet/inet_net.c (inet_network): Likewise.
7344 * inet/inet_netof.c (inet_netof): Likewise.
7345 * inet/rcmd.c (__validuser2_sa): Likewise.
7346 * io/fts.c (fts_open): Likewise.
7347 (fts_load): Likewise.
7348 (fts_close): Likewise.
7349 (fts_read): Likewise.
7350 (fts_children): Likewise.
7351 (fts_build): Likewise.
7352 (fts_stat): Likewise.
7353 (fts_sort): Likewise.
7354 (fts_alloc): Likewise.
7355 (fts_lfree): Likewise.
7356 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7357 (_IO_file_xsgetn): Likewise.
7358 (_IO_file_xsgetn_mmap): Likewise.
7359 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7360 (_IO_cookie_write): Likewise.
7361 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7362 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7363 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7364 * malloc/obstack.c (_obstack_begin): Likewise.
7365 (_obstack_begin_1): Likewise.
7366 (_obstack_newchunk): Likewise.
7367 (_obstack_allocated_p): Likewise.
7368 (obstack_free): Likewise.
7369 (_obstack_memory_used): Likewise.
7370 * misc/getttyent.c (getttynam): Likewise.
7371 (getttyent): Likewise.
7372 (skip): Likewise.
7373 (value): Likewise.
7374 * misc/getusershell.c (initshells): Likewise.
7375 * misc/syslog.c (__vsyslog_chk): Likewise.
7376 * misc/ttyslot.c (ttyslot): Likewise.
7377 * nis/nis_hash.c (__nis_hash): Likewise.
7378 * posix/fnmatch_loop.c (FCT): Likewise.
7379 * posix/getconf.c (print_all): Likewise.
7380 (main): Likewise.
7381 * posix/getopt.c (exchange): Likewise.
7382 * posix/glob.c (globfree): Likewise.
7383 (prefix_array): Likewise.
7384 (__glob_pattern_type): Likewise.
7385 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7386 (NS_GET32): Likewise.
7387 (NS_PUT16): Likewise.
7388 (NS_PUT32): Likewise.
7389 * resolv/gethnamaddr.c (getanswer): Likewise.
7390 (gethostbyname2): Likewise.
7391 (gethostbyaddr): Likewise.
7392 (_gethtent): Likewise.
7393 (_gethtbyname2): Likewise.
7394 (_gethtbyaddr): Likewise.
7395 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7396 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7397 * resolv/res_init.c (__res_vinit): Likewise.
7398 (net_mask): Likewise.
7399 * resolv/res_mkquery.c (outchar): Likewise.
7400 (PRINT): Likewise.
7401 * stdio-common/printf_fp.c (outchar): Likewise.
7402 (PRINT): Likewise.
7403 * stdio-common/printf_fphex.c (outchar): Likewise.
7404 (PRINT): Likewise.
7405 * stdio-common/printf_size.c (outchar): Likewise.
7406 (PRINT): Likewise.
7407 * stdio-common/test_rdwr.c (main): Likewise.
7408 * stdio-common/tfformat.c (matches): Likewise.
7409 * stdio-common/vfprintf.c (outchar): Likewise.
7410 (printf_unknown): Likewise.
7411 (buffered_vfprintf): Likewise.
7412 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7413 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7414 (ReadFile): Likewise.
7415 * stdlib/qsort.c (SWAP): Likewise.
7416 (_quicksort): Likewise.
7417 * stdlib/setenv.c (__add_to_environ): Likewise.
7418 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7419 * stdlib/strtol_l.c (__strtol_l): Likewise.
7420 * stdlib/tst-strtod.c (main): Likewise.
7421 * stdlib/tst-strtol.c (main): Likewise.
7422 * stdlib/tst-strtoll.c (main): Likewise.
7423 * string/bits/string2.h (__strcmp_cc): Likewise.
7424 (__strcmp_cg): Likewise.
7425 (__strcspn_c1): Likewise.
7426 (__strcspn_c2): Likewise.
7427 (__strcspn_c3): Likewise.
7428 (__strspn_c1): Likewise.
7429 (__strspn_c2): Likewise.
7430 (__strspn_c3): Likewise.
7431 (__strsep_1c): Likewise.
7432 (__strsep_2c): Likewise.
7433 (__strsep_3c): Likewise.
7434 * string/memccpy.c (__memccpy): Likewise.
7435 * string/stpcpy.c (__stpcpy): Likewise.
7436 * string/strcmp.c (strcmp): Likewise.
7437 * string/strrchr.c (strrchr): Likewise.
7438 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7439 Likewise.
7440 * sysdeps/mach/hurd/getcwd.c
7441 (_hurd_canonicalize_directory_name_internal): Likewise.
7442 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7443 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7444 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7445 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7446 Likewise, in both definitions.
7447 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7448 definitions.
7449 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7450 64] (__bswap_64): Likewise.
7451 * time/test_time.c (main): Likewise.
7452 * time/tzfile.c (__tzfile_read): Likewise.
7453 (__tzfile_compute): Likewise.
7454 * time/tzset.c (__tzset_parse_tz): Likewise.
7455 (tzset_internal): Likewise.
7456 (compute_change): Likewise.
7457 * wcsmbs/wcscat.c (__wcscat): Likewise.
7458 * wcsmbs/wcschr.c (wcschr): Likewise.
7459 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7460 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7461 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7462 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7463 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7464 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7465 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7466 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7467 * wcsmbs/wmemset.c (wmemset): Likewise.
7468
9e54314b
JM
74692013-06-06 Joseph Myers <joseph@codesourcery.com>
7470
7471 * scripts/config.guess: Update to version 2013-05-16.
7472 * scripts/config.sub: Update to version 2013-04-24.
7473 * scripts/install-sh: Update to version 2011-11-20.07.
7474 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7475 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7476
350635a5
OB
74772013-06-06 Ondřej Bílka <neleai@seznam.cz>
7478
7479 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7480 * elf/sln.c: Likewise.
7481 * hurd/hurd/ioctl.h: Likewise.
7482 * hurd/hurdmalloc.c: Likewise.
7483 * hurd/xattr.c: Likewise.
7484 * include/shlib-compat.h: Likewise.
7485 * inet/ruserpass.c: Likewise.
7486 * libio/iofgets_u.c: Likewise.
7487 * libio/iofgetws_u.c: Likewise.
7488 * locale/programs/ld-identification.c: Likewise.
7489 * locale/programs/ld-time.c: Likewise.
7490 * mach/msg-destroy.c: Likewise.
7491 * nss/nss_files/files-netgrp.c: Likewise.
7492 * resolv/res_data.c: Likewise.
7493 * soft-fp/op-1.h: Likewise.
7494 * soft-fp/op-2.h: Likewise.
7495 * soft-fp/op-4.h: Likewise.
7496 * soft-fp/op-common.h: Likewise.
7497 * stdio-common/printf_fphex.c: Likewise.
7498 * stdlib/strtod_l.c: Likewise.
7499 * sunrpc/rpc/clnt.h: Likewise.
7500 * sysdeps/generic/framestate.c: Likewise.
7501 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7502 * sysdeps/i386/bsd-setjmp.S: Likewise.
7503 * sysdeps/i386/__longjmp.S: Likewise.
7504 * sysdeps/i386/setjmp.S: Likewise.
7505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7506 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7523 * sysdeps/ieee754/support.c: Likewise.
7524 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7525 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7526 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7527 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7528 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7529 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7530 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7531 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7532 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7533 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7534 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7535 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7536 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7537 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7538 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7539 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7540 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7542
44a988af
OB
75432013-06-05 Ondřej Bílka <neleai@seznam.cz>
7544
25506f09 7545 * posix/transbug.c: Remove executable mode.
44a988af 7546
9c84384c
JM
75472013-06-05 Joseph Myers <joseph@codesourcery.com>
7548
7549 * crypt/speeds.c: Remove trailing whitespace.
7550 * dlfcn/default.c: Likewise.
7551 * elf/ifuncdep2.c: Likewise.
7552 * elf/ifuncmain1.c: Likewise.
7553 * elf/ifuncmain1vis.c: Likewise.
7554 * elf/testobj.h: Likewise.
7555 * elf/tst-stackguard1.c: Likewise.
7556 * gmon/sys/gmon.h: Likewise.
7557 * hurd/hurdmsg.c: Likewise.
7558 * hurd/new-fd.c: Likewise.
7559 * hurd/ports-get.c: Likewise.
7560 * iconvdata/ibm1008_420.c: Likewise.
7561 * inet/tst-getni1.c: Likewise.
7562 * inet/tst-getni2.c: Likewise.
7563 * libio/ioungetc.c: Likewise.
7564 * libio/wfiledoalloc.c: Likewise.
7565 * manual/libm-err-tab.pl: Likewise.
7566 * math/w_dremf.c: Likewise.
7567 * misc/ftruncate.c: Likewise.
7568 * posix/bug-glob2.c: Likewise.
7569 * posix/tst-pcre.c: Likewise.
7570 * posix/wait4.c: Likewise.
7571 * resolv/README: Likewise.
7572 * resolv/res_debug.h: Likewise.
7573 * resolv/tst-inet_ntop.c: Likewise.
7574 * setjmp/bug269-setjmp.c: Likewise.
7575 * soft-fp/extended.h: Likewise.
7576 * soft-fp/op-1.h: Likewise.
7577 * soft-fp/op-2.h: Likewise.
7578 * soft-fp/op-4.h: Likewise.
7579 * soft-fp/op-8.h: Likewise.
7580 * soft-fp/testit.c: Likewise.
7581 * stdio-common/bug16.c: Likewise.
7582 * stdlib/random.c: Likewise.
7583 * sunrpc/rpcsvc/rquota.x: Likewise.
7584 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7585 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7586 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7587 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7588 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7589 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7590 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7591 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7592 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7593 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7594 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7613 * sysdeps/ieee754/s_lib_version.c: Likewise.
7614 * sysdeps/mach/hurd/check_fds.c: Likewise.
7615 * sysdeps/mach/hurd/getsockname.c: Likewise.
7616 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7617 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7618 * sysdeps/powerpc/bits/link.h: Likewise.
7619 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7620 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7621 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7622 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7623 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7624 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7625 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7626 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7627 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7628 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7629 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7630 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7631 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7632 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7633 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7634 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7637 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7638 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7639 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7640 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7641 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7642 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7643 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7647 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7651 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7652 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7653 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7654 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7655 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7656 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7657 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7658 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7659 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7660 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7661 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7662 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7663 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7664 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7665 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7666 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7667 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7668 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7671 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7672 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7673 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7674 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7675 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7676 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7677 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7679 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7680 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7681 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7682 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7683 * sysdeps/powerpc/sysdep.h: Likewise.
7684 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7685 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7686 * sysdeps/sh/dl-trampoline.S: Likewise.
7687 * sysdeps/sh/memset.S: Likewise.
7688 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7689 * sysdeps/sh/strlen.S: Likewise.
7690 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7691 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7692 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7693 * sysdeps/sparc/sparc32/rem.S: Likewise.
7694 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7695 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7696 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7697 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7698 * sysdeps/sparc/sparc32/urem.S: Likewise.
7699 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7700 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7701 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7702 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7703 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7704 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7705 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7706 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7707 * sysdeps/unix/bsd/times.c: Likewise.
7708 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7709 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7713 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7714 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7715 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7716 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7717 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7718 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7720 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7721 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7722 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7723 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7724 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7725 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7726 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7727 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7728 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7729 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7730 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7731 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7732 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7733 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7734 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7735 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7736 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7737 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7738 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7739 * sysdeps/x86_64/strcspn.S: Likewise.
7740
869378a5
RA
77412013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7742
7743 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7744 generated file. Regenerate properly from gen-translit.pl.
7745 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7746 locale/C-translit.h.
7747
840e2943
AS
77482013-06-05 Andreas Schwab <schwab@suse.de>
7749
7750 [BZ #15100]
7751 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7752 week as 6 instead of -1.
7753 * time/tst-strptime.c (day_tests): Add test case.
7754
4c60cb0c
SP
77552013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7756
7757 * sysdeps/generic/math_private.h
7758 (libc_feholdexcept_setround_53bit): Replace with
7759 libc_feholdsetround_53bit.
7760 (libc_feupdateenv_53bit): Replace with
7761 libc_feresetround_53bit.
7762 (SET_RESTORE_ROUND_53BIT): Adjust.
7763
d180203e
SP
77642013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7765
96df079a
SP
7766 * string/test-strchrnul.c: Add copyright header.
7767
d180203e
SP
7768 * posix/tst-getaddrinfo4.c: Increase test timeout.
7769
8b0ccb2d
CD
77702013-06-03 Carlos O'Donell <carlos@redhat.com>
7771
7772 [BZ #15536]
7773 * math/libm-test.inc (MAX_EXP): Remove
7774 (MIN_EXP): Define.
7775 (ulp): Use MIN_EXP - MANT_DIG.
7776 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7777
3b3c4d40
CD
77782013-05-31 Carlos O'Donell <carlos@redhat.com>
7779
7780 * po/be.po: Revert last change.
7781 * po/zh_CN.po: Likewise.
7782 * po/header.pot: Likewise.
7783
fab7ce3f
JM
77842013-05-31 Joseph Myers <joseph@codesourcery.com>
7785
7786 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7787 link-libc-deps to empty as target-specific variable.
7788 * Makerules (link-libc-args): New variable.
7789 (libc-for-link): Likewise.
7790 (link-libc-deps): Likewise.
7791 (lib%.so): Depend on $(link-libc-deps). Link with
7792 $(link-libc-args).
7793 (build-module): Link with $(link-libc-args).
7794 (build-module-asneeded): Likewise.
7795 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7796 list of objects.
7797 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7798 target-specific variable.
7799 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7800 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7801 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7802 libc.
7803 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7804 libc and ld.so.
7805 ($(objpfx)libpcprofile.so): Likewise.
7806 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7807 libc_nonshared.a.
7808 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7809 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7810 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7811 $(link-libc-deps).
7812 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7813 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7814 * login/Makefile ($(objpfx)libutil.so): Likewise.
7815 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7816 * math/Makefile ($(objpfx)libm.so): Likewise.
7817 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7818 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7819 variable instead of depending directly on libc.
7820 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7821 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7822 $(link-libc-deps).
7823 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7824 libc.
7825 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7826 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7827 ($(objpfx)libanl.so): Likewise.
7828 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7829 ld.so.
7830 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7831 $(link-libc-deps).
7832 * sysdeps/i386/fpu/Makefile: Remove file.
7833 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7834 ($(objpfx)libm.so): Remove dependency on ld.so.
7835
eca5920c
PF
78362013-05-30 Patsy Franklin <pfrankli@redhat.com>
7837
7838 [BZ # 15553]
7839 * nis/yp_xdr.c (XDRMAXNAME): Define.
7840 (XDRMAXRECORD): Define.
7841 (xdr_domainname): Use XDRMAXNAME.
7842 (xdr_mapname): Likewise.
7843 (xdr_peername): Likewise.
7844 (xdr_keydat): Use XDRMAXRECORD.
7845 (xdr_valdat): Likewise.
7846
78472013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7848
7849 [BZ #14256]
7850 * manual/errno.texi (ESTALE): Update to account for more than
7851 just NFS file systems.
7852 * sysdeps/gnu/errlist.c: Regenerated.
7853
b9375348
SP
78542013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7855
7856 [BZ #15465]
7857 * elf/Makefile (tests): Add tst-null-argv.
7858 (modules-names): Add tst-null-argv-lib.
7859 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7860 (tst-null-argv-ENV): Set environment for tst-null-argv.
7861 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7862 (RTLD_PROGNAME): New macro.
7863 * elf/tst-null-argv.c: New test case.
7864 * elf/tst-null-argv-lib.c: Library for test case.
7865 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7866 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7867 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7868 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7869 * elf/dl-init.c (call_init): Likewise.
7870 (_dl_init): Likewise.
7871 * elf/dl-load.c (print_search_path): Likewise.
7872 (_dl_map_object): Likewise.
7873 * elf/dl-lookup.c (do_lookup_x): Likewise.
7874 (add_dependency): Likewise.
7875 (_dl_lookup_symbol_x): Likewise.
7876 (_dl_debug_bindings): Likewise.
7877 * elf/dl-open.c (_dl_show_scope): Likewise.
7878 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7879 * elf/dl-version.c (match_symbol): Likewise.
7880 (_dl_check_map_versions): Likewise.
7881 * elf/rtld.c (dl_main): Likewise.
7882 (print_unresolved): Use RTLD_PROGNAME.
7883 (print_missing_version): Likewise.
7884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7885 (elf_machine_rela): Likewise.
7886 * sysdeps/powerpc/powerpc32/dl-machine.c
7887 (__process_machine_rela): Likewise.
7888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7889 Likewise.
7890 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7891 Likewise.
7892 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7893 Likewise.
7894 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7896 Likewise.
7897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7898 Likewise.
7899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7900
8a9f20c8
CD
79012013-05-28 Carlos O'Donell <carlos@redhat.com>
7902
7903 * po/be.po: Add descriptive title.
7904 * po/zh_CN.po: Likewise.
7905 * po/header.pot: Likewise.
7906
0e60d68e
MF
79072013-05-28 Mike Frysinger <vapier@gentoo.org>
7908
7909 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7910 error message.
7911 (enlarge_archive): Likewise.
7912
56b672e9
BN
79132013-05-28 Ben North <ben@redfrontdoor.org>
7914
7915 * manual/arith.texi (frexp): It is the magnitude of the return
7916 value which lies in [0.5, 1), not the return value itself.
7917
5e056687
AZ
79182013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7919
7920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7921
2b66ef5d
TS
79222013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7923
528c2405
TS
7924 * stdio-common/bug26.c (main): Correct fscanf template.
7925
07b4c13d
TS
7926 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7927 declare _dl_skip_args.
7928
ec9dd97c
TS
7929 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7930 Don't declare.
7931
2b66ef5d
TS
7932 * manual/platform.texi: Add missing @end deftypefun.
7933
4f8dfe27
JM
79342013-05-24 Joseph Myers <joseph@codesourcery.com>
7935
0323d086
JM
7936 [BZ #15529]
7937 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7938 bit of mantissa of 2^16382.
7939 * math/libm-test.inc (hypot_test_data): Add more tests.
7940
dd4259b9
JM
7941 * math/libm-test.inc: Add drem and pow10 to list of tested
7942 functions.
7943 (pow10_test): New function.
7944 (drem_test): Likewise.
7945 (drem_test_tonearest): Likewise.
7946 (drem_test_towardzero): Likewise.
7947 (drem_test_downward): Likewise.
7948 (drem_test_upward): Likewise.
7949 (main): Call the new functions.
7950
4f8dfe27
JM
7951 * math/libm-test.inc (finite_test_data): Remove.
7952 (finite_test): Run tests from isfinite_test_data.
7953 (gamma_test_data): Remove.
7954 (gamma_test): Run tests from lgamma_test_data.
7955 * sysdeps/i386/fpu/libm-test-ulps: Update.
7956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7957
d116b7c4
AZ
79582013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7959
7960 * manual/platform.texi: Add PowerPC PPR function set documentation.
7961 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7962 implementation.
7963
e96e3767
CD
79642013-05-24 Carlos O'Donell <carlos@redhat.com>
7965
7966 * math/libm-test.inc (MAX_EXP): Define.
7967 (ULPDIFF): Define.
7968 (ulp): New function.
7969 (check_float_internal): Use ULPDIFF.
7970 (cpow_test): Disable failing test.
7971 (check_ulp): Test ulp() implemetnation.
7972 (main): Call check_ulp before starting tests.
7973
b679a606
JM
79742013-05-24 Joseph Myers <joseph@codesourcery.com>
7975
e8bdba36
JM
7976 * math/gen-libm-test.pl (generate_testfile): Do not handle
7977 START_DATA and END_DATA.
7978 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7979 END_DATA.
7980 (acos_tonearest_test_data): Likewise.
7981 (acos_towardzero_test_data): Likewise.
7982 (acos_downward_test_data): Likewise.
7983 (acos_upward_test_data): Likewise.
7984 (acosh_test_data): Likewise.
7985 (asin_test_data): Likewise.
7986 (asin_tonearest_test_data): Likewise.
7987 (asin_towardzero_test_data): Likewise.
7988 (asin_downward_test_data): Likewise.
7989 (asin_upward_test_data): Likewise.
7990 (asinh_test_data): Likewise.
7991 (atan_test_data): Likewise.
7992 (atanh_test_data): Likewise.
7993 (atan2_test_data): Likewise.
7994 (cabs_test_data): Likewise.
7995 (cacos_test_data): Likewise.
7996 (cacosh_test_data): Likewise.
7997 (carg_test_data): Likewise.
7998 (casin_test_data): Likewise.
7999 (casinh_test_data): Likewise.
8000 (catan_test_data): Likewise.
8001 (catanh_test_data): Likewise.
8002 (cbrt_test_data): Likewise.
8003 (ccos_test_data): Likewise.
8004 (ccosh_test_data): Likewise.
8005 (ceil_test_data): Likewise.
8006 (cexp_test_data): Likewise.
8007 (cimag_test_data): Likewise.
8008 (clog_test_data): Likewise.
8009 (clog10_test_data): Likewise.
8010 (conj_test_data): Likewise.
8011 (copysign_test_data): Likewise.
8012 (cos_test_data): Likewise.
8013 (cos_tonearest_test_data): Likewise.
8014 (cos_towardzero_test_data): Likewise.
8015 (cos_downward_test_data): Likewise.
8016 (cos_upward_test_data): Likewise.
8017 (cosh_test_data): Likewise.
8018 (cosh_tonearest_test_data): Likewise.
8019 (cosh_towardzero_test_data): Likewise.
8020 (cosh_downward_test_data): Likewise.
8021 (cosh_upward_test_data): Likewise.
8022 (cpow_test_data): Likewise.
8023 (cproj_test_data): Likewise.
8024 (creal_test_data): Likewise.
8025 (csin_test_data): Likewise.
8026 (csinh_test_data): Likewise.
8027 (csqrt_test_data): Likewise.
8028 (ctan_test_data): Likewise.
8029 (ctan_tonearest_test_data): Likewise.
8030 (ctan_towardzero_test_data): Likewise.
8031 (ctan_downward_test_data): Likewise.
8032 (ctan_upward_test_data): Likewise.
8033 (ctanh_test_data): Likewise.
8034 (ctanh_tonearest_test_data): Likewise.
8035 (ctanh_towardzero_test_data): Likewise.
8036 (ctanh_downward_test_data): Likewise.
8037 (ctanh_upward_test_data): Likewise.
8038 (erf_test_data): Likewise.
8039 (erfc_test_data): Likewise.
8040 (exp_test_data): Likewise.
8041 (exp_tonearest_test_data): Likewise.
8042 (exp_towardzero_test_data): Likewise.
8043 (exp_downward_test_data): Likewise.
8044 (exp_upward_test_data): Likewise.
8045 (exp10_test_data): Likewise.
8046 (exp2_test_data): Likewise.
8047 (expm1_test_data): Likewise.
8048 (fabs_test_data): Likewise.
8049 (fdim_test_data): Likewise.
8050 (finite_test_data): Likewise.
8051 (floor_test_data): Likewise.
8052 (fma_test_data): Likewise.
8053 (fma_towardzero_test_data): Likewise.
8054 (fma_downward_test_data): Likewise.
8055 (fma_upward_test_data): Likewise.
8056 (fmax_test_data): Likewise.
8057 (fmin_test_data): Likewise.
8058 (fmod_test_data): Likewise.
8059 (fpclassify_test_data): Likewise.
8060 (frexp_test_data): Likewise.
8061 (gamma_test_data): Likewise.
8062 (hypot_test_data): Likewise.
8063 (ilogb_test_data): Likewise.
8064 (isfinite_test_data): Likewise.
8065 (isgreater_test_data): Likewise.
8066 (isgreaterequal_test_data): Likewise.
8067 (isinf_test_data): Likewise.
8068 (isless_test_data): Likewise.
8069 (islessequal_test_data): Likewise.
8070 (islessgreater_test_data): Likewise.
8071 (isnan_test_data): Likewise.
8072 (isnormal_test_data): Likewise.
8073 (issignaling_test_data): Likewise.
8074 (isunordered_test_data): Likewise.
8075 (j0_test_data): Likewise.
8076 (j1_test_data): Likewise.
8077 (jn_test_data): Likewise.
8078 (ldexp_test_data): Likewise.
8079 (lgamma_test_data): Likewise.
8080 (lrint_test_data): Likewise.
8081 (lrint_tonearest_test_data): Likewise.
8082 (lrint_towardzero_test_data): Likewise.
8083 (lrint_downward_test_data): Likewise.
8084 (lrint_upward_test_data): Likewise.
8085 (llrint_test_data): Likewise.
8086 (llrint_tonearest_test_data): Likewise.
8087 (llrint_towardzero_test_data): Likewise.
8088 (llrint_downward_test_data): Likewise.
8089 (llrint_upward_test_data): Likewise.
8090 (log_test_data): Likewise.
8091 (log10_test_data): Likewise.
8092 (log1p_test_data): Likewise.
8093 (log2_test_data): Likewise.
8094 (logb_test_data): Likewise.
8095 (logb_downward_test_data): Likewise.
8096 (lround_test_data): Likewise.
8097 (llround_test_data): Likewise.
8098 (modf_test_data): Likewise.
8099 (nearbyint_test_data): Likewise.
8100 (nextafter_test_data): Likewise.
8101 (nexttoward_test_data): Likewise.
8102 (pow_test_data): Likewise.
8103 (pow_tonearest_test_data): Likewise.
8104 (pow_towardzero_test_data): Likewise.
8105 (pow_downward_test_data): Likewise.
8106 (pow_upward_test_data): Likewise.
8107 (remainder_test_data): Likewise.
8108 (remainder_tonearest_test_data): Likewise.
8109 (remainder_towardzero_test_data): Likewise.
8110 (remainder_downward_test_data): Likewise.
8111 (remainder_upward_test_data): Likewise.
8112 (remquo_test_data): Likewise.
8113 (rint_test_data): Likewise.
8114 (rint_tonearest_test_data): Likewise.
8115 (rint_towardzero_test_data): Likewise.
8116 (rint_downward_test_data): Likewise.
8117 (rint_upward_test_data): Likewise.
8118 (round_test_data): Likewise.
8119 (scalb_test_data): Likewise.
8120 (scalbn_test_data): Likewise.
8121 (scalbln_test_data): Likewise.
8122 (signbit_test_data): Likewise.
8123 (sin_test_data): Likewise.
8124 (sin_tonearest_test_data): Likewise.
8125 (sin_towardzero_test_data): Likewise.
8126 (sin_downward_test_data): Likewise.
8127 (sin_upward_test_data): Likewise.
8128 (sincos_test_data): Likewise.
8129 (sinh_test_data): Likewise.
8130 (sinh_tonearest_test_data): Likewise.
8131 (sinh_towardzero_test_data): Likewise.
8132 (sinh_downward_test_data): Likewise.
8133 (sinh_upward_test_data): Likewise.
8134 (sqrt_test_data): Likewise.
8135 (tan_test_data): Likewise.
8136 (tan_tonearest_test_data): Likewise.
8137 (tan_towardzero_test_data): Likewise.
8138 (tan_downward_test_data): Likewise.
8139 (tan_upward_test_data): Likewise.
8140 (tanh_test_data): Likewise.
8141 (tgamma_test_data): Likewise.
8142 (trunc_test_data): Likewise.
8143 (y0_test_data): Likewise.
8144 (y1_test_data): Likewise.
8145 (yn_test_data): Likewise.
8146 (significand_test_data): Likewise.
8147
b679a606
JM
8148 * math/gen-libm-test.pl (@functions): Remove variable.
8149 (generate_testfile): Don't handle START and END lines.
8150 * math/libm-test.inc (START): New macro.
8151 (END): Likewise.
8152 (END_COMPLEX): Likewise.
8153 (acos_test): Use END macro without arguments.
8154 (acos_test_tonearest): Likewise.
8155 (acos_test_towardzero): Likewise.
8156 (acos_test_downward): Likewise.
8157 (acos_test_upward): Likewise.
8158 (acosh_test): Likewise.
8159 (asin_test): Likewise.
8160 (asin_test_tonearest): Likewise.
8161 (asin_test_towardzero): Likewise.
8162 (asin_test_downward): Likewise.
8163 (asin_test_upward): Likewise.
8164 (asinh_test): Likewise.
8165 (atan_test): Likewise.
8166 (atanh_test): Likewise.
8167 (atan2_test): Likewise.
8168 (cabs_test): Likewise.
8169 (cacos_test): Use END_COMPLEX macro without arguments.
8170 (cacosh_test): Likewise.
8171 (carg_test): Use END macro without arguments.
8172 (casin_test): Use END_COMPLEX macro without arguments.
8173 (casinh_test): Likewise.
8174 (catan_test): Likewise.
8175 (catanh_test): Likewise.
8176 (cbrt_test): Use END macro without arguments.
8177 (ccos_test): Use END_COMPLEX macro without arguments.
8178 (ccosh_test): Likewise.
8179 (ceil_test): Use END macro without arguments.
8180 (cexp_test): Use END_COMPLEX macro without arguments.
8181 (cimag_test): Use END macro without arguments.
8182 (clog_test): Use END_COMPLEX macro without arguments.
8183 (clog10_test): Likewise.
8184 (conj_test): Likewise.
8185 (copysign_test): Use END macro without arguments.
8186 (cos_test): Likewise.
8187 (cos_test_tonearest): Likewise.
8188 (cos_test_towardzero): Likewise.
8189 (cos_test_downward): Likewise.
8190 (cos_test_upward): Likewise.
8191 (cosh_test): Likewise.
8192 (cosh_test_tonearest): Likewise.
8193 (cosh_test_towardzero): Likewise.
8194 (cosh_test_downward): Likewise.
8195 (cosh_test_upward): Likewise.
8196 (cpow_test): Use END_COMPLEX macro without arguments.
8197 (cproj_test): Likewise.
8198 (creal_test): Use END macro without arguments.
8199 (csin_test): Use END_COMPLEX macro without arguments.
8200 (csinh_test): Likewise.
8201 (csqrt_test): Likewise.
8202 (ctan_test): Likewise.
8203 (ctan_test_tonearest): Likewise.
8204 (ctan_test_towardzero): Likewise.
8205 (ctan_test_downward): Likewise.
8206 (ctan_test_upward): Likewise.
8207 (ctanh_test): Likewise.
8208 (ctanh_test_tonearest): Likewise.
8209 (ctanh_test_towardzero): Likewise.
8210 (ctanh_test_downward): Likewise.
8211 (ctanh_test_upward): Likewise.
8212 (erf_test): Use END macro without arguments.
8213 (erfc_test): Likewise.
8214 (exp_test): Likewise.
8215 (exp_test_tonearest): Likewise.
8216 (exp_test_towardzero): Likewise.
8217 (exp_test_downward): Likewise.
8218 (exp_test_upward): Likewise.
8219 (exp10_test): Likewise.
8220 (exp2_test): Likewise.
8221 (expm1_test): Likewise.
8222 (fabs_test): Likewise.
8223 (fdim_test): Likewise.
8224 (finite_test): Likewise.
8225 (floor_test): Likewise.
8226 (fma_test): Likewise.
8227 (fma_test_towardzero): Likewise.
8228 (fma_test_downward): Likewise.
8229 (fma_test_upward): Likewise.
8230 (fmax_test): Likewise.
8231 (fmin_test): Likewise.
8232 (fmod_test): Likewise.
8233 (fpclassify_test): Likewise.
8234 (frexp_test): Likewise.
8235 (gamma_test): Likewise.
8236 (hypot_test): Likewise.
8237 (ilogb_test): Likewise.
8238 (isfinite_test): Likewise.
8239 (isgreater_test): Likewise.
8240 (isgreaterequal_test): Likewise.
8241 (isinf_test): Likewise.
8242 (isless_test): Likewise.
8243 (islessequal_test): Likewise.
8244 (islessgreater_test): Likewise.
8245 (isnan_test): Likewise.
8246 (isnormal_test): Likewise.
8247 (issignaling_test): Likewise.
8248 (isunordered_test): Likewise.
8249 (j0_test): Likewise.
8250 (j1_test): Likewise.
8251 (jn_test): Likewise.
8252 (ldexp_test): Likewise.
8253 (lgamma_test): Likewise.
8254 (lrint_test): Likewise.
8255 (lrint_test_tonearest): Likewise.
8256 (lrint_test_towardzero): Likewise.
8257 (lrint_test_downward): Likewise.
8258 (lrint_test_upward): Likewise.
8259 (llrint_test): Likewise.
8260 (llrint_test_tonearest): Likewise.
8261 (llrint_test_towardzero): Likewise.
8262 (llrint_test_downward): Likewise.
8263 (llrint_test_upward): Likewise.
8264 (log_test): Likewise.
8265 (log10_test): Likewise.
8266 (log1p_test): Likewise.
8267 (log2_test): Likewise.
8268 (logb_test): Likewise.
8269 (logb_test_downward): Likewise.
8270 (lround_test): Likewise.
8271 (llround_test): Likewise.
8272 (modf_test): Likewise.
8273 (nearbyint_test): Likewise.
8274 (nextafter_test): Likewise.
8275 (nexttoward_test): Likewise.
8276 (pow_test): Likewise.
8277 (pow_test_tonearest): Likewise.
8278 (pow_test_towardzero): Likewise.
8279 (pow_test_downward): Likewise.
8280 (pow_test_upward): Likewise.
8281 (remainder_test): Likewise.
8282 (remainder_test_tonearest): Likewise.
8283 (remainder_test_towardzero): Likewise.
8284 (remainder_test_downward): Likewise.
8285 (remainder_test_upward): Likewise.
8286 (remquo_test): Likewise.
8287 (rint_test): Likewise.
8288 (rint_test_tonearest): Likewise.
8289 (rint_test_towardzero): Likewise.
8290 (rint_test_downward): Likewise.
8291 (rint_test_upward): Likewise.
8292 (round_test): Likewise.
8293 (scalb_test): Likewise.
8294 (scalbn_test): Likewise.
8295 (scalbln_test): Likewise.
8296 (signbit_test): Likewise.
8297 (sin_test): Likewise.
8298 (sin_test_tonearest): Likewise.
8299 (sin_test_towardzero): Likewise.
8300 (sin_test_downward): Likewise.
8301 (sin_test_upward): Likewise.
8302 (sincos_test): Likewise.
8303 (sinh_test): Likewise.
8304 (sinh_test_tonearest): Likewise.
8305 (sinh_test_towardzero): Likewise.
8306 (sinh_test_downward): Likewise.
8307 (sinh_test_upward): Likewise.
8308 (sqrt_test): Likewise.
8309 (tan_test): Likewise.
8310 (tan_test_tonearest): Likewise.
8311 (tan_test_towardzero): Likewise.
8312 (tan_test_downward): Likewise.
8313 (tan_test_upward): Likewise.
8314 (tanh_test): Likewise.
8315 (tgamma_test): Likewise.
8316 (trunc_test): Likewise.
8317 (y0_test): Likewise.
8318 (y1_test): Likewise.
8319 (yn_test): Likewise.
8320 (significand_test): Likewise.
8321
bae143d2
OB
83222013-05-24 Ondřej Bílka <neleai@seznam.cz>
8323
8324 [BZ #15381]
8325 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8326
9323d39b
EM
83272013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8328
d4ea44a0 8329 [BZ #14894]
9323d39b
EM
8330 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8331 __ppc_mdoio and __ppc_mdoom.
8332 * manual/platform.texi: Document new functions __ppc_yield,
8333 __ppc_mdoio and __ppc_mdoom.
8334
13e23af7
CD
83352013-05-22 Carlos O'Donell <carlos@redhat.com>
8336
8337 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8338 (main): Mention "tls" pseudo-hwcap is legacy.
8339 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8340
351fe550
JM
83412013-05-22 Joseph Myers <joseph@codesourcery.com>
8342
8343 * math/gen-libm-test.pl (parse_args): Output only string of
8344 arguments as text for test name, not full call or descriptions of
8345 tests for extra outputs.
8346 (generate_testfile): Do not pass function name to parse_args.
8347 Generate this_func variable from START.
8348 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8349 field to arg_str.
8350 (struct test_ff_f_data): Likewise.
8351 (test_ff_f_data_nexttoward): Likewise.
8352 (struct test_fi_f_data): Likewise.
8353 (struct test_fl_f_data): Likewise.
8354 (struct test_if_f_data): Likewise.
8355 (struct test_fff_f_data): Likewise.
8356 (struct test_c_f_data): Likewise.
8357 (struct test_f_f1_data): Likewise. Remove field extra_name.
8358 (struct test_fF_f1_data): Likewise.
8359 (struct test_ffI_f1_data): Likewise.
8360 (struct test_c_c_data): Rename test_name field to arg_str.
8361 (struct test_cc_c_data): Likewise.
8362 (struct test_f_i_data): Likewise.
8363 (struct test_ff_i_data): Likewise.
8364 (struct test_f_l_data): Likewise.
8365 (struct test_f_L_data): Likewise.
8366 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8367 and extra2_name.
8368 (COMMON_TEST_SETUP): New macro.
8369 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8370 (COMMON_TEST_CLEANUP): Likewise.
8371 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8372 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8373 macros.
8374 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8375 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8376 macros.
8377 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8378 (RUN_TEST_fff_f): Take argument string. Call new setup and
8379 cleanup macros.
8380 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8381 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8382 macros.
8383 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8384 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8385 macros.
8386 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8387 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8388 cleanup macros.
8389 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8390 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8391 cleanup macros.
8392 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8393 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8394 cleanup macros.
8395 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8396 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8397 macros.
8398 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8399 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8400 macros.
8401 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8402 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8403 macros.
8404 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8405 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8406 cleanup macros.
8407 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8408 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8409 cleanup macros.
8410 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8411 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8412 macros.
8413 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8414 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8415 cleanup macros.
8416 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8417 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8418 macros.
8419 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8420 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8421 macros.
8422 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8423 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8424 cleanup macros.
8425 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8426
85118d4d
EBM
84272013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8428
8429 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8430 to _sifields.sigfault.
8431 (si_addr_lsb): Define new macro.
8432 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8434 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8435
7a44c18f
CD
84362013-05-03 Carlos O'Donell <carlos at redhat.com>
8437
8438 [BZ #15441]
8439 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8440 returns -1.
8441 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8442 null return -1.
8443 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8444 loading the domain.
8445
b50a7181
JM
84462013-05-22 Joseph Myers <joseph@codesourcery.com>
8447
8448 * math/gen-libm-test.pl (parse_args): Do not include expected
8449 result in test name.
8450 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8452 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8453 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8454 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8456
051063c8
SP
84572013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8458
3ce9e010
SP
8459 * benchtests/Makefile: Sort function entries.
8460
051063c8
SP
8461 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8462 tanh, asinh, acosh, atanh.
8463 * benchtests/acos-inputs: New file.
8464 * benchtests/acosh-inputs: New file.
8465 * benchtests/asin-inputs: New file.
8466 * benchtests/asinh-inputs: New file.
8467 * benchtests/atanh-inputs: New file.
8468 * benchtests/cosh-inputs: New file.
8469 * benchtests/log-inputs: New file.
8470 * benchtests/sinh-inputs: New file.
8471 * benchtests/tanh-inputs: New file.
8472
47c22455
DL
84732013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8474
8475 [BZ #15339]
8476 * posix/tst-getaddrinfo4.c: New test.
8477 * posix/Makefile (tests): Add it.
8478
3d04f5db
SP
84792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8480
8481 [BZ #15339]
8482 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8483 when no services were used.
8484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8485 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8486
d5dd6189
AS
84872013-05-21 Andreas Schwab <schwab@suse.de>
8488
8489 [BZ #15014]
8490 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8491 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8492 successful.
8493 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8494 redundant variable declarations and reallocation of buffer when
8495 parsing as IPv6 address. Always set NSS status when called from
8496 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8497 buffer too small. Correct computation of needed size.
8498 * nss/Makefile (tests): Add test-digits-dots.
8499 * nss/test-digits-dots.c: New test.
8500
fef94eab
SP
85012013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
8503 * benchtests/Makefile: Remove instructions for adding
8504 benchmark tests.
8505 * benchtests/README: New file to explain how to execute and
8506 enhance the benchmark tests.
8507
e39adf43
AS
85082013-05-21 Andreas Schwab <schwab@suse.de>
8509
8510 [BZ #15493]
8511 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8512 * setjmp/tst-sigsetjmp.c: New test.
8513
b2b671b6
OB
85142013-05-20 Ondřej Bílka <neleai@seznam.cz>
8515
8516 * sysdeps/x86_64/memset.S (memset): New implementation.
8517 (__bzero): Likewise.
8518 (__memset_tail): New function.
8519
2d48b41c
OB
85202013-05-20 Ondřej Bílka <neleai@seznam.cz>
8521
8522 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8523 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8524 __memcpy_sse2_unaligned ifunc selection.
8525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8526 Add memcpy-sse2-unaligned.S.
8527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8528 Add: __memcpy_sse2_unaligned.
8529
f16cc3eb
JM
85302013-05-19 Joseph Myers <joseph@codesourcery.com>
8531
3e694268
JM
8532 [BZ #15490]
8533 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8534 math_force_eval before restoring floating-point envrionment.
8535 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8536 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8537 Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8539 <math_private.h>.
8540 (__nearbyintl): Use math_force_eval before restoring
8541 floating-point environment.
8542 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8543
db62a907
JM
8544 * math/gen-libm-test.pl (special_functions): Remove.
8545 (parse_args): Don't handle TEST_extra. Handle functions with no
8546 return value.
8547 * math/libm-test.inc (struct test_sincos_data): Replace with
8548 struct test_fFF_11_data.
8549 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8550 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8551 (sincos_test_data): Change element type to struct
8552 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8553 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8554 RUN_TEST_LOOP_sincos.
8555 * math/README.libm-test: Don't mention special handling of
8556 individual functions.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8559 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8560 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8561 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8563
f16cc3eb
JM
8564 * math/gen-libm-test.pl (get_variable): Remove function.
8565 (parse_args): Don't show pointer parameters to call in test
8566 names. Use "extra output N" in test names for extra outputs
8567 rather than naming variables.
8568
3779b5b6
JM
85692013-05-18 Joseph Myers <joseph@codesourcery.com>
8570
2ee094ff
JM
8571 [BZ #15488]
8572 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8573 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8574 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8575 double tests.
8576 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8577 disable.
8578 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8579 check_long_double.
8580
3779b5b6
JM
8581 * math/gen-libm-test.pl (@tests): Remove variable.
8582 ($count): Likewise.
8583 (new_test): Remove function.
8584 (show_exceptions): New function.
8585 (special_functions): Use show_exceptions instead of new_test.
8586 (parse_args): Likewise.
8587 (generate_testfile): Pass only function name in generated call to
8588 print_max_error or print_complex_max_error.
8589 (get_ulps): Do not handle complex tests specially.
8590 (output_test): Rename to ...
8591 (get_all_ulps_for_test): ... this. Return a string rather than
8592 printing to a file. Require ulps to be present.
8593 (output_ulps): Generate arrays rather than #defines.
8594 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8595 (struct ulp_data): New type.
8596 (BUILD_COMPLEX_ULP): Remove macro.
8597 (compare_ulp_data): New function.
8598 (find_ulps): Likewise.
8599 (find_test_ulps): Likewise.
8600 (find_function_ulps): Likewise.
8601 (find_complex_function_ulps): Likewise.
8602 (print_max_error): Determine allowed ulps using
8603 find_function_ulps.
8604 (print_complex_max_error): Determine allowed ulps using
8605 find_complex_function_ulps.
8606 (check_float_internal): Determine max ulps using find_test_ulps.
8607 (check_float): Do not take max_ulp parameter. Update call to
8608 check_float_internal.
8609 (check_complex): Likewise.
8610 (check_int): Do not take max_ulp parameter.
8611 (check_long): Likewise.
8612 (check_bool): Likewise.
8613 (check_longlong): Likewise.
8614 (struct test_f_f_data): Remove max_ulp field.
8615 (struct test_ff_f_data): Likewise.
8616 (struct test_ff_f_data_nexttoward): Likewise.
8617 (struct test_fi_f_data): Likewise.
8618 (struct test_fl_f_data): Likewise.
8619 (struct test_if_f_data): Likewise.
8620 (struct test_fff_f_data): Likewise.
8621 (struct test_c_f_data): Likewise.
8622 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8623 (struct test_fF_f1_data): Likewise.
8624 (struct test_ffI_f1_data): Likewise.
8625 (struct test_c_c_data): Remove max_ulp field.
8626 (struct test_cc_c_data): Likewise.
8627 (struct test_f_i_data): Likewise.
8628 (struct test_ff_i_data): Likewise.
8629 (struct test_f_l_data): Likewise.
8630 (struct test_f_L_data): Likewise.
8631 (struct test_sincos_data): Likewise.
8632 (RUN_TEST_f_f): Do not handle ulps.
8633 (RUN_TEST_LOOP_f_f): Likewise.
8634 (RUN_TEST_2_f): Likewise.
8635 (RUN_TEST_LOOP_2_f): Likewise.
8636 (RUN_TEST_fff_f): Likewise.
8637 (RUN_TEST_LOOP_fff_f): Likewise.
8638 (RUN_TEST_c_f): Likewise.
8639 (RUN_TEST_LOOP_c_f): Likewise.
8640 (RUN_TEST_f_f1): Likewise.
8641 (RUN_TEST_LOOP_f_f1): Likewise.
8642 (RUN_TEST_fF_f1): Likewise.
8643 (RUN_TEST_LOOP_fF_f1): Likewise.
8644 (RUN_TEST_fI_f1): Likewise.
8645 (RUN_TEST_LOOP_fI_f1): Likewise.
8646 (RUN_TEST_ffI_f1): Likewise.
8647 (RUN_TEST_LOOP_ffI_f1): Likewise.
8648 (RUN_TEST_c_c): Likewise.
8649 (RUN_TEST_LOOP_c_c): Likewise.
8650 (RUN_TEST_cc_c): Likewise.
8651 (RUN_TEST_LOOP_cc_c): Likewise.
8652 (RUN_TEST_f_i): Likewise.
8653 (RUN_TEST_LOOP_f_i): Likewise.
8654 (RUN_TEST_f_i_tg): Likewise.
8655 (RUN_TEST_LOOP_f_i_tg): Likewise.
8656 (RUN_TEST_ff_i_tg): Likewise.
8657 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8658 (RUN_TEST_f_b): Likewise.
8659 (RUN_TEST_LOOP_f_b): Likewise.
8660 (RUN_TEST_f_b_tg): Likewise.
8661 (RUN_TEST_LOOP_f_b_tg): Likewise.
8662 (RUN_TEST_f_l): Likewise.
8663 (RUN_TEST_LOOP_f_l): Likewise.
8664 (RUN_TEST_f_L): Likewise.
8665 (RUN_TEST_LOOP_f_L): Likewise.
8666 (RUN_TEST_sincos): Likewise.
8667 (RUN_TEST_LOOP_sincos): Likewise.
8668
8269107f
JM
86692013-05-17 Joseph Myers <joseph@codesourcery.com>
8670
bb38759d
JM
8671 [BZ #15480]
8672 [BZ #15485]
8673 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8674 main case of finite arguments, set rounding mode to FE_TONEAREST
8675 and discard exceptions.
8676 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8677 exceptions.
8678 (remainder_tonearest_test_data): New variable.
8679 (remainder_test_tonearest): New function.
8680 (remainder_towardzero_test_data): New variable.
8681 (remainder_test_towardzero): New function.
8682 (remainder_downward_test_data): New variable.
8683 (remainder_test_downward): New function.
8684 (remainder_upward_test_data): New variable.
8685 (remainder_test_upward): New function.
8686 (main): Call the new test functions.
8687
a00bdcf0
JM
8688 * math/libm-test.inc (struct test_f_f1_data): Remove field
8689 extra_init.
8690 (struct test_fF_f1_data): Likewise.
8691 (struct test_ffI_f1_data): Likewise.
8692 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8693 based on value of EXTRA_EXPECTED.
8694 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8695 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8696 EXTRA_VAR based on value of EXTRA_EXPECTED.
8697 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8698 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8699 EXTRA_VAR based on value of EXTRA_EXPECTED.
8700 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8701 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8702 EXTRA_VAR based on value of EXTRA_EXPECTED.
8703 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8704 * math/gen-libm-test.pl (parse_args): Don't output initializers
8705 for extra output values.
8706
de407f79
JM
8707 * math/libm-test.inc (check_int): Expect result to be exactly
8708 equal to expected value and do not handle ulps.
8709 (check_long): Likewise.
8710 (check_longlong): Likewise.
8711
8269107f
JM
8712 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8713 exceptions.
8714 (cimag_test_data): Likewise.
8715 (conj_test_data): Likewise.
8716 (copysign_test_data): Likewise.
8717 (cproj_test_data): Likewise.
8718 (creal_test_data): Likewise.
8719 (fabs_test_data): Likewise.
8720 (fdim_test_data): Likewise.
8721 (finite_test_data): Likewise.
8722 (floor_test_data): Likewise.
8723 (fmax_test_data): Likewise.
8724 (fmin_test_data): Likewise.
8725 (fmod_test_data): Likewise.
8726 (fpclassify_test_data): Likewise.
8727 (frexp_test_data): Likewise.
8728 (ilogb_test_data): Likewise.
8729 (isfinite_test_data): Likewise.
8730 (isgreater_test_data): Likewise.
8731 (isgreaterequal_test_data): Likewise.
8732 (isinf_test_data): Likewise.
8733 (isless_test_data): Likewise.
8734 (islessequal_test_data): Likewise.
8735 (islessgreater_test_data): Likewise.
8736 (isnan_test_data): Likewise.
8737 (isnormal_test_data): Likewise.
8738 (issignaling_test_data): Likewise.
8739 (isunordered_test_data): Likewise.
8740 (ldexp_test_data): Likewise.
8741 (lrint_test_data): Likewise.
8742 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8743 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8744 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8745 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8746 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8747 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8748 test input.
8749 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8750 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8751 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8752 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8753 that test input.
8754 (lrint_downward_test_data): Test for "inexact" exceptions.
8755 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8756 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8757 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8758 test input.
8759 (lrint_upward_test_data): Test for "inexact" exceptions.
8760 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8761 test input.
8762 (llrint_test_data): Test for "inexact" exceptions.
8763 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8764 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8765 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8766 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8767 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8768 (llrint_downward_test_data): Test for "inexact" exceptions.
8769 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8770 (llrint_upward_test_data): Test for "inexact" exceptions.
8771 (logb_test_data): Likewise.
8772 (logb_downward_test_data): Likewise.
8773 (nextafter_test_data): Likewise.
8774 (nexttoward_test_data): Likewise.
8775 (remainder_test_data): Likewise.
8776 (remquo_test_data): Likewise.
8777 (scalbn_test_data): Likewise.
8778 (scalbln_test_data): Likewise.
8779 (signbit_test_data): Likewise.
8780 (sqrt_test_data): Likewise.
8781 (significand_test_data): Likewise.
8782
48a18de1
SP
87832013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8784
8785 [BZ #15424]
8786 * benchtests/bench-modf.c (struct args): Mark arg0 as
8787 volatile.
8788 * scripts/bench.pl: Mark members of struct args as volatile.
8789
13d3b41a
AZ
87902013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8791
68191c1d 8792 [BZ # 15497]
13d3b41a
AZ
8793 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8794 negative infinity on POWER6 or lower.
8795 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8796
2848b105
MR
87972013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8798
8799 [BZ #15442]
8800 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8801 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8802 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8803 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8804 (_FP_SETQNAN): New macro.
8805 (_FP_SETQNAN_SEMIRAW): Likewise.
8806 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8807 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8808 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8809 (FP_EXTEND): Use _FP_FRAC_SNANP.
8810 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8811 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8812 into account.
8813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8814 New macro.
8815 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8816 Likewise.
8817
323e5cb7
JM
88182013-05-16 Joseph Myers <joseph@codesourcery.com>
8819
c58b274f
JM
8820 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8821 with DIVIDE_BY_ZERO_EXCEPTION.
8822 (gamma_test_data): Likewise.
8823 (lgamma_test_data): Likewise.
8824 (log_test_data): Likewise.
8825 (log10_test_data): Likewise.
8826 (log2_test_data): Likewise.
8827 (tgamma_test_data): Likewise.
8828
0ab34904
JM
8829 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8830 (acos_test_tonearest): Likewise.
8831 (acos_test_towardzero): Likewise.
8832 (acos_test_downward): Likewise.
8833 (acos_test_upward): Likewise.
8834 (acosh_test): Likewise.
8835 (asin_test): Likewise.
8836 (asin_test_tonearest): Likewise.
8837 (asin_test_towardzero): Likewise.
8838 (asin_test_downward): Likewise.
8839 (asin_test_upward): Likewise.
8840 (asinh_test): Likewise.
8841 (atan_test): Likewise.
8842 (atanh_test): Likewise.
8843 (atan2_test): Likewise.
8844 (cabs_test): Likewise.
8845 (cacos_test): Likewise.
8846 (cacosh_test): Likewise.
8847 (casin_test): Likewise.
8848 (casinh_test): Likewise.
8849 (catan_test): Likewise.
8850 (catanh_test): Likewise.
8851 (cbrt_test): Likewise.
8852 (ccos_test): Likewise.
8853 (ccosh_test): Likewise.
8854 (cexp_test): Likewise.
8855 (clog_test): Likewise.
8856 (clog10_test): Likewise.
8857 (cos_test): Likewise.
8858 (cos_test_tonearest): Likewise.
8859 (cos_test_towardzero): Likewise.
8860 (cos_test_downward): Likewise.
8861 (cos_test_upward): Likewise.
8862 (cosh_test): Likewise.
8863 (cosh_test_tonearest): Likewise.
8864 (cosh_test_towardzero): Likewise.
8865 (cosh_test_downward): Likewise.
8866 (cosh_test_upward): Likewise.
8867 (cpow_test): Likewise.
8868 (csin_test): Likewise.
8869 (csinh_test): Likewise.
8870 (csqrt_test): Likewise.
8871 (ctan_test): Likewise.
8872 (ctan_test_tonearest): Likewise.
8873 (ctan_test_towardzero): Likewise.
8874 (ctan_test_downward): Likewise.
8875 (ctan_test_upward): Likewise.
8876 (ctanh_test): Likewise.
8877 (ctanh_test_tonearest): Likewise.
8878 (ctanh_test_towardzero): Likewise.
8879 (ctanh_test_downward): Likewise.
8880 (ctanh_test_upward): Likewise.
8881 (erf_test): Likewise.
8882 (erfc_test): Likewise.
8883 (exp_test): Likewise.
8884 (exp_test_tonearest): Likewise.
8885 (exp_test_towardzero): Likewise.
8886 (exp_test_downward): Likewise.
8887 (exp_test_upward): Likewise.
8888 (exp10_test): Likewise.
8889 (exp2_test): Likewise.
8890 (expm1_test): Likewise.
8891 (fmod_test): Likewise.
8892 (gamma_test): Likewise.
8893 (hypot_test): Likewise.
8894 (j0_test): Likewise.
8895 (j1_test): Likewise.
8896 (jn_test): Likewise.
8897 (lgamma_test): Likewise.
8898 (log_test): Likewise.
8899 (log10_test): Likewise.
8900 (log1p_test): Likewise.
8901 (log2_test): Likewise.
8902 (logb_test_downward): Likewise.
8903 (pow_test): Likewise.
8904 (pow_test_tonearest): Likewise.
8905 (pow_test_towardzero): Likewise.
8906 (pow_test_downward): Likewise.
8907 (pow_test_upward): Likewise.
8908 (remainder_test): Likewise.
8909 (remquo_test): Likewise.
8910 (sin_test): Likewise.
8911 (sin_test_tonearest): Likewise.
8912 (sin_test_towardzero): Likewise.
8913 (sin_test_downward): Likewise.
8914 (sin_test_upward): Likewise.
8915 (sincos_test): Likewise.
8916 (sinh_test): Likewise.
8917 (sinh_test_tonearest): Likewise.
8918 (sinh_test_towardzero): Likewise.
8919 (sinh_test_downward): Likewise.
8920 (sinh_test_upward): Likewise.
8921 (sqrt_test): Likewise.
8922 (tan_test): Likewise.
8923 (tan_test_tonearest): Likewise.
8924 (tan_test_towardzero): Likewise.
8925 (tan_test_downward): Likewise.
8926 (tan_test_upward): Likewise.
8927 (tanh_test): Likewise.
8928 (tgamma_test): Likewise.
8929 (y0_test): Likewise.
8930 (y1_test): Likewise.
8931 (yn_test): Likewise.
8932
323e5cb7
JM
8933 * math/gen-libm-test.pl (adjust_arg): Remove function.
8934 (special_function): Remove argument $in_func. Only handle
8935 generating output for tables of tests, not inside functions.
8936 (parse_args): Likewise.
8937 (generate_testfile): Remove variable $in_func. Update call to
8938 parse_args.
8939 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8940 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8941 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8942 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8943 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8944 (MAX_VALUE_INIT): Rename macro to max_value.
8945 (MIN_VALUE_INIT): Rename macro to min_value.
8946 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8947 (plus_zero): Remove variable.
8948 (minus_zero): Likewise.
8949 (plus_infty): Likewise.
8950 (minus_infty): Likewise.
8951 (qnan_value): Likewise.
8952 (max_value): Likewise.
8953 (min_value): Likewise.
8954 (min_subnorm_value): Likewise.
8955
e054f494
RA
89562013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8957
8958 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8959 uint64_t or uint32_t usage.
8960 * crypt/sha256-block.c: Likewise.
8961 * crypt/sha256-crypt.c: Likewise.
8962 * crypt/sha256.c: Likewise.
8963 * crypt/sha512-block.c: Likewise.
8964 * crypt/sha512-crypt.c: Likewise.
8965 * crypt/sha512.c: Likewise.
8966 * debug/backtrace-tst.c: Likewise.
8967 * debug/pcprofiledump.c: Likewise.
8968 * elf/cache.c: Likewise.
8969 * elf/dl-cache.c: Likewise.
8970 * elf/dl-misc.c: Likewise.
8971 * elf/dl-profile.c: Likewise.
8972 * elf/dl-support.c: Likewise.
8973 * elf/ldconfig.c: Likewise.
8974 * elf/sprof.c: Likewise.
8975 * iconv/dummy-repertoire.c: Likewise.
8976 * iconv/iconv_charmap.c: Likewise.
8977 * iconv/skeleton.c: Likewise.
8978 * iconvdata/8bit-generic.c: Likewise.
8979 * iconvdata/cp737.h: Likewise.
8980 * iconvdata/cp775.h: Likewise.
8981 * iconvdata/ibm1008.h: Likewise.
8982 * iconvdata/ibm1025.h: Likewise.
8983 * iconvdata/ibm1046.h: Likewise.
8984 * iconvdata/ibm1097.h: Likewise.
8985 * iconvdata/ibm1112.h: Likewise.
8986 * iconvdata/ibm1122.h: Likewise.
8987 * iconvdata/ibm1123.h: Likewise.
8988 * iconvdata/ibm1124.h: Likewise.
8989 * iconvdata/ibm1129.h: Likewise.
8990 * iconvdata/ibm1130.h: Likewise.
8991 * iconvdata/ibm1132.h: Likewise.
8992 * iconvdata/ibm1133.h: Likewise.
8993 * iconvdata/ibm1137.h: Likewise.
8994 * iconvdata/ibm1140.h: Likewise.
8995 * iconvdata/ibm1141.h: Likewise.
8996 * iconvdata/ibm1142.h: Likewise.
8997 * iconvdata/ibm1143.h: Likewise.
8998 * iconvdata/ibm1144.h: Likewise.
8999 * iconvdata/ibm1145.h: Likewise.
9000 * iconvdata/ibm1146.h: Likewise.
9001 * iconvdata/ibm1147.h: Likewise.
9002 * iconvdata/ibm1148.h: Likewise.
9003 * iconvdata/ibm1149.h: Likewise.
9004 * iconvdata/ibm1153.h: Likewise.
9005 * iconvdata/ibm1154.h: Likewise.
9006 * iconvdata/ibm1155.h: Likewise.
9007 * iconvdata/ibm1156.h: Likewise.
9008 * iconvdata/ibm1157.h: Likewise.
9009 * iconvdata/ibm1158.h: Likewise.
9010 * iconvdata/ibm1160.h: Likewise.
9011 * iconvdata/ibm1161.h: Likewise.
9012 * iconvdata/ibm1162.h: Likewise.
9013 * iconvdata/ibm1163.h: Likewise.
9014 * iconvdata/ibm1164.h: Likewise.
9015 * iconvdata/ibm1166.h: Likewise.
9016 * iconvdata/ibm1167.h: Likewise.
9017 * iconvdata/ibm12712.h: Likewise.
9018 * iconvdata/ibm1390.h: Likewise.
9019 * iconvdata/ibm1399.h: Likewise.
9020 * iconvdata/ibm16804.h: Likewise.
9021 * iconvdata/ibm4517.h: Likewise.
9022 * iconvdata/ibm4899.h: Likewise.
9023 * iconvdata/ibm4909.h: Likewise.
9024 * iconvdata/ibm4971.h: Likewise.
9025 * iconvdata/ibm5347.h: Likewise.
9026 * iconvdata/ibm803.h: Likewise.
9027 * iconvdata/ibm856.h: Likewise.
9028 * iconvdata/ibm901.h: Likewise.
9029 * iconvdata/ibm902.h: Likewise.
9030 * iconvdata/ibm9030.h: Likewise.
9031 * iconvdata/ibm9066.h: Likewise.
9032 * iconvdata/ibm921.h: Likewise.
9033 * iconvdata/ibm922.h: Likewise.
9034 * iconvdata/ibm9448.h: Likewise.
9035 * iconvdata/isiri-3342.h: Likewise.
9036 * iconvdata/jis0201.h: Likewise.
9037 * include/link.h: Likewise.
9038 * include/netdb.h: Likewise.
9039 * inet/check_native.c: Likewise.
9040 * inet/check_pf.c: Likewise.
9041 * inet/getipv4sourcefilter.c: Likewise.
9042 * inet/getnameinfo.c: Likewise.
9043 * inet/getsourcefilter.c: Likewise.
9044 * inet/htonl.c: Likewise.
9045 * inet/setipv4sourcefilter.c: Likewise.
9046 * inet/setsourcefilter.c: Likewise.
9047 * inet/test-inet6_opt.c: Likewise.
9048 * inet/tst-network.c: Likewise.
9049 * locale/C-collate.c: Likewise.
9050 * locale/C-ctype.c: Likewise.
9051 * locale/C-time.c: Likewise.
9052 * locale/C-translit.h: Likewise.
9053 * locale/loadarchive.c: Likewise.
9054 * locale/programs/3level.h: Likewise.
9055 * locale/programs/charmap.c: Likewise.
9056 * locale/programs/charmap.h: Likewise.
9057 * locale/programs/ld-address.c: Likewise.
9058 * locale/programs/ld-collate.c: Likewise.
9059 * locale/programs/ld-ctype.c: Likewise.
9060 * locale/programs/ld-identification.c: Likewise.
9061 * locale/programs/ld-measurement.c: Likewise.
9062 * locale/programs/ld-messages.c: Likewise.
9063 * locale/programs/ld-monetary.c: Likewise.
9064 * locale/programs/ld-name.c: Likewise.
9065 * locale/programs/ld-numeric.c: Likewise.
9066 * locale/programs/ld-paper.c: Likewise.
9067 * locale/programs/ld-telephone.c: Likewise.
9068 * locale/programs/ld-time.c: Likewise.
9069 * locale/programs/linereader.c: Likewise.
9070 * locale/programs/locale.c: Likewise.
9071 * locale/programs/locarchive.c: Likewise.
9072 * locale/programs/locfile.h: Likewise.
9073 * locale/programs/repertoire.c: Likewise.
9074 * locale/programs/simple-hash.c: Likewise.
9075 * locale/programs/simple-hash.h: Likewise.
9076 * malloc/memusage.c: Likewise.
9077 * malloc/memusagestat.c: Likewise.
9078 * nis/nis_defaults.c: Likewise.
9079 * nis/nis_hash.c: Likewise.
9080 * nis/nis_print.c: Likewise.
9081 * nis/nis_xdr.c: Likewise.
9082 * nscd/connections.c: Likewise.
9083 * nscd/hstcache.c: Likewise.
9084 * nscd/nscd_gethst_r.c: Likewise.
9085 * nscd/nscd_getserv_r.c: Likewise.
9086 * nscd/nscd_helper.c: Likewise.
9087 * nscd/servicescache.c: Likewise.
9088 * nss/makedb.c: Likewise.
9089 * nss/nss_db/db-XXX.c: Likewise.
9090 * nss/nss_db/db-initgroups.c: Likewise.
9091 * nss/nss_db/db-netgrp.c: Likewise.
9092 * nss/nss_files/files-network.c: Likewise.
9093 * nss/nss_files/files-parse.c: Likewise.
9094 * posix/bug-regex5.c: Likewise.
9095 * posix/fnmatch_loop.c: Likewise.
9096 * posix/regcomp.c: Likewise.
9097 * posix/regexec.c: Likewise.
9098 * posix/tst-rfc3484-2.c: Likewise.
9099 * posix/tst-rfc3484-3.c: Likewise.
9100 * posix/tst-rfc3484.c: Likewise.
9101 * resolv/nss_dns/dns-canon.c: Likewise.
9102 * resolv/nss_dns/dns-network.c: Likewise.
9103 * resolv/res_init.c: Likewise.
9104 * resolv/res_mkquery.c: Likewise.
9105 * resolv/tst-aton.c: Likewise.
9106 * stdlib/cxa_atexit.c: Likewise.
9107 * stdlib/cxa_finalize.c: Likewise.
9108 * stdlib/gen-fpioconst.c: Likewise.
9109 * stdlib/strtol_l.c: Likewise.
9110 * string/tst-endian.c: Likewise.
9111 * sunrpc/auth_des.c: Likewise.
9112 * sunrpc/clnt_udp.c: Likewise.
9113 * sunrpc/rtime.c: Likewise.
9114 * sunrpc/svcauth_des.c: Likewise.
9115 * sunrpc/xdr.c: Likewise.
9116 * sunrpc/xdr_intXX_t.c: Likewise.
9117 * sunrpc/xdr_rec.c: Likewise.
9118 * sysdeps/generic/ldconfig.h: Likewise.
9119 * sysdeps/generic/ldsodefs.h: Likewise.
9120 * sysdeps/generic/memusage.h: Likewise.
9121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9124 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9131 * sysdeps/posix/getaddrinfo.c: Likewise.
9132 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9133 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9134 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9135 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9136 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9137 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9138 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9139 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9140 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9141 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9142 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9143 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9144 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9145 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9146 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9147 * sysdeps/x86_64/dl-tls.h: Likewise.
9148 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9149 * time/alt_digit.c: Likewise.
9150 * time/era.c: Likewise.
9151 * wcsmbs/tst-c16c32-1.c: Likewise.
9152
8c75f674
JM
91532013-05-16 Joseph Myers <joseph@codesourcery.com>
9154
9155 * math/libm-test.inc (struct test_sincos_data): New type.
9156 (RUN_TEST_LOOP_sincos): New macro.
9157 (sincos_test_data): New variable.
9158 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9159
e6e49e59
RH
91602013-05-16 Richard Henderson <rth@redhat.com>
9161
9162 * math/atest-exp2.c (LIMB64): New macro.
9163 (CONSTSZ): New macro.
9164 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9165 (hexdig): Move ...
9166 (print_mpn_fp): ... to function scope.
9167 (read_mpn_hex): Remove.
9168 (get_log2): Remove.
9169 (exp2_mpn): Use mp_log2.
9170 (main): Use mp_exp1.
9171
15c7c18d
JM
91722013-05-16 Joseph Myers <joseph@codesourcery.com>
9173
105a07df
JM
9174 * math/libm-test.inc: Remove comment about not testing "inexact"
9175 exceptions.
9176 (INEXACT_EXCEPTION): New macro.
9177 (NO_INEXACT_EXCEPTION): Likewise.
9178 (INVALID_EXCEPTION_OK): Update value.
9179 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9180 (OVERFLOW_EXCEPTION_OK): Likewise.
9181 (UNDERFLOW_EXCEPTION_OK): Likewise.
9182 (IGNORE_ZERO_INF_SIGN): Likewise.
9183 (ERRNO_UNCHANGED): Likewise.
9184 (ERRNO_EDOM): Likewise.
9185 (ERRNO_ERANGE): Likewise.
9186 (test_exceptions): Handle testing "inexact" exceptions.
9187 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9188 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9189 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9190 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9191 INEXACT_EXCEPTION.
9192 (rint_towardzero_test_data): Likewise.
9193 (rint_downward_test_data): Likewise.
9194 (rint_upward_test_data): Likewise.
9195
e9eee333
JM
9196 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9197 with OVERFLOW_EXCEPTION.
9198 (exp10_test_data): Likewise.
9199 (exp2_test_data): Likewise.
9200 (expm1_test_data): Likewise.
9201 (lgamma_test_data): Likewise.
9202 (pow_test_data): Likewise.
9203 (tgamma_test_data): Likewise.
9204 (yn_test_data): Remove duplicate test of overflow.
9205
1c38ff73
JM
9206 * math/libm-test.inc (struct test_cc_c_data): New type.
9207 (RUN_TEST_LOOP_cc_c): New macro.
9208 (cpow_test_data): New variable.
9209 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9210
15c7c18d
JM
9211 * math/libm-test.inc (struct test_f_L_data): New type.
9212 (RUN_TEST_LOOP_f_L): New macro.
9213 (llrint_test_data): New variable.
9214 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9215 (llrint_tonearest_test_data): New variable.
9216 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9217 (llrint_towardzero_test_data): New variable.
9218 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9219 (llrint_downward_test_data): New variable.
9220 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9221 (llrint_upward_test_data): New variable.
9222 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9223 (llround_test_data): New variable.
9224 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9225
f137ff13
PC
92262013-05-13 Peter Collingbourne <pcc@google.com>
9227
9228 * math/atest-exp2.c (get_log2): Remove const attribute.
9229
3608cb24
JM
92302013-05-15 Joseph Myers <joseph@codesourcery.com>
9231
9232 * math/libm-test.inc (struct test_f_l_data): New type.
9233 (RUN_TEST_LOOP_f_l): New macro.
9234 (lrint_test_data): New variable.
9235 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9236 (lrint_tonearest_test_data): New variable.
9237 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9238 (lrint_towardzero_test_data): New variable.
9239 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9240 (lrint_downward_test_data): New variable.
9241 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9242 (lrint_upward_test_data): New variable.
9243 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9244 (lround_test_data): New variable.
9245 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9246
39b1f617
PC
92472013-05-15 Peter Collingbourne <pcc@google.com>
9248
1deff3dc
PC
9249 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9250 (EXTRACT_WORDS64) Use where appropriate.
9251 (INSERT_WORDS64) Likewise.
9252
791f3ba0
PC
9253 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9254 constraints with x constraints.
9255 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9256
39b1f617
PC
9257 * malloc/obstack.c (_obstack_compat): Add initializer.
9258
12fba011
EM
92592013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9260
9261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9262 si_trapno and add si_addr_lsb to _sifields.sigfault.
9263 (si_trapno): Remove macro.
9264 (si_addr_lsb): Define new macro.
9265 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9266
d369f531
JM
92672013-05-15 Joseph Myers <joseph@codesourcery.com>
9268
b861c6c4
JM
9269 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9270 instead of TEST_f_l.
9271 (llrint_test_tonearest): Likewise.
9272 (llrint_test_towardzero): Likewise.
9273 (llrint_test_downward): Likewise.
9274 (llrint_test_upward): Likewise.
9275 (llround_test): Likewise.
9276
7abeee12
JM
9277 * math/libm-test.inc (struct test_f_i_data): Add comment.
9278 (RUN_TEST_LOOP_f_b): New macro.
9279 (RUN_TEST_LOOP_f_b_tg): Likewise.
9280 (finite_test_data): New variable.
9281 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9282 (isfinite_test_data): New variable.
9283 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9284 (isinf_test_data): New variable.
9285 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9286 (isnan_test_data): New variable.
9287 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9288 (isnormal_test_data): New variable.
9289 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9290 (issignaling_test_data): New variable.
9291 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9292 (signbit_test_data): New variable.
9293 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9294
cbe8c4d3
JM
9295 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9296 with INVALID_EXCEPTION.
9297 (acosh_test_data): Likewise.
9298 (asin_test_data): Likewise.
9299 (atanh_test_data): Likewise.
9300 (fmod_test_data): Likewise.
9301 (log_test_data): Likewise.
9302 (log10_test_data): Likewise.
9303 (log2_test_data): Likewise.
9304 (pow_test_data): Likewise.
9305 (sqrt_test_data): Likewise.
9306 (y0_test_data): Likewise.
9307 (y1_test_data): Likewise.
9308 (yn_test_data): Likewise.
9309
5575c0e5
JM
9310 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9311 function contents.
9312
d369f531
JM
9313 * math/libm-test.inc (struct test_ff_i_data): New type.
9314 (RUN_TEST_LOOP_ff_i_tg): New macro.
9315 (isgreater_test_data): New variable.
9316 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9317 (isgreaterequal_test_data): New variable.
9318 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9319 (isless_test_data): New variable.
9320 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9321 (islessequal_test_data): New variable.
9322 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9323 (islessgreater_test_data): New variable.
9324 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9325 (isunordered_test_data): New variable.
9326 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9327
781fd748
DM
93282013-05-14 David S. Miller <davem@davemloft.net>
9329
9330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9331
87aa21df
JM
93322013-05-14 Joseph Myers <joseph@codesourcery.com>
9333
5e908270
JM
9334 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9335
f71172e5
JM
9336 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9337 extra_test to int.
9338 (struct test_f_i_data): Change type of max_ulp to int.
9339
8cfa635a
JM
9340 * math/libm-test.inc (test_ffI_f1_data): New type.
9341 (RUN_TEST_LOOP_ffI_f1): New macro.
9342 (remquo_test_data): New variable.
9343 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9344
2bcb36b2
JM
9345 * setjmp/tst-setjmp-fp.c: New file.
9346 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9347 (link-libm): New variable.
9348 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9349
acbd839a
JM
9350 * math/libm-test.inc (struct test_f_i_data): New type.
9351 (RUN_TEST_LOOP_f_i): New macro.
9352 (RUN_TEST_LOOP_f_i_tg): Likewise.
9353 (fpclassify_test_data): New variable.
9354 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9355 (ilogb_test_data): New variable.
9356 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9357
e414d745
JM
9358 * math/libm-test.inc (scalbln_test): Correct function name in END
9359 call.
9360
d9c2a0fd
JM
9361 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9362 (RUN_TEST_LOOP_fI_f1): New macro.
9363 (frexp_test_data): New variable.
9364 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9365
9dc9095d
JM
9366 * math/libm-test.inc (struct test_fF_f1_data): New type.
9367 (RUN_TEST_LOOP_fF_f1): New macro.
9368 (modf_test_data): New variable.
9369 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9370
87aa21df
JM
9371 * math/libm-test.inc (struct test_f_f1_data): New type.
9372 (RUN_TEST_LOOP_f_f1): New macro.
9373 (gamma_test_data): New variable.
9374 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9375 (lgamma_test_data): New variable.
9376 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9377
141af660
CD
93782013-05-13 Carlos O'Donell <carlos@redhat.com>
9379
9380 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9381 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9382 (main): Comment "tls" pseudo-hwcap.
9383
6d33265c
JM
93842013-05-13 Joseph Myers <joseph@codesourcery.com>
9385
68fc074c
JM
9386 * math/libm-test.inc (struct test_fl_f_data): New type.
9387 (RUN_TEST_LOOP_fl_f): New variable.
9388 (scalbln_test_data): New variable.
9389 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9390
243216e1
JM
9391 * math/libm-test.inc (struct test_fi_f_data): New type.
9392 (RUN_TEST_LOOP_fi_f): New macro.
9393 (ldexp_test_data): New variable.
9394 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9395 (scalbn_test_data): New variable.
9396 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9397
6a1992e2
JM
9398 * math/libm-test.inc (struct test_c_f_data): New type.
9399 (RUN_TEST_LOOP_c_f): New macro.
9400 (cabs_test_data): New variable.
9401 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9402 (carg_test_data): New variable.
9403 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9404 (cimag_test_data): New variable.
9405 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9406 (creal_test_data): New variable.
9407 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9408
0e400df5
JM
9409 * math/libm-test.inc (struct test_if_f_data): New type.
9410 (RUN_TEST_LOOP_if_f): New macro.
9411 (jn_test_data): New variable.
9412 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9413 (yn_test_data): New variable.
9414 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9415
6d33265c
JM
9416 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9417
f98ece5f
AZ
94182013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9419
9420 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9421 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9422
0f7d347b
SP
94232013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9424
43fe811b
SP
9425 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9426 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9427 (bench-deps): Add bench-timing.h.
9428 * benchtests-bench-skeleton.c: Include bench-timing.h.
9429 (main): Use TIMING_* macros instead of clock_gettime.
9430 * benchtests/bench-timing.h: New file.
9431
0f7d347b
SP
9432 [BZ #14582]
9433 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9434 Renamed from _LIB_VERSION.
9435 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9436
601a3a5f
JM
94372013-05-12 Joseph Myers <joseph@codesourcery.com>
9438
4f184d30
JM
9439 * math/libm-test.inc (struct test_fff_f_data): New type.
9440 (RUN_TEST_LOOP_fff_f): New macro.
9441 (fma_test_data): New variable.
9442 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9443 (fma_towardzero_test_data): New variable.
9444 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9445 (fma_downward_test_data): New variable.
9446 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9447 (fma_upward_test_data): New variable.
9448 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9449
08198877
JM
9450 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9451 (struct test_c_c_data): New type.
9452 (RUN_TEST_LOOP_c_c): New macro.
9453 (cacos_test_data): New variable.
9454 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9455 (cacosh_test_data): New variable.
9456 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9457 (casin_test_data): New variable.
9458 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9459 (casinh_test_data): New variable.
9460 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9461 (catan_test_data): New variable.
9462 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9463 (catanh_test_data): New variable.
9464 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9465 (ccos_test_data): New variable.
9466 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9467 (ccosh_test_data): New variable.
9468 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9469 (cexp_test_data): New variable.
9470 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9471 (clog_test_data): New variable.
9472 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9473 (clog10_test_data): New variable.
9474 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9475 (conj_test_data): New variable.
9476 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9477 (cproj_test_data): New variable.
9478 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9479 (csin_test_data): New variable.
9480 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9481 (csinh_test_data): New variable.
9482 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9483 (csqrt_test_data): New variable.
9484 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9485 (ctan_test_data): New variable.
9486 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9487 (ctan_tonearest_test_data): New variable.
9488 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9489 (ctan_towardzero_test_data): New variable.
9490 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9491 (ctan_downward_test_data): New variable.
9492 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9493 (ctan_upward_test_data): New variable.
9494 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9495 (ctanh_test_data): New variable.
9496 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9497 (ctanh_tonearest_test_data): New variable.
9498 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9499 (ctanh_towardzero_test_data): New variable.
9500 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9501 (ctanh_downward_test_data): New variable.
9502 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9503 (ctanh_upward_test_data): New variable.
9504 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9505 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9506 of BUILD_COMPLEX.
9507
601a3a5f
JM
9508 * math/libm-test.inc (struct test_ff_f_data): New type.
9509 (struct test_ff_f_data_nexttoward): Likewise.
9510 (RUN_TEST_LOOP_2_f): New macro.
9511 (RUN_TEST_LOOP_ff_f): Likewise.
9512 (atan2_test_data): New variable.
9513 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9514 (copysign_test_data): New variable.
9515 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9516 (fdim_test_data): New variable.
9517 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9518 (fmax_test_data): New variable.
9519 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9520 (fmin_test_data): New variable.
9521 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9522 (fmod_test_data): New variable.
9523 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9524 (hypot_test_data): New variable.
9525 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9526 (nextafter_test_data): New variable.
9527 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9528 (nexttoward_test_data): New variable.
9529 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9530 (pow_test_data): New variable.
9531 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9532 (pow_tonearest_test_data): New variable.
9533 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9534 (pow_towardzero_test_data): New variable.
9535 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9536 (pow_downward_test_data): New variable.
9537 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9538 (pow_upward_test_data): New variable.
9539 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9540 (remainder_test_data): New variable.
9541 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9542 (scalb_test_data): New variable.
9543 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9544 * sysdeps/i386/fpu/libm-test-ulps: Update.
9545
74c57478
JM
95462013-05-11 Joseph Myers <joseph@codesourcery.com>
9547
8329e4da
JM
9548 * math/libm-test.inc (fma_test): Use max_value instead of local
9549 variable fltmax.
9550 (nextafter_test): Likewise.
9551
74c57478
JM
9552 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9553 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9554 (acos_downward_test_data): New variable.
9555 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9556 (acos_upward_test_data): New variable.
9557 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9558 (acosh_test_data): New variable.
9559 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9560 (asin_test_data): New variable.
9561 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9562 (asin_tonearest_test_data): New variable.
9563 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9564 (asin_towardzero_test_data): New variable.
9565 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9566 (asin_downward_test_data): New variable.
9567 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9568 (asin_upward_test_data): New variable.
9569 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9570 (asinh_test_data): New variable.
9571 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9572 (atan_test_data): New variable.
9573 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9574 (atanh_test_data): New variable.
9575 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9576 (cbrt_test_data): New variable.
9577 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9578 (ceil_test_data): New variable.
9579 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9580 (cos_test_data): New variable.
9581 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9582 (cos_tonearest_test_data): New variable.
9583 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9584 (cos_towardzero_test_data): New variable.
9585 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9586 (cos_downward_test_data): New variable.
9587 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9588 (cos_upward_test_data): New variable.
9589 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9590 (cosh_test_data): New variable.
9591 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9592 (cosh_tonearest_test_data): New variable.
9593 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9594 (cosh_towardzero_test_data): New variable.
9595 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9596 (cosh_downward_test_data): New variable.
9597 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9598 (cosh_upward_test_data): New variable.
9599 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9600 (erf_test_data): New variable.
9601 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9602 (erfc_test_data): New variable.
9603 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9604 (exp_test_data): New variable.
9605 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9606 (exp_tonearest_test_data): New variable.
9607 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9608 (exp_towardzero_test_data): New variable.
9609 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9610 (exp_downward_test_data): New variable.
9611 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9612 (exp_upward_test_data): New variable.
9613 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9614 (exp10_test_data): New variable.
9615 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9616 (exp2_test_data): New variable.
9617 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9618 (expm1_test_data): New variable.
9619 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9620 (fabs_test_data): New variable.
9621 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9622 (floor_test_data): New variable.
9623 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9624 (j0_test_data): New variable.
9625 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9626 (j1_test_data): New variable.
9627 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9628 (log_test_data): New variable.
9629 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9630 (log10_test_data): New variable.
9631 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9632 (log1p_test_data): New variable.
9633 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9634 (log2_test_data): New variable.
9635 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9636 (logb_test_data): New variable.
9637 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9638 (logb_downward_test_data): New variable.
9639 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9640 (nearbyint_test_data): New variable.
9641 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9642 (rint_test_data): New variable.
9643 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9644 (rint_tonearest_test_data): New variable.
9645 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9646 (rint_towardzero_test_data): New variable.
9647 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9648 (rint_downward_test_data): New variable.
9649 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9650 (rint_upward_test_data): New variable.
9651 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9652 (round_test_data): New variable.
9653 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9654 (sin_test_data): New variable.
9655 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9656 (sin_tonearest_test_data): New variable.
9657 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9658 (sin_towardzero_test_data): New variable.
9659 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9660 (sin_downward_test_data): New variable.
9661 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9662 (sin_upward_test_data): New variable.
9663 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9664 (sinh_test_data): New variable.
9665 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9666 (sinh_tonearest_test_data): New variable.
9667 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9668 (sinh_towardzero_test_data): New variable.
9669 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9670 (sinh_downward_test_data): New variable.
9671 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9672 (sinh_upward_test_data): New variable.
9673 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9674 (sqrt_test_data): New variable.
9675 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9676 (tan_test_data): New variable.
9677 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9678 (tan_tonearest_test_data): New variable.
9679 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9680 (tan_towardzero_test_data): New variable.
9681 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9682 (tan_downward_test_data): New variable.
9683 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9684 (tan_upward_test_data): New variable.
9685 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9686 (tanh_test_data): New variable.
9687 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9688 (tgamma_test_data): New variable.
9689 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9690 (trunc_test_data): New variable.
9691 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9692 (y0_test_data): New variable.
9693 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9694 (y1_test_data): New variable.
9695 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9696 (significand_test_data): New variable.
9697 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9698
7187d844
CG
96992013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9700
9701 [BZ #12387]
9702 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9703
f63fae73
PT
97042013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9705
9706 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9707
8a67a4b3
AJ
97082013-05-10 Andreas Jaeger <aj@suse.de>
9709
9710 [BZ #15448]
9711 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9712 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9713
51df539d
JM
97142013-05-10 Joseph Myers <joseph@codesourcery.com>
9715
9716 * math/gen-libm-test.pl (adjust_arg): New function.
9717 (special_functions): Handle generating output in both functions
9718 and arrays.
9719 (parse_args): Likewise.
9720 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9721 $in_func argument to parse_args.
9722 * math/libm-test.inc (struct test_f_f_data): New type.
9723 (IF_ROUND_INIT_): New macro.
9724 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9725 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9726 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9727 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9728 (ROUND_RESTORE_): Likewise.
9729 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9730 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9731 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9732 (ROUND_RESTORE_FE_UPWARD): Likewise.
9733 (RUN_TEST_LOOP_f_f): New macro.
9734 (acos_test_data): New variable.
9735 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9736 (acos_tonearest_test_data): New variable.
9737 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9738
5c637fe5
SP
97392013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9740
9741 * benchtests/bench-skeleton.c (startup): Fix coding style.
9742
ab2b9461
JM
97432013-05-10 Joseph Myers <joseph@codesourcery.com>
9744
9745 [BZ #6809]
9746 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9747 negative infinity argument.
9748 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9749 negative infinity argument.
9750 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9751 negative infinity argument.
9752 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9753 domain errors.
9754
4c0fe6fe
FW
97552013-05-10 Florian Weimer <fweimer@redhat.com>
9756
9757 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9758 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9759 * iconv/iconv_prog.c (main): Likewise.
9760 * locale/programs/charmap-dir.c (charmap_readdir)
9761 (fopen_uncompressed): Likewise.
9762 * locale/programs/locfile.c (siblings_uncached)
9763 (write_locale_data): Use lstat64 instead of lstat.
9764 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9765 stat.
9766
a3375d29
AJ
97672013-05-10 Andreas Jaeger <aj@suse.de>
9768
9769 [BZ #15395]
9770 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9771 localization.
9772 Include <locale.h>.
9773
36129722
CD
97742013-05-09 Carlos O'Donell <carlos@redhat.com>
9775
9776 * elf/dl-close.c (_dl_close_worker): Add comments.
9777
faa7f811
JM
97782013-05-09 Joseph Myers <joseph@codesourcery.com>
9779
ed41ffef
JM
9780 [BZ #15359]
9781 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9782 high part of pi/2.
9783 (__ieee754_rem_pio2l): Update comments.
9784
d0213cd0
JM
9785 [BZ #15429]
9786 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9787 high part of pi/2.
9788 (__ieee754_rem_pio2l): Update comments.
9789
0d3e777a
JM
9790 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9791 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9792
24f56066
JM
9793 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9794 M_PI_4l.
9795
faa7f811
JM
9796 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9797 (M_PI_34_LOG10El): Likewise.
9798 (M_PI2_LOG10El): Likewise.
9799 (M_PI4_LOG10El): Likewise.
9800 (M_PI_LOG10El): Likewise.
9801
e9a5e0fd
AZ
98022013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9803
9804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9805
d8cd06db
JM
98062013-05-08 Joseph Myers <joseph@codesourcery.com>
9807
a0d9f9d7
JM
9808 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9809 (MINUS_ZERO_INIT): Likewise.
9810 (PLUS_INFTY_INIT): Likewise.
9811 (MINUS_INFTY_INIT): Likewise.
9812 (QNAN_VALUE_INIT): Likewise.
9813 (MAX_VALUE_INIT): Likewise.
9814 (MIN_VALUE_INIT): Likewise.
9815 (MIN_SUBNORM_VALUE_INIT): Likewise.
9816 (plus_zero): Initialize with PLUS_ZERO_INIT.
9817 (minus_zero): Initialize with MINUS_ZERO_INIT.
9818 (plus_infty): Initialize with PLUS_INFTY_INIT.
9819 (minus_infty): Initialize with MINUS_INFTY_INIT.
9820 (qnan_value): Initialize with QNAN_VALUE_INIT.
9821 (max_value): Initialize with MAX_VALUE_INIT.
9822 (min_value): Initialize with MIN_VALUE_INIT.
9823 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9824
ae08db3b
JM
9825 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9826 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9827 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9828 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9829
f44bf14a
JM
9830 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9831 (RUN_TEST_2_f): Likewise.
9832 (RUN_TEST_ff_f): Likewise.
9833 (RUN_TEST_fi_f): Likewise.
9834 (RUN_TEST_fl_f): Likewise.
9835 (RUN_TEST_fff_f): Likewise.
9836 (RUN_TEST_c_f): Likewise.
9837 (RUN_TEST_f_f1): Likewise.
9838 (RUN_TEST_fF_f1): Likewise.
9839 (RUN_TEST_fI_f1): Likewise.
9840 (RUN_TEST_ffI_f1): Likewise.
9841 (RUN_TEST_c_c): Likewise.
9842 (RUN_TEST_cc_c): Likewise.
9843 (RUN_TEST_f_i): Likewise.
9844 (RUN_TEST_f_i_tg): Likewise.
9845 (RUN_TEST_ff_i_tg): Likewise.
9846 (RUN_TEST_f_b): Likewise.
9847 (RUN_TEST_f_b_tg): Likewise.
9848 (RUN_TEST_f_l): Likewise.
9849 (RUN_TEST_f_L): Likewise.
9850 (RUN_TEST_sincos): Likewise.
9851 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9852 whether to show exceptions. Do not include ");\n" in return
9853 value.
9854 (special_functions): Output call to RUN_TEST_sincos instead of
9855 check_float calls. Update calls to new_test.
9856 (parse_args): Output call to single RUN_TEST_* macro instead of
9857 check_* calls and other assignments. Update calls to new_test.
9858
d8cd06db
JM
9859 [BZ #2546]
9860 [BZ #2560]
9861 [BZ #5159]
9862 [BZ #15426]
9863 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9864 input to result for tgamma overflow.
9865 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9866 (gamma_coeff): New variable.
9867 (NCOEFF): New macro.
9868 (gamma_positive): New function.
9869 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9870 underflow here. Use gamma_positive instead of exp (lgamma) for
9871 other arguments.
9872 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9873 (gamma_coeff): New variable.
9874 (NCOEFF): New macro.
9875 (gammaf_positive): New function.
9876 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9877 underflow here. Use gamma_positive instead of exp (lgamma) for
9878 other arguments.
9879 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9880 (gamma_coeff): New variable.
9881 (NCOEFF): New macro.
9882 (gammal_positive): New function.
9883 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9884 underflow here. Use gamma_positive instead of exp (lgamma) for
9885 other arguments.
9886 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9887 (gamma_coeff): New variable.
9888 (NCOEFF): New macro.
9889 (gammal_positive): New function.
9890 (__ieee754_gammal_r): Handle positive infinity, overflow and
9891 underflow here. Handle NaN the same as positive infinity. Remove
9892 check x < 0xffffffff for negative integers. Use gamma_positive
9893 instead of exp (lgamma) for other arguments.
9894 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9895 (gamma_coeff): New variable.
9896 (NCOEFF): New macro.
9897 (gammal_positive): New function.
9898 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9899 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9903 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9904 * sysdeps/generic/math_private.h (__gamma_productf): New
9905 prototype.
9906 (__gamma_product): Likewise.
9907 (__gamma_productl): Likewise.
9908 * math/Makefile (libm-calls): Add gamma_product.
9909 * math/libm-test.inc (tgamma_test): Add more tests.
9910 * sysdeps/i386/fpu/libm-test-ulps: Update.
9911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9912
bb7cf681
OB
99132013-05-08 Ondřej Bílka <neleai@seznam.cz>
9914
9915 * benchtests/bench-skeleton.c (main): Preheat CPU.
9916
ba853947
AJ
99172013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9918
9919 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9920
8347c74c
RM
99212013-05-07 Roland McGrath <roland@hack.frob.com>
9922
9923 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9924 and _dl_skip_args_internal.
9925
e8dd4791
CD
99262013-05-07 Carlos O'Donell <carlos@redhat.com>
9927
9928 * manual/message.texi (Message Translation): Talk about users.
9929 Message to key mapping impacts design.
9930
c7405830
RM
99312013-05-06 Roland McGrath <roland@hack.frob.com>
9932
a9173057
RM
9933 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9934
976e2f03
RM
9935 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9936
9723ffc5
RM
9937 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9938 * sysdeps/wordsize-64/glob64.c: ... here.
9939
962e6658
RM
9940 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9941 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9942 New macros.
9943
ee586a6d
RM
9944 * debug/getlogin_r_chk.c: Moved to ...
9945 * login/getlogin_r_chk.c: ... here.
9946 * debug/Makefile (routines): Move getlogin_r_chk to ...
9947 * login/Makefile (routines): ... here.
9948 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9949 * login/Versions (libc: GLIBC_2.4): ... here.
9950
355f9165
RM
9951 * io/poll.c (__poll): Renamed from poll.
9952 Add libc_hidden_def.
9953 (poll): Define as weak alias.
9954
bd9ffde6
RM
9955 * debug/ptsname_r_chk.c: Moved to ...
9956 * login/ptsname_r_chk.c: ... here.
9957 * debug/Makefile (routines): Move ptsname_r_chk to ...
9958 * login/Makefile (routines): ... here.
9959 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9960 * login/Versions (libc: GLIBC_2.4): ... here.
9961
8fb16a04
RM
9962 * posix/getlogin.c: Moved to ...
9963 * login/getlogin.c: ... here.
9964 * posix/getlogin_r.c: Moved to ...
9965 * login/getlogin_r.c: ... here.
9966 * posix/getlogin_r.c: Moved to ...
9967 * login/getlogin_r.c: ... here.
9968 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9969 * login/Makefile (routines): ... here.
9970 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9971 * login/Versions (libc: GLIBC_2.0): ... here.
9972
b99b892f
RM
9973 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9974 (setrlimit): Define as weak alias.
9975
c7405830
RM
9976 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9977 Call __ names for open, ftruncate, and close.
9978 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9979 (truncate): Define as weak alias.
9980
5bf96de5
JM
99812013-05-06 Joseph Myers <joseph@codesourcery.com>
9982
9ea3513c
JM
9983 * math/gen-libm-test.pl (parse_args): Initialize x before each
9984 test of frexp, modf and remquo.
9985
5bf96de5
JM
9986 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9987 test signgam value.
9988
16e616a7
AZ
99892013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9990
9991 [BZ #15418]
9992 [BZ #15419]
9993 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9994 internal tests.
9995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9996
d5e82754
RM
99972013-05-06 Roland McGrath <roland@hack.frob.com>
9998
9999 * elf/dl-writev.h: New file.
10000 * elf/dl-misc.c: Include it.
10001 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10002 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10003
a7548d41
JM
100042013-05-04 Joseph Myers <joseph@codesourcery.com>
10005
b7dab1e4
JM
10006 * math/libm-test.inc (noXFails): Remove variable.
10007 (noXPasses): Likewise.
10008 (BUILD_COMPLEX_INT): Remove macro.
10009 (print_screen): Remove xfail argument.
10010 (print_screen_max_error): Likewise.
10011 (update_stats): Likewise.
10012 (print_max_error): Likewise. Update calls to other affected
10013 functions.
10014 (print_complex_max_error): Likewise.
10015 (test_single_exception): Update calls to print_screen.
10016 (test_single_errno): Likewise.
10017 (check_float_internal): Remove xfail argument. Update calls to
10018 other affected functions.
10019 (check_float): Likewise.
10020 (check_complex): Likewise.
10021 (check_int): Likewise.
10022 (check_long): Likewise.
10023 (check_bool): Likewise.
10024 (check_longlong): Likewise.
10025 (main): Don't print noXFails and noXPasses.
10026 * math/gen-libm-test.pl (top level): Don't mention expected
10027 failure handling in comment.
10028 (new_test): Don't handle expected failures.
10029 (parse_args): Don't mention expected failure handling in comment.
10030 (generate_testfile): Don't handle expected failures.
10031 (parse_ulps): Likewise.
10032 (print_ulps_file): Likewise.
10033 (get_failure): Remove function.
10034 (output_test): Don't handle expected failures.
10035 * make/README.libm-test: Don't mention expected failure handling.
10036
a7548d41
JM
10037 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10038 (minus_zero): Likewise.
10039 (plus_infty): Likewise.
10040 (minus_infty): Likewise.
10041 (qnan_value): Likewise.
10042 (max_value): Likewise.
10043 (min_value): Likewise.
10044 (min_subnorm_value): Likewise.
10045 (initialize): Do not initialize those variables dynamically.
10046
60bfd54c
RM
100472013-05-03 Roland McGrath <roland@hack.frob.com>
10048
cc0e6ed8
RM
10049 * io/open.c (__open_2): Moved to ...
10050 * io/open_2.c: ... this new file.
10051 * io/open64.c (__open64_2): Moved to ...
10052 * io/open64_2.c: ... this new file.
10053 * io/openat.c (__openat_2): Moved to ...
10054 * io/openat_2.c: ... this new file.
10055 * io/openat64.c (__openat64_2): Moved to ...
10056 * io/openat64_2.c: ... this new file.
10057 * io/Makefile (routines): Add them.
10058 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10059 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10060 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10061 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10062 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10063 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10064 (__openat64): Add hidden_ver.
10065 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10066 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10067
60bfd54c
RM
10068 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10069 Separately conditionalize setting of GLRO(dl_sysinfo) so
10070 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10071 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10072
83e7640f
AZ
100732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10074
10075 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10076 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10077 definition.
10078 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10079 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10080 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10081 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10082 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10083
d5dc2af3
JM
100842013-05-03 Joseph Myers <joseph@codesourcery.com>
10085
c31a5b1e
JM
10086 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10087 test signgam value.
10088
d5dc2af3
JM
10089 * math/libm-test.inc (hypot_test): Do not use
10090 IGNORE_ZERO_INF_SIGN.
10091
164fd39d
AJ
100922013-05-03 Andreas Jaeger <aj@suse.de>
10093
10094 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10095 Linux 3.9.
10096 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10097 (PF_MAX): Adjust for VSOCK change.
10098
8237f48c
AZ
100992013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10100
10101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10102
9df02941
CD
101032013-05-02 Carlos O'Donell <carlos@redhat.com>
10104
10105 [BZ #15264]
10106 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10107 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10108 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10109
d422395e
DM
101102013-05-02 David S. Miller <davem@davemloft.net>
10111
10112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10113
a07c5731
OB
101142013-05-01 Ondřej Bílka <neleai@seznam.cz>
10115
10116 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10117
1324e37f
RM
101182013-05-01 Roland McGrath <roland@hack.frob.com>
10119
10120 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10121
0695940b
RS
101222013-05-01 Richard Smith <richard@metafoo.co.uk>
10123
bb5f27ad 10124 [BZ #14952]
0695940b
RS
10125 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10126 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10127 Use __attribute__ ((__gnu_inline__)).
10128 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10129 Don't use __attribute__ ((__gnu_inline__)).
10130
10de07f5
JM
101312013-05-01 Joseph Myers <joseph@codesourcery.com>
10132
10133 [BZ #15423]
10134 * math/s_catan.c (__catan): Handle small real or imaginary part of
10135 input specially to avoid spurious underflow.
10136 * math/s_catanf.c (__catanf): Likewise.
10137 * math/s_catanh.c (__catanh): Likewise.
10138 * math/s_catanhf.c (__catanhf): Likewise.
10139 * math/s_catanhl.c (__catanhl): Likewise.
10140 * math/s_catanl.c (__catanl): Likewise.
10141 * math/libm-test.inc (catan_test): Add more tests.
10142 (catanh_test): Likewise.
10143 * sysdeps/i386/fpu/libm-test-ulps: Update.
10144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10145
cb4d5414
AZ
101462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10147
10148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10149
caf84319
JM
101502013-04-30 Joseph Myers <joseph@codesourcery.com>
10151
10152 [BZ #15416]
10153 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10154 accurately for denominator in atan2.
10155 * math/s_catanf.c (__catanf): Likewise.
10156 * math/s_catanh.c (__catanh): Likewise.
10157 * math/s_catanhf.c (__catanhf): Likewise.
10158 * math/s_catanhl.c (__catanhl): Likewise.
10159 * math/s_catanl.c (__catanl): Likewise.
10160 * math/libm-test.inc (catan_test): Add more tests.
10161 (catanh_test): Likewise.
10162 * sysdeps/i386/fpu/libm-test-ulps: Update.
10163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10164
d569c6ee
SP
101652013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10166
6dbe713d
SP
10167 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10168
f0ee064b
SP
10169 * benchtests/Makefile (bench): Remove slow benchmarks.
10170 * benchtests/atan-inputs: Add slow benchmark inputs.
10171 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10172 (BENCH_FUNC): Accept variant offset.
10173 (VARIANT): Define.
10174 * benchtests/bench-skeleton.c (main): Run benchmark for each
10175 variant.
10176 * benchtests/cos-inputs: Add slow benchmark inputs.
10177 * benchtests/exp-inputs: Likewise.
10178 * benchtests/pow-inputs: Likewise.
10179 * benchtests/sin-inputs: Likewise.
10180 * benchtests/slowatan-inputs: Remove.
10181 * benchtests/slowatan.c: Remove.
10182 * benchtests/slowcos-inputs: Remove.
10183 * benchtests/slowcos.c: Remove.
10184 * benchtests/slowexp-inputs: Remove.
10185 * benchtests/slowexp.c: Remove.
10186 * benchtests/slowpow-inputs: Remove.
10187 * benchtests/slowpow.c: Remove.
10188 * benchtests/slowsin-inputs: Remove.
10189 * benchtests/slowsin.c: Remove.
10190 * benchtests/slowtan-inputs: Remove.
10191 * benchtests/slowtan.c: Remove.
10192 * benchtests/tan-inputs: Add slow benchmark inputs.
10193 * scripts/bench.pl: Parse comments and directives.
10194
d569c6ee
SP
10195 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10196 in CPPFLAGS.
10197 ($(objpfx)bench-%.c): Remove *-ITER.
10198 * benchtests/bench-modf.c: Remove definition of ITER.
10199 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10200 (main): Loop for DURATION seconds instead of fixed number of
10201 iterations.
10202 * scripts/bench.pl: Don't expect iterations in parameters.
10203
a6a242fe
RM
102042013-04-29 Roland McGrath <roland@hack.frob.com>
10205
10206 * io/fchdir.c (__fchdir): Renamed from fchdir.
10207 (fchdir): Define as weak alias.
10208
f2da7793
JM
102092013-04-29 Joseph Myers <joseph@codesourcery.com>
10210
10211 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10212 (ERRNO_EDOM): Likewise.
10213 (ERRNO_ERANGE): Likewise.
10214 (noErrnoTests): New variable.
10215 (init_max_error): Set errno to 0.
10216 (test_single_errno): New function.
10217 (test_errno): Likewise.
10218 (check_float_internal): Call test_errno. Set errno to 0.
10219 (check_complex): Refer to errno tests in comment.
10220 (check_int): Call test_errno. Set errno to 0.
10221 (check_long): Likewise.
10222 (check_bool): Likewise.
10223 (check_longlong): Likewise.
10224 (cos_test): Use ERRNO_* flags for errno tests instead of
10225 check_int.
10226 (expm1_test): Likewise.
10227 (fmod_test): Likewise.
10228 (ilogb_test): Likewise.
10229 (lgamma_test): Likewise.
10230 (pow_test): Likewise.
10231 (remainder_test): Likewise.
10232 (sin_test): Likewise.
10233 (tan_test): Likewise.
10234 (yn_test): Likewise.
10235 (initialize): Set errno to 0.
10236 (main): Print number of errno tests.
10237 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10238
b1a36ceb
AJ
102392013-04-29 Andreas Jaeger <aj@suse.de>
10240
c3ed8088
AJ
10241 [BZ #15084]
10242 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10243 and RES_USEVC.
10244
f1a24198
AJ
10245 [BZ #15085]
10246 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10247 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10248 unimplemented.
10249
9ce3b2cb
AJ
10250 [BZ #15380]
10251 * stdlib/random.c (__initstate): Return NULL if
10252 __initstate fails.
10253
f1a24198 10254 [BZ #15086]
b1a36ceb
AJ
10255 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10256 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10257 RES_SNGLKUPREOP.
10258
7e7b6f36
AZ
102592013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10260
10261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10262
4d14f449
JM
102632013-04-29 Joseph Myers <joseph@codesourcery.com>
10264
10265 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10266 of individual tests.
10267 (casin_test): Likewise.
10268 (casinh_test): Likewise.
10269
5b4217d7
JM
102702013-04-27 Joseph Myers <joseph@codesourcery.com>
10271
10272 [BZ #15409]
10273 * math/s_catan.c (__catan): Handle arguments with large real or
10274 imaginary part separately without squaring.
10275 * math/s_catanf.c (__catanf): Likewise.
10276 * math/s_catanh.c (__catanh): Likewise.
10277 * math/s_catanhf.c (__catanhf): Likewise.
10278 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10279 and redefine.
10280 (__catanhl): Handle arguments with large real or imaginary part
10281 separately without squaring.
10282 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10283 and redefine.
10284 (__catanl): Handle arguments with large real or imaginary part
10285 separately without squaring.
10286 * math/libm-test.inc (catan_test): Add more tests.
10287 (catanh_test): Likewise.
10288 * sysdeps/i386/fpu/libm-test-ulps: Update.
10289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10290
4220c3ef
AJ
102912013-04-27 Andreas Jaeger <aj@suse.de>
10292
10293 [BZ #15007]
10294 * stdlib/stdlib.h: Update guards for qecvt.
10295 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10296 <stdlib.h>.
10297
4721b2d1
AM
102982013-04-27 Allan McRae <allan@archlinux.org>
10299
10300 * sysdeps/i386/fpu/libm-test-ulps: Update.
10301
f0302940
JM
103022013-04-26 Joseph Myers <joseph@codesourcery.com>
10303
9457fd95
JM
10304 [BZ #15406]
10305 * math/s_catan.c: Include <float.h>.
10306 (__catan): Ensure underflow exception occurs for underflowed
10307 result.
10308 * math/s_catanf.c: Include <float.h>.
10309 (__catanf): Ensure underflow exception occurs for underflowed
10310 result.
10311 * math/s_catanh.c: Include <float.h>.
10312 (__catanh): Ensure underflow exception occurs for underflowed
10313 result.
10314 * math/s_catanhf.c: Include <float.h>.
10315 (__catanhf): Ensure underflow exception occurs for underflowed
10316 result.
10317 * math/s_catanhl.c: Include <float.h>.
10318 (__catanhl): Ensure underflow exception occurs for underflowed
10319 result.
10320 * math/s_catanl.c: Include <float.h>.
10321 (__catanl): Ensure underflow exception occurs for underflowed
10322 result.
10323 * math/libm-test.inc (catan_test): Add more tests.
10324 (catanh_test): Likewise.
10325
f0302940
JM
10326 [BZ #15405]
10327 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10328 underflowed result.
10329 * math/s_ccoshf.c (__ccoshf): Likewise.
10330 * math/s_ccoshl.c (__ccoshl): Likewise.
10331 * math/s_csin.c (__csin): Likewise.
10332 * math/s_csinf.c (__csinf): Likewise.
10333 * math/s_csinh.c (__csinh): Likewise.
10334 * math/s_csinhf.c (__csinhf): Likewise.
10335 * math/s_csinhl.c (__csinhl): Likewise.
10336 * math/s_csinl.c (__csinl): Likewise.
10337 * math/libm-test.inc (ccos_test): Add more tests.
10338 (ccosh_test): Likewise.
10339 (csin_test): Likewise.
10340 (csinh_test): Likewise.
10341
aa630f59
AZ
103422013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10343
10344 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10345 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10346 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10347 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10348 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10349 powerpc/power5+/fpu folders.
10350 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10351
10352
1b835983
MT
103532013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10354
10355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10356
73709b26
JM
103572013-04-25 Joseph Myers <joseph@codesourcery.com>
10358
10359 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10360 additions to variable.
10361 [$(config-machine) = x86_64] (modules-names): Likewise.
10362 ($(objpfx)tst-audit3): Remove dependency.
10363 ($(objpfx)tst-audit3.out): Likewise.
10364 ($(objpfx)tst-audit4): Likewise.
10365 ($(objpfx)tst-audit4.out): Likewise.
10366 ($(objpfx)tst-audit5): Likewise.
10367 ($(objpfx)tst-audit5.out): Likewise.
10368 ($(objpfx)tst-audit6): Likewise.
10369 ($(objpfx)tst-audit6.out): Likewise.
10370 ($(objpfx)tst-audit7): Likewise.
10371 ($(objpfx)tst-audit7.out): Likewise.
10372 (tst-audit3-ENV): Remove variable.
10373 (tst-audit4-ENV): Likewise.
10374 (tst-audit5-ENV): Likewise.
10375 (tst-audit6-ENV): Likewise.
10376 (tst-audit7-ENV): Likewise.
10377 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10378 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10379 addition to variable.
10380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10382 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10383 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10384 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10385 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10386 tst-audit3, tst-audit4 and tst-audit5.
10387 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10388 tst-audit6 and tst-audit7.
10389 [$(subdir) = elf] (modules-names): Add audit modules for those
10390 tests.
10391 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10392 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10393 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10394 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10395 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10396 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10397 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10398 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10399 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10400 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10401 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10402 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10403 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10404 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10405 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10406 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10407 Likewise.
10408 [$(subdir) = elf && $(config-cflags-avx) = yes]
10409 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10410 [$(subdir) = elf && $(config-cflags-avx) = yes]
10411 (CFLAGS-tst-auditmod4a.c): Likewise.
10412 [$(subdir) = elf && $(config-cflags-avx) = yes]
10413 (CFLAGS-tst-auditmod4b.c): Likewise.
10414 [$(subdir) = elf && $(config-cflags-avx) = yes]
10415 (CFLAGS-tst-auditmod6b.c): Likewise.
10416 [$(subdir) = elf && $(config-cflags-avx) = yes]
10417 (CFLAGS-tst-auditmod6c.c): Likewise.
10418 [$(subdir) = elf && $(config-cflags-avx) = yes]
10419 (CFLAGS-tst-auditmod7b.c): Likewise.
10420 * elf/tst-audit3.c: Move to ...
10421 * sysdeps/x86_64/tst-audit3.c: ... here.
10422 * elf/tst-audit4.c: Move to ...
10423 * sysdeps/x86_64/tst-audit4.c: ... here.
10424 * elf/tst-audit5.c: Move to ...
10425 * sysdeps/x86_64/tst-audit5.c: ... here.
10426 * elf/tst-audit6.c: Move to ...
10427 * sysdeps/x86_64/tst-audit6.c: ... here.
10428 * elf/tst-audit7.c: Move to ...
10429 * sysdeps/x86_64/tst-audit7.c: ... here.
10430 * elf/tst-auditmod3a.c: Move to ...
10431 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10432 * elf/tst-auditmod3b.c: Move to ...
10433 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10434 * elf/tst-auditmod4a.c: Move to ...
10435 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10436 * elf/tst-auditmod4b.c: Move to ...
10437 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10438 * elf/tst-auditmod5a.c: Move to ...
10439 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10440 * elf/tst-auditmod5b.c: Move to ...
10441 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10442 * elf/tst-auditmod6a.c: Move to ...
10443 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10444 * elf/tst-auditmod6b.c: Move to ...
10445 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10446 * elf/tst-auditmod6c.c: Move to ...
10447 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10448 * elf/tst-auditmod7a.c: Move to ...
10449 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10450 * elf/tst-auditmod7b.c: Move to ...
10451 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10452
1ef74943
PP
104532013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10454
10455 [BZ #15366]
10456 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10457 define unconditionally.
10458 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10459 define unconditionally.
10460 (INT8_C, INT16_C, etc.): Likewise.
10461
93fd48c5
MR
104622013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10463
ae9552cf
MR
10464 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10465 __ehdr_start with hidden visibility.
10466
93fd48c5
MR
10467 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10468
418601aa
CD
104692013-04-24 Carlos O'Donell <carlos@redhat.com>
10470
10471 * math/libm-test.inc (cos_test): Use accurate hex constants.
10472 (sincost_test): Likewise.
10473
2f38fbfe
JM
104742013-04-24 Joseph Myers <joseph@codesourcery.com>
10475
5e221800
JM
10476 * math/libm-test.inc (catan_test): Add more tests.
10477 (catanh_test): Likewise.
10478
77f143fd
JM
10479 * math/s_catanf.c (__catanf): Use suffixed floating-point
10480 constants.
10481 * math/s_catanhf.c (__catanhf): Likewise.
10482 * math/s_catanhl.c (__catanhl): Likewise.
10483 * math/s_catanl.c (__catanl): Likewise.
10484
2f38fbfe
JM
10485 [BZ #15394]
10486 * math/s_catan.c (__catan): Calculate imaginary part of result
10487 with log1p not log unless computing log of number close to 0.
10488 * math/s_catanf.c (__catanf): Likewise.
10489 * math/s_catanl.c (__catanl): Likewise.
10490 * math/s_catanh.c (__catanh): Calculate real part of result with
10491 log1p not log unless computing log of number close to 0.
10492 * math/s_catanhf.c (__catanhf): Likewise.
10493 * math/s_catanhl.c (__catanhl): Likewise.
10494 * math/libm-test.inc (catan_test): Add more tests.
10495 (catanh_test): Likewise.
10496 * sysdeps/i386/fpu/libm-test-ulps: Update.
10497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10498
45d69176
SP
104992013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10500
10501 * benchtests/Makefile: Mention files in which fast and slow
10502 paths of math functions are implemented.
10503
87f51853
RM
105042013-04-23 Roland McGrath <roland@hack.frob.com>
10505
10506 * sysdeps/posix/timespec_get.c: New file.
10507
3c026539
AZ
105082013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10509
10510 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10511 POWER.
10512 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10513 for POWER.
10514 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10515 powerpc/power5/fpu folders.
10516 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10517 * benchtests/Makefile: Add modf testcase.
10518 * benchtests/bench-modf.c: New file: Benchmark test for mo
10519
ff491d14
SP
105202013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10521
10522 [BZ #14888]
10523 * time/Makefile (tests): Add tst-strptime-whitespace.
10524 * time/strptime_l.c (get_number): Use ISSPACE.
10525 (__strptime_internal): Likewise.
10526 * time/tst-strptime-whitespace.c: New test case.
10527
7ed3f4e8
AS
105282013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10529
10530 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10531 member.
10532 (_nss_files_init): Set it here.
10533
5c95f7b6
HC
105342013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10535
10536 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10537 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10538 unsigned.
10539
d34c9158
JBG
105402013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10541
10542 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10543
2169712d
SP
105442013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10545
10546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10547 size just once.
10548
29c5de99
DM
105492013-04-21 David S. Miller <davem@davemloft.net>
10550
10551 * po/ru.po: Update Russion translation from translation project.
10552
ccdad15d
AC
105532013-04-17 Adam Conrad <adconrad@0c3.net>
10554
10555 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10556 and setfsgid.
10557
0f122b8d
CD
105582013-04-17 Carlos O'Donell <carlos@redhat.com>
10559
5c5b07da 10560 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10561 * configure: Regenerate.
5c5b07da 10562 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10563 Add example to error message.
10564 * sysdeps/i386/configure: Regenerate.
10565
037714dd
SP
105662013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10567
10568 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10569 slowtan.
10570 * benchtests/cos-inputs: New file.
10571 * benchtests/slowcos-inputs: New file.
10572 * benchtests/slowcos.c: New file.
10573 * benchtests/slowtan-inputs: New file.
10574 * benchtests/slowtan.c: New file.
10575 * benchtests/tan-inputs: New file.
10576
e913141d
RM
105772013-04-16 Roland McGrath <roland@hack.frob.com>
10578
10579 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10580 considered kosher.
10581
a2964074
SP
105822013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10583
4856bcd2
SP
10584 * benchtests/Makefile: Include cppflags-iterator.mk to add
10585 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10586
a2964074
SP
10587 * Makefile.in (bench-clean): New target.
10588 * benchtests/Makefile (bench-clean): Likewise.
10589
9fbf9aca
DH
105902013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10591
10592 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10593
207d1e2a
TS
105942013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10595
10596 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10597
306dfba9
AS
105982013-04-15 Andreas Schwab <schwab@suse.de>
10599
10600 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10602 * nscd/pwdcache.c (cache_addpw): Likewise.
10603 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10604 more than recsize.
10605
206a6699
SP
106062013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10607
10608 * benchtests/Makefile (bench): Write all output to
10609 bench-out.tmp together.
10610
0582f6b3
AS
106112013-04-15 Andreas Schwab <schwab@suse.de>
10612
10613 * nscd/nscd.c (main): Don't fork again after closing files.
10614
acb4325f
SP
106152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10616
5cb26d0a
SP
10617 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10618
acb4325f
SP
10619 * benchtests/Rules (bench-deps): Collect dependencies into a
10620 single variable. Add Makefile to dependencies.
10621 ($(objpfx)bench-%.c): Depend on bench-deps.
10622
47792506
RM
106232013-04-12 Roland McGrath <roland@hack.frob.com>
10624 Xavier Roche <roche+kml2@exalead.com>
10625
10626 [BZ #15361]
10627 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10628 just that it's a file descriptor.
10629 * manual/llio.texi (Synchronizing AIO Operations): Update description
10630 for EBADF error from aio_fsync.
10631
8fc1bee5
SP
106322013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10633
10634 * Rules (bench): Move target definition...
10635 * benchtests/Makefile: ... here.
10636
aba5e333
CD
106372013-04-11 Carlos O'Donell <carlos@redhat.com>
10638
10639 * math/libm-test.inc (cos_test): Fix PI/2 test.
10640 (sincos_test): Likewise.
10641 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10642 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10643
273cdee8
AS
106442013-04-11 Andreas Schwab <schwab@suse.de>
10645
6ecec3b6
AS
10646 [BZ #13988]
10647 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10648 accept exponent character only when digits were seen.
10649 * stdio-common/Makefile (tests): Add bug26.
10650 * stdio-common/bug26.c: New file.
10651
273cdee8
AS
10652 [BZ #14293]
10653 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10654 non-freeable.
10655
8da491f5
SP
106562013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10657
01dc6df9
SP
10658 * Makeconfig (rtld-prefix): Define built linker prefix.
10659 * Rules (run-bench): Use it.
10660 * math/Makefile (run-regen-ulps): Likewise.
10661
8da491f5
SP
10662 * Rules (bench): Remove eval.
10663
abe7f530
SP
106642013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10665 Roland McGrath <roland@hack.frob.com>
10666 Ondrej Bilka <neleai@seznam.cz>
10667
10668 [BZ #15346]
10669 * time/getdate.c: Include ctype.h and alloca.h.
10670 (__getdate_r): Trim leading and trailing spaces of input.
10671 * time/tst-getdate.c (tests): Add tests with leading and
10672 trailing spaces.
10673
61c23e62
RM
106742013-04-08 Roland McGrath <roland@hack.frob.com>
10675
10676 [BZ #14280]
10677 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10678 when computing value.
10679
7208a313
CD
106802013-04-06 Carlos O'Donell <carlos@redhat.com>
10681
085b2d41
CD
10682 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10683 Use testrun.sh to run libm tests.
10684
7208a313
CD
10685 [BZ #15309]
10686 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10687
872c0acd
MM
106882013-04-06 Marko Myllynen <myllynen@redhat.com>
10689
10690 [BZ #15264]
10691 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10692
26510bdd
CD
106932013-04-06 Carlos O'Donell <carlos@redhat.com>
10694
10695 * Makefile.in (regen-ulps): New target.
10696 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10697 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10698 [ifneq (no,$(PERL)] (regen-ulps): New target.
10699 [ifeq (no,$(PERL)] (regen-ulps): New target.
10700 * math/libm-test.inc (ulps_file_name): Define.
10701 (output_dir): New variable.
10702 (options): Add "output-dir" option.
10703 (parse_opt): Handle 'o' case.
10704 (main): If output_dir is non-NULL use it as a prefix
10705 otherwise use "".
10706 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10707
a01f19c8
CD
107082013-04-06 Carlos O'Donell <carlos@redhat.com>
10709
10710 [BZ #10060, #10062]
10711 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10712 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10713 fail configure if __sync_val_compare_and_swap is not inlined.
10714 * sysdeps/i386/configure: Regenerate.
10715 * configure.in: Build for i686 when configured for i386.
10716 * configure: Regenerate.
10717 * README: Remove i386 reference.
10718
b7a329a5
CD
107192013-04-06 Carlos O'Donell <carlos@redhat.com>
10720
10721 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10722 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10723
bf0f50df
TS
107242013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10725
ee091edf
TS
10726 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10727 (lmsnanval): New variables.
10728 (F): Add conversion tests.
10729 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10730 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10731
a8b792d6
TS
10732 * stdio-common/tstdiomisc.c (F): Properly collect individual
10733 tests' results.
10734
a1cbf437
TS
10735 [BZ #14686, #15336]
10736 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10737 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10738 Instead, use input NaN values or generate a qNaN by arithmetic
10739 operation. Also fix bugs to comply with the standard.
10740 * math/libm-test.inc (remainder_test): Add more tests.
10741
8b43a0c9
TS
10742 [BZ #15335, #15342]
10743 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10745 input NaN values or generate a qNaN by arithmetic operation.
10746
d91da4ce
TS
10747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10748 unreachable code.
10749
bf0f50df
TS
10750 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10751 definitions.
10752
05e166c8
JM
107532013-04-03 Joseph Myers <joseph@codesourcery.com>
10754
10755 [BZ #14478]
10756 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10757 underflowed result.
10758 * math/s_cexpf.c (__cexpf): Likewise.
10759 * math/s_cexpl.c (__cexpl): Likewise.
10760 * math/libm-test.inc (cexp_test): Add more tests.
10761
1cef1b19
AS
107622013-04-03 Andreas Schwab <schwab@suse.de>
10763
10764 [BZ #15330]
10765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10766 order arrays from heap if bigger than alloca cutoff.
10767
74d87055
TS
107682013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10769
10770 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10771 (SNAN_TESTS_double): Refer to GCC PR56831.
10772 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10773 GCC PR56828.
10774
d755bba4
SP
107752013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10776
90d5d5bb
SP
10777 * Rules (bench): Move bench.out after the run is complete.
10778
73e0cd5d
SP
10779 * Rules (bench): Echo currently running benchmark.
10780
64aabd4b
SP
10781 * benchtests/Makefile (bench): Add atan and slowatan.
10782 * benchtests/atan-inputs: New file.
10783 * benchtests/slowatan-inputs: New file.
10784 * benchtests/slowatan.c: New file.
10785
c871eccd
SP
10786 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10788 its value.
10789
d755bba4
SP
10790 [BZ #15305]
10791 * sysdeps/unix/sysv/linux/kernel-features.h
10792 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10793 __ASSUME_XFS_RESTRICTED_CHOWN.
10794 * sysdeps/unix/sysv/linux/pathconf.c
10795 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10796 Save and restore errno.
10797
52ce4860
JM
107982013-04-02 Joseph Myers <joseph@codesourcery.com>
10799
10800 [BZ #15327]
10801 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10802 arguments using __kernel_casinh.
10803 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10804 arguments using __kernel_casinhf.
10805 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10806 arguments using __kernel_casinhl.
10807 * math/libm-test.inc (cacosh_test): Add more tests.
10808 * sysdeps/i386/fpu/libm-test-ulps: Update.
10809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10810
81f311c2
SP
108112013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10812
e7906a47
SP
10813 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10815
92e3664b
SP
10816 * bench/Makefile (bench): Add sin and slowsin.
10817 * benchtests/sin-inputs: New file.
10818 * benchtests/slowsin-inputs: New file.
10819 * benchtests/slowsin.c: New file.
10820
81f311c2
SP
10821 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10822 (bench): Add slowexp and slowpow.
10823 (exp-ITER): Increase iterations.
10824 (pow-ITER): Likewise.
10825 * benchtests/exp-inputs: Change input.
10826 * benchtests/pow-inputs: Likewise.
10827 * benchtests/slowexp-inputs: New file.
10828 * benchtests/slowexp.c: New file.
10829 * benchtests/slowpow-inputs: New file.
10830 * benchtests/slowpow.c: New file.
10831
ab0f1aa9
AZ
108322013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10833
10834 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10835 instructions.
10836 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10837 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10838 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10839 * benchtests/Makefile: Add rint benchtest.
10840 * benchtests/rint-inputs: Input for rint benchtest.
10841
57267616
TS
108422013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10843
10844 * Versions.def (libm): Add GLIBC_2.18.
10845 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10846 hidden libm prototypes.
10847 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10848 * math/Makefile (libm-calls): Add s_issignaling.
10849 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10850 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10851 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10852 declaration.
10853 * math/math.h [__USE_GNU] (issignaling): New macro.
10854 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10855 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10856 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10857 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10860 * manual/arith.texi (issignaling): New section.
10861 * manual/libm-err-tab.pl (@all_functions): Update comment.
10862 * math/gen-libm-test.pl (parse_args): Apply special handling for
10863 issignaling.
10864 * math/libm-test.inc (print_float, issignaling_test): New
10865 functions.
10866 (check_float_internal): Add issignaling checks.
10867 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10868 default definition.
10869 * sysdeps/powerpc/math-tests.h: New file.
10870 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10871 tests.
10872 * math/test-snan.c (TEST_FUNC): Likewise.
10873
6142896d
DM
108742013-03-30 David S. Miller <davem@davemloft.net>
10875
10876 * po/de.po: Update from translation team.
10877
ccc8cadf
JM
108782013-03-30 Joseph Myers <joseph@codesourcery.com>
10879
10880 [BZ #10357]
10881 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10882 imaginary part less than 1.0 and real part less than 0.5
10883 specially.
10884 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10885 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10886 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10887 (cacos_test): Add more tests.
10888 (casin_test): Likewise.
10889 (casinh_test): Likewise.
10890 * sysdeps/i386/fpu/libm-test-ulps: Update.
10891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10892
0f6a8d4b
SP
108932013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10894
0d1029de
SP
10895 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10896 ONE with its value.
10897
c2d94018
SP
10898 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10899 (__pow_mp): Replace ONE and MONE with their values.
10900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10902 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10903 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10904 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10906
27ec37f1
SP
10907 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10908
a64d7e0e
SP
10909 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10910 (__pow_mp): Replace ZERO and MZERO with their values.
10911 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10912 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10913 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10915 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10916 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10917 (__sqr): Likewise.
10918
d26dd3eb
SP
10919 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10920
0f6a8d4b
SP
10921 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10922
e57b0c61
RM
109232013-03-28 Roland McGrath <roland@hack.frob.com>
10924
10925 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10926 Declare with __attribute__ ((weak)).
10927 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10928 Call __call_tls_dtors only if it's not NULL.
10929
356b3480
RM
109302013-03-28 Roland McGrath <roland@hack.frob.com>
10931
288f7d79
RM
10932 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10933 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10934 magic __ehdr_start linker symbol if it's defined.
10935 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10936 them up here if it was already done.
10937
dc0a0263
RM
10938 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10939 (_dl_aux_init): Use const in cast when setting it.
10940 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10941 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10942 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10943
3d3436ae
RM
10944 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10945 Declare them here.
10946 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10947 * csu/libc-tls.c: Nor here.
10948 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10949
356b3480
RM
10950 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10951 (__libc_message): Never call vsyslog.
10952
b0f1246a
AM
109532013-03-28 Alan Modra <amodra@gmail.com>
10954
10955 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10956 Define as empty.
10957 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10958 Likewise.
10959
fbbe2b9a
AZ
109602013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10961
10962 [BZ #15214]
10963 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10964 underflow.
10965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10966
1728ab37
SP
109672013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10968
7a86be6e
SP
10969 [BZ #15304]
10970 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10971 Don't add gid passed as argument.
10972
1728ab37
SP
10973 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10974
3a7182a1
JM
109752013-03-27 Joseph Myers <joseph@codesourcery.com>
10976
10977 [BZ #15307]
10978 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10979 imaginary part between 1.0 and 1.5 and real part less than 0.5
10980 specially.
10981 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10982 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10983 * math/libm-test.inc (cacos_test): Add more tests.
10984 (casin_test): Likewise.
10985 (casinh_test): Likewise.
10986 * sysdeps/i386/fpu/libm-test-ulps: Update.
10987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10988
6f2e90e7
SP
109892013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10990
5739f705
SP
10991 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10992 constants.
10993 (norm): Likewise.
10994 (denorm): Likewise.
10995 (__dbl_mp): Likewise.
10996 (add_magnitudes): Likewise.
10997 (sub_magnitudes): Likewise.
10998 (__add): Likewise.
10999 (__sub): Likewise.
11000 (__mul): Likewise.
11001 (__sqr): Likewise.
11002 (__inv): Likewise.
11003 (__dvd): Likewise.
11004
e375e83d
SP
11005 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11006 commented code.
11007 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11008 (__dubcos): Likewise.
11009 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11010 (__ieee754_acos): Likewise.
11011 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11012 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11013 (__exp1): Likewise.
11014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11016 (log1): Likewise.
11017 (my_log2): Likewise.
11018 (checkint): Likewise.
11019 * sysdeps/ieee754/dbl-64/e_remainder.c
11020 (__ieee754_remainder): Likewise.
11021 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11023 (bsloww): Likewise.
11024 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11025
6f2e90e7
SP
11026 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11027 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11028 MANTISSA_STORE_T to store computations on mantissa. Use
11029 macros for rounding and division.
11030 (denorm): Likewise.
11031 (__dbl_mp): Likewise.
11032 (add_magnitudes): Likewise.
11033 (sub_magnitudes): Likewise.
11034 (__mul): Likewise.
11035 (__sqr): Likewise.
11036 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11037 powers of two in terms of TWOPOW macro.
11038 (mp_no): Make type of mantissa as MANTISSA_T.
11039 [!RADIXI]: Define RADIXI.
11040 [!TWO52]: Define TWO52.
11041 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11042
fce14d4e
AZ
110432013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11044
11045 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11046 llroundl symbol when building for PPC32.
11047
9ad027fb
MW
110482013-03-24 Mark H Weaver <mhw@netris.org>
11049
11050 * manual/arith.texi (Normalization Functions): Fix prototypes for
11051 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11052
e42a38dd
AZ
110532013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11054
11055 [BZ #13889]
11056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11057 high value to check if expl overflow.
11058 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11059 to check for underflow and overflow.
11060 * math/libm-test.inc: Add exp test.
11061
2e0fb521
DL
110622013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11063
11064 [BZ #11120]
11065 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11066 with NOT_IN_libc.
11067
b5784d95
AZ
110682013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11069
11070 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11071 symbol.
11072
5aa4a1a1
TS
110732013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11074
bdef0be7
TS
11075 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11076 wrap blocks consisting of several statements.
11077
5aa4a1a1
TS
11078 * sysdeps/generic/math-tests.h: New file.
11079 * sysdeps/i386/fpu/math-tests.h: Likewise.
11080 * math/test-snan.c: Include it.
11081 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11082
98c48fe5
JM
110832013-03-21 Joseph Myers <joseph@codesourcery.com>
11084
11085 [BZ #15285]
11086 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11087 (__ieee754_j0l): Do not improve calculations using cos of twice
11088 input for inputs above LDBL_MAX / 2.0L.
11089 (__ieee754_y0l): Likewise.
11090 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11091 (__ieee754_j1l): Do not improve calculations using cos of twice
11092 input for inputs above LDBL_MAX / 2.0L.
11093 (__ieee754_y1l): Likewise.
11094 * math/libm-test.inc (j0_test): Add another test.
11095 (j1_test): Likewise.
11096 (y0_test): Likewise.
11097 (y1_test): Likewise.
11098 * sysdeps/i386/fpu/libm-test-ulps: Update.
11099
3775a8bc
SP
111002013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11101
11102 * Rules ($(objpfx)bench-%.c): Include code from a C source
11103 file.
11104
0a1b2ae6
JM
111052013-03-21 Joseph Myers <joseph@codesourcery.com>
11106
11107 [BZ #15287]
11108 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11109 imaginary part 1.0 and real part less than 0.5 specially.
11110 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11111 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11112 * math/libm-test.inc (cacos_test): Add more tests.
11113 (casin_test): Likewise.
11114 (casinh_test): Likewise.
11115 * sysdeps/i386/fpu/libm-test-ulps: Update.
11116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11117
b33d4ce4
SP
111182013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11119
11120 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11121 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11122
bef0b507
JM
111232013-03-20 Joseph Myers <joseph@codesourcery.com>
11124
11125 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11126 * config.make.in (config-cflags-sse4): Remove variable.
11127 (config-cflags-avx): Likewise.
11128 (config-cflags-sse2avx): Likewise.
11129 (config-cflags-novzeroupper): Likewise.
11130 (config-asflags-i686): Likewise.
11131 (have-mfma4): Likewise.
11132 (have-as-vis3): Likewise.
11133 (MIG): Likewise.
11134 * configure.in (MIG): Do not AC_SUBST.
11135 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11136 (libc_cv_cc_sse4): Do not AC_SUBST.
11137 (libc_cv_cc_avx): Likewise.
11138 (libc_cv_cc_sse2avx): Likewise.
11139 (libc_cv_cc_novzeroupper): Likewise.
11140 (libc_cv_cc_fma4): Likewise.
11141 (libc_cv_as_i686): Likewise.
11142 (libc_cv_sparc_as_vis3): Likewise.
11143 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11144 LIBC_CONFIG_VAR.
11145 (config-asflags-i686): Likewise.
11146 (config-cflags-avx): Likewise.
11147 (config-cflags-sse2avx): Likewise.
11148 (have-mfma4): Likewise.
11149 (config-cflags-novzeroupper): Likewise.
11150 * sysdeps/mach/configure.in (MIG): Likewise.
11151 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11152 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11153 LIBC_CONFIG_VAR.
11154 (config-cflags-avx): Likewise.
11155 (config-cflags-sse2avx): Likewise.
11156 (have-mfma4): Likewise.
11157 (config-cflags-novzeroupper): Likewise.
11158 * configure: Regenerated.
11159 * sysdeps/i386/configure: Likewise.
11160 * sysdeps/mach/configure: Likewise.
11161 * sysdeps/sparc/configure: Likewise.
11162 * sysdeps/x86_64/configure: Likewise.
11163
912cc4b3
RM
111642013-03-20 Roland McGrath <roland@hack.frob.com>
11165
11166 [BZ #14812]
11167 * locale/programs/localedef.c (options): Put N_ translation marker
11168 on argument names, not just descriptions.
11169
04eed2b0
MS
111702013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11171
11172 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11173
a065ceff
OB
111742013-03-20 Ondřej Bílka <neleai@seznam.cz>
11175
9bb2a810 11176 [BZ #14176]
a065ceff
OB
11177 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11178
a600e5ce
RM
111792013-03-19 Roland McGrath <roland@hack.frob.com>
11180
11181 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11182 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11183 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11184 [!BEFORE_ABORT] (before_abort): New function.
11185 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11186 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11187 (writev_for_fatal): New function.
11188 (WRITEV_FOR_FATAL): New macro; call that.
11189 (backtrace_and_maps): New function.
11190 (BEFORE_ABORT): New macro; call that.
11191 (struct str_list): Type removed.
11192 (__libc_message, __libc_fatal): Functions removed.
11193 Include <sysdeps/posix/libc_fatal.c> instead.
11194
6b18bea6
JM
111952013-03-19 Joseph Myers <joseph@codesourcery.com>
11196
11197 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11198 constants.
11199 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11200 double constants.
11201
aaa8cb4b
AS
112022013-03-19 Andreas Schwab <schwab@suse.de>
11203
44673770
AS
11204 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11205 * sysdeps/gnu/configure: Regenerate.
11206
aaa8cb4b
AS
11207 * configure.in: Substitute libc_cv_rtlddir.
11208 * configure: Regenerate.
11209 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11210 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11211 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11212 * elf/Makefile (install-others, CFLAGS-interp.c)
11213 (ldso_install, common-ldd-rewrite): Likewise.
11214 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11215 $(inst_slibdir)/$(rtld-installed-name).
11216 * scripts/rellns-sh: Add -p option.
11217 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11218 for source.
11219
d3cfc668
SP
112202013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11221
11222 * manual/nptl.texi: Renamed to ...
11223 * manual/threads.texi: ... this.
11224 * manual/Makefile (chapters): Update.
11225
0e2b9cdd
RM
112262013-03-18 Roland McGrath <roland@hack.frob.com>
11227
11228 [BZ #14812]
11229 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11230 on argument names, not just descriptions.
0e2b9cdd
RM
11231 * malloc/memusagestat.c (options): Likewise.
11232 * nss/getent.c (options): Likewise.
63270c24
RM
11233
112342013-03-18 Benno Schulenberg <bensberg@justemail.net>
11235
11236 [BZ #14812]
11237 * iconv/iconv_prog.c (options): Put N_ translation marker
11238 on argument names, not just descriptions.
11239 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11240
b2e1393c
OB
112412013-03-18 Ondrej Bilka <neleai@seznam.cz>
11242
11243 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11244 implementation which is faster on all x86_64 architectures.
11245 Tested on AMD, Intel Nehalem, SNB, IVB.
11246 * sysdeps/x86_64/strnlen.S: Likewise.
11247
11248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11249 Remove all multiarch strlen and strnlen versions.
11250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11251 Remove strlen and strnlen related parts.
11252
11253 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11254 Inline strlen part.
11255 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11256
11257 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11258 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11259 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11260 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11261 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11262 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11263
ec4ff04d
CD
112642013-03-17 Carlos O'Donell <carlos@redhat.com>
11265
11266 * manual/memory.texi (Malloc Tunable Parameters):
11267 Sort parameters alphabetically. Add comments for missing entries.
11268
cd18e90a
DM
112692013-03-17 David S. Miller <davem@davemloft.net>
11270
11271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11272
2a185d32
JM
112732013-03-16 Joseph Myers <joseph@codesourcery.com>
11274
d2f9799e
JM
11275 [BZ #15283]
11276 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11277 for arguments at most half maximum finite value.
11278 * math/libm-test.inc (j0_test): Add more tests.
11279 (j1_test): Likewise.
11280 (y0_test): Likewise.
11281 (y1_test): Likewise.
11282 * sysdeps/i386/fpu/libm-test-ulps: Update.
11283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11284
2a185d32
JM
11285 [BZ #14155]
11286 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11287 1 / x and functions P and Q for arguments above 0x1p256L.
11288 (__ieee754_y0l): Likewise.
11289 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11290 (__ieee754_y1l): Likewise.
11291 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11292 (j1_test): Likewise.
11293 (y0_test): Likewise.
11294 (y1_test): Likewise.
11295
6cbec759
TS
112962013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11297
11298 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11299 variable.
11300
bc16e260
RM
113012013-03-15 Roland McGrath <roland@hack.frob.com>
11302
aefc9b8c
RM
11303 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11304 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11305 zero since it's initialized to EXEC_PAGESIZE.
11306
bc16e260
RM
11307 * sysdeps/unix/sysv/linux/ldsodefs.h
11308 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11309 * sysdeps/generic/ldsodefs.h: ... here.
11310
a57da955
TS
113112013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11312
af00a34d
TS
11313 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11314
495ded2c
TS
11315 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11316 math/test-snan.c.
11317 * math/test-snan.c: Renamed from
11318 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11319 * math/Makefile (tests): Add test-snan.
11320 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11321 test-powerpc-snan.
11322
777b0332
TS
11323 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11324 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11325 functions.
11326 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11327 __builtin_nan family of functions.
11328 * math/libm-test.inc (initialize): Initialize qnan_value with
11329 __builtin_nan family of functions.
11330 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11331 Remove variables.
11332 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11333 Remove functions.
11334 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11335 storage class. Initialize qNaN_var and sNaN_var with
11336 __builtin_nan and __builtin_nans families of functions,
11337 respectively.
11338
64d063b8
TS
11339 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11340 (sqrt_test): Remove duplicate test with qNaN input.
11341 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11342 (round_test, signbit_test, significand_test): Note missing +/-Inf
11343 as well as qNaN tests.
11344
67e971f1
TS
11345 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11346 qNaN_var. Fix a few strings, too.
11347 * math/libm-test.inc (nan_value): Rename to qnan_value.
11348 * math/gen-libm-test.pl (%beautify): Adjust to that.
11349 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11350 * math/test-misc.c (main): Likewise.
11351 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11352 to __qnan_bytes, and __qnan_union, respectively.
11353 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11354 Likewise.
11355 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11356 and lqnanval, respectively.
11357 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11358 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11359 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11360 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11361
64487e12
TS
11362 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11363 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11364 doubles.
11365
e015e27b
TS
11366 * math/test-misc.c (main): Fix copy'n'pastos.
11367 * misc/tst-efgcvt.c (special): Likewise.
11368
a57da955
TS
11369 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11370 Remove declarations.
11371
1e380345
SP
113722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11373
11374 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11375 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11376 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11377 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11378
ef26eece
AZ
113792013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11380
11381 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11382 macro to return vdso values correctly in IFUNC implementations.
11383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11384 Optimization by using IFUNC.
11385
8cfdb7e0
SP
113862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11387 Richard Henderson <rth@redhat.com>
11388 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11389
11390 * Makefile.in (bench): New target.
11391 * NEWS: Mention the benchmark framework.
11392 * Rules (bench): Likewise.
11393 (binaries-bench): Generate binaries for functions to
11394 benchmark.
11395 * benchtests/Makefile: New makefile for benchmark tests.
11396 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11397 programs.
11398 * benchtests/exp-inputs: New input file for EXP function.
11399 * benchtests/pow-inputs: New input file for POW function.
11400 * scripts/bench.pl: New script to generate source files for
11401 benchmark programs.
11402
bcda9880
SP
114032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11404
d22ca8cd
SP
11405 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11406 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11407 computations on mantissa. Use macros for rounding and
11408 division.
11409 (denorm): Likewise.
11410 (__dbl_mp): Likewise.
11411 (add_magnitudes): Likewise.
11412 (sub_magnitudes): Likewise.
11413 (__mul): Likewise.
11414 (__sqr): Likewise.
11415 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11416 powers of two in terms of TWOPOW macro.
11417 (mp_no): Make type of mantissa as MANTISSA_T.
11418 [!RADIXI]: Define RADIXI.
11419 [!TWO52]: Define TWO52.
11420 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11421
bcda9880
SP
11422 * manual/nptl.texi (cindex): Modify threads to pthreads.
11423
06d5adfb
JM
114242013-03-15 Joseph Myers <joseph@codesourcery.com>
11425
11426 * sysdeps/x86_64/preconfigure: Regenerated.
11427
41c7328e
JM
114282013-03-14 Joseph Myers <joseph@codesourcery.com>
11429
11430 [BZ #14155]
11431 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11432 0x1p28 and above.
11433 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11434 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11435 0x1p28 and above.
11436 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11437 * math/libm-test.inc (j0_test): Do not allow one spurious
11438 underflow exception.
11439 (y1_test): Likewise.
11440
e25cfa60
SP
114412013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11442
0409959c
SP
11443 * manual/Makefile (chapters): Add nptl.
11444 * manual/debug.texi (Debugging Support): Add link to Threads
11445 chapter.
11446 * manual/nptl.texi: New file.
11447
e25cfa60
SP
11448 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11449
58a1335e
PB
114502013-03-14 Petr Baudis <pasky@ucw.cz>
11451
11452 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11453 for non-NULL pointer before the memory validity test. Pointed
11454 out by Holger Brunck <holger.brunck@keymile.com>.
11455
9dc7c64f
AS
114562013-03-13 Andreas Schwab <schwab@suse.de>
11457
11458 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11459 instead of .os.
11460
54206aa6
JM
114612013-03-13 Joseph Myers <joseph@codesourcery.com>
11462
11463 * timezone/zic.c: Update from tzcode 2013b.
11464
e98cdb38
CD
114652013-03-12 Carlos O'Donell <carlos@redhat.com>
11466
11467 * manual/install.texi (Configuring and compiling):
11468 Mention i686 and i586.
11469 * INSTALL: Regenerate.
11470
9967e003
RM
114712013-03-12 Roland McGrath <roland@hack.frob.com>
11472
11473 * sysdeps/init_array/elf-init.c: New file.
11474 * csu/elf-init.c
11475 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11476 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11477
11478 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11479 __gmon_start__ as global, but as static with a .preinit_array pointer.
11480 * sysdeps/init_array/gmon-start.c: New file. Use that.
11481 * sysdeps/init_array/crti.S: New file, empty except for comments.
11482 * sysdeps/init_array/crtn.S: Likewise.
11483
e6b5a293 114842013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11485
11486 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11487 definining bcopy.
80f844c9
OB
11488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11489 Remove Prefer_SSE_for_memop.
11490 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11491 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11492 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11494 memset-x86-64.
80f844c9 11495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11496 Remove bzero, memset ifunc support.
80f844c9
OB
11497 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11498 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11499 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11500 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11501
fb6b0fcb
AS
115022013-03-11 Andreas Schwab <schwab@suse.de>
11503
11504 [BZ #15234]
11505 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11506 by SHLIB_COMPAT.
11507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11508 (GLIBC_2.16): Remove pthread_atfork.
11509
3e6bd4b1
PP
115102013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11511
11512 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11513 (ptestcases.h): Likewise.
11514
222d7f00
RM
115152013-03-08 Roland McGrath <roland@hack.frob.com>
11516
11517 * Makeconfig ($(common-objpfx)config.status): Depend on
11518 sysdeps/*/preconfigure{,.in} too.
11519
1ba4f030
JM
115202013-03-08 Joseph Myers <joseph@codesourcery.com>
11521
a222d91a
JM
11522 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11523 (__free_hook): Use void * instead of __malloc_ptr_t.
11524 (__malloc_hook): Likewise.
11525 (__realloc_hook): Likewise.
11526 (__memalign_hook): Likewise.
11527 (__after_morecore_hook): Likewise.
11528 * malloc/arena.c (save_malloc_hook): Likewise.
11529 (save_free_hook): Likewise.
11530 * malloc/hooks.c (malloc_hook_ini): Likewise.
11531 (realloc_hook_ini): Likewise.
11532 (memalign_hook_ini): Likewise.
11533 * malloc/malloc.c (malloc_hook_ini): Likewise.
11534 (realloc_hook_ini): Likewise.
11535 (memalign_hook_ini): Likewise.
11536 (__free_hook): Likewise.
11537 (__malloc_hook): Likewise.
11538 (__realloc_hook): Likewise.
11539 (__memalign_hook): Likewise.
11540 (__libc_malloc): Likewise.
11541 (__libc_free): Likewise.
11542 (__libc_realloc): Likewise.
11543 (__libc_memalign): Likewise.
11544 (__libc_valloc): Likewise.
11545 (__libc_pvalloc): Likewise.
11546 (__libc_calloc): Likewise.
11547 (__posix_memalign): Likewise.
11548 * malloc/morecore.c (__sbrk): Likewise.
11549 (__default_morecore): Likewise.
11550
5cc45e10
JM
11551 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11552
dd54b864
JM
11553 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11554 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11555 __malloc_ptrdiff_t.
11556
1ba4f030
JM
11557 * malloc/malloc.h (__malloc_size_t): Remove macro.
11558 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11559 __malloc_size_t.
11560 (old_memalign_hook): Likewise.
11561 (old_realloc_hook): Likewise.
11562 (struct hdr): Likewise.
11563 (flood): Likewise.
11564 (mallochook): Likewise.
11565 (memalignhook): Likewise.
11566 (reallochook): Likewise.
11567 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11568 (tr_old_realloc_hook): Likewise.
11569 (tr_old_memalign_hook): Likewise.
11570 (tr_mallochook): Likewise.
11571 (tr_reallochook): Likewise.
11572 (tr_memalignhook): Likewise.
11573
edf66e57
AZ
115742013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11575
11576 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11577 default_ldbl_pack and using as default implementation.
11578 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11579 implementation.
11580 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11581 redundant definition.
11582 (ldbl_insert_mantissa): Likewise.
11583 (ldbl_canonicalize): Likewise.
11584 (ldbl_nearbyint): Likewise.
11585 (ldbl_pack): Rename to ldbl_pack_ppc.
11586 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11587 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11588 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11589
6d9145d8
SP
115902013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11591
11592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11593 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11595 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11598 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11599 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11600
4dd4e157
AJ
116012013-03-07 Andreas Jaeger <aj@suse.de>
11602
11603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11604 bits/mman-linux.h.
11605
adbb8027
SP
116062013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11607
ce544b5b
SP
11608 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11609 Include mpa.h and declare __MPEXP.
11610 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11611 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11612 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11613 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11614 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11615 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11616 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11617
4cc149fd
SP
11618 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11619 (__slowpow): Use long double EXPL and LOGL functions to
11620 compute POW.
11621 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11622 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11623 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11624 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11625 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11626 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11627
e6ebd4a7
SP
11628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11629 intermediate variable to calculate exponent.
11630 (__sqr): Likewise.
11631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11632 Likewise.
11633 (__sqr): Likewise.
11634
82a9811d
SP
11635 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11636 [!NO__SQR]: Define __sqr.
11637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11638 and NO__SQR. Remove all code except __mul and __sqr. Include
11639 sysdeps/ieee754/dbl-64/mpa.c.
11640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11641
adbb8027
SP
11642 [BZ #12723]
11643 * posix/Makefile (tests): Add tst-pathconf.
11644 * posix/tst-pathconf.c: New test case.
11645 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11646 _PC_PIPE_BUF.
11647 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11648
39120df9
PF
116492013-03-06 Patsy Franklin <pfrankli@redhat.com>
11650
11651 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11652
67525cb8
AJ
116532013-03-06 Andreas Jaeger <aj@suse.de>
11654
664a9ce4
AJ
11655 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11656 definition via __MAP_ANONYMOUS.
11657
8e39047d
AJ
11658 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11659 it's not part of Linux headers.
11660
67525cb8
AJ
11661 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11662 (MAP_HUGE_MASK): Define.
11663
11664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11665 Define.
11666 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11668 Define.
11669 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11670 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11671 Define.
11672 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11674 Define.
11675 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11676
11677 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11678 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11679 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11680 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11681 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11682 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11683
11684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11685 Handle f2fs.
11686
11687 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11688 Handle f2fs and efivarfs.
11689
11690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11691 f2fs.
11692
11693 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11694 (EFIVARFS_MAGIC): Add.
11695 (F2FS_LINK_MAX): Add.
11696
e1b42695
PP
116972013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11698
11699 * stdio-common/vfprintf.c: Replace __builtin_expect with
11700 __glibc_unlikely.
11701
2d67d91a
JM
117022013-03-06 Joseph Myers <joseph@codesourcery.com>
11703
11704 [BZ #13550]
11705 * sysdeps/generic/bp-sym.h: Remove file.
11706 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11707 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11708 <bp-sym.h> and <bp-asm.h>.
11709 (__longjmp): Don't use BP_SYM.
11710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11711 and <bp-asm.h>.
11712 (memcpy): Don't use BP_SYM.
11713 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11714 <bp-sym.h> and <bp-asm.h>.
11715 (memcpy): Don't use BP_SYM.
11716 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11717 <bp-asm.h>.
11718 (memcpy): Don't use BP_SYM.
11719 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11720 <bp-asm.h>.
11721 (memset): Don't use BP_SYM.
11722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11724 (__bzero): Don't use BP_SYM.
11725 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11726 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11728 <bp-sym.h> and <bp-asm.h>.
11729 (memcmp): Don't use BP_SYM. Remove comment about bounded
11730 pointers.
11731 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11732 <bp-sym.h> and <bp-asm.h>.
11733 (memcpy): Don't use BP_SYM.
11734 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11735 <bp-sym.h> and <bp-asm.h>.
11736 (memset): Don't use BP_SYM.
11737 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11738 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11739 (__bzero): Don't use BP_SYM.
11740 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11741 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11742 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11743 <bp-sym.h> and <bp-asm.h>.
11744 (strncmp): Don't use BP_SYM. Remove comment about bounded
11745 pointers.
11746 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11747 <bp-sym.h> and <bp-asm.h>.
11748 (memcpy): Don't use BP_SYM.
11749 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11750 <bp-sym.h> and <bp-asm.h>.
11751 (memset): Don't use BP_SYM.
11752 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11753 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11754 (__bzero): Don't use BP_SYM.
11755 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11756 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11757 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11758 <bp-sym.h> and <bp-asm.h>.
11759 (__memchr): Don't use BP_SYM.
11760 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11761 <bp-sym.h> and <bp-asm.h>.
11762 (memcmp): Don't use BP_SYM. Remove comment about bounded
11763 pointers.
11764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11765 <bp-sym.h> and <bp-asm.h>.
11766 (memcpy): Don't use BP_SYM.
11767 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11768 <bp-sym.h> and <bp-asm.h>.
11769 (__mempcpy): Don't use BP_SYM.
11770 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11771 <bp-sym.h> and <bp-asm.h>.
11772 (__memrchr): Don't use BP_SYM.
11773 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11774 <bp-sym.h> and <bp-asm.h>.
11775 (memset): Don't use BP_SYM.
11776 (__bzero): Likewise.
11777 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11778 <bp-sym.h> and <bp-asm.h>.
11779 (__rawmemchr): Don't use BP_SYM.
11780 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11781 <bp-sym.h> and <bp-asm.h>.
11782 (__STRCMP): Don't use BP_SYM.
11783 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11784 <bp-sym.h> and <bp-asm.h>.
11785 (strchr): Don't use BP_SYM.
11786 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11787 <bp-sym.h> and <bp-asm.h>.
11788 (__strchrnul): Don't use BP_SYM.
11789 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11790 <bp-sym.h> and <bp-asm.h>.
11791 (strlen): Don't use BP_SYM.
11792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11793 <bp-sym.h> and <bp-asm.h>.
11794 (strncmp): Don't use BP_SYM. Remove comment about bounded
11795 pointers.
11796 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11797 <bp-sym.h> and <bp-asm.h>.
11798 (__strnlen): Don't use BP_SYM.
11799 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11800 <bp-sym.h> and <bp-asm.h>.
11801 (__GI__setjmp): Don't use BP_SYM.
11802 (_setjmp): Likewise.
11803 (__sigsetjmp): Likewise.
11804 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11805 (L(start_addresses)): Don't use BP_SYM.
11806 (_start): Likewise.
11807 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11808 <bp-asm.h>.
11809 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11810 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11811 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11812 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11813 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11814 <bp-asm.h>.
11815 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11816 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11817 about bounded pointers.
11818 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11819 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11820 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11821 <bp-asm.h>.
11822 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11823 about bounded pointers. Remove GKM FIXME comments.
11824 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11825 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11826 <bp-asm.h>.
11827 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11828 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11829 Remove GKM FIXME comments.
11830 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11831 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11832 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11833 <bp-asm.h>.
11834 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11835 about bounded pointers. Remove GKM FIXME comment.
11836 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11837 and <bp-asm.h>.
11838 (strncmp): Don't use BP_SYM. Remove comment about bounded
11839 pointers.
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11841 <bp-sym.h> and <bp-asm.h>.
11842 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11844 <bp-sym.h> and <bp-asm.h>.
11845 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11846 comment.
11847
cdcf361f
PP
118482013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11849
11850 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11851 call free(NULL).
11852
3c4a2b15
DM
118532013-03-05 David S. Miller <davem@davemloft.net>
11854
11855 * po/es.po: Update from translation team.
11856
cdcf361f 118572013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11858
11859 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11860 <bits/mman-linux.h>.
11861 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11862 is fine.
11863 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11864 <bits/mman-linux.h> to end of file.
11865 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11866 is fine.
11867 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11868 <bits/mman-linux.h> to end of file.
11869 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11870 is fine.
11871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11872 <bits/mman-linux.h> to end of file.
11873
11874 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11875 (MCL_CURRENT, MCL_FUTURE): Define here.
11876
5f67c04f
AK
118772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11878
8a4473cc 11879 [BZ #15232]
5f67c04f
AK
11880 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11881 attribute_hidden.
11882 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11883
c3e94a95
AK
118842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11885
11886 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11887 fourth parameter needed for rt_sigprocmask syscall.
11888 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11889 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11890 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11891 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11892 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11893 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11894
cfb6382a
JM
118952013-03-04 Joseph Myers <joseph@codesourcery.com>
11896
11897 [BZ #13550]
11898 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11899 comment about bounded pointers.
11900 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11901 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11902
539d8e01
AJ
119032013-03-04 Andreas Jaeger <aj@suse.de>
11904
11905 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11906 common definitions.
11907
11908 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11909 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11910 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11911 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11912 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11914
2e167a70 119152013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11916
11917 [BZ #15055]
11918 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11919 __ieee754_sqrl instead of __sqrl.
11920
68508633
JM
119212013-03-01 Joseph Myers <joseph@codesourcery.com>
11922
11923 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11924 * sysdeps/powerpc/fpu_control.h: ... here.
11925 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11926 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11927 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11928 * sysdeps/powerpc/bits/mathinline.h: ... here.
11929
7775448e
RM
119302013-03-01 Roland McGrath <roland@hack.frob.com>
11931
11932 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11933 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11934 to just [NEED_DL_SYSINFO_DSO].
11935 * elf/dl-support.c: Likewise.
11936 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11937 * elf/rtld.c (dl_main): Likewise.
11938 * elf/setup-vdso.h (setup_vdso): Likewise.
11939 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11940 * sysdeps/unix/sysv/linux/dl-sysdep.c
11941 (_dl_discover_osversion): Likewise.
11942
4e9b5995
CD
119432013-03-01 Carlos O'Donell <carlos@redhat.com>
11944
11945 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11946 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11947
e23872c8
SP
119482013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11949
e5c74c63
SP
11950 * NEWS: Mention libm performance improvements and non-x86 PI
11951 futex support.
11952
e23872c8
SP
11953 * csu/libc-start.c (__pthread_initialize_minimal): Change
11954 function arguments.
11955 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11956
b5510883
JM
119572013-02-28 Joseph Myers <joseph@codesourcery.com>
11958
11959 [BZ #13550]
11960 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11961 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11962 <bp-sym.h> and <bp-asm.h>.
11963 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11964 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11965 and <bp-asm.h>.
11966 (memcpy): Don't use BP_SYM.
11967 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11968 <bp-asm.h>.
11969 (__mpn_add_n): Don't use BP_SYM.
11970 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11971 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11972 and <bp-asm.h>.
11973 (__mpn_addmul_1): Don't use BP_SYM.
11974 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11975 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11976 <bp-sym.h>.
11977 (_setjmp): Don't use BP_SYM.
11978 (__novmx_setjmp): Likewise.
11979 (__GI__setjmp): Likewise.
11980 (__vmx_setjmp): Likewise.
11981 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11982 <bp-sym.h>.
11983 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11984 (__bzero): Don't use BP_SYM.
11985 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11986 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11987 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11988 <bp-sym.h> and <bp-asm.h>.
11989 (memcpy): Don't use BP_SYM.
11990 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11991 <bp-sym.h> and <bp-asm.h>.
11992 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11993 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11994 <bp-sym.h> and <bp-asm.h>.
11995 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11996 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11997 <bp-asm.h>.
11998 (__mpn_lshift): Don't use BP_SYM.
11999 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12000 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12001 <bp-asm.h>.
12002 (memset): Don't use BP_SYM.
12003 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12004 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12005 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12006 <bp-asm.h>.
12007 (__mpn_mul_1): Don't use BP_SYM.
12008 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12009 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12010 <bp-sym.h> and <bp-asm.h>.
12011 (memcmp): Don't use BP_SYM.
12012 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12013 <bp-sym.h> and <bp-asm.h>.
12014 (memcpy): Don't use BP_SYM.
12015 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12016 <bp-sym.h> and <bp-asm.h>.
12017 (memset): Don't use BP_SYM.
12018 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12019 <bp-sym.h> and <bp-asm.h>.
12020 (strncmp): Don't use BP_SYM.
12021 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12022 <bp-sym.h> and <bp-asm.h>.
12023 (memcpy): Don't use BP_SYM.
12024 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12025 <bp-sym.h> and <bp-asm.h>.
12026 (memset): Don't use BP_SYM.
12027 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12028 <bp-sym.h> and <bp-asm.h>.
12029 (__memchr): Don't use BP_SYM.
12030 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12031 <bp-sym.h> and <bp-asm.h>.
12032 (memcmp): Don't use BP_SYM.
12033 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12034 <bp-sym.h> and <bp-asm.h>.
12035 (memcpy): Don't use BP_SYM.
12036 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12037 <bp-sym.h> and <bp-asm.h>.
12038 (__mempcpy): Don't use BP_SYM.
12039 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12040 <bp-sym.h> and <bp-asm.h>.
12041 (__memrchr): Don't use BP_SYM.
12042 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12043 <bp-sym.h> and <bp-asm.h>.
12044 (memset): Don't use BP_SYM.
12045 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12046 <bp-sym.h> and <bp-asm.h>.
12047 (__rawmemchr): Don't use BP_SYM.
12048 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12049 <bp-sym.h> and <bp-asm.h>.
12050 (__STRCMP): Don't use BP_SYM.
12051 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12052 <bp-sym.h> and <bp-asm.h>.
12053 (strchr): Don't use BP_SYM.
12054 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12055 <bp-sym.h> and <bp-asm.h>.
12056 (__strchrnul): Don't use BP_SYM.
12057 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12058 <bp-sym.h> and <bp-asm.h>.
12059 (strlen): Don't use BP_SYM.
12060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12061 <bp-sym.h> and <bp-asm.h>.
12062 (strncmp): Don't use BP_SYM.
12063 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12064 <bp-sym.h> and <bp-asm.h>.
12065 (__strnlen): Don't use BP_SYM.
12066 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12067 <bp-asm.h>.
12068 (__mpn_rshift): Don't use BP_SYM.
12069 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12070 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12071 <bp-sym.h> and <bp-asm.h>.
12072 (__sigsetjmp): Don't use BP_SYM.
12073 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12074 (L(start_addresses)): Don't use BP_SYM.
12075 (_start): Likewise.
12076 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12077 <bp-asm.h>.
12078 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12079 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12080 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12081 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12082 <bp-asm.h>.
12083 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12084 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12085 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12086 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12087 <bp-asm.h>.
12088 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12089 comments.
12090 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12091 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12092 <bp-asm.h>.
12093 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12094 FIXME comments.
12095 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12096 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12097 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12098 <bp-asm.h>.
12099 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12100 comment.
12101 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12102 and <bp-asm.h>.
12103 (strncmp): Don't use BP_SYM,
12104 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12105 <bp-asm.h>.
12106 (__mpn_sub_n): Don't use BP_SYM.
12107 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12108 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12109 and <bp-asm.h>.
12110 (__mpn_submul_1): Don't use BP_SYM.
12111 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12113 <bp-sym.h> and <bp-asm.h>.
12114 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12116 <bp-sym.h> and <bp-asm.h>.
12117 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12118 comment.
12119
8d19fe64
SP
121202013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12121
12122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12123 Use ZK to minimize writes to Z.
12124 (sub_magnitudes): Simplify code a bit.
12125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12126 Use ZK to minimize writes to Z.
12127 (sub_magnitudes): Simplify code a bit.
12128
85bd816a
RM
121292013-02-27 Roland McGrath <roland@hack.frob.com>
12130
12131 * csu/gmon-start.c: Add special exception to license text.
12132
b5977bf2
RH
121332013-02-27 Richard Henderson <rth@redhat.com>
12134
12135 * scripts/config.guess: Update from config.git.
12136 * scripts/config.sub: Likewise.
12137
11d6e2f2
SP
121382013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12139
09c14ed2
SP
12140 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12141
a688864e
SP
12142 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12143
6295157a
SP
12144 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12145
b8de2202
SP
12146 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12147
11d6e2f2
SP
12148 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12149
7e80ddb8
RM
121502013-02-26 Roland McGrath <roland@hack.frob.com>
12151
12152 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12153 [$(build-shared = yes].
7e80ddb8 12154
7da6d9ed
SP
121552013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12156
45f05884
SP
12157 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12158 (__mul): Reduce iterations for calculating mantissa.
12159
2236d359
SP
12160 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12161 MPTWO.
12162 (__mpranred): Likewise.
12163
7da6d9ed
SP
12164 [BZ #15160]
12165 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12166 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12167
b7688c42
PE
121682013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12169
12170 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12171 Define __attribute__.
12172
53a5c423
SP
121732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12174
12175 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12176 unused.
12177 * posix/regex_internal.h (__attribute): Remove.
12178 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12179 (re_string_context_at): Likewise.
12180 (bitset_not): Use __attribute__ and mark function as possibly
12181 unused.
12182 (bitset_merge): Likewise.
12183 (bitset_mask): Likewise.
12184 (re_string_char_size_at): Likewise.
12185 (re_string_wchar_at): Likewise.
12186 (re_string_elem_size_at): Likewise.
12187
60f5a8b5
SP
121882013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12189
2a983a2e
SP
12190 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12191 code.
12192 (cc32): Likewise.
12193
e69804d1
SP
12194 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12195 (__acr): Likewise.
12196 (__cpy): Likewise.
12197 (norm): Likewise.
12198 (denorm): Likewise.
12199 (__dbl_mp): Likewise.
12200 (add_magnitudes): Likewise.
12201 (sub_magnitudes): Likewise.
12202 (__mul): Likewise.
12203 (__inv): Likewise.
12204
2f22a1e8
SP
12205 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12206 style.
12207
8930ddc7
SP
12208 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12209 style.
12210
dc60cb11
SP
12211 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12212 code.
12213
60f5a8b5
SP
12214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12215 up changes with default code.
12216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12217 Likewise.
12218
b4d1fd33
AM
122192013-02-24 Allan McRae <allan@archlinux.org>
12220
faf6f8bc
AM
12221 * manual/socket.texi (The Internet Namespace): Order menu items
12222 to match that in the file.
12223
b4d1fd33
AM
12224 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12225 node listing of the info page menu.
12226
2366713d
JM
122272013-02-21 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #13550]
12230 * sysdeps/i386/bp-asm.h: Remove file.
12231 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12232 (PARMS): Do not use macros from bp-asm.h.
12233 (S1): Likewise.
12234 (S2): Likewise.
12235 (SIZE): Likewise.
12236 (__mpn_add_n): Do not use BP_SYM
12237 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12238 "bp-asm.h".
12239 (PARMS): Do not use macros from bp-asm.h.
12240 (S1): Likewise.
12241 (SIZE): Likewise.
12242 (__mpn_addmul_1): Do not use BP_SYM
12243 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12244 "bp-asm.h".
12245 (PARMS): Do not use macros from bp-asm.h.
12246 (SIGMSK): Likewise.
12247 (_setjmp): Likewise. Do not use BP_SYM.
12248 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12249 "bp-asm.h".
12250 (PARMS): Do not use macros from bp-asm.h.
12251 (SIGMSK): Likewise.
12252 (setjmp): Likewise. Do not use BP_SYM.
12253 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12254 "bp-asm.h".
12255 (PARMS): Do not use macros from bp-asm.h.
12256 (__frexp): Do not use BP_SYM.
12257 (frexp): Likewise.
12258 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12259 "bp-asm.h".
12260 (PARMS): Do not use macros from bp-asm.h.
12261 (__frexpf): Do not use BP_SYM.
12262 (frexpf): Likewise.
12263 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12264 "bp-asm.h".
12265 (PARMS): Do not use macros from bp-asm.h.
12266 (__frexpl): Do not use BP_SYM.
12267 (frexpl): Likewise.
12268 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12269 "bp-asm.h".
12270 (PARMS): Do not use macros from bp-asm.h.
12271 (__remquo): Do not use BP_SYM.
12272 (remquo): Likewise.
12273 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12274 "bp-asm.h".
12275 (PARMS): Do not use macros from bp-asm.h.
12276 (__remquof): Do not use BP_SYM.
12277 (remquof): Likewise.
12278 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12279 "bp-asm.h".
12280 (PARMS): Do not use macros from bp-asm.h.
12281 (__remquol): Do not use BP_SYM.
12282 (remquol): Likewise.
12283 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12284 "bp-asm.h".
12285 (PARMS): Do not use macros from bp-asm.h.
12286 (DEST): Likewise.
12287 (SRC): Likewise.
12288 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12289 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12290 "bp-asm.h".
12291 (PARMS): Do not use macros from bp-asm.h.
12292 (strlen): Do not use BP_SYM.
12293 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12294 "bp-asm.h".
12295 (PARMS): Do not use macros from bp-asm.h.
12296 (S1): Likewise.
12297 (S2): Likewise.
12298 (SIZE): Likewise.
12299 (__mpn_add_n): Do not use BP_SYM.
12300 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12301 "bp-asm.h".
12302 (PARMS): Do not use macros from bp-asm.h.
12303 (S1): Likewise.
12304 (SIZE): Likewise.
12305 (__mpn_addmul_1): Do not use BP_SYM.
12306 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12307 weak_alias.
12308 (bzero): Likewise.
12309 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12310 "bp-asm.h".
12311 (PARMS): Do not use macros from bp-asm.h.
12312 (S): Likewise.
12313 (SIZE): Likewise.
12314 (__mpn_lshift): Do not use BP_SYM.
12315 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12316 "bp-asm.h".
12317 (PARMS): Do not use macros from bp-asm.h.
12318 (DEST): Likewise.
12319 (SRC): Likewise.
12320 (LEN): Likewise.
12321 (memcpy): Likewise. Do not use BP_SYM.
12322 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12323 libc_hidden_def and weak_alias.
12324 (mempcpy): Do not use BP_SYM in weak_alias.
12325 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12326 "bp-asm.h".
12327 (PARMS): Do not use macros from bp-asm.h.
12328 (DEST): Likewise.
12329 (LEN): Likewise.
12330 [!BZERO_P] (CHR): Likewise.
12331 (memset): Likewise. Do not use BP_SYM.
12332 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12333 "bp-asm.h".
12334 (PARMS): Do not use macros from bp-asm.h.
12335 (S1): Likewise.
12336 (SIZE): Likewise.
12337 (__mpn_mul_1): Do not use BP_SYM.
12338 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12339 "bp-asm.h".
12340 (PARMS): Do not use macros from bp-asm.h.
12341 (S): Likewise.
12342 (SIZE): Likewise.
12343 (__mpn_rshift): Do not use BP_SYM.
12344 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12345 "bp-asm.h".
12346 (PARMS): Do not use macros from bp-asm.h.
12347 (STR): Likewise.
12348 (CHR): Likewise.
12349 (strchr): Likewise. Do not use BP_SYM.
12350 (index): Do not use BP_SYM in weak_alias.
12351 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12352 "bp-asm.h".
12353 (PARMS): Do not use macros from bp-asm.h.
12354 (DEST): Likewise.
12355 (SRC): Likewise.
12356 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12357 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12358 "bp-asm.h".
12359 (PARMS): Do not use macros from bp-asm.h.
12360 (strlen): Do not use BP_SYM.
12361 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12362 "bp-asm.h".
12363 (PARMS): Do not use macros from bp-asm.h.
12364 (S1): Likewise.
12365 (S2): Likewise.
12366 (SIZE): Likewise.
12367 (__mpn_sub_n): Do not use BP_SYM.
12368 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12369 "bp-asm.h".
12370 (PARMS): Do not use macros from bp-asm.h.
12371 (S1): Likewise.
12372 (SIZE): Likewise.
12373 (__mpn_submul_1): Do not use BP_SYM.
12374 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12375 "bp-asm.h".
12376 (PARMS): Do not use macros from bp-asm.h.
12377 (S1): Likewise.
12378 (S2): Likewise.
12379 (SIZE): Likewise.
12380 (__mpn_add_n): Do not use BP_SYM.
12381 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12382 weak_alias.
12383 (bzero): Likewise.
12384 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12385 "bp-asm.h".
12386 (PARMS): Do not use macros from bp-asm.h.
12387 (BLK2): Likewise.
12388 (LEN): Likewise.
12389 (memcmp): Do not use BP_SYM.
12390 (bcmp): Do not use BP_SYM in weak_alias.
12391 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12392 "bp-asm.h".
12393 (PARMS): Do not use macros from bp-asm.h.
12394 (DEST): Likewise.
12395 (SRC): Likewise.
12396 (LEN): Likewise.
12397 (memcpy): Likewise. Do not use BP_SYM.
12398 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12399 "bp-asm.h".
12400 (PARMS): Do not use macros from bp-asm.h.
12401 (DEST): Likewise.
12402 (SRC): Likewise.
12403 (LEN): Likewise.
12404 (memmove): Likewise. Do not use BP_SYM.
12405 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12406 "bp-asm.h".
12407 (PARMS): Do not use macros from bp-asm.h.
12408 (DEST): Likewise.
12409 (SRC): Likewise.
12410 (LEN): Likewise.
12411 (__mempcpy): Likewise. Do not use BP_SYM.
12412 (mempcpy): Do not use BP_SYM in weak_alias.
12413 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12414 "bp-asm.h".
12415 (PARMS): Do not use macros from bp-asm.h.
12416 (DEST): Likewise.
12417 (LEN): Likewise.
12418 [!BZERO_P] (CHR): Likewise.
12419 (memset): Likewise. Do not use BP_SYM.
12420 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12421 "bp-asm.h".
12422 (PARMS): Do not use macros from bp-asm.h.
12423 (STR2): Likewise.
12424 (strcmp): Do not use BP_SYM.
12425 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12426 "bp-asm.h".
12427 (PARMS): Do not use macros from bp-asm.h.
12428 (STR): Likewise.
12429 (DELIM): Likewise.
12430 [USE_AS_STRTOK_R] (SAVE): Likewise.
12431 (FUNCTION): Likewise. Do not use BP_SYM.
12432 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12433 aliases.
12434 (strtok_r): Likewise.
12435 (__GI___strtok_r): Likewise.
12436 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12437 (PARMS): Do not use macros from bp-asm.h.
12438 (S): Likewise.
12439 (SIZE): Likewise.
12440 (__mpn_lshift): Do not use BP_SYM.
12441 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12442 (PARMS): Do not use macros from bp-asm.h.
12443 (STR): Likewise.
12444 (CHR): Likewise.
12445 (__memchr): Do not use BP_SYM.
12446 (memchr): Do not use BP_SYM in weak_alias.
12447 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12448 (PARMS): Do not use macros from bp-asm.h.
12449 (BLK2): Likewise.
12450 (LEN): Likewise.
12451 (memcmp): Do not use BP_SYM.
12452 (bcmp): Do not use BP_SYM in weak_alias.
12453 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12454 (PARMS): Do not use macros from bp-asm.h.
12455 (S1): Likewise.
12456 (SIZE): Likewise.
12457 (__mpn_mul_1): Do not use BP_SYM.
12458 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12459 "bp-asm.h".
12460 (PARMS): Do not use macros from bp-asm.h.
12461 (STR): Likewise.
12462 (CHR): Likewise.
12463 (__rawmemchr): Do not use BP_SYM.
12464 (rawmemchr): Do not use BP_SYM in weak_alias.
12465 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12466 (PARMS): Do not use macros from bp-asm.h.
12467 (S): Likewise.
12468 (SIZE): Likewise.
12469 (__mpn_rshift): Do not use BP_SYM.
12470 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12471 (PARMS): Do not use macros from bp-asm.h.
12472 (SIGMSK): Likewise.
12473 (__sigsetjmp): Likewise. Do not use BP_SYM.
12474 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12475 (_start): Do not use BP_SYM.
12476 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12477 (PARMS): Do not use macros from bp-asm.h.
12478 (DEST): Likewise.
12479 (SRC): Likewise.
12480 (__stpcpy): Likewise. Do not use BP_SYM.
12481 (stpcpy): Do not use BP_SYM in weak_alias.
12482 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12483 "bp-asm.h".
12484 (PARMS): Do not use macros from bp-asm.h.
12485 (DEST): Likewise.
12486 (SRC): Likewise.
12487 (LEN): Likewise.
12488 (__stpncpy): Likewise. Do not use BP_SYM.
12489 (stpncpy): Do not use BP_SYM in weak_alias.
12490 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12491 (PARMS): Do not use macros from bp-asm.h.
12492 (STR): Likewise.
12493 (CHR): Likewise.
12494 (strchr): Likewise. Do not use BP_SYM.
12495 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12496 "bp-asm.h".
12497 (PARMS): Do not use macros from bp-asm.h.
12498 (STR): Likewise.
12499 (CHR): Likewise.
12500 (__strchrnul): Likewise. Do not use BP_SYM.
12501 (strchrnul): Do not use BP_SYM in weak_alias.
12502 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12503 "bp-asm.h".
12504 (PARMS): Do not use macros from bp-asm.h.
12505 (STOP): Likewise.
12506 (strcspn): Do not use BP_SYM.
12507 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12508 "bp-asm.h".
12509 (PARMS): Do not use macros from bp-asm.h.
12510 (STR): Likewise.
12511 (STOP): Likewise.
12512 (strpbrk): Likewise. Do not use BP_SYM.
12513 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12514 "bp-asm.h".
12515 (PARMS): Do not use macros from bp-asm.h.
12516 (STR): Likewise.
12517 (CHR): Likewise.
12518 (strrchr): Likewise. Do not use BP_SYM.
12519 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12520 (PARMS): Do not use macros from bp-asm.h.
12521 (SKIP): Likewise.
12522 (strspn): Do not use BP_SYM.
12523 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12524 (PARMS): Do not use macros from bp-asm.h.
12525 (STR): Likewise.
12526 (DELIM): Likewise.
12527 (SAVE): Likewise.
12528 (FUNCTION): Likewise. Do not use BP_SYM.
12529 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12530 aliases.
12531 (strtok_r): Likewise.
12532 (__GI___strtok_r): Likewise.
12533 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12534 (PARMS): Do not use macros from bp-asm.h.
12535 (S1): Likewise.
12536 (S2): Likewise.
12537 (SIZE): Likewise.
12538 (__mpn_sub_n): Do not use BP_SYM.
12539 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12540 "bp-asm.h".
12541 (PARMS): Do not use macros from bp-asm.h.
12542 (S1): Likewise.
12543 (SIZE): Likewise.
12544 (__mpn_submul_1): Do not use BP_SYM.
12545 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12546 <bp-sym.h>.
12547 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12548 and <bp-asm.h>.
12549 (PARMS): Do not use macros from bp-asm.h.
12550 (FLAGS): Likewise.
12551 (PTID): Likewise.
12552 (TLS): Likewise.
12553 (CTID): Likewise.
12554 (__clone): Do not use BP_SYM.
12555 (clone): Do not use BP_SYM in weak_alias.
12556 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12557 and <bp-asm.h>.
12558 (PARMS): Do not use macros from bp-asm.h.
12559 (LEN): Likewise.
12560 (__mmap64): Do not use BP_SYM.
12561 (mmap64): Do not use BP_SYM in weak_alias.
12562 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12563 <bp-sym.h> and <bp-asm.h>.
12564 (PARMS): Do not use macros from bp-asm.h.
12565 (__posix_fadvise64_l64): Do not use BP_SYM.
12566 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12567 (PARMS): Do not use macros from bp-asm.h.
12568 (NSOPS): Likewise.
12569 (semtimedop): Do not use BP_SYM.
12570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12571 and <bp-asm.h>.
12572
582a3cff
AM
125732013-02-21 Allan McRae <allan@archlinux.org>
12574
12575 * manual/message.texi (Charset conversion in gettext):
12576 Move @end statement to beginning of line.
12577
bab8a695
SP
125782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12579
80945231
SP
12580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12581 static.
12582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12583 Likewise.
12584
bab8a695
SP
12585 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12586 (denorm): Likewise.
12587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12589
e21d7aa7
AK
125902013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12591
12592 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12593 tail-call to the resolved function if pltexit isn't needed.
12594
4c7a4263
SP
125952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12596
12597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12598 or Y being zero as being unlikely.
12599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12600 Likewise.
12601
41f49342
CD
126022013-02-20 Carlos O'Donell <carlos@redhat.com>
12603
12604 * manual/nss.texi (System Databases and Name Service Switch):
12605 Remove frobnicate @pxref.
12606
50022a93
TS
126072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12608
12609 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12610 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12611
08cbd996
PM
126122013-02-20 Petr Machata <pmachata@redhat.com>
12613
12614 * elf/elf.h (R_ARM_TARGET1): New macro.
12615 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12616 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12617 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12618 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12619 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12620 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12621 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12622 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12623 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12624 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12625 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12626 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12627 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12628 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12629 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12630 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12631 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12632 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12633 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12634 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12635 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12636 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12637 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12638 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12639 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12640 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12641 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12642 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12643 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12644 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12645 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12646 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12647 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12648 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12649 (R_ARM_THM_GOT_BREL12): Likewise.
12650 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12651 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12652 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12653 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12654 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12655 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12656 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12657 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12658 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12659
c7b275d6
TS
126602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12661
12662 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12663 __attribute_used__ to __attribute__ ((unused)).
12664
20cd7fb3
SP
126652013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12666
12667 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12668 powerpc mpa.c.
12669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12670 comment formatting.
12671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12672
92945b52
JM
126732013-02-19 Joseph Myers <joseph@codesourcery.com>
12674
12675 [BZ #13550]
12676 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12677 Remove macro.
12678 (ENTER): Remove both macro definitions.
12679 (LEAVE): Likewise.
12680 (CHECK_BOUNDS_LOW): Likewise.
12681 (CHECK_BOUNDS_HIGH): Likewise.
12682 (CHECK_BOUNDS_BOTH): Likewise.
12683 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12684 (RETURN_BOUNDED_POINTER): Likewise.
12685 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12686 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12687 (POP_ERRNO_LOCATION_RETURN): Likewise.
12688 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12689 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12690 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12691 macros.
12692 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12693 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12694 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12695 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12696 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12697 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12698 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12699 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12700 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12701 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12702 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12703 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12704 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12705 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12706 removed macros.
12707 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12708 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12709 macros.
12710 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12711 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12712 * sysdeps/i386/i586/memset.S (memset): Likewise.
12713 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12714 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12715 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12716 macros.
12717 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12718 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12719 Change uses of L(2) to L(out).
12720 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12721 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12722 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12723 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12724 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12725 removed macros.
12726 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12727 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12728 macros.
12729 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12730 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12731 (RETURN): Do not use macro LEAVE.
12732 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12733 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12734 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12735 * sysdeps/i386/i686/memset.S (memset): Likewise.
12736 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12737 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12738 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12739 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12740 Likewise.
12741 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12742 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12743 L(1_2) and L(1_3) into L(1).
12744 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12745 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12746 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12747 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12748 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12749 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12750 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12751 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12752 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12753 macros.
12754 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12755 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12756 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12757 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12758 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12759 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12760 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12761 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12762 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12763 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12764 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12765 * sysdeps/i386/strspn.S (strspn): Likewise.
12766 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12767 conditional code.
12768 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12769 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12770 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12771 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12772 L(1_3) into L(1_1).
12773 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12774 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12775 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12776 macros.
12777 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12778
2389741a
JJ
127792013-02-19 Jakub Jelinek <jakub@redhat.com>
12780
12781 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12782 macro.
12783
2016b3cd
SP
127842013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12785
e4f22324
SP
12786 * math/atest-exp.c (exp_mpn): Remove ROUND.
12787 * math/atest-exp2.c (exp_mpn): Likewise.
12788 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12789
2016b3cd
SP
12790 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12791 * stdlib/tst-tls-atexit-lib.c: Likewise.
12792 * stdlib/tst-tls-atexit.c: Likewise.
12793
4be9b544
MF
127942013-02-18 Mike Frysinger <vapier@gentoo.org>
12795
12796 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12797 and __attribute_alloc_size__.
12798
2f62b9ee
MF
127992013-02-18 Mike Frysinger <vapier@gentoo.org>
12800
12801 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12802 __attribute_alloc_size__.
12803 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12804 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12805
6ff444c4
MF
128062013-02-18 Mike Frysinger <vapier@gentoo.org>
12807
12808 * include/programs/xmalloc.h: New file.
12809 * catgets/gencat.c: Include it.
12810 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12811 * elf/pldd.c: Likewise.
12812 * iconv/iconv_charmap.c: Likewise.
12813 * iconv/iconvconfig.c: Likewise.
12814 * iconv/strtab.c: Likewise.
12815 * locale/programs/locale.c: Likewise.
12816 * locale/programs/localedef.h: Likewise.
12817 * locale/programs/simple-hash.c: Likewise.
12818 * nscd/nscd.h: Likewise.
12819 * nss/makedb.c: Likewise.
12820 * sysdeps/generic/ldconfig.h: Likewise.
12821
be179c8a
SP
128222013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12823
ba384f6e
SP
12824 * Versions.def: Add GLIBC_2.18.
12825 * include/link.h (struct link_map): New member l_tls_dtor_count.
12826 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12827 (__call_tls_dtors): Likewise.
12828 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12829 __cxa_thread_atexit_impl.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12831 Likewise.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12833 Likewise.
12834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12835 Likewise.
12836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12837 Likewise.
12838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12840 Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12842 Likewise.
12843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12845 Likewise.
12846 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12847 (tests): Add test case tst-tls-atexit.
12848 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12849 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12850 (GLIBC_PRIVATE): Add __call_tls_dtors.
12851 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12852 for libstdc++.
12853 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12854 * stdlib/tst-tls-atexit.c: New test case.
12855 * stdlib/tst-tls-atexit-lib.c: New test case.
12856
ffaa74cf 12857 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12858
be179c8a
SP
12859 * elf/Versions (ld): Add _dl_find_dso_for_object.
12860 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12861 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12862 (dl_open_worker): Use _dl_find_dso_for_object.
12863 * elf/dl-sym.c (do_sym): Likewise.
12864 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12865
f78b5caa
AK
128662013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12867
12868 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12869 Syntactic changes only.
12870 (_dl_runtime_profile): Do a tail-call to the resolved function.
12871
29691210
JM
128722013-02-17 Joseph Myers <joseph@codesourcery.com>
12873
12874 [BZ #13550]
12875 * sysdeps/x86_64/bp-asm.h: Remove file.
12876 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12877 <bp-sym.h> and <bp-asm.h>.
12878 (__clone): Do not use BP_SYM.
12879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12880 <bp-sym.h> and <bp-asm.h>.
12881 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12882 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12883 "bp-asm.h".
12884 (_setjmp): Do not use BP_SYM.
12885 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12886 "bp-asm.h".
12887 (setjmp): Do not use BP_SYM.
12888 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12889 libc_hidden_def.
12890 (mempcpy): Do not use BP_SYM in weak_alias.
12891 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12892 "bp-asm.h".
12893 (strchr): Do not use BP_SYM.
12894 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12895 "bp-asm.h".
12896 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12897 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12898 (_start): Do not use BP_SYM.
12899 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12900 "bp-asm.h".
12901 (strcat): Do not use BP_SYM.
12902 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12903 "bp-asm.h".
12904 (STRCMP): Do not use BP_SYM.
12905 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12906 "bp-asm.h".
12907 (STRCPY): Do not use BP_SYM.
12908 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12909 "bp-asm.h".
12910 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12911 "bp-asm.h".
12912 (FUNCTION): Do not use BP_SYM.
12913 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12914 weak_alias.
12915 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12916
f238fd19
AJ
129172013-02-17 Andreas Jaeger <aj@suse.de>
12918
12919 * time/Versions: Sort entries.
12920 * string/Versions: Likewise.
12921 * resolv/Versions: Likewise.
12922 * posix/Versions: Likewise.
12923 * iconv/Versions: Likewise.
12924 * elf/Versions: Likewise.
12925 * wcsmbs/Versions: Likewise.
12926
bd07f23c 129272013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12928
22af19f9
SP
12929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12930 loop termination condition.
12931
4709fe76
SP
12932 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12933 variable to calculate EZ.
12934 (__sqr): Likewise.
2d0e0f29
SP
12935
12936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12937 the lower precision input.
12938
daaa7713
JM
129392013-02-15 Joseph Myers <joseph@codesourcery.com>
12940
12941 [BZ #13550]
12942 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12943 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12944 (run-via-rtld-prefix): Do not handle %-bp tests.
12945 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12946 (all-object-suffixes): Remove .ob.
12947 (bppfx): Remove variable.
12948 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12949 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12950 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12951 [$(build-bounded) = yes] (libtype.ob): Likewise.
12952 * Makerules (elide-routines.ob): Remove variable.
12953 (do-tests-clean): Do not handle *-bp.out.
12954 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12955 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12956 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12957 (tests): Do not include $(tests-bp.out).
12958 (xtests): Do not include $(xtests-bp.out).
12959 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12960 [$(build-bounded) = yes] ($(addprefix
12961 $(objpfx),$(binaries-bounded))): Remove rule.
12962 ($(objpfx)%-bp.out): Remove rule.
12963 * config.make.in (build-bounded): Remove variable.
12964 * crypt/Makefile [$(build-bounded) = yes]
12965 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12966 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12967 append to variable.
12968 [$(build-bounded) = yes] (install-lib): Likewise.
12969 [$(build-bounded) = yes] (generated): Likewise.
12970 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12971 Remove rule.
12972 * intl/Makefile [$(build-bounded) = yes]
12973 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12974 * math/Makefile [$(build-bounded) = yes]
12975 ($(tests:%=$(objpfx)%-bp): Likewise.
12976 * misc/Makefile [$(build-bounded) = yes]
12977 ($(objpfx)tst-tsearch-bp): Likewise.
12978 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12979 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12980 Remove dependency.
12981 * string/Makefile (o-objects.ob): Remove variable.
12982 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12983 (CFLAGS-.ob): Remove variable.
12984 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12985 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12986 both definitions of variable.
12987 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12988 (ASFLAGS-.ob): Remove variable.
12989
e97ed6dd
JM
129902013-02-14 Joseph Myers <joseph@codesourcery.com>
12991
2bdd4ca6
JM
12992 [BZ #13550]
12993 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12994 Remove __BOUNDED_POINTERS__ from condition.
12995 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12996 * string/bits/string2.h [!__NO_STRING_INLINES &&
12997 !__BOUNDED_POINTERS__]: Likewise.
12998 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12999 Likewise.
13000 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13001 Remove conditional code.
13002 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13003 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13004 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13005 condition.
13006
e97ed6dd
JM
13007 [BZ #13550]
13008 * csu/libc-start.c: Do not include <bp-sym.h>.
13009 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13010 * elf/dl-open.c: Do not include <bp-sym.h>.
13011 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13012 * math/fegetenv.c: Do not include <bp-sym.h>.
13013 (fegetenv): Do not use BP_SYM in versioned symbols.
13014 * nptl/sysdeps/pthread/bits/libc-lockP.h
13015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13016 <bp-sym.h>.
13017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13018 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13020 (__pthread_mutex_destroy): Likewise.
13021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13022 (__pthread_mutex_lock): Likewise.
13023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13024 (__pthread_mutex_trylock): Likewise.
13025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13026 (__pthread_mutex_unlock): Likewise.
13027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13028 (__pthread_mutexattr_init): Likewise.
13029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13030 (__pthread_mutexattr_destroy): Likewise.
13031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13032 (__pthread_mutexattr_settype): Likewise.
13033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13034 (__pthread_rwlock_init): Likewise.
13035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13036 (__pthread_rwlock_destroy): Likewise.
13037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13038 (__pthread_rwlock_rdlock): Likewise.
13039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13040 (__pthread_rwlock_tryrdlock): Likewise.
13041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13042 (__pthread_rwlock_wrlock): Likewise.
13043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13044 (__pthread_rwlock_trywrlock): Likewise.
13045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13046 (__pthread_rwlock_unlock): Likewise.
13047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13048 (__pthread_key_create): Likewise.
13049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13050 (__pthread_setspecific): Likewise.
13051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13052 (__pthread_getspecific): Likewise.
13053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13054 Likewise.
13055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13056 (_pthread_cleanup_push_defer): Likewise.
13057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13058 (_pthread_cleanup_pop_restore): Likewise.
13059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13060 (pthread_setcancelstate): Likewise.
13061 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13062 <bp-sym.h>.
13063 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13064 (memchr): Do not use BP_SYM in weak_alias.
13065 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13066 (fegetenv): Do not use BP_SYM in versioned symbols.
13067 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13068 (fesetenv): Do not use BP_SYM in versioned symbols.
13069 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13070 (feupdateenv): Do not use BP_SYM in versioned symbols.
13071 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13072 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13073 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13074 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13075 (open64): Do not use BP_SYM in weak_alias.
13076 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13077 (fegetenv): Do not use BP_SYM in versioned symbols.
13078 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13079 (fesetenv): Do not use BP_SYM in versioned symbols.
13080 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13081 (feupdateenv): Do not use BP_SYM in versioned symbols.
13082 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13083 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13084 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13085 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13086 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13087 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13088 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13089 <bp-sym.h>.
13090 (__libc_start_main): Do not use BP_SYM.
13091
d6752ccd
SP
130922013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13093
cb57ce60
SP
13094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13095 redundant return line.
13096 (norm): Likewise.
13097 (denorm): Likewise.
13098 (dbl_mp): Likewise.
13099 (sub_magnitudes): Likewise.
13100 (__add): Likewise.
13101 (__sub): Likewise.
13102 (__mul): Likewise.
13103 (__inv): Likewise.
13104 (__dvd): Likewise.
13105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13106 (norm): Likewise.
13107 (denorm): Likewise.
13108 (dbl_mp): Likewise.
13109 (sub_magnitudes): Likewise.
13110 (__add): Likewise.
13111 (__sub): Likewise.
13112 (__mul): Likewise.
13113 (__inv): Likewise.
13114 (__dvd): Likewise.
13115
f414520d
SP
13116 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13117 instead of __mul.
13118 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13119 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13120 (cc32): Likewise.
13121
d6752ccd
SP
13122 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13123 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13125 of __mul for squares.
13126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13127 function
13128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13129 Likewise.
13130 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13131 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13132
70d9946a
JM
131332013-02-13 Joseph Myers <joseph@codesourcery.com>
13134
13135 [BZ #13550]
13136 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13137 code.
13138 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13139 prototype or function definition. Rename ubp_* variables and
13140 parameters. Remove argv definitions conditional on
13141 [__BOUNDED_POINTERS__].
13142 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13143 * elf/dl-runtime.c (_dl_fixup): Likewise.
13144 * include/set-hooks.h (RUN_HOOK): Likewise.
13145 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13146 definition.
13147 * string/strcpy.c (strcpy): Do not use __unbounded.
13148 * sysdeps/generic/frame.h (struct layout): Likewise.
13149 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13150 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13151 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13152 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13153 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13154 (__backtrace): Likewise.
13155 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13156 use __ptrvalue.
13157 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13158 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13159 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13160 Likewise.
13161 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13162 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13163 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13164 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13165 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13166 Do not use __unbounded.
13167 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13168 Rename __unboundedrlimits parameter to rlimits in prototype.
13169 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13170 Do not use __unbounded.
13171 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13172 not use __ptrvalue.
13173 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13174 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13175 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13176 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13177 __ptrvalue or __unbounded.
13178 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13179 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13180 use __unbounded.
13181 (__new_msgctl): Do not use __ptrvalue.
13182 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13183 __unbounded.
13184 (__libc_msgrcv): Do not use __ptrvalue.
13185 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13186 startup_info): Do not use __unbounded.
13187 (__libc_start_main): Likewise. Rename ubp_* variables and
13188 parameters. Remove argv definitions conditional on
13189 [__BOUNDED_POINTERS__].
13190 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13191 __ptrvalue.
13192 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13193 use __unbounded.
13194 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13195 or __ptrvalue.
13196 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13197 use __unbounded.
13198 (__new_shmctl): Do not use __ptrvalue.
13199 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13200 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13204 (__libc_sigaction): Likewise.
13205 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13206 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13207 Likewise.
13208 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13209
cc7834d6
OB
132102013-02-13 Ondřej Bílka <neleai@seznam.cz>
13211
ffb1ec7b 13212 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13213
13214 * string/mempcpy.c: Implement by calling memcpy.
13215
bdf02814
SP
132162013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13217
c2af38aa
SP
13218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13219
4e92d59e
SP
13220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13221 evaluation.
13222
909279a5
SP
13223 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13224 values in the mantissa.
13225
bdf02814
SP
13226 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13227 minimize writes to Z.
13228 (sub_magnitudes): Simplify code a bit.
13229
cd525923
RM
132302013-02-12 Roland McGrath <roland@hack.frob.com>
13231
13232 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13233 from the message. The linker prefixes all warnings with that already.
13234
7e2f0d2d
AS
132352013-02-12 Andreas Schwab <schwab@suse.de>
13236
a445af0b
AS
13237 [BZ #15078]
13238 * posix/regexec.c (extend_buffers): Add parameter min_len.
13239 (check_matching): Pass minimum needed length.
13240 (clean_state_log_if_needed): Likewise.
13241 (get_subexp): Likewise.
13242 * posix/Makefile (tests): Add bug-regex34.
13243 (bug-regex34-ENV): Define.
13244 * posix/bug-regex34.c: New file.
13245
7e2f0d2d
AS
13246 [BZ #11561]
13247 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13248 elements compare against the byte sequence of it, not its name.
13249 * posix/Makefile (tests): Add bug-regex35.
13250 (bug-regex35-ENV): Define.
13251 * posix/bug-regex35.c: New file.
13252
a175b684
TV
132532013-02-11 Tom de Vries <tom@codesourcery.com>
13254
13255 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13256 comment.
13257 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13258 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13259 (CHECK_EOL): Add undef.
13260
310998fe 132612013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13262
13263 * bits/stdlib-bsearch.h: New file.
13264 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13265 * stdlib/stdlib.h: Likewise.
41eda41d 13266
8ded91fb
RM
132672013-02-11 Roland McGrath <roland@hack.frob.com>
13268
13269 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13270 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13271 declaration.
13272 * manual/search.texi (Array Search Function): Add missing const in
13273 lfind prototype.
13274 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13275 declaration to use rlim_t.
13276 (Basic Scheduling Functions): Remove erroneous const from
13277 sched_getparam prototype. Remove erroneous * from
13278 sched_get_priority_max and sched_get_priority_min prototypes.
13279 (Resource Usage): Fix summary @comment on vtimes to refer to
13280 sys/vtimes.h rather than vtimes.h.
13281 Add missing *s in vtimes prototype.
13282 (Limits on Resources): Fix ulimit prototype to return long int.
13283 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13284 prototypes to use long int rather than double.
13285 (BSD Random): Fix initstate and setstate to use char *, not void *.
13286 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13287 prototype to make second argument 'struct aiocb64 *const[]'.
13288 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13289 (Status of AIO Operations): Remove erroneous const in aio_return and
13290 aio_return64 prototypes.
13291 (Synchronizing I/O): Fix sync prototype to return void.
13292 * manual/startup.texi (Suboptions): Remove an erroneous const in
13293 getsubopt prototype.
13294 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13295 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13296 use size_t rather than int.
13297 (Scanning All Users): Likewise for getpwent_r.
13298 (Setting Groups): Add missing const to setgroups prototype.
13299 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13300 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13301 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13302 'const void *' rather than 'const char *'.
13303 (Host Address Functions): Likewise for inet_ntop.
13304 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13305 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13306 ssize_t for return value.
13307 (Sending Data): Likewise for send, sendto, sendmsg.
13308 (Socket Option Functions): Add a missing const in setsockopt prototype.
13309 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13310 use wchar_t for the argument.
13311 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13312 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13313 take no arguments.
13314 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13315 double/float/long double for second argument.
13316 Fix return types of significand, significandf, significandl.
13317 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13318 argument in fchmod prototype.
13319 (File Owner): Use uid_t and gid_t in fchown prototype.
13320 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13321 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13322 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13323 use 'const struct dirent **' as argument types to CMP function pointer
13324 argument.
13325 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13326 (File Times): Fix summary magic @comment for struct utimbuf and utime
13327 to refer to utime.h, not time.h.
13328 * manual/string.texi (Argz Functions): Add missing const in
13329 argz_extract and argz_next prototypes.
13330 (Finding Tokens in a String): Likewise for basename.
13331 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13332 (Copying and Concatenation): Fix typo in wmemmove prototype.
13333 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13334 (Signal Stack): Remove erroneous const in sigstack prototype.
13335 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13336 prototype.
13337 (Simple Calendar Time): Likewise for stime.
13338 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13339 prototype.
13340 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13341 say sys/sysctl.h instead.
13342 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13343 and vsyslog prototypes.
13344
fe77fe6d
TV
133452013-02-11 Tom de Vries <tom@codesourcery.com>
13346
13347 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13348 Remove.
13349
3a09b620
RM
133502013-02-11 Roland McGrath <roland@hack.frob.com>
13351
13352 * misc/sys/mman.h: Fix typo in mremap comment.
13353
550a0b89
RM
133542013-02-08 Roland McGrath <roland@hack.frob.com>
13355
13356 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13357 the '\0' terminator.
13358
a2da1673
JM
133592013-02-08 Joseph Myers <joseph@codesourcery.com>
13360
13361 [BZ #13550]
13362 * debug/segfault.c: Don't include <bp-checks.h>.
13363 * sysdeps/generic/bp-checks.h: Remove file.
13364 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13365 (__GETDENTS): Don't use CHECK_N.
13366 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13367 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13368 (__getgroups): Don't use CHECK_N.
13369 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13370 (setgroups): Don't use CHECK_N.
13371 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13372 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13373 (__libc_msgrcv): Don't use CHECK_N.
13374 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13375 (__libc_msgsnd): Don't use CHECK_N.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13377 <bp-checks.h>.
13378 (__libc_pread): Don't use CHECK_N.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13380 include <bp-checks.h>.
13381 (__libc_pread64): Don't use CHECK_N.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13383 include <bp-checks.h>.
13384 (__libc_pwrite): Don't use CHECK_N.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13386 include <bp-checks.h>.
13387 (__libc_pwrite64): Don't use CHECK_N.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13389 <bp-checks.h>.
13390 (__libc_pread): Don't use CHECK_N.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13392 include <bp-checks.h>.
13393 (__libc_pread64): Don't use CHECK_N.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13395 include <bp-checks.h>.
13396 (__libc_pwrite): Don't use CHECK_N.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13398 include <bp-checks.h>.
13399 (__libc_pwrite64): Don't use CHECK_N.
13400 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13401 (do_pread): Don't use CHECK_N.
13402 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13403 (do_pread64): Don't use CHECK_N.
13404 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13405 (do_pwrite): Don't use CHECK_N.
13406 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13407 (do_pwrite64): Don't use CHECK_N.
13408 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13409 (__libc_readv): Don't use CHECK_N.
13410 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13411 (semop): Don't use CHECK_N.
13412 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13413 <bp-checks.h>.
13414 (semtimedop): Don't use CHECK_N.
13415 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13416 (__libc_pread): Don't use CHECK_N.
13417 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13418 <bp-checks.h>.
13419 (__libc_pread64): Don't use CHECK_N.
13420 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13421 <bp-checks.h>.
13422 (__libc_pwrite): Don't use CHECK_N.
13423 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13424 <bp-checks.h>.
13425 (__libc_pwrite64): Don't use CHECK_N.
13426 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13427 <bp-checks.h>.
13428 (__libc_msgrcv): Don't use CHECK_N.
13429 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13430 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13431 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13432 (__libc_writev): Don't use CHECK_N.
13433
b84660a8
RM
134342013-02-08 Roland McGrath <roland@hack.frob.com>
13435
7f3e75f8
RM
13436 * string/strcpy.c: Removed unused variable.
13437
b84660a8
RM
13438 * Makeconfig (+sysdep-includes): Define with := rather than =.
13439 Use an existing include/ subdir of each sysdeps dir before it.
13440
471514d3
CD
134412013-02-08 Carlos O'Donell <carlos@redhat.com>
13442
13443 * nscd/connection.c (register_traced_file): Comment function.
13444 [HAVE_INOTIFY] (union __inev): Define.
13445 [HAVE_INOTIFY] (inotify_check_files): New function.
13446 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13447 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13448 clear_db_cache.
13449 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13450
b2d3c3be
CD
134512013-02-08 Carlos O'Donell <carlos@redhat.com>
13452
13453 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13454 loaded if not already and that a failure is permanent.
13455
b39949d2
CD
134562013-02-08 Carlos O'Donell <carlos@redhat.com>
13457
ddacd1db 13458 [BZ #15006]
b39949d2
CD
13459 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13460 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13461
b2c9eff4
JM
134622013-02-08 Joseph Myers <joseph@codesourcery.com>
13463
f3aae3f3
JM
13464 [BZ #13550]
13465 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13466 (CHECK_1_NULL_OK): Likewise.
13467 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13468 (__fxstat): Do not use CHECK_1.
13469 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13470 <bp-checks.h>.
13471 (___fxstat64): Do not use CHECK_1.
13472 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13473 <bp-checks.h>.
13474 (__fxstatat): Do not use CHECK_1.
13475 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13476 <bp-checks.h>.
13477 (__fxstatat64): Do not use CHECK_1.
13478 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13479 <bp-checks.h>.
13480 (__fxstat): Do not use CHECK_1.
13481 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13482 <bp-checks.h>.
13483 (__fxstatat): Do not use CHECK_1.
13484 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13485 <bp-checks.h>.
13486 (__getresgid): Do not use CHECK_1.
13487 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13488 <bp-checks.h>.
13489 (__getresuid): Do not use CHECK_1.
13490 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13491 <bp-checks.h>.
13492 (__lxstat): Do not use CHECK_1.
13493 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13494 <bp-checks.h>.
13495 (__old_msgctl): Do not use CHECK_1.
13496 (__new_msgctl): Likewise.
13497 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13498 <bp-checks.h>.
13499 (__new_setrlimit): Do not use CHECK_1.
13500 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13501 <bp-checks.h>.
13502 (__old_shmctl): Do not use CHECK_1.
13503 (__new_shmctl): Likewise.
13504 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13505 <bp-checks.h>.
13506 (__xstat): Do not use CHECK_1.
13507 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13508 (__lxstat): Do not use CHECK_1.
13509 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13510 <bp-checks.h>.
13511 (___lxstat64): Do not use CHECK_1.
13512 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13513 (__old_msgctl): Do not use CHECK_1.
13514 (__new_msgctl): Likewise.
13515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13516 <bp-checks.h>.
13517 (__gettimeofday): Do not use CHECK_1.
13518 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13519 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13520 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13521 <bp-checks.h>.
13522 (__gettimeofday): Do not use CHECK_1.
13523 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13524 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13525 (__new_shmctl): Do not use CHECK_1.
13526 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13527 <bp-checks.h>.
13528 (do_sigtimedwait): Do not use CHECK_1.
13529 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13530 <bp-checks.h>.
13531 (do_sigwaitinfo): Do not use CHECK_1.
13532 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13533 <bp-checks.h>.
13534 (msgctl): Do not use CHECK_1.
13535 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13536 <bp-checks.h>.
13537 (shmctl): Do not use CHECK_1.
13538 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13539 (ustat): Do not use CHECK_1.
13540 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13541 <bp-checks.h>.
13542 (__fxstat): Do not use CHECK_1.
13543 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13544 <bp-checks.h>.
13545 (__fxstatat): Do not use CHECK_1.
13546 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13547 <bp-checks.h>.
13548 (__lxstat): Do not use CHECK_1.
13549 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13550 <bp-checks.h>.
13551 (__xstat): Do not use CHECK_1.
13552 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13553 (__xstat): Do not use CHECK_1.
13554 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13555 (___xstat64): Do not use CHECK_1.
13556
b2c9eff4
JM
13557 [BZ #13550]
13558 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13559 definitions.
13560 (CHECK_BOUNDS_HIGH): Likewise.
13561 * string/strcpy.c: Do not include <bp-checks.h>.
13562 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13563
f1d70dad
RM
135642013-02-07 Roland McGrath <roland@hack.frob.com>
13565
13566 * nscd/nscd-client.h (__nscd_drop_map_ref):
13567 Add __attribute__ ((unused)).
13568 * nis/nss-nisplus.h (niserr2nss): Likewise.
13569
13570 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13571 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13572
13573 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13574 Remove inline keyword.
13575 * include/rounding-mode.h (round_away): Likewise.
13576 * libio/wfileops.c (adjust_wide_data): Likewise.
13577 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13578 (__m128i_strloadu_tolower): Likewise.
13579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13580 (__m128i_strloadu_tolower): Likewise.
13581 * time/mktime.c (ydhms_diff): Likewise.
13582 * locale/elem-hash.h (elem_hash): Likewise.
13583 * locale/setlocale.c (setdata): Likewise.
13584 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13585 (re_string_wchar_at): Likewise.
13586 (bitset_not, bitset_merge, bitset_mask): Likewise.
13587 [!(__GNUC__ > 3)] (inline): Remove macro.
13588 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13589 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13590 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13591 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13592 * string/memcmp.c (memcmp_bytes): Likewise.
13593 * locale/programs/locarchive.c (compute_hashval): Likewise.
13594 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13595 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13596 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13597 * nss/getent.c (print_rpc, print_protocols): Likewise.
13598 (print_passwd, print_group, print_aliases): Likewise.
13599 * nis/nss-nisplus.h (niserr2nss): Likewise.
13600 * nscd/connections.c (restart_p): Likewise.
13601 Change return type to bool.
13602
eab55bfb
RM
136032013-02-05 Roland McGrath <roland@hack.frob.com>
13604
7bd642f5
RM
13605 * Makeconfig (all-Depend-files): Add existing
13606 $(sorted-subdirs:=/Depend) files.
13607 (all-subdirs): Remove nss.
13608 * sysdeps/unix/inet/Subdirs: Add it here instead.
13609 * hesiod/Depend: New file.
13610
573c29b2
RM
13611 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13612 instead of calling alloca.
13613
b2e25af0
RM
13614 * io/lseek.c (__lseek): Rename to __libc_lseek.
13615 Define __lseek as an alias.
13616
eab55bfb
RM
13617 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13618
9a0d1941
CD
136192013-02-04 Carlos O'Donell <carlos@redhat.com>
13620
13621 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13622 else clause and remove check for non-standard endianness.
13623
b83bbec4
DM
136242013-02-04 David S. Miller <davem@davemloft.net>
13625
13626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13627
6277fdab
JM
136282013-02-04 Joseph Myers <joseph@codesourcery.com>
13629
13630 [BZ #13550]
13631 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13632 (__ubp_memchr): Remove prototype.
13633 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13634 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13635 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13636 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13637 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13638 Remove alias.
13639 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13640 (__ubp_memchr): Likewise.
13641 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13642 (__ubp_memchr): Likewise.
13643 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13644 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13645 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13646 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13647 CHECK_STRING.
13648 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13649 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13650 (__getcwd): Do not use CHECK_STRING.
13651 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13652 <bp-checks.h>.
13653 (__real_chown): Do not use CHECK_STRING.
13654 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13655 <bp-checks.h>.
13656 (fchownat): Do not use CHECK_STRING.
13657 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13658 CHECK_STRING.
13659 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13660 <bp-checks.h>.
13661 (__lchown): Do not use CHECK_STRING.
13662 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13663 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13664 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13665 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13667 include <bp-checks.h>.
13668 (truncate64): Do not use CHECK_STRING.
13669 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13670 <bp-checks.h>.
13671 (__real_chown): Do not use CHECK_STRING.
13672 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13673 <bp-checks.h>.
13674 (__lchown): Do not use CHECK_STRING.
13675 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13676 <bp-checks.h>.
13677 (__chown): Do not use CHECK_STRING.
13678 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13679 <bp-checks.h>.
13680 (truncate64): Do not use CHECK_STRING.
13681 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13682 Likewise.
13683 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13684 (__xmknod): Do not use CHECK_STRING.
13685 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13686 <bp-checks.h>.
13687 (__xmknodat): Do not use CHECK_STRING.
13688 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13689 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13690
903ae060
AS
136912013-02-04 Andreas Schwab <schwab@suse.de>
13692
13693 [BZ #14142]
13694 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13695 * include/netdb.h: Likewise for h_errno.
13696 * elf/tst-stackguard1.c: Include <tls.h>.
13697
542f9466
JK
136982013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13699
13700 * elf/link.h (struct link_map): Extend the l_addr comment.
13701 * include/link.h (struct link_map): Likewise.
13702
e782a927
JM
137032013-02-01 Joseph Myers <joseph@codesourcery.com>
13704
13705 [BZ #13550]
13706 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13707 (BOUNDED_1): Remove macro.
13708 * debug/backtrace.c: Don't include <bp-checks.h>.
13709 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13710 (__backtrace): Likewise.
13711 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13712 <bp-checks.h>.
13713 (__backtrace): Don't use BOUNDED_1.
13714 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13715 <bp-checks.h>.
13716 (__backtrace): Don't use BOUNDED_1.
13717 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13718 (__backtrace): Don't use BOUNDED_1.
13719 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13720 (shmat): Don't use BOUNDED_N.
13721
8cf28c5e
JM
137222013-01-31 Joseph Myers <joseph@codesourcery.com>
13723
3a7ac8a0
JM
13724 [BZ #13550]
13725 * sysdeps/generic/bp-start.h: Remove file.
13726 * csu/libc-start.c: Don't include <bp-start.h>.
13727 (LIBC_START_MAIN): Set up __environ directly instead of using
13728 INIT_ARGV_and_ENVIRON.
13729 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13730 <bp-start.h>.
13731
f3499f95
JM
13732 [BZ #13550]
13733 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13734 definitions.
13735 (CHECK_FCNTL): Likewise.
13736 (CHECK_N_PAGES): Likewise.
13737
32a45bea
JM
13738 [BZ #13550]
13739 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13740 definitions.
13741 (CHECK_SIGSET_NULL_OK): Likewise.
13742 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13743 <bp-checks.h>.
13744 (sigpending): Don't use CHECK_SIGSET.
13745 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13746 <bp-checks.h>.
13747 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13748 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13749 <bp-checks.h>.
13750 (do_sigsuspend): Don't use CHECK_SIGSET.
13751 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13752 use CHECK_SIGSET.
13753 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13754 (do_sigwait): Don't use CHECK_SIGSET.
13755 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13756 use CHECK_SIGSET.
13757 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13758 include <bp-checks.h>.
13759 (sigpending): Don't use CHECK_SIGSET.
13760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13761 include <bp-checks.h>.
13762 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13763 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13764 <bp-checks.h>.
13765 (sigpending): Don't use CHECK_SIGSET.
13766 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13767 <bp-checks.h>.
13768 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13769
2e8a5c8c
JM
13770 [BZ #13550]
13771 * sysdeps/generic/bp-semctl.h: Remove file.
13772 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13773 <bp-checks.h> and <bp-semctl.h>.
13774 (__old_semctl): Don't use CHECK_SEMCTL.
13775 (__new_semctl): Likewise.
13776 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13777 and <bp-semctl.h>.
13778 (__old_semctl): Don't use CHECK_SEMCTL.
13779 (__new_semctl): Likewise.
13780 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13781 <bp-checks.h> and <bp-semctl.h>.
13782 (__old_semctl): Don't use CHECK_SEMCTL.
13783 (__new_semctl): Likewise.
13784 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13785 <bp-checks.h> and <bp-semctl.h>.
13786 (semctl): Don't use CHECK_SEMCTL.
13787
c2d54929
JM
13788 [BZ #13550]
13789 * Makerules (elide-bp-thunks): Remove variable.
13790 (elide-routines.oS): Don't use $(elide-bp-thunks).
13791 (elide-routines.os): Likewise.
13792 (elide-routines.o): Likewise.
13793 (elide-routines.op): Likewise.
13794 (elide-routines.og): Likewise.
13795 (objects): Don't use $(bp-thunks).
13796 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13797 include.
13798 (common-generated): Do not add s-proto-bp.d.
13799 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13800 (int): Likewise.
13801 (typ): Likewise.
13802 Do not generate makefile rules for bounded-pointer thunks.
13803 * sysdeps/generic/bp-thunks.h: Remove file.
13804 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13805 * sysdeps/unix/s-proto-bp.S: Likewise.
13806
8cf28c5e
JM
13807 [BZ #15062]
13808 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13809 parts of result separately when argument is not close to line from
13810 -i to i and one part of argument is small.
13811 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13812 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13813 * math/libm-test.inc (cacos_test): Add more tests.
13814 (casin_test): Likewise.
13815 (casinh_test): Likewise.
13816 * sysdeps/i386/fpu/libm-test-ulps: Update.
13817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13818
c4e33b8d
DM
138192013-01-31 David S. Miller <davem@davemloft.net>
13820
13821 * po/de.po: Update from translation team.
13822
3b60b421
MK
138232013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13824
13825 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13826
bb931195
TS
138272013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13828
b5a5da23
TS
13829 * configure.in (_AC_PROG_CC_C89): New definition.
13830 * configure: Regenerate.
13831
bb931195
TS
13832 * configure.in (AC_PROG_CPP): New definition.
13833 * configure: Regenerate.
13834
8c53a12c
JM
138352013-01-23 Joseph Myers <joseph@codesourcery.com>
13836
13837 * debug/tst-backtrace.h: New file.
13838 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13839 (ret): Remove variable.
13840 (x): Likewise.
13841 (FAIL): Remove macro.
13842 (NO_INLINE): Likewise.
13843 (fn1): Use match function instead of strstr.
13844 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13845 (ret): Remove variable.
13846 (x): Likewise.
13847 (FAIL): Remove macro.
13848 (NO_INLINE): Likewise.
13849 (fn): Use match function instead of strstr.
13850 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13851 (ret): Remove variable.
13852 (x): Likewise.
13853 (FAIL): Remove macro.
13854 (NO_INLINE): Likewise.
13855 (handle_signal): Use match function instead of strstr.
13856 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13857 (ret): Remove variable.
13858 (x): Likewise.
13859 (FAIL): Remove macro.
13860 (NO_INLINE): Likewise.
13861 (handle_signal): Use match function instead of strstr.
13862
4858fa2a
RM
138632013-01-23 Roland McGrath <roland@hack.frob.com>
13864
13865 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13866
bae8e7f5
DM
138672013-01-23 David S. Miller <davem@davemloft.net>
13868
13869 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13870 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13871 argument of CAS if possible.
13872 * sysdeps/sparc/sparc64/bits/atomic.h
13873 (__arch_compare_and_exchange_val_32_acq): Likewise.
13874 (__arch_compare_and_exchange_val_64_acq): Likewise.
13875
9cbbc4ae
PT
138762013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13877
13878 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13879 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13880 Include <limits.h>.
67b3f58c 13881 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13882
5655a0b5
AC
138832013-01-23 Adam Conrad <adconrad@0c3.net>
13884
13885 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13886 (LDFLAGS-tst-array5): Likewise.
13887
052aff95
JM
138882013-01-23 Joseph Myers <joseph@codesourcery.com>
13889
13890 [BZ #15036]
13891 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13892 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13893 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13894 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13895
7c1e01aa
DM
138962013-01-21 David S. Miller <davem@davemloft.net>
13897
13898 * sysdeps/sparc/backtrace.c: New file.
13899 * sysdeps/sparc/sparc32/backtrace.h: New file.
13900 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13901 * sysdeps/sparc/sparc64/backtrace.h: New file.
13902 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13903 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13904 -funwind-tables.
13905
ab087e0a
AS
139062013-01-21 Andreas Schwab <schwab@suse.de>
13907
13908 [BZ #15020]
13909 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13910 closed its stdout.
13911
ed689c2f
AS
139122013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13913
13914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13915 "mpa2.h".
13916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13917
31d470ac
JM
139182013-01-18 Joseph Myers <joseph@codesourcery.com>
13919 Mark Mitchell <mark@codesourcery.com>
13920 Tom de Vries <tom@codesourcery.com>
13921 Paul Pluzhnikov <ppluzhnikov@google.com>
13922
13923 * debug/tst-backtrace2.c: New file.
13924 * debug/tst-backtrace3.c: Likewise.
13925 * debug/tst-backtrace4.c: Likewise.
13926 * debug/tst-backtrace5.c: Likewise.
13927 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13928 (CFLAGS-tst-backtrace3.c): Likewise.
13929 (CFLAGS-tst-backtrace4.c): Likewise.
13930 (CFLAGS-tst-backtrace5.c): Likewise.
13931 (LDFLAGS-tst-backtrace2): Likewise.
13932 (LDFLAGS-tst-backtrace3): Likewise.
13933 (LDFLAGS-tst-backtrace4): Likewise.
13934 (LDFLAGS-tst-backtrace5): Likewise.
13935 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13936 tst-backtrace4 and tst-backtrace5.
13937
90567f30 139382013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13939 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13940
13941 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13942 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13943 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13944 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13946 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13947 "+r" and remove output regs list as redundant. Add explicit inline
13948 asm to specify register of return val to work around compiler codegen
13949 bug. Remove (int) cast on return value. Add return type parameter to
13950 use in macro so that this macro does not truncate return value for
13951 64-bit values.
13952 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13953 pass to INTERNAL_VSYSCALL_NCS.
13954 (INLINE_VSYSCALL): Add 'long int' as return type to
13955 INTERNAL_VSYSCALL_NCS macro invocation.
13956 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13957 INTERNAL_VSYSCALL_NCS macro invocation.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13959
d3b9ea61
SP
139602013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13961
0b57daeb
SP
13962 [BZ #14496]
13963 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13964 Fix application of SIMD FP exception mask.
13965
caa99d06
SP
13966 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13967 mp_no from a power of two.
13968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13969 __mpexp_twomm1. Use __pow_mp.
13970
d3b9ea61
SP
13971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13972 multiplication.
13973
1dbaee3c
DM
139742013-01-17 David S. Miller <davem@davemloft.net>
13975
13976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13977
728d7b43
JM
139782013-01-17 Joseph Myers <joseph@codesourcery.com>
13979
13980 [BZ #15023]
13981 * include/complex.h: Condition contents on [!_COMPLEX_H].
13982 (__kernel_casinhf): New prototype.
13983 (__kernel_casinh): Likewise.
13984 (__kernel_casinhl): Likewise.
13985 * math/Makefile (libm_calls): Add k_casinh.
13986 * math/k_casinh.c: New file.
13987 * math/k_casinhf.c: Likewise.
13988 * math/k_casinhl.c: Likewise.
13989 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13990 finite nonzero arguments.
13991 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13992 finite nonzero arguments.
13993 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13994 finite nonzero arguments.
13995 * math/s_casinh.c: Do not include <float.h>.
13996 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13997 * math/s_casinhf.c: Do not include <float.h>.
13998 (__casinhf): Move code for finite nonzero arguments to
13999 k_casinhf.c.
14000 * math/s_casinhl.c: Do not include <float.h>.
14001 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14002 redefine.
14003 (__casinhl): Move code for finite nonzero arguments to
14004 k_casinhl.c.
14005 * math/libm-test.inc (cacos_test): Add more tests.
14006 * sysdeps/i386/fpu/libm-test-ulps: Update.
14007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14008
2a26ef3a
PT
140092013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14010
14011 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14012 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14013 [!HAVE_MREMAP]: Remove [defined linux] case.
14014 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14015
a897655d
SP
140162013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14017
14018 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14019
881ebe89 140202013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14021
14022 * elf/elf.h (R_386_SIZE32): New relocation.
14023 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14024 R_386_SIZE32.
14025 (elf_machine_rela): Likewise.
14026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14027 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14028
59981e9b
JM
140292013-01-17 Joseph Myers <joseph@codesourcery.com>
14030
14031 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14032 (FP_FAST_FMA): Do not define.
14033 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14034 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14035 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14036 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14037 !_SOFT_FLOAT]: Likewise.
14038 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14039 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14040 value.
14041 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14042 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14043 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14044 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14045 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14046 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14047 file.
14048
cfa8054f
AS
140492013-01-16 Andreas Schwab <schwab@suse.de>
14050
14051 [BZ #14327]
14052 * include/stdlib.h (__mktemp): Add declaration.
14053 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14054 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14055
dd930cc5
SP
140562013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14057
881ebe89
SP
14058 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14059 definitions.
14060 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14061 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14062 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14063 definitions here.
14064 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14065 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14066 definitions.
14067 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14068 and ONE.
14069 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14070 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14071 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14072 definitions.
14073 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14074 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14075 definitions.
14076 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14077
dd930cc5
SP
14078 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14079
c19a9f89
DM
140802013-01-15 David S. Miller <davem@davemloft.net>
14081
1aa61767
DM
14082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14083 trunc{,f} to libm-sysdep_routes.
14084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14086 file.
14087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14089 file.
14090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14091 file.
14092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14094 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14095 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14096 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14097 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14098 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14099 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14100
c42d5e98
DM
14101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14102 nearbyint{,f} to libm-sysdep_routes.
14103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14105 New file.
14106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14107 file.
14108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14109 New file.
14110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14111 file.
14112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14115 file.
14116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14117 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14118 file.
14119 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14120 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14121 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14122
c19a9f89
DM
14123 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14124 libc_feholdexcept and libc_fesetenv.
14125
357679d2
MF
141262013-01-15 Mike Frysinger <vapier@gentoo.org>
14127
14128 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14129
65a82e3d
DM
141302013-01-14 David S. Miller <davem@davemloft.net>
14131
8b954ab9
DM
14132 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14133 (SPARC_ASM_VIS2_IFUNC): Likewise.
14134 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14136 use of 'siam' instruction.
14137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14138 Likewise.
14139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14140 Likewise.
14141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14142 Likewise.
14143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14148 file.
14149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14150 file.
14151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14152 file.
14153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14154 file.
14155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14160 new VIS2 routines.
14161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14164 Likewise.
14165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14170 routines to libm-sysdep_routines.
14171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14172
65a82e3d
DM
14173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14174 fdim/fdimf to libm-sysdep_routines.
14175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14176 file.
14177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14179 file.
14180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14183 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14184 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14185 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14186 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14187
e34ab705
SP
141882013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14189
2a91b573
SP
14190 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14191 to optimize copies.
14192
1066a534
SP
14193 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14196
e34ab705
SP
14197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14198 local variable MPTWO.
14199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14200 Likewise.
14201
aba5e596
MF
142022013-01-13 Mike Frysinger <vapier@gentoo.org>
14203
14204 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14205 GLOB_NOESCAPE.
14206
e557e9e5
MF
142072013-01-13 Mike Frysinger <vapier@gentoo.org>
14208
14209 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14210
0428cec9
MF
142112013-01-13 Mike Frysinger <vapier@gentoo.org>
14212
14213 * manual/pattern.texi (glob_t): Document gl_flags.
14214 (glob64_t): Likewise.
14215
8794a964
DM
142162013-01-11 David S. Miller <davem@davemloft.net>
14217
66438c3f
RM
14218 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14219 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14220 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14221 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14222 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14223 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14224 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14225 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14226 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14227 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14228 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14229 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14230 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14231
4ae4244d
DM
14232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14233 sparc V9 rather than using V8 code.
14234 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14235 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14236
8794a964
DM
14237 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14238 Move to...
14239 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14240 Here.
14241
6270516e
RM
142422013-01-11 Roland McGrath <roland@hack.frob.com>
14243
14244 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14245 not in the main loop.
14246 * configure: Regenerated.
14247
6a57d931
JM
142482013-01-11 Joseph Myers <joseph@codesourcery.com>
14249
14250 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14251 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14252 to just #else.
14253 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14254 [!__GLIBC_HAVE_LONG_LONG] case.
14255 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14256 condition to just #else.
14257 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14258 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14259 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14260 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14261 unconditional.
14262 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14263 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14264 #elif condition to just #else.
14265 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14266 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14267 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14268 #elif condition to just #else.
14269
0e8529e9
SE
142702013-01-11 Steve Ellcey <sellcey@mips.com>
14271
14272 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14273 (EF_MIPS_ARCH_64): Fix value.
14274 (EF_MIPS_ARCH_32R2): New.
14275 (EF_MIPS_ARCH_64R2): New.
14276
740b3dbe
L
142772013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14278
14279 * Makeconfig (+link-pie-before-libc): New.
14280 (+link-pie-after-libc): Likewise.
14281 (+link-pie-tests): Likewise.
14282 (+link-pie): Rewritten.
14283 (link-before-libc): Remove $(config-LDFLAGS).
14284 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14285 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14286 (config-LDFLAGS): Renamed to ...
14287 (rtld-LDFLAGS): This.
14288 (rtld-tests-LDFLAGS): New macro.
14289 (link-libc-rpath-link): Likewise.
14290 (link-libc-tests-rpath-link): Likewise.
14291 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14292 (link-libc): Prepand $(link-libc-rpath-link).
14293 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14294 (test-program-prefix): New macro.
14295 (test-via-rtld-prefix): Likewise.
14296 (test-program-cmd): Likewise.
14297 (host-test-program-cmd): Likewise.
14298 * Makefile ($(common-objpfx)testrun.sh): Replace
14299 $(run-program-prefix) with $(test-program-prefix).
14300 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14301 $(rtld-LDFLAGS).
14302 ($(common-objpfx)shlib.lds): Likewise.
14303 (build-module-helper): Likewise.
14304 ($(common-objpfx)format.lds): Likewise.
14305 * Rules (binaries-pie-tests): New.
14306 (binaries-pie-notests): Likewise.
14307 (binaries-pie): Rewritten.
14308 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14309 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14310 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14311 (make-test-out): Replace $(host-built-program-cmd) with
14312 $(host-test-program-cmd).
14313 * config.make.in (build-hardcoded-path-in-tests): New variable.
14314 * configure.in (--enable-hardcoded-path-in-tests): New configure
14315 option.
14316 (hardcoded_path_in_tests): New AC_SUBST.
14317 * configure: Regenerated.
14318 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14319 $(built-program-cmd) with $(test-program-cmd).
14320 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14321 (test_program_cmd): This.
14322 * elf/Makefile ($(objpfx)order.out): Run test with
14323 $(test-program-prefix).
14324 ($(objpfx)order2.out): Likewise.
14325 ($(objpfx)tst-initorder.out): Likewise.
14326 ($(objpfx)tst-initorder2.out): Likewise.
14327 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14328 $(test-program-cmd).
14329 ($(objpfx)tst-array1-static.out): Likewise.
14330 ($(objpfx)tst-array2.out): Likewise.
14331 ($(objpfx)tst-array3.out): Likewise.
14332 ($(objpfx)tst-array4.out): Likewise.
14333 ($(objpfx)tst-array5.out): Likewise.
14334 ($(objpfx)tst-array5-static.out): Likewise.
14335 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14336 $(test-program-cmd).
14337 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14338 $(run-program-prefix) with $(test-program-prefix).
14339 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14340 (test_program_prefix): This.
14341 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14342 $(run-program-prefix) with $(test-program-prefix).
14343 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14344 (test_program_prefix): This.
14345 * iconvdata/tst-tables.sh: Likewise.
14346 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14347 $(run-program-prefix) with $(test-program-prefix).
14348 ($(objpfx)tst-translit.out): Likewise.
14349 ($(objpfx)tst-gettext2.out): Likewise.
14350 ($(objpfx)tst-gettext4.out): Likewise.
14351 ($(objpfx)tst-gettext6.out): Likewise.
14352 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14353 (test_program_prefix): This.
14354 * intl/tst-gettext2.sh: Likewise.
14355 * intl/tst-gettext4.sh Likewise.
14356 * intl/tst-gettext6.sh: Likewise.
14357 * intl/tst-translit.sh: Likewise.
14358 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14359 with $(test-program-cmd).
14360 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14361 $(run-program-prefix) with $(test-program-prefix).
14362 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14363 (test_program_prefix): This.
14364 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14365 $(run-program-prefix) with $(test-program-prefix).
14366 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14367 (test_program_prefix): This.
14368 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14369 * posix/Makefile ($(objpfx)globtest.out): Replace
14370 $(run-via-rtld-prefix) and $(test-wrapper) with
14371 $(test-program-prefix) and $(test-via-rtld-prefix).
14372 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14373 $(test-program-prefix).
14374 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14375 $(host-test-program-cmd).
14376 (tst-spawn-ARGS): Likewise.
14377 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14378 $(test-program-prefix).
14379 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14380 (test_via_rtld_prefix): This.
14381 (test_wrapper): Renamed to ...
14382 (test_program_prefix): This.
14383 (run_program_prefix): Replaced by test_program_prefix.
14384 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14385 (test_program_prefix): This.
14386 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14387 with $(host-test-program-cmd).
14388 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14389 $(run-program-prefix) with $(test-program-prefix).
14390 ($(objpfx)tst-printf.out): Likewise.
14391 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14392 $(test-program-cmd).
14393 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14394 (test_program_prefix): This.
14395 * stdio-common/tst-unbputc.sh: Likewise.
14396 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14397 $(run-program-prefix) with $(test-program-prefix).
14398 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14399 (test_program_prefix): This.
14400 * string/Makefile ($(objpfx)tst-svc.out): Replace
14401 $(built-program-cmd) with $(test-program-cmd).
14402
c6fe55cf
AJ
144032013-01-11 Andreas Jaeger <aj@suse.de>
14404
14405 [BZ #15003]
14406 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14407 value. Sync with Linux 3.7.
14408
9e6919c8
DM
144092013-01-10 David S. Miller <davem@davemloft.net>
14410
14411 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14412 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14413 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14414
1c9f1a02
RM
144152013-01-10 Roland McGrath <roland@hack.frob.com>
14416
14417 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14418 never set.
14419 * configure: Regenerated.
14420
b9de2dde
DM
144212013-01-10 David S. Miller <davem@davemloft.net>
14422
14423 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14424 sparc V9 rather than using V8 code.
14425 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14426 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14427
e7f68ef4
RM
144282013-01-10 Roland McGrath <roland@hack.frob.com>
14429
14430 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14431 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14432 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14433 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14434 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14435 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14436 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14437 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14438 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14439 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14440 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14441 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14442 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14443 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14444 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14445 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14446 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14447 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14448 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14449 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14450 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14451 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14452 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14453 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14454 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14455 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14456 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14457
5a47cc9c
DM
144582013-01-10 David S. Miller <davem@davemloft.net>
14459
14460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14461
4cf8f209
L
144622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14463
14464 * posix/Makefile (tests-static): New variable.
14465 (tests): Add $(tests-static).
14466 (tst-exec-static-ARGS): New variable.
14467 (tst-spawn-static-ARGS): Likewise.
14468 * posix/tst-exec-static.c: New file.
14469 * posix/tst-spawn-static.c: Likewise.
14470 * posix/tst-exec.c: Support run directly.
14471 * posix/tst-spawn.c: Likewise.
14472
fed0faa1
JM
144732013-01-10 Joseph Myers <joseph@codesourcery.com>
14474
828beb13
JM
14475 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14476 long.
14477 * math/bits/mathcalls.h (llrint): Likewise.
14478 (llround): Likewise.
14479 * stdlib/stdlib.h (struct drand48_data): Likewise.
14480 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14481 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14482 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14483 Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14485 Likewise.
14486 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14487 (elf_greg_t): Likewise.
14488 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14489 (__jmp_buf): Likewise.
14490 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14491 definitions.
14492 (llrint): Likewise, for all definitions.
14493 (llrintl): Likewise.
14494
fed0faa1
JM
14495 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14496 Remove [__GNUC__] condition.
14497 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14498 condition to just [__USE_ISOC99].
14499 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14500
1a20cb20
L
145012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14502
14503 [BZ #14200]
14504 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14505 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14506 defined.
14507 (_POSIX_V6_ILP32_OFF32): Likewise.
14508 (_XBS5_ILP32_OFF32): Likewise.
14509 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14510 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14511
751b85f7
SP
145122013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14513
7490eb81
SP
14514 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14515
751b85f7
SP
14516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14517 doubles __mpexp_twomm1. Adjust usage.
14518 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14519 Remove.
14520
988197f0
AS
145212013-01-10 Andreas Schwab <schwab@suse.de>
14522
14523 [BZ #14964]
14524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14525 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14526
e83d7298
DM
145272013-01-09 David S. Miller <davem@davemloft.net>
14528
034ed64b 14529 [BZ #15003]
e83d7298
DM
14530 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14531 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14532 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14533 TCP_FASTOPEN): Define.
14534 (tcp_repair_opt): New structure.
14535 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14536 enum values.
14537 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14538 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14539 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14540 (tcp_cookie_transactions): New structure.
14541
d5e0b9bd
AB
145422013-01-09 Anton Blanchard <anton@samba.org>
14543
14544 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14545 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14546 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14547 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14548
0c07e3ea
JM
145492013-01-09 Joseph Myers <joseph@codesourcery.com>
14550
14551 * include/features.h (__USE_ANSI): Remove.
14552
232f7002
RM
145532013-01-09 Roland McGrath <roland@hack.frob.com>
14554
ad98e30c
RM
14555 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14556
232f7002
RM
14557 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14558
950c99ca
SP
145592013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14560
b5792741
SP
14561 * sysdeps/s390/fpu/libm-test-ulps: Update.
14562
47cf2278
SP
14563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14564
950c99ca
SP
14565 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14566 (__acr): Likewise.
14567 (__cpy): Likewise.
14568 (norm): Likewise.
14569 (denorm): Likewise.
14570 (__mp_dbl): Likewise.
14571 (__dbl_mp): Likewise.
14572 (add_magnitudes): Likewise.
14573 (sub_magnitudes): Likewise.
14574 (__add): Likewise.
14575 (__sub): Likewise.
14576 (__mul): Likewise.
14577 (__inv): Likewise.
14578 (__dvd): Likewise.
14579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14580 (__acr): Likewise.
14581 (__cpy): Likewise.
14582 (norm): Likewise.
14583 (denorm): Likewise.
14584 (__mp_dbl): Likewise.
14585 (__dbl_mp): Likewise.
14586 (add_magnitudes): Likewise.
14587 (sub_magnitudes): Likewise.
14588 (__add): Likewise.
14589 (__sub): Likewise.
14590 (__mul): Likewise.
14591 (__inv): Likewise.
14592 (__dvd): Likewise.
14593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14594 (__acr): Likewise.
14595 (__cpy): Likewise.
14596 (norm): Likewise.
14597 (denorm): Likewise.
14598 (__mp_dbl): Likewise.
14599 (__dbl_mp): Likewise.
14600 (add_magnitudes): Likewise.
14601 (sub_magnitudes): Likewise.
14602 (__add): Likewise.
14603 (__sub): Likewise.
14604 (__mul): Likewise.
14605 (__inv): Likewise.
14606 (__dvd): Likewise.
14607
eede9df9
JM
146082013-01-08 Joseph Myers <joseph@codesourcery.com>
14609
14610 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14611 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14612 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14613 2 && __USE_EXTERN_INLINES]: Likewise.
14614
c40ea3d9
AJ
146152013-01-08 Andreas Jaeger <aj@suse.de>
14616
14617 [BZ# 14985]
14618 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14619 Remove.
14620 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14621 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14622
2ccdea26
AB
146232013-01-07 Anton Blanchard <anton@samba.org>
14624
14625 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14626 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14627 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14628 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14629 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14630 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14631 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14632 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14634 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14635 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14636 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14637 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14638 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14639 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14640 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14641 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14643 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14644 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14645 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14646 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14648 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14649 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14650 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14651 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14652 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14654 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14655 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14657 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14658 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14659 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14660 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14661 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14662 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14663 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14664 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14665 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14667 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14668
a9708fed
JM
146692013-01-07 Joseph Myers <joseph@codesourcery.com>
14670
375607b9
JM
14671 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14672 (__MALLOC_PMT): Likewise.
14673 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14674 [__GNUC__], only on [_LIBC].
14675 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14676 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14677 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14678 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14679 forward declaration.
14680 (realloc_hook_ini): Likewise.
14681 (memalign_hook_ini): Likewise.
14682 (__libc_memalign): Do not use __MALLOC_PMT in variable
14683 declaration.
14684 (__libc_valloc): Likewise.
14685 (__libc_pvalloc): Likewise.
14686 (__libc_calloc): Likewise.
14687 (__posix_memalign): Likewise.
14688
a9708fed
JM
14689 [BZ #14996]
14690 * math/s_casinh.c: Include <float.h>.
14691 (__casinh): Do not do computation with squaring and square root
14692 for large arguments.
14693 * math/s_casinhf.c: Include <float.h>.
14694 (__casinhf): Do not do computation with squaring and square root
14695 for large arguments.
14696 * math/s_casinhl.c: Include <float.h>.
14697 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14698 (__casinhl): Do not do computation with squaring and square root
14699 for large arguments.
14700 * math/libm-test.inc (casin_test): Add more tests.
14701 (casinh_test): Likewise.
14702 * sysdeps/i386/fpu/libm-test-ulps: Update.
14703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14704
afec409a
L
147052013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14706
14707 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14708 (__x86_64_raw_data_cache_size): Likewise.
14709 (__x86_64_data_cache_size_half): Likewise.
14710 (__x86_64_raw_data_cache_size_half): Likewise.
14711 (__x86_64_shared_cache_size): Likewise.
14712 (__x86_64_raw_shared_cache_size): Likewise.
14713 (__x86_64_shared_cache_size_half): Likewise.
14714 (__x86_64_raw_shared_cache_size_half): Likewise.
14715 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14716 to ...
14717 (__x86_data_cache_size): This.
14718 (__x86_64_raw_data_cache_size): Renamed to ...
14719 (__x86_raw_data_cache_size): This.
14720 (__x86_64_data_cache_size_half): Renamed to ...
14721 (__x86_data_cache_size_half): This.
14722 (__x86_64_raw_data_cache_size_half): Renamed to ...
14723 (__x86_raw_data_cache_size_half): This.
14724 (__x86_64_shared_cache_size): Renamed to ...
14725 (__x86_shared_cache_size): This.
14726 (__x86_64_raw_shared_cache_size): Renamed to ...
14727 (__x86_raw_shared_cache_size): This.
14728 (__x86_64_shared_cache_size_half): Renamed to ...
14729 (__x86_shared_cache_size_half): This.
14730 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14731 (__x86_raw_shared_cache_size_half): This.
14732 * sysdeps/x86_64/memcpy.S: Updated.
14733 * sysdeps/x86_64/memset.S: Likewise.
14734 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14735 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14737
0b3986d0
DM
147382013-01-04 David S. Miller <davem@davemloft.net>
14739
14740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14741
e47686e9
AS
147422013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14743
d643bac1
AS
14744 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14745 1 to avoid redefinition warning.
14746 (__USE_GNU): Don't define.
14747 (init_signaling_nan): Protoize.
14748
e47686e9
AS
14749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14750
b18decba
SP
147512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14752
fffb407f
SP
14753 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14755 (__cpymn): Likewise.
14756 (norm): Remove commented code.
14757 (denorm): Likewise.
14758 (__mp_dbl): Likewise.
14759 (__inv): Likewise.
14760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14761 (__cpymn): Likewise.
14762 (norm): Remove commented code.
14763 (denorm): Likewise.
14764 (__mp_dbl): Likewise.
14765 (__inv): Likewise.
14766
b18decba
SP
14767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14768 mp_no value for 1.0 and 2.0.
14769 (norm): Use RADIXI instead of radixi.d.
14770 (denorm): Likewise.
14771 (__mul): Use 0.0 instead of zero.d.
14772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14773 mp_no value for 1.0 and 2.0.
14774 (norm): Use RADIXI instead of radixi.d.
14775 (denorm): Likewise.
14776 (__mul): Use 0.0 instead of zero.d.
14777
cdc1c96f
JM
147782013-01-04 Joseph Myers <joseph@codesourcery.com>
14779
14780 [BZ #14994]
14781 * math/s_casinh.c (__casinh): Reduce finite argument to first
14782 quadrant then set signs of results at the end.
14783 * math/s_casinhf.c (__casinhf): Likewise.
14784 * math/s_casinhl.c (__casinhl): Likewise.
14785 * math/libm-test.inc (casin_test): Add more tests.
14786 (casinh_test): Likewise.
14787 * sysdeps/i386/fpu/libm-test-ulps: Update.
14788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14789
302913e1
SP
147902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14791
6420d207
SP
14792 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14793
a9e48ab4
SP
14794 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14795
b7837264
SP
14796 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14797 declarations.
14798 (denorm): Likewise.
14799 (__mp_dbl): Likewise.
14800 (__inv): Likewise.
14801
f8af25d2
SP
14802 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14803 and adjust the header comment.
14804
302913e1
SP
14805 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14806 variable name from declaration.
14807
5d7dd1ca
L
148082013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14809
14810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14811 Initialize COMMON_CPUID_INDEX_7 element.
14812 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14813 (CPUID_RTM): Likewise.
14814 (HAS_RTM): Likewise.
14815 (COMMON_CPUID_INDEX_7): New enum.
14816
2f5f40f4
AS
148172013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14818
14819 [BZ #14981]
14820 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14821 size is zero, record memory as freed.
14822
4056f4a0
AJ
148232013-01-03 Andreas Jaeger <aj@suse.de>
14824
14825 * po/ia.po: Add new Interlingua translation.
14826
ab15736f 148272012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14828
14829 * locale/programs/localedef.c: Fix description of '--posix' flag.
14830
568035b7
JM
148312013-01-02 Joseph Myers <joseph@codesourcery.com>
14832
e6898b8d
JM
14833 * NEWS: Update dates in second copyright notice.
14834 * README: Update copyright dates in example.
14835 * manual/libc.texinfo: Update copyright dates.
14836 * scripts/test-installation.pl: Update copyright date in --version
14837 output.
14838
0e2f9562
JM
14839 * hurd/ctty-input.c: Fix copyright notice formatting.
14840 * hurd/ctty-output.c: Likewise.
14841 * hurd/dtable.c: Likewise.
14842 * hurd/hurd-raise.c: Likewise.
14843 * hurd/hurdprio.c: Likewise.
14844 * hurd/msgportdemux.c: Likewise.
14845 * misc/sys/file.h: Likewise.
14846 * misc/sys/ioctl.h: Likewise.
14847 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14848 * sysdeps/mach/hurd/chdir.c: Likewise.
14849 * sysdeps/mach/hurd/fchdir.c: Likewise.
14850 * sysdeps/mach/hurd/rename.c: Likewise.
14851 * sysdeps/mach/hurd/rmdir.c: Likewise.
14852 * sysdeps/mach/hurd/seekdir.c: Likewise.
14853 * sysdeps/mach/hurd/setsid.c: Likewise.
14854 * sysdeps/posix/wait3.c: Likewise.
14855
568035b7
JM
14856 * All files with FSF copyright notices: Update copyright dates
14857 using scripts/update-copyrights.
14858 * intl/plural.c: Regenerated.
14859 * locale/programs/charmap-kw.h: Likewise.
14860 * locale/programs/locfile-kw.h: Likewise.
14861
da08f647
SP
148622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14863
0f5477af
SP
14864 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14865 four values.
14866
44e0d4c2
SP
14867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14868 calculation loop and add branch prediction.
14869
4d55b4e5
SP
14870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14871 check access beyond bounds of m1np.
14872
da08f647
SP
14873 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14874 MPTWO.
14875 (__inv): Remove local variable MPTWO to use the global
14876 constant.
14877 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14878 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14879 variable MPTWO.
14880 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14881 MP3HALFS static const.
14882
8e051029
DM
148832013-01-01 David S. Miller <davem@davemloft.net>
14884
14885 * po/ca.po: Update from translation team.
14886
f4cf5f2d
JM
148872013-01-01 Joseph Myers <joseph@codesourcery.com>
14888
14889 * scripts/update-copyrights: New file.
14890 * Makeconfig: Reformat copyright notice.
14891 * ctype/ctype.h: Likewise.
14892 * debug/swprintf_chk.c: Likewise.
14893 * elf/dl-cache.c: Likewise.
14894 * elf/dl-debug.c: Likewise.
14895 * elf/dl-object.c: Likewise.
14896 * grp/initgroups.c: Likewise.
14897 * hurd/Makefile: Likewise.
14898 * hurd/hurd/signal.h: Likewise.
14899 * hurd/hurdfault.c: Likewise.
14900 * hurd/hurdioctl.c: Likewise.
14901 * hurd/hurdlookup.c: Likewise.
14902 * hurd/intr-msg.c: Likewise.
14903 * iconv/gconv_open.c: Likewise.
14904 * libio/swprintf.c: Likewise.
14905 * locale/lc-ctype.c: Likewise.
14906 * locale/nl_langinfo.c: Likewise.
14907 * mach/Machrules: Likewise.
14908 * mach/Makefile: Likewise.
14909 * malloc/obstack.h: Likewise.
14910 * manual/Makefile: Likewise.
14911 * manual/tsort.awk: Likewise.
14912 * misc/bits/stab.def: Likewise.
14913 * nis/nis_print_group_entry.c: Likewise.
14914 * nis/nis_table.c: Likewise.
14915 * nis/nss_compat/compat-pwd.c: Likewise.
14916 * nis/nss_compat/compat-spwd.c: Likewise.
14917 * po/Makefile: Likewise.
14918 * posix/fnmatch.c: Likewise.
14919 * posix/regex.h: Likewise.
14920 * resolv/Makefile: Likewise.
14921 * resolv/nss_dns/dns-network.c: Likewise.
14922 * resolv/res_hconf.c: Likewise.
14923 * scripts/gen-sorted.awk: Likewise.
14924 * soft-fp/soft-fp.h: Likewise.
14925 * stdio-common/printf.h: Likewise.
14926 * stdlib/monetary.h: Likewise.
14927 * stdlib/random.c: Likewise.
14928 * stdlib/random_r.c: Likewise.
14929 * sysdeps/generic/Makefile: Likewise.
14930 * sysdeps/gnu/Makefile: Likewise.
14931 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14945 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14952 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14953 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14959 * sysdeps/mach/hurd/errnos.awk: Likewise.
14960 * sysdeps/mach/hurd/fork.c: Likewise.
14961 * sysdeps/mach/hurd/getcwd.c: Likewise.
14962 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14963 * sysdeps/mach/hurd/mmap.c: Likewise.
14964 * sysdeps/mach/hurd/utimes.c: Likewise.
14965 * sysdeps/mach/hurd/xmknod.c: Likewise.
14966 * sysdeps/posix/profil.c: Likewise.
14967 * sysdeps/posix/readdir_r.c: Likewise.
14968 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14969 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14970 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14971 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14973 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14974 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14975 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14977 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14978 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14979 * sysdeps/pthread/lio_listio.c: Likewise.
14980 * sysdeps/sparc/dl-procinfo.h: Likewise.
14981 * sysdeps/unix/i386/sysdep.S: Likewise.
14982 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14983 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14984 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14985 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14987 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14988 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14989 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14990 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14991 * sysdeps/wordsize-32/divdi3.c: Likewise.
14992 * time/sys/time.h: Likewise.
14993 * wcsmbs/Makefile: Likewise.
14994
0549fbba
DM
149952013-01-01 David S. Miller <davem@davemloft.net>
14996
a141f1a7
DM
14997 * po/fr.po: Update from translation team.
14998
0549fbba
DM
14999 * catgets/gencat.c: Update copyright year.
15000 * csu/version.c: Likewise.
15001 * debug/catchsegv.sh: Likewise.
15002 * debug/pcprofiledump.c: Likewise.
15003 * debug/xtrace.sh: Likewise.
15004 * elf/ldconfig.c: Likewise.
15005 * elf/ldd.bash.in: Likewise.
15006 * elf/pldd.c: Likewise.
15007 * elf/sotruss.ksh: Likewise.
15008 * elf/sprof.c: Likewise.
15009 * iconv/iconv_prog.c: Likewise.
15010 * iconv/iconvconfig.c: Likewise.
15011 * locale/programs/locale.c: Likewise.
15012 * locale/programs/localedef.c: Likewise.
15013 * login/programs/pt_chown.c: Likewise.
15014 * malloc/memusage.sh: Likewise.
15015 * malloc/memusagestat.c: Likewise.
15016 * malloc/mtrace.pl: Likewise.
15017 * nscd/nscd.c: Likewise.
15018 * nss/getent.c: Likewise.
15019 * nss/makedb.c: Likewise.
15020 * posix/getconf.c: Likewise.
15021
18ea052c
SP
150222012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15023
15024 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15025 numbers.
15026
9c89fca6
MF
150272012-12-30 Mike Frysinger <vapier@gentoo.org>
15028
15029 * math/bits/mathcalls.h (modf): Use __nonnull.
15030
085ec079
SP
150312012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15032
15033 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15034 (split): Use macro CN instead of the bare value.
15035 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15036 could be used.
15037 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15038 instead of the bare value.
15039 (power1): Likewise.
15040
6d9f97e1
SP
150412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15042
d63f73be
SP
15043 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15044 __ATAN_TWOM.
15045 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15046
6d9f97e1
SP
15047 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15048 their values.
15049 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15050 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15051 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15052 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15053
4c4febf5
AJ
150542012-12-28 Andreas Jaeger <aj@suse.de>
15055
af5843ef
AJ
15056 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15057 values are from Linux 3.7.
15058
4c4febf5
AJ
15059 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15060 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15061
99136f82
SP
150622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15063
2f216c3c 15064 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15065 TRUE case.
15066
99136f82
SP
15067 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15068 (norm): Likewise.
15069 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15070 variables with preprocessor constants.
15071 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15072 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15073 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15074
7fffbdff
BH
150752012-12-27 Bruno Haible <bruno@clisp.org>
15076
15077 [BZ #14317]
15078 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15079 only if needed.
15080
b76eb5f0
SP
150812012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15082
31a7fe5c
SP
15083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15084 and use variable directly.
15085 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15086
b76eb5f0
SP
15087 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15088 MPONE.
15089 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15090 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15091 variable MPONE.
15092 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15093 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15094 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15095 include directive. Remove local variable MPONE.
15096 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15097 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15098 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15099
2c8bfe7d
DM
151002012-12-25 David S. Miller <davem@davemloft.net>
15101
15102 * version.h (RELEASE): Set to "development".
15103 (VERSION): Set to "2.17.90".
15104 * NEWS: Add 2.18 section.
15105
147d03b0
DM
151062012-12-21 David S. Miller <davem@davemloft.net>
15107
15108 * po/hr.po: Update from translation team.
15109
a8ebb2b9
AK
151102012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15111
15112 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15113
95b4f1b6
SE
151142012-12-19 Steve Ellcey <sellcey@mips.com>
15115
b2d94007 15116 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15117
cedb2a90
MS
151182012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15119
15120 * manual/contrib.texi (Contributors): Spelling correction.
15121
bbf527d6
DM
151222012-12-15 David S. Miller <davem@davemloft.net>
15123
15124 * po/ru.po: Update from translation team.
15125
bc38c906
DM
151262012-12-13 David S. Miller <davem@davemloft.net>
15127
85429b1a
DM
15128 * NEWS: Mention IFUNC testsuite enhancements.
15129
d283e353
DM
15130 * po/pl.po: Update from translation team.
15131 * po/bg.po: Likewise.
15132
bc38c906
DM
15133 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15134 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15135
a181b0d7
DM
151362012-12-11 David S. Miller <davem@davemloft.net>
15137
4641d57e
DM
15138 * po/sv.po: Update from translation team.
15139
f7bc6495
DM
15140 * po/vi.po: Update from translation team.
15141
6fc9048f
DM
15142 * po/cs.po: Update from translation team.
15143
a181b0d7
DM
15144 * po/de.po: Update from translation team.
15145 * po/eo.po: Likewise.
15146 * po/nl.po: Likewise.
15147
f70bfe80
SP
151482012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15149
3c8b4190
SP
15150 [BZ #14246]
15151 * manual/argp.texi (Argp Helper Functions): Move node to follow
15152 Argp Parsing State.
15153
f70bfe80
SP
15154 [BZ #14872]
15155 * manual/conf.texi (Limits on File System Capacity): Mention if
15156 terminating null is included in the max size.
15157
188f0adf
AJ
151582012-12-10 Andreas Jaeger <aj@suse.de>
15159
15160 * po/cs.po: Update from translation team.
15161
56e7d3ad
SP
151622012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15163
15164 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15165 void pointer and cast to uintptr_t.
15166 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15167 path.
15168 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15169 * sysdeps/s390/s390-64/memset.S: Likewise.
15170
76f2d2ea 151712012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15172
15173 [BZ #14833]
15174 * menual/message.texi (Message Translation): Fix typos.
15175 (Helper programs for gettext): Likewise.
15176
67cbf9a2
AS
151772012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15178
15179 [BZ #14898]
15180 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15181 Change to -1.
15182
682d0e9a
DM
151832012-12-07 David S. Miller <davem@davemloft.net>
15184
15185 * po/libc.pot: Update.
15186
573cd484
RH
151872012-12-07 Richard Henderson <rth@redhat.com>
15188
7e9da188 15189 [BZ #10114]
573cd484
RH
15190 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15191 normal/normal case to before the switch.
15192 (_FP_DIV): Likewise.
15193
e933a943
MF
151942012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15195 Mike Frysinger <vapier@gentoo.org>
15196
15197 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15198 check for __NR_fadvise64_64.
15199
82123268
CM
152002012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15201
15202 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15203 0, not just to plain "0" as a statement.
15204 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15205 with cw.
15206
d9814526
JM
152072012-12-06 Joseph Myers <joseph@codesourcery.com>
15208
15209 * NEWS: Use sourceware.org in Bugzilla URL.
15210
7728c574
SP
152112012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15212
f16946dd
SP
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15214 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15215
5704bbcb
SP
15216 * stdio-common/tst-put-error.c (do_test): Add newline to the
15217 padded test to ensure flush.
15218
17aa0516
JL
152192012-12-05 Jeff Law <law@redhat.com>
15220
15221 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15222
363313b5
JM
152232012-12-05 Joseph Myers <joseph@codesourcery.com>
15224
effbd42a
JM
15225 * README: Don't refer to ports add-on as distributed separately.
15226 Mention AArch64 in list of systems supported in the ports add-on.
15227
87600365
JM
15228 * LICENSES: Add more non-FSF copyright and license notices.
15229
a0d7066a
JM
15230 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15231 ((unused)).
15232
66ca5a5b
JM
15233 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15234
363313b5
JM
15235 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15236 10000 as width of padded output.
15237
b37984ad
JM
152382012-12-04 Joseph Myers <joseph@codesourcery.com>
15239
9003570a
JM
15240 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15241
b37984ad
JM
15242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15243 variable LX with __attribute__ ((unused)).
15244 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15245 Likewise.
15246 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15248 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15249 with __attribute__ ((unused)).
15250
c8df52ec
DM
152512012-12-04 David S. Miller <davem@abraco.davemloft.net>
15252
15253 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15254
b3b099af
JM
152552012-12-04 Joseph Myers <joseph@codesourcery.com>
15256
c33aa6e3
JM
15257 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15258 (CFLAGS-nldbl-acos.c): New variable.
15259 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15260 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15261 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15262 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15263 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15264 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15265 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15266 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15267 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15268 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15269 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15270 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15271 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15272 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15273 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15274 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15275 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15276 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15277 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15278 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15279 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15280 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15281 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15282 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15283 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15284 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15285 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15286 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15287 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15288 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15289 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15290 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15291 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15292 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15293 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15294 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15295 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15296 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15297 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15298 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15299 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15300 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15301 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15302 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15303 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15304 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15305 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15306 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15307 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15308 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15309 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15310 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15311 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15312 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15313 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15314 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15315 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15316 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15317 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15318 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15319 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15320 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15321 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15322 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15323 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15324 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15325 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15326 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15327 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15328 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15329 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15330 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15331 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15332 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15333 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15334 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15335 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15336 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15337 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15338 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15339 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15340 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15341 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15342 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15343 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15344 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15345 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15346 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15347 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15348 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15349 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15350 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15351 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15352 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15353 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15354 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15355 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15356
20f0018d
JM
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15358 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15359
b3b099af
JM
15360 [BZ #14914]
15361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15362 whole low double instead of just low 47 bits when splitting values
15363 into two parts.
15364
029264d1
AM
153652012-12-03 Allan McRae <allan@archlinux.org>
15366
15367 * manual/stdio.texi (Predefined Printf Handlers): Remove
15368 @hsep and @vsep usage.
15369
c9d6789e
MF
153702012-12-03 Mike Frysinger <vapier@gentoo.org>
15371
15372 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15373 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15374
4b7634a5
JL
153752012-12-03 Jeff Law <law@redhat.com>
15376
15377 * time/sys/time.h (settimeofday): Do not mark TV argument
15378 as __nonnull.
15379
eb6cbd24
MF
153802012-12-01 Mike Frysinger <vapier@gentoo.org>
15381
15382 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15383 when currently writing and seek to current position when not.
15384 * libio/Makefile (tests): Remove bug-fclose1.
15385 * libio/bug-fclose1.c: Delete.
15386
f638872a
JM
153872012-12-01 Joseph Myers <joseph@codesourcery.com>
15388
15389 * manual/arith.texi (feenableexcept): Fix typo.
15390 (fedisableexcept): Likewise.
15391
48085d14
RM
153922012-11-30 Roland McGrath <roland@hack.frob.com>
15393
15394 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15395 second, differently-typed declaration, rather than a cast.
15396
1a538b9f
SP
153972012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15398
15399 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15400 * include/rpc/svc.h: ... here.
15401
d07f2ff1 154022012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15403
15404 [BZ #13013]
15405 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15406 depending n and resplen2 to catch cases where answer
15407 equals answerp2.
15408
c93ec1f0
CD
154092012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15410
15411 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15412 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15413
37db69de
MF
154142012-11-29 Mike Frysinger <vapier@gentoo.org>
15415
15416 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15417
e10c4e4f
RM
154182012-11-29 Roland McGrath <roland@hack.frob.com>
15419
15420 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15421
2af1b328
JL
154222012-11-28 Jeff Law <law@redhat.com>
15423
15424 [BZ #13761]
15425 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15426 dataset_temporary. Track alloca usage into alloca_used.
15427 If dataset is large allocate and release it via malloc/free.
15428
111db5b1
FW
154292012-06-04 Florian Weimer <fweimer@redhat.com>
15430
f06cc227 15431 [BZ #14197]
111db5b1
FW
15432 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15433
dd694abd
DM
154342012-11-28 David S. Miller <davem@davemloft.net>
15435
15436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15437
9984dd01
JM
154382012-11-28 Joseph Myers <joseph@codesourcery.com>
15439
15440 [BZ #14803]
15441 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15442 of pi/2 rounded to nearest to 64 bits.
15443 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15444 nearest to 64 bits.
15445 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15446 bits.
15447
14bc93a9
JL
154482012-11-28 Jeff Law <law@redhat.com>
15449 Martin Osvald <mosvald@redhat.com>
15450
15451 [BZ #14889]
15452 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15453 * sunrpc/svc.c: Include time.h.
15454 (__svc_accept_failed): New function.
15455 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15456 any reason other than EINTR, call __svc_accept_failed.
15457 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15458 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15459
e3c6aa3a
AS
154602012-11-28 Andreas Schwab <schwab@suse.de>
15461
15462 * scripts/abilist.awk: Also handle indirect functions in .opd
15463 section.
15464
1bead169
JM
154652012-11-28 Joseph Myers <joseph@codesourcery.com>
15466
15467 [BZ #13881]
15468 * sysdeps/x86/fpu/powl_helper.c: New file.
15469 * sysdeps/x86/fpu/Makefile: Likewise.
15470 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15471 (p3): New object.
15472 (__ieee754_powl): Use __powl_helper for finite arguments except
15473 integer exponents below 8.
15474 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15475 (p3): New object.
15476 (__ieee754_powl): Use __powl_helper for finite arguments except
15477 integer exponents below 8.
15478 * math/libm-test.inc (pow_test): Add more tests and enable some
15479 previously disabled tests.
15480 * sysdeps/i386/fpu/libm-test-ulps: Update.
15481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15482
0817d63d
SP
154832012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15484 Carlos O'Donell <carlos_odonell@mentor.com>
15485
15486 * nss/makedb.c (is_prime): Assert that input is odd and greater
15487 than 4. Note that fact in a comment too.
15488 (next_prime): Add 4 to input.
15489
de2fd463
SP
154902012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15491
15492 [BZ #11741]
15493 * libio/Makefile (tests): Add test case tst-fwrite-error.
15494 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15495 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15496 * libio/tst-fwrite-error.c: New test case.
15497
c515fb51
L
154982012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15499
15500 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15501 before casting to void *.
15502 * include/libc-internal.h (__pointer_type): New macro.
15503 (__integer_if_pointer_type_sub): Likewise.
15504 (__integer_if_pointer_type): Likewise.
15505 (cast_to_integer): Likewise.
15506 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15507 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15508 before casting to atomic64_t.
15509 (atomic_exchange_acq): Likewise.
15510 (__arch_exchange_and_add_body): Likewise.
15511 (__arch_add_body): Likewise.
15512 (atomic_add_negative): Likewise.
15513 (atomic_add_zero): Likewise.
15514
4cf77aa9
JM
155152012-11-26 Joseph Myers <joseph@codesourcery.com>
15516
15517 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15518 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15519 (add_fdes): Likewise.
15520 (linear_search_fdes): Likewise.
15521 (binary_search_unencoded_fdes): Likewise.
15522
d260b3b4
AS
155232012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15524
15525 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15526
67060746
AC
155272012-11-24 Adam Conrad <adconrad@0c3.net>
15528
15529 * configure.in: Autodetect C++ header directories.
15530 * configure: Regenerated.
15531
800938a1
MF
155322012-11-23 Mike Frysinger <vapier@gentoo.org>
15533
15534 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15535
4e6e34e6
AS
155362012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15537
15538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15539
7c7feb47
JM
155402012-11-22 Joseph Myers <joseph@codesourcery.com>
15541
7184dcdf
JM
15542 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15543 LDBL_MANT_DIG == 106]: Disable some tests.
15544 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15545 Likewise.
15546 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15547 Likewise.
15548
0a42601f
JM
15549 [BZ #14871]
15550 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15551 input for small inputs. Return +/- pi/2 for large inputs.
15552 * math/libm-test.inc (atan_test): Add more tests.
15553
79c9b9fe
JM
15554 * sysdeps/generic/unwind-dw2-fde-glibc.c
15555 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15556 __attribute__ ((unused)).
15557
c60d3bf2
JM
15558 [BZ #14645]
15559 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15560 x * y if x and y are nonzero and z is zero.
15561
ef1e0867
JM
15562 [BZ #14811]
15563 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15564 nonzero exponents with absolute value below 0x1p-117 to +/-
15565 0x1p-117.
15566
1468ded3
JM
15567 [BZ #14869]
15568 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15569 up arguments below 2**-450, not just those below 2**-500.
15570 * math/libm-test.inc (hypot_test): Add another test.
15571
8e27e3cc
JM
15572 [BZ #14868]
15573 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15574 Return a+b for ratio over 2**120, not 2**60.
15575 * math/libm-test.inc (hypot_test): Add another test.
15576
c9c0279b
JM
15577 * math/libm-test.inc (clog_test): Use
15578 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15579 (clog10_test): Likewise.
15580
7c7feb47
JM
15581 [BZ #6778]
15582 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15583
fff1530e
AS
155842012-11-22 Andreas Schwab <schwab@suse.de>
15585
15586 * sysdeps/i386/fpu/libm-test-ulps: Update.
15587
94558d30
PT
155882012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15589
15590 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15591 printf output with newline.
15592
7e1be741
L
155932012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15594
6bfea974
L
15595 [BZ #14865]
15596 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15597 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15598 -z nodlopen, -z initfirst and -z execstack support.
15599 * configure: Regenerated.
15600
7e1be741
L
15601 * elf/elf.h (DF_1_NODIRECT): New macro.
15602 (DF_1_IGNMULDEF): Likewise.
15603 (DF_1_NOKSYMS): Likewise.
15604 (DF_1_NOHDR): Likewise.
15605 (DF_1_EDITED): Likewise.
15606 (DF_1_NORELOC): Likewise.
15607 (DF_1_SYMINTPOSE): Likewise.
15608 (DF_1_GLOBAUDIT): Likewise.
15609 (DF_1_SINGLETON): Likewise.
15610 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15611 DT_1_SUPPORTED_MASK bits.
15612 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15613
105ce2ce
CD
156142012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15615
15616 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15617
123be9de
TS
156182012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15619
d072f3f7
TS
15620 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15621 macro.
15622
123be9de
TS
15623 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15624 (sendmmsg): Move declarations...
15625 * socket/sys/socket.h: ... here.
15626 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15627 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15628 include it from...
15629 * socket/recvmmsg.c: ... this new file.
15630 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15631 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15632 definition of __sendmmsg hidden.
15633 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15634 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15635 Move ENOSYS stub into and include it from...
15636 * socket/sendmmsg.c: ... this new file.
15637 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15638 (sysdep_routines): Move recvmmsg and sendmmsg...
15639 * socket/Makefile (routines): ... here.
15640 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15641 (GLIBC_PRIVATE): Add __sendmmsg.
15642 * include/sys/socket.h (__sendmmsg): Add declarations.
15643 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15644 sendmmsg.
15645
cf9a5d18
JM
156462012-11-20 Joseph Myers <joseph@codesourcery.com>
15647
15648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15649 variable I1 with __attribute__ ((unused)).
15650 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15651
ecd4caf9
JM
156522012-11-19 Joseph Myers <joseph@codesourcery.com>
15653
be14d48f
JM
15654 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15655 DUMMY variables with __attribute__ ((unused)).
15656
ecd4caf9
JM
15657 * bits/byteswap.h: Include <bits/types.h>.
15658 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15659
986cab95
PT
156602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15661
15662 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15663 string_t. Do not manually set errno.
15664 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15665 length with __strnlen. Make sure to both set errno and return it on
15666 failure.
15667
6d33cc9d
DM
156682012-11-19 David S. Miller <davem@davemloft.net>
15669
15670 With help from Joseph Myers.
15671 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15672 very large arguments properly.
15673 * math/libm-test.inc (atan_test): New tests.
15674 (atan2_test): New tests.
15675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15677
ee663277
JM
156782012-11-19 Joseph Myers <joseph@codesourcery.com>
15679
877f2d8e
JM
15680 [BZ #14856]
15681 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15682 Define to 3.
15683
116fc08a
JM
15684 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15685 [POSIX] (EADDRNOTAVAIL): Likewise.
15686 [POSIX] (EAFNOSUPPORT): Likewise.
15687 [POSIX] (EALREADY): Likewise.
15688 [POSIX] (ECONNABORTED): Likewise.
15689 [POSIX] (ECONNREFUSED): Likewise.
15690 [POSIX] (ECONNRESET): Likewise.
15691 [POSIX] (EDESTADDRREQ): Likewise.
15692 [POSIX] (EDQUOT): Likewise.
15693 [POSIX] (EHOSTUNREACH): Likewise.
15694 [POSIX] (EIDRM): Likewise.
15695 [POSIX] (EISCONN): Likewise.
15696 [POSIX] (ELOOP): Likewise.
15697 [POSIX] (EMULTIHOP): Likewise.
15698 [POSIX] (ENETDOWN): Likewise.
15699 [POSIX] (ENETUNREACH): Likewise.
15700 [POSIX] (ENOBUFS): Likewise.
15701 [POSIX] (ENODATA): Likewise.
15702 [POSIX] (ENOLINK): Likewise.
15703 [POSIX] (ENOMSG): Likewise.
15704 [POSIX] (ENOPROTOOPT): Likewise.
15705 [POSIX] (ENOSR): Likewise.
15706 [POSIX] (ENOSTR): Likewise.
15707 [POSIX] (ENOTCONN): Likewise.
15708 [POSIX] (ENOTSOCK): Likewise.
15709 [POSIX] (EOPNOTSUPP): Likewise.
15710 [POSIX] (EOVERFLOW): Likewise.
15711 [POSIX] (EPROTO): Likewise.
15712 [POSIX] (EPROTONOSUPPORT): Likewise.
15713 [POSIX] (EPROTOTYPE): Likewise.
15714 [POSIX] (ESTALE): Likewise.
15715 [POSIX] (ETIME): Likewise.
15716 [POSIX] (ETXTBSY): Likewise.
15717 [POSIX] (EWOULDBLOCK): Likewise.
15718 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15719 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15720 [POSIX] (SEEK_CUR): Likewise.
15721 [POSIX] (SEEK_END): Likewise.
15722 [POSIX || UNIX98] (mode_t): Do not require.
15723 [POSIX] (off_t): Likewise.
15724 [POSIX] (pid_t): Likewise.
15725 [POSIX] (sys/stat.h): Do not allow header.
15726 [POSIX] (unistd.h): Likewise.
15727 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15728 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15729 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15730 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15731 require.
15732 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15733 sigevent): Specify elements.
15734 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15735 entry.
15736 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15737 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15738
a483863f
JM
15739 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15740 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15741 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15742 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15743 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15744 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15745 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15746 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15747 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15748 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15749 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15750 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15751 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15752 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15753 Likewise.
15754 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15755 Likewise.
15756 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15757 Likewise.
15758 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15759 Likewise.
15760 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15761 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15762 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15763 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15764 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15765 Specify lower bound on value.
15766 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15767 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15768 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15769 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15770 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15771 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15772 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15773 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15774 value.
15775 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15776 as optional.
15777 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15778 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15779 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15780 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15781 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15782 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15784 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15785 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15786 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15789 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15791 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15793 entry.
15794 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15795 optional.
15796 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15802 Likewise.
15803 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15805 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15808 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15809 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15810 as optional.
15811 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15812 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15813 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15815 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15816 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15817 specify as optional.
15818 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15819 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15820 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15821 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15822 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15823 [XPG3] (NL_LANGMAX): Likewise.
15824 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15825 [POSIX || XPG3] (NL_NMAX): Likewise.
15826 [POSIX || XPG3] (NL_SETMAX): Likewise.
15827 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15828 [XPG3] (NZERO): Likewise.
15829 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15830 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15831 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15832 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15833 (REG_ERANGE): Expect.
15834 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15835 optional-constant.
15836 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15837 Use (void) in prototype.
15838 [POSIX] (*_t): Allow.
15839 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15840 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15841 (WRDE_BADVAL): Expect.
15842
5ba924e3
JM
15843 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15844 expect.
15845 [XPG3 || XPG4] (O_RSYNC): Likewise.
15846 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15847 Likewise.
15848 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15849 [XPG3 || XPG4] (sigqueue): Likewise.
15850 [XPG3 || XPG4] (sigtimedwait): Likewise.
15851 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15852 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15853 [XPG3 || XPG4] (vsnprintf): Likewise.
15854 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15855 Likewise.
15856 [XPG3 || XPG4] (blksize_t): Likewise.
15857 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15858 Likewise.
15859 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15860 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15861 [XPG3 || XPG4] (struct itimerspec): Likewise.
15862 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15863 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15864 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15865 [XPG3 || XPG4] (clockid_t): Likewise.
15866 [XPG3 || XPG4] (timer_t): Likewise.
15867 [XPG3 || XPG4] (clock_getres): Likewise.
15868 [XPG3 || XPG4] (clock_gettime): Likewise.
15869 [XPG3 || XPG4] (clock_settime): Likewise.
15870 [XPG3 || XPG4] (nanosleep): Likewise.
15871 [XPG3 || XPG4] (timer_create): Likewise.
15872 [XPG3 || XPG4] (timer_delete): Likewise.
15873 [XPG3 || XPG4] (timer_gettime): Likewise.
15874 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15875 [XPG3 || XPG4] (timer_settime): Likewise.
15876 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15877 [XPG3 || XPG4] (getlogin_r): Likewise.
15878 [XPG3 || XPG4] (pread): Likewise.
15879 [XPG3 || XPG4] (pthread_atfork): Likewise.
15880 [XPG3 || XPG4] (pwrite): Likewise.
15881
ee663277
JM
15882 [BZ #14835]
15883 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15884 <bits/siginfo.h>.
15885
942caa16
PT
158862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15887
e19af380
PT
15888 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15889 finalizing MALLSTREAM.
15890
942caa16
PT
15891 * sysdeps/mach/hurd/syncfs.c: New file.
15892
cfde9b46
SP
158932012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15894
15895 [BZ #14719]
15896 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15897 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15898 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15899 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15900 (_nss_dns_gethostbyname4_r): Likewise.
15901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15902 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15903
f6da27e5
PH
159042012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15905
15906 [BZ #13763]
15907 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15908
6665d4a2
SM
159092012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15910
1f51ee92
SM
15911 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15912 * elf/cache.c (print_entry): Print ",AArch64" for
15913 FLAG_AARCH64_LIB64
15914
6665d4a2
SM
15915 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15916 * elf/cache.c (print_entry): Print ",hard-float" for
15917 FLAG_ARM_LIBHF.
15918
05b227bd
DM
159192012-11-18 David S. Miller <davem@davemloft.net>
15920
15921 With help from Joseph Myers.
15922 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15923 cutoff to 2**-13.
15924 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15925 cutoff to 2**-25.
15926 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15927 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15928 small.
15929 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15930 * math/libm-test.inc (y0_test): New tests.
15931 (y1_test): New tests.
15932 * sysdeps/i386/fpu/libm-test-ulps: Update.
15933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15935
786b0b67
AS
159362012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15937
15938 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15939 64-bit targets.
15940 * configure: Regenerated.
15941
8e18b86d
DM
159422012-11-17 David S. Miller <davem@davemloft.net>
15943
15944 [BZ #14811]
15945 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15946 nonzero exponents with absolute value below 0x1p-128 to +/-
15947 0x1p-128.
15948
531f1ae0
JM
159492012-11-17 Joseph Myers <joseph@codesourcery.com>
15950
12df29e2
JM
15951 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15952
150dc1a0
JM
15953 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15954
531f1ae0
JM
15955 * posix/getconf-speclist.c: New file.
15956 * posix/posix-envs.def: Likewise.
15957 * posix/confstr.c (START_ENV_GROUP): New macro.
15958 (END_ENV_GROUP): Likewise.
15959 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15960 (KNOWN_PRESENT_ENV_STRING): Likewise.
15961 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15962 (UNKNOWN_ENVIRONMENT): Likewise.
15963 (confstr): Include posix-envs.def instead of handling
15964 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15965 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15966 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15967 (END_ENV_GROUP): Likewise.
15968 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15969 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15970 (UNKNOWN_ENVIRONMENT): Likewise.
15971 (__sysconf): Include posix-envs.def instead of handling associated
15972 cases directly here.
15973 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15974 preprocessing getconf-speclist.c rather than running getconf or
15975 generating empty file.
15976
a93f9cbc
PT
159772012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15978
15979 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15980
d64d9f87
AL
159812012-11-16 Andrej Lajovic <natrij@gmail.com>
15982
15983 [BZ #14672]
15984 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15985
447885eb
DM
159862012-11-16 David S. Miller <davem@davemloft.net>
15987
15988 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15989 smaller than LDBL_EPSILON/2.0L, just return xm1.
15990
bcbf9830
L
159912012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15992
15993 * elf/tst-array1.c (init): Set constructor priority to 1000.
15994 (fini): Set destructor priority to 1000.
15995 * elf/tst-array2dep.c: Likewise.
15996
2b766585
SP
159972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15998
15999 [BZ #11741]
16000 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16001 (_IO_new_file_xsputn): Also return EOF if none of the input
16002 data was written when overflow failed.
16003 * libio/iopadn.c (_IO_padn): Likewise.
16004 * libio/iowpadn.c (_IO_wpadn): Likewise.
16005 * stdio-common/tst-put-error.c: Add copyright notice.
16006 (do_test): Add case for printing padded string.
16007 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16008 _IO_padn returned error.
16009 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16010 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16011 return EOF.
16012
b1848fde
SP
160132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16014
16015 * libio/libioP.h: Add comment note that the references to C++
16016 bits are now obsolete.
16017
2fd89785
MS
160182012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16019
16020 * math/libm-test.inc (check_complex): Use asprintf.
16021
e3ea5409
JM
160222012-11-14 Joseph Myers <joseph@codesourcery.com>
16023
16024 * debug/pcprofiledump.c (print_version): Update copyright year.
16025 * malloc/memusagestat.c (print_version): Likewise.
16026
2e64d265
L
160272012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16028
16029 [BZ #14831]
16030 * elf/Makefile (tests): Add tst-audit8.
16031 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16032 ($(objpfx)tst-audit8.out): New target.
16033 (tst-audit8-ENV): New variable.
16034 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16035 audit if l_reloc_result is NULL.
16036 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16037 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16038 * elf/tst-audit8.c: New file.
16039
c485e4d2
MS
160402012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16041
16042 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16043 * misc/Makefile (CFLAGS-select.c): Define.
16044 * posix/Makefile (CFLAGS-pause.c): Define.
16045
3a0d900a
DM
160462012-11-13 David S. Miller <davem@davemloft.net>
16047
16048 * crypt/Makefile: Move test targets after toplevel Rules
16049 inclusion. Grab any necessary sysdep routines when linking.
16050 * crypt/md5.c (md5_process_block): Remove define, we will always
16051 name it __md5_process_block.
16052 (md5_finish_ctx): Update md5_process_block call.
16053 (md5_stream): Likewise.
16054 (md5_process_bytes): Likewise.
16055 (md5_process_block): Rename to __md5_process_block and move to ...
16056 * crypt/md5-block.c: ... here.
16057 * crypt/sha256.c (sha256_process_block): Move to ...
16058 * crypt/sha256-block.c: ... here.
16059 * crypt/sha512.c (sha512_process_block): Move to ...
16060 * crypt/sha512-block.c: ... here.
16061 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16062 path.
16063 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16064 * sysdeps/sparc/sparc64/multiarch/Makefile
16065 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16066 crypt subdir.
16067 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16068 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16069 multiarch changes.
16070 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16071 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16072 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16073 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16074 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16075 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16076 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16077 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16078 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16079 file.
16080 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16081 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16082 file.
16083 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16084
8ca89318
JM
160852012-11-13 Joseph Myers <joseph@codesourcery.com>
16086
e27d476a
JM
16087 * timezone/tzselect.ksh: Update from tzcode git revision
16088 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16089 * timezone/zdump.c: Likewise.
16090 * timezone/zic.c: Likewise.
16091 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16092 in TZVERSION setting, not $(PKGVERSION).
16093 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16094 REPORT_BUGS_TO settings.
16095
8ca89318
JM
16096 [BZ #14838]
16097 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16098 macro.
16099
47594329
MS
161002012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16101
16102 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16103 detection to immediately after _FP_ROUND().
16104 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16105 bits are 0.
16106
640ac3f1
DM
161072012-11-11 David S. Miller <davem@davemloft.net>
16108
16109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16110 inttypes.h
16111 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16112 __close rather than their public counterparts.
16113
3d2577bb
JM
161142012-11-10 Joseph Myers <joseph@codesourcery.com>
16115
16116 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16117 file.
16118 [UNIX98] (sem_timedwait): Do not expect.
16119 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16120 [XPG4 || UNIX98] (sockatmark): Do not expect.
16121 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16122 (clock_getcpuclockid): Do not expect.
16123 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16124 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16125 Do not expect.
16126 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16127 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16128 [UNIX98] (vwscanf): Likewise.
16129 [UNIX98] (vswscanf): Likewise.
16130
fb1ae1ee
JM
161312012-11-09 Joseph Myers <joseph@codesourcery.com>
16132
9ec6f8bd
JM
16133 * timezone/version.h: Remove file.
16134 * timezone/README: Do not refer to version.h.
16135 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16136 $(objpfx)version.h.
16137 ($(objpfx)zdump.o): Likewise.
c3f81911 16138 ($(objpfx)version.h): New target.
9ec6f8bd 16139
0aa8f8a1
JM
16140 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16141 2012i.
16142 * timezone/README: Don't mention modification to tzselect.ksh.
16143 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16144 work on unmodified tzselect.ksh. Substitute version numbers in
16145 tzselect.ksh.
16146
4e87147f
JM
16147 * Makefile (format-me): Remove.
16148 (INSTALL): Adjust indentation. Use commands directly instead of
16149 using $(format-me).
16150
8b748aed
JM
16151 * aclocal.m4 (ACX_PKGVERSION): New macro.
16152 (ACX_BUGURL): Likewise.
16153 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16154 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16155 (REPORT_BUGS_TO): Likewise.
16156 * configure: Regenerated.
16157 * config.h.in (PKGVERSION): New macro.
16158 (REPORT_BUGS_TO): Likewise.
16159 * config.make.in (PKGVERSION): New variable.
16160 (PKGVERSION_TEXI): Likewise.
16161 (REPORT_BUGS_TO): Likewise.
16162 (REPORT_BUGS_TEXI): Likewise.
16163 * Makefile (format-me): Use -I$(common-objpfx)manual.
16164 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16165 ($(common-objpfx)manual/%): New target.
16166 (manual/%): Remove target.
16167 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16168 (print_version): Use PKGVERSION.
16169 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16170 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16171 and REPORT_BUGS_TO.
16172 ($(objpfx)xtrace): Likewise.
16173 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16174 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16175 (print_version): Use PKGVERSION.
16176 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16177 (do_version): Use PKGVERSION.
16178 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16179 REPORT_BUGS_TO.
16180 (common-ldd-rewrite): Likewise.
16181 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16182 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16183 (print_version): Use PKGVERSION.
16184 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16185 * elf/pldd.c (argp_program_bug_address): Remove variable.
16186 (more_help): New function.
16187 (argp): Use more_help.
16188 (print_version): Use PKGVERSION.
16189 * elf/sln.c (main): Use PKGVERSION.
16190 (usage): Use REPORT_BUGS_TO.
16191 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16192 (top level): Use PKGVERSION.
16193 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16194 (print_version): Use PKGVERSION.
16195 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16196 (print_version): Use PKGVERSION.
16197 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16198 (print_version): Use PKGVERSION.
16199 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16200 (print_version): Use PKGVERSION.
16201 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16202 (print_version): Use PKGVERSION.
16203 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16204 (print_version): Use PKGVERSION.
16205 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16206 and BUGURL.
16207 ($(objpfx)memusage): Likewise.
16208 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16209 (do_version): Use PKGVERSION.
16210 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16211 (print_version): Use PKGVERSION.
16212 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16213 ($PKGVERSION): New variable.
16214 ($REPORT_BUGS_TO): Likewise.
16215 (usage): Use $REPORT_BUGS_TO.
16216 (top level): Use $PKGVERSION.
16217 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16218 ($(objpfx)pkgvers.texi): New rule.
16219 ($(objpfx)stamp-pkgvers): Likewise.
16220 * manual/install.texi: Include pkgvers.texi.
16221 (--with-pkgversion): Document new configure option.
16222 (--with-bugurl): Likewise.
16223 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16224 than necessarily for this particular distribution. Use
16225 REPORT_BUGS_TO for where to report bugs.
16226 * INSTALL: Regenerated.
16227 * manual/libc.texinfo: Include pkgvers.texi.
16228 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16229 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16230 (print_version): Use PKGVERSION.
16231 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16232 (print_version): Use PKGVERSION.
16233 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16234 (print_version): Use PKGVERSION.
16235 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16236 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16237 macro.
16238 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16239 (print_version): Use PKGVERSION.
16240 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16241 (print_version): Use PKGVERSION.
16242 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16243 and PKGVERSION.
16244
92e4b6a9
JM
16245 * timezone/checktab.awk: Update from tzcode 2012i.
16246 * timezone/ialloc.c: Likewise.
16247 * timezone/private.h: Likewise.
16248 * timezone/scheck.c: Likewise.
16249 * timezone/tzfile.h: Likewise.
16250 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16251 (TZVERSION): Hardcode tzcode version number.
16252 * timezone/zdump.c: Update from tzcode 2012i.
16253 * timezone/zic.c: Likewise.
16254 * timezone/version.h: New file.
16255 * timezone/README: Describe version.h. Update upstream location.
16256
9bde902c
JM
16257 [BZ #14824]
16258 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16259 (mktemp): Enable declaration.
16260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16264 Likewise.
16265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16266 Likewise.
16267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16268 Likewise.
16269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16270 Likewise.
16271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16272 Likewise.
16273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16274 Likewise.
16275
fb1ae1ee
JM
16276 [BZ #14821]
16277 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16278 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16279 for copies of such integer values.
16280 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16281 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16282
2c1adbcb
AJ
162832012-11-09 Andreas Jaeger <aj@suse.de>
16284
16285 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16286 definitions and declarations that are provided by
16287 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16288
d0f8457e
AK
162892012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16290
3a235abb 16291 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16292 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16293 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16294 definition.
16295
57241e26
MS
162962012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16297
16298 * elf/elf.h: Update comment before AArch64 relocations.
16299
60e8270d
DM
163002012-11-07 David S. Miller <davem@davemloft.net>
16301
16302 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16303 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16304 (__start_context): Declare.
16305 (__makecontext_ret): Delete.
16306 (__makecontext): Hook up __start_context instead of
16307 __makecontext_ret.
16308 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16309 (sysdep_routines): Add __start_context when in stdlib.
16310
0fbb0fbc
JM
163112012-11-07 Joseph Myers <joseph@codesourcery.com>
16312
16313 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16314 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16315 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16316 hardcoded "nm".
16317 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16318 (READELF): New variable. Use it instead of hardcoded "readelf".
16319
eb48db7e
L
163202012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16321
16322 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16323 * sysdeps/x86/Makefile: Here.
16324 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16325 * sysdeps/x86/tst-xmmymm.sh: This.
16326
05bcf62a
JM
163272012-11-07 Joseph Myers <joseph@codesourcery.com>
16328
c4b6cf53
JM
16329 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16330 expectations.
16331 [UNIX98] (pthread_barrier_t): Do not expect.
16332 [UNIX98] (pthread_barrierattr_t): Likewise.
16333 [UNIX98] (pthread_spinlock_t): Likewise.
16334 [UNIX98] (pthread_barrier_destroy): Likewise.
16335 [UNIX98] (pthread_barrier_init): Likewise.
16336 [UNIX98] (pthread_barrier_wait): Likewise.
16337 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16338 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16339 [UNIX98] (pthread_barrierattr_init): Likewise.
16340 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16341 [UNIX98] (pthread_getcpuclockid): Likewise.
16342 [UNIX98] (pthread_mutex_timedlock): Likewise.
16343 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16344 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16345 [UNIX98] (pthread_sigmask): Likewise.
16346 [UNIX98] (pthread_spin_destroy): Likewise.
16347 [UNIX98] (pthread_spin_init): Likewise.
16348 [UNIX98] (pthread_spin_lock): Likewise.
16349 [UNIX98] (pthread_spin_trylock): Likewise.
16350 [UNIX98] (pthread_spin_unlock): Likewise.
16351 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16352 Do not expect.
16353 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16354 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16355 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16356 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16357 [XPG3 || XPG4] (pthread_key_t): Likewise.
16358 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16359 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16360 [XPG3 || XPG4] (pthread_once_t): Likewise.
16361 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16362 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16363 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16364 [XPG3 || XPG4] (pthread_t): Likewise.
16365
cbe6e120
JM
16366 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16367 not expect.
16368 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16369
1b126443
JM
16370 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16371 Change function return type to int.
16372
b961a573
JM
16373 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16374 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16375 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16376 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16377 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16378 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16379 [!POSIX] (posix_madvise): Likewise.
16380 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16381 && !UNIX98].
16382 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16383 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16384 (mode_t): Likewise.
16385 (posix_mem_offset): Likewise.
16386 (posix_typed_mem_get_info): Likewise.
16387 (posix_typed_mem_open): Likewise.
16388
9e188909
JM
16389 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16390 Change condition to [XOPEN2K8].
16391
05bcf62a
JM
16392 * conform/conformtest.pl: Preprocess allow-header data with -x c
16393 instead of from stdin.
16394 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16395 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16396 [C99-based standards] (cerfc): Likewise.
16397 [C99-based standards] (cexp2): Likewise.
16398 [C99-based standards] (cexpm1): Likewise.
16399 [C99-based standards] (clog10): Likewise.
16400 [C99-based standards] (clog1p): Likewise.
16401 [C99-based standards] (clog2): Likewise.
16402 [C99-based standards] (clgamma): Likewise.
16403 [C99-based standards] (ctgamma): Likewise.
16404 [C99-based standards] (cerff): Likewise.
16405 [C99-based standards] (cerfcf): Likewise.
16406 [C99-based standards] (cexp2f): Likewise.
16407 [C99-based standards] (cexpm1f): Likewise.
16408 [C99-based standards] (clog10f): Likewise.
16409 [C99-based standards] (clog1pf): Likewise.
16410 [C99-based standards] (clog2f): Likewise.
16411 [C99-based standards] (clgammaf): Likewise.
16412 [C99-based standards] (ctgammaf): Likewise.
16413 [C99-based standards] (cerfl): Likewise.
16414 [C99-based standards] (cerfcl): Likewise.
16415 [C99-based standards] (cexp2l): Likewise.
16416 [C99-based standards] (cexpm1l): Likewise.
16417 [C99-based standards] (clog10l): Likewise.
16418 [C99-based standards] (clog1pl): Likewise.
16419 [C99-based standards] (clog2l): Likewise.
16420 [C99-based standards] (clgammal): Likewise.
16421 [C99-based standards] (ctgammal): Likewise.
16422 * conform/data/inttypes.h-data [C99-based standards]: Include
16423 stdint.h-data. Remove all expectations for stdint.h contents.
16424 [C99-based standards] (PRI*): Do not allow.
16425 [C99-based standards] (SCN*): Likewise.
16426 [C99-based standards] (*_t): Likewise.
16427 [C99-based-standards] (PRId8): Expect macro.
16428 [C99-based-standards] (PRIi8): Likewise.
16429 [C99-based-standards] (PRIo8): Likewise.
16430 [C99-based-standards] (PRIu8): Likewise.
16431 [C99-based-standards] (PRIx8): Likewise.
16432 [C99-based-standards] (PRIX8): Likewise.
16433 [C99-based-standards] (SCNd8): Likewise.
16434 [C99-based-standards] (SCNi8): Likewise.
16435 [C99-based-standards] (SCNo8): Likewise.
16436 [C99-based-standards] (SCNu8): Likewise.
16437 [C99-based-standards] (SCNx8): Likewise.
16438 [C99-based-standards] (PRIdLEAST8): Likewise.
16439 [C99-based-standards] (PRIiLEAST8): Likewise.
16440 [C99-based-standards] (PRIoLEAST8): Likewise.
16441 [C99-based-standards] (PRIuLEAST8): Likewise.
16442 [C99-based-standards] (PRIxLEAST8): Likewise.
16443 [C99-based-standards] (PRIXLEAST8): Likewise.
16444 [C99-based-standards] (SCNdLEAST8): Likewise.
16445 [C99-based-standards] (SCNiLEAST8): Likewise.
16446 [C99-based-standards] (SCNoLEAST8): Likewise.
16447 [C99-based-standards] (SCNuLEAST8): Likewise.
16448 [C99-based-standards] (SCNxLEAST8): Likewise.
16449 [C99-based-standards] (PRIdFAST8): Likewise.
16450 [C99-based-standards] (PRIiFAST8): Likewise.
16451 [C99-based-standards] (PRIoFAST8): Likewise.
16452 [C99-based-standards] (PRIuFAST8): Likewise.
16453 [C99-based-standards] (PRIxFAST8): Likewise.
16454 [C99-based-standards] (PRIXFAST8): Likewise.
16455 [C99-based-standards] (SCNdFAST8): Likewise.
16456 [C99-based-standards] (SCNiFAST8): Likewise.
16457 [C99-based-standards] (SCNoFAST8): Likewise.
16458 [C99-based-standards] (SCNuFAST8): Likewise.
16459 [C99-based-standards] (SCNxFAST8): Likewise.
16460 [C99-based-standards] (PRId16): Likewise.
16461 [C99-based-standards] (PRIi16): Likewise.
16462 [C99-based-standards] (PRIo16): Likewise.
16463 [C99-based-standards] (PRIu16): Likewise.
16464 [C99-based-standards] (PRIx16): Likewise.
16465 [C99-based-standards] (PRIX16): Likewise.
16466 [C99-based-standards] (SCNd16): Likewise.
16467 [C99-based-standards] (SCNi16): Likewise.
16468 [C99-based-standards] (SCNo16): Likewise.
16469 [C99-based-standards] (SCNu16): Likewise.
16470 [C99-based-standards] (SCNx16): Likewise.
16471 [C99-based-standards] (PRIdLEAST16): Likewise.
16472 [C99-based-standards] (PRIiLEAST16): Likewise.
16473 [C99-based-standards] (PRIoLEAST16): Likewise.
16474 [C99-based-standards] (PRIuLEAST16): Likewise.
16475 [C99-based-standards] (PRIxLEAST16): Likewise.
16476 [C99-based-standards] (PRIXLEAST16): Likewise.
16477 [C99-based-standards] (SCNdLEAST16): Likewise.
16478 [C99-based-standards] (SCNiLEAST16): Likewise.
16479 [C99-based-standards] (SCNoLEAST16): Likewise.
16480 [C99-based-standards] (SCNuLEAST16): Likewise.
16481 [C99-based-standards] (SCNxLEAST16): Likewise.
16482 [C99-based-standards] (PRIdFAST16): Likewise.
16483 [C99-based-standards] (PRIiFAST16): Likewise.
16484 [C99-based-standards] (PRIoFAST16): Likewise.
16485 [C99-based-standards] (PRIuFAST16): Likewise.
16486 [C99-based-standards] (PRIxFAST16): Likewise.
16487 [C99-based-standards] (PRIXFAST16): Likewise.
16488 [C99-based-standards] (SCNdFAST16): Likewise.
16489 [C99-based-standards] (SCNiFAST16): Likewise.
16490 [C99-based-standards] (SCNoFAST16): Likewise.
16491 [C99-based-standards] (SCNuFAST16): Likewise.
16492 [C99-based-standards] (SCNxFAST16): Likewise.
16493 [C99-based-standards] (PRId32): Likewise.
16494 [C99-based-standards] (PRIi32): Likewise.
16495 [C99-based-standards] (PRIo32): Likewise.
16496 [C99-based-standards] (PRIu32): Likewise.
16497 [C99-based-standards] (PRIx32): Likewise.
16498 [C99-based-standards] (PRIX32): Likewise.
16499 [C99-based-standards] (SCNd32): Likewise.
16500 [C99-based-standards] (SCNi32): Likewise.
16501 [C99-based-standards] (SCNo32): Likewise.
16502 [C99-based-standards] (SCNu32): Likewise.
16503 [C99-based-standards] (SCNx32): Likewise.
16504 [C99-based-standards] (PRIdLEAST32): Likewise.
16505 [C99-based-standards] (PRIiLEAST32): Likewise.
16506 [C99-based-standards] (PRIoLEAST32): Likewise.
16507 [C99-based-standards] (PRIuLEAST32): Likewise.
16508 [C99-based-standards] (PRIxLEAST32): Likewise.
16509 [C99-based-standards] (PRIXLEAST32): Likewise.
16510 [C99-based-standards] (SCNdLEAST32): Likewise.
16511 [C99-based-standards] (SCNiLEAST32): Likewise.
16512 [C99-based-standards] (SCNoLEAST32): Likewise.
16513 [C99-based-standards] (SCNuLEAST32): Likewise.
16514 [C99-based-standards] (SCNxLEAST32): Likewise.
16515 [C99-based-standards] (PRIdFAST32): Likewise.
16516 [C99-based-standards] (PRIiFAST32): Likewise.
16517 [C99-based-standards] (PRIoFAST32): Likewise.
16518 [C99-based-standards] (PRIuFAST32): Likewise.
16519 [C99-based-standards] (PRIxFAST32): Likewise.
16520 [C99-based-standards] (PRIXFAST32): Likewise.
16521 [C99-based-standards] (SCNdFAST32): Likewise.
16522 [C99-based-standards] (SCNiFAST32): Likewise.
16523 [C99-based-standards] (SCNoFAST32): Likewise.
16524 [C99-based-standards] (SCNuFAST32): Likewise.
16525 [C99-based-standards] (SCNxFAST32): Likewise.
16526 [C99-based-standards] (PRId64): Likewise.
16527 [C99-based-standards] (PRIi64): Likewise.
16528 [C99-based-standards] (PRIo64): Likewise.
16529 [C99-based-standards] (PRIu64): Likewise.
16530 [C99-based-standards] (PRIx64): Likewise.
16531 [C99-based-standards] (PRIX64): Likewise.
16532 [C99-based-standards] (SCNd64): Likewise.
16533 [C99-based-standards] (SCNi64): Likewise.
16534 [C99-based-standards] (SCNo64): Likewise.
16535 [C99-based-standards] (SCNu64): Likewise.
16536 [C99-based-standards] (SCNx64): Likewise.
16537 [C99-based-standards] (PRIdLEAST64): Likewise.
16538 [C99-based-standards] (PRIiLEAST64): Likewise.
16539 [C99-based-standards] (PRIoLEAST64): Likewise.
16540 [C99-based-standards] (PRIuLEAST64): Likewise.
16541 [C99-based-standards] (PRIxLEAST64): Likewise.
16542 [C99-based-standards] (PRIXLEAST64): Likewise.
16543 [C99-based-standards] (SCNdLEAST64): Likewise.
16544 [C99-based-standards] (SCNiLEAST64): Likewise.
16545 [C99-based-standards] (SCNoLEAST64): Likewise.
16546 [C99-based-standards] (SCNuLEAST64): Likewise.
16547 [C99-based-standards] (SCNxLEAST64): Likewise.
16548 [C99-based-standards] (PRIdFAST64): Likewise.
16549 [C99-based-standards] (PRIiFAST64): Likewise.
16550 [C99-based-standards] (PRIoFAST64): Likewise.
16551 [C99-based-standards] (PRIuFAST64): Likewise.
16552 [C99-based-standards] (PRIxFAST64): Likewise.
16553 [C99-based-standards] (PRIXFAST64): Likewise.
16554 [C99-based-standards] (SCNdFAST64): Likewise.
16555 [C99-based-standards] (SCNiFAST64): Likewise.
16556 [C99-based-standards] (SCNoFAST64): Likewise.
16557 [C99-based-standards] (SCNuFAST64): Likewise.
16558 [C99-based-standards] (SCNxFAST64): Likewise.
16559 [C99-based-standards] (PRIdMAX): Likewise.
16560 [C99-based-standards] (PRIiMAX): Likewise.
16561 [C99-based-standards] (PRIoMAX): Likewise.
16562 [C99-based-standards] (PRIuMAX): Likewise.
16563 [C99-based-standards] (PRIxMAX): Likewise.
16564 [C99-based-standards] (PRIXMAX): Likewise.
16565 [C99-based-standards] (SCNdMAX): Likewise.
16566 [C99-based-standards] (SCNiMAX): Likewise.
16567 [C99-based-standards] (SCNoMAX): Likewise.
16568 [C99-based-standards] (SCNuMAX): Likewise.
16569 [C99-based-standards] (SCNxMAX): Likewise.
16570 [C99-based-standards] (PRIdPTR): Likewise.
16571 [C99-based-standards] (PRIiPTR): Likewise.
16572 [C99-based-standards] (PRIoPTR): Likewise.
16573 [C99-based-standards] (PRIuPTR): Likewise.
16574 [C99-based-standards] (PRIxPTR): Likewise.
16575 [C99-based-standards] (PRIXPTR): Likewise.
16576 [C99-based-standards] (SCNdPTR): Likewise.
16577 [C99-based-standards] (SCNiPTR): Likewise.
16578 [C99-based-standards] (SCNoPTR): Likewise.
16579 [C99-based-standards] (SCNuPTR): Likewise.
16580 [C99-based-standards] (SCNxPTR): Likewise.
16581 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16582 allow.
16583 * conform/data/stdint.h-data: Update comments to clarify
16584 requirements.
16585 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16586 type.
16587 [C99-based standards] (INT8_MAX): Likewise.
16588 [C99-based standards] (INT16_MIN): Likewise.
16589 [C99-based standards] (INT16_MAX): Likewise.
16590 [C99-based standards] (INT32_MIN): Likewise.
16591 [C99-based standards] (INT32_MAX): Likewise.
16592 [C99-based standards] (INT64_MIN): Likewise.
16593 [C99-based standards] (INT64_MAX): Likewise.
16594 [C99-based standards] (UINT8_MAX): Likewise.
16595 [C99-based standards] (UINT16_MAX): Likewise.
16596 [C99-based standards] (UINT32_MAX): Likewise.
16597 [C99-based standards] (UINT64_MAX): Likewise.
16598 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16599 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16600 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16601 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16602 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16603 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16604 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16605 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16606 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16607 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16608 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16609 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16610 [C99-based standards] (INT_FAST8_MIN): Likewise.
16611 [C99-based standards] (INT_FAST8_MAX): Likewise.
16612 [C99-based standards] (INT_FAST16_MIN): Likewise.
16613 [C99-based standards] (INT_FAST16_MAX): Likewise.
16614 [C99-based standards] (INT_FAST32_MIN): Likewise.
16615 [C99-based standards] (INT_FAST32_MAX): Likewise.
16616 [C99-based standards] (INT_FAST64_MIN): Likewise.
16617 [C99-based standards] (INT_FAST64_MAX): Likewise.
16618 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16619 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16620 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16621 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16622 [C99-based standards] (INTPTR_MIN): Likewise.
16623 [C99-based standards] (INTPTR_MAX): Likewise.
16624 [C99-based standards] (UINTPTR_MAX): Likewise.
16625 [C99-based standards] (INTMAX_MIN): Likewise.
16626 [C99-based standards] (INTMAX_MAX): Likewise.
16627 [C99-based standards] (UINTMAX_MAX): Likewise.
16628 [C99-based standards] (PTRDIFF_MIN): Likewise.
16629 [C99-based standards] (PTRDIFF_MAX): Likewise.
16630 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16631 [C99-based standards] (SIZE_MAX): Likewise.
16632 [C99-based standards] (WCHAR_MAX): Likewise.
16633 [C99-based standards] (WINT_MAX): Likewise.
16634 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16635 constraint on value.
16636 [C99-based standards] (WCHAR_MIN): Likewise.
16637 [C99-based standards] (WINT_MIN): Likewise.
16638 [C99-based standards] (*_t): Allow.
16639 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16640 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16641 Include math.h-data and complex.h-data. Remove all expectations
16642 of math.h and complex.h contents.
16643 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16644 at end of line.
16645 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16646 (struct tm): Expect tag.
16647 [C99-based-standards] (wcstof): Expect function.
16648 [C99-based-standards] (wcstold): Likewise.
16649 [C99-based-standards] (wcstoll): Likewise.
16650 [C99-based-standards] (wcstoull): Likewise.
16651 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16652 macro-int-constant. Specify type.
16653 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16654 constraint on value.
16655 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16656 Specify type.
16657 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16658 Specify value.
16659 [ISO C standards]: Do not allow headers.
16660 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16661 wcs[abcdefghijklmnopqrstuvwxyz]*.
16662 [ISO C standards] (*_t): Do not allow.
16663 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16664 Expect function.
16665 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16666 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16667 Specify type.
16668 [ISO C standards]: Do not allow headers.
16669 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16670 is[abcdefghijklmnopqrstuvwxyz]*.
16671 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16672 to[abcdefghijklmnopqrstuvwxyz]*.
16673 [ISO C standards] (*_t): Do not allow.
16674 * conform/data/stdalign.h-data: New file.
16675 * conform/data/stdbool.h-data: Likewise.
16676 * conform/data/stdnoreturn.h-data: Likewise.
16677
7514feb8
RM
166782012-11-07 Roland McGrath <roland@hack.frob.com>
16679
16680 [BZ #14815]
16681 * manual/filesys.texi (Directory Entries): Typo fix.
16682 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16683
19b2ecfc
MS
166842012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16685
16686 * elf/elf.h (EM_AARCH64): New macro.
16687 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16688 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16689 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16690 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16691 (R_AARCH64_TLSDESC): Likewise.
16692 (NT_ARM_TLS): Likewise.
16693 (NT_ARM_HW_BREAK): Likewise.
16694 (NT_ARM_HW_WATCH): Likewise.
16695
60e235ee
JM
166962012-11-07 Joseph Myers <joseph@codesourcery.com>
16697
16698 [BZ #14811]
16699 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16700 (__ieee754_powl): Saturate nonzero exponents with absolute value
16701 below 0x1p-79 to +/- 0x1p-79.
16702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16703 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16704 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16705 nonzero exponents with absolute value below 0x1p-32 to +/-
16706 0x1p-32.
16707 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16708 (__ieee754_powl): Saturate nonzero exponents with absolute value
16709 below 0x1p-79 to +/- 0x1p-79.
16710 * math/libm-test.inc (pow_test): Add more tests.
16711
0ab234b7
AK
167122012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16713
16714 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16715 _dl_s390_cap_flags with kernel. Increase string length.
16716 (_dl_s390_platforms): Add z196 and zEC12.
16717
45832f74
JM
167182012-11-07 Joseph Myers <joseph@codesourcery.com>
16719
16720 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16721 Change XOPEN21K to XOPEN2K.
16722
19218757
MK
167232012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16724
16725 * string/memmove.c: Use memcpy when possible.
16726
c5f45721
AJ
167272012-11-06 Andreas Jaeger <aj@suse.de>
16728
16729 * po/eo.po: Update from translation team.
16730
82477c28
JM
167312012-11-06 Joseph Myers <joseph@codesourcery.com>
16732
16733 [BZ #14793]
16734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16735 exponent and small x and y exponents, scale x or y up. Increase
16736 by 2 the exponent used in scaling up.
16737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16738 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16739 * math/libm-test.inc (fma_test): Add more tests.
16740 (fma_test_towardzero): Likewise.
16741 (fma_test_downward): Likewise.
16742 (fma_test_upward): Likewise.
16743
99252c8c
JM
167442012-11-05 Joseph Myers <joseph@codesourcery.com>
16745
acfa885f
JM
16746 [BZ #14805]
16747 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16748 fenv_t *.
16749
99252c8c
JM
16750 [BZ #14801]
16751 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16752 namespace for names of struct fields.
16753 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16754 fenv_t fields.
16755 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16756 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16757
d6d98dea
ST
167582012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16759
16760 [BZ #3665]
16761 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16762
e10bb107
TS
167632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16764
16765 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16766 PTR_DEMANGLE.
16767
16768 [BZ #5246]
16769 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16770 PTR_DEMANGLE.
16771
a0c2940d
JM
167722012-11-04 Joseph Myers <joseph@codesourcery.com>
16773
16774 [BZ #14797]
16775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16776 definitely overflow as x * y not x * y + z.
16777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16779 * math/libm-test.inc (fma_test): Add more tests.
16780 (fma_test_towardzero): Likewise.
16781 (fma_test_downward): Likewise.
16782 (fma_test_upward): Likewise.
16783
b830319d
TS
167842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16785
16786 [BZ #157]
16787
16788 * include/stub-tag.h: Remove file.
16789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16790 '#include' of it.
16791 * manual/maint.texi (Porting): Don't reference it.
16792 * Makerules ($(objpfx)stubs): Likewise.
16793 * dirent/closedir.c: Don't include <stub-tag.h>.
16794 * dirent/dirfd.c: Likewise.
16795 * dirent/fdopendir.c: Likewise.
16796 * dirent/getdents.c: Likewise.
16797 * dirent/getdents64.c: Likewise.
16798 * dirent/opendir.c: Likewise.
16799 * dirent/readdir.c: Likewise.
16800 * dirent/readdir64.c: Likewise.
16801 * dirent/readdir64_r.c: Likewise.
16802 * dirent/readdir_r.c: Likewise.
16803 * dirent/rewinddir.c: Likewise.
16804 * dirent/seekdir.c: Likewise.
16805 * dirent/telldir.c: Likewise.
16806 * gmon/profil.c: Likewise.
16807 * grp/setgroups.c: Likewise.
16808 * inet/if_index.c: Likewise.
16809 * io/access.c: Likewise.
16810 * io/chdir.c: Likewise.
16811 * io/chmod.c: Likewise.
16812 * io/chown.c: Likewise.
16813 * io/close.c: Likewise.
16814 * io/dup.c: Likewise.
16815 * io/dup2.c: Likewise.
16816 * io/dup3.c: Likewise.
16817 * io/euidaccess.c: Likewise.
16818 * io/faccessat.c: Likewise.
16819 * io/fchdir.c: Likewise.
16820 * io/fchmod.c: Likewise.
16821 * io/fchmodat.c: Likewise.
16822 * io/fchown.c: Likewise.
16823 * io/fchownat.c: Likewise.
16824 * io/fcntl.c: Likewise.
16825 * io/flock.c: Likewise.
16826 * io/fstatfs.c: Likewise.
16827 * io/fstatfs64.c: Likewise.
16828 * io/fstatvfs.c: Likewise.
16829 * io/fstatvfs64.c: Likewise.
16830 * io/futimens.c: Likewise.
16831 * io/fxstat.c: Likewise.
16832 * io/fxstat64.c: Likewise.
16833 * io/fxstatat.c: Likewise.
16834 * io/fxstatat64.c: Likewise.
16835 * io/getcwd.c: Likewise.
16836 * io/isatty.c: Likewise.
16837 * io/lchmod.c: Likewise.
16838 * io/lchown.c: Likewise.
16839 * io/link.c: Likewise.
16840 * io/linkat.c: Likewise.
16841 * io/lseek.c: Likewise.
16842 * io/lseek64.c: Likewise.
16843 * io/lxstat64.c: Likewise.
16844 * io/mkdir.c: Likewise.
16845 * io/mkdirat.c: Likewise.
16846 * io/mkfifo.c: Likewise.
16847 * io/mkfifoat.c: Likewise.
16848 * io/open.c: Likewise.
16849 * io/open64.c: Likewise.
16850 * io/openat.c: Likewise.
16851 * io/openat64.c: Likewise.
16852 * io/pipe.c: Likewise.
16853 * io/pipe2.c: Likewise.
16854 * io/poll.c: Likewise.
16855 * io/posix_fadvise.c: Likewise.
16856 * io/posix_fadvise64.c: Likewise.
16857 * io/posix_fallocate.c: Likewise.
16858 * io/posix_fallocate64.c: Likewise.
16859 * io/read.c: Likewise.
16860 * io/readlink.c: Likewise.
16861 * io/readlinkat.c: Likewise.
16862 * io/rmdir.c: Likewise.
16863 * io/sendfile.c: Likewise.
16864 * io/sendfile64.c: Likewise.
16865 * io/statfs.c: Likewise.
16866 * io/statfs64.c: Likewise.
16867 * io/statvfs.c: Likewise.
16868 * io/statvfs64.c: Likewise.
16869 * io/symlink.c: Likewise.
16870 * io/symlinkat.c: Likewise.
16871 * io/ttyname.c: Likewise.
16872 * io/ttyname_r.c: Likewise.
16873 * io/umask.c: Likewise.
16874 * io/unlink.c: Likewise.
16875 * io/unlinkat.c: Likewise.
16876 * io/utime.c: Likewise.
16877 * io/utimensat.c: Likewise.
16878 * io/write.c: Likewise.
16879 * io/xmknod.c: Likewise.
16880 * io/xmknodat.c: Likewise.
16881 * io/xstat.c: Likewise.
16882 * io/xstat64.c: Likewise.
16883 * login/getpt.c: Likewise.
16884 * login/grantpt.c: Likewise.
16885 * login/unlockpt.c: Likewise.
16886 * math/e_acoshl.c: Likewise.
16887 * math/e_acosl.c: Likewise.
16888 * math/e_asinl.c: Likewise.
16889 * math/e_atan2l.c: Likewise.
16890 * math/e_atanhl.c: Likewise.
16891 * math/e_coshl.c: Likewise.
16892 * math/e_expl.c: Likewise.
16893 * math/e_fmodl.c: Likewise.
16894 * math/e_gammal_r.c: Likewise.
16895 * math/e_hypotl.c: Likewise.
16896 * math/e_j0l.c: Likewise.
16897 * math/e_j1l.c: Likewise.
16898 * math/e_jnl.c: Likewise.
16899 * math/e_lgammal_r.c: Likewise.
16900 * math/e_log10l.c: Likewise.
16901 * math/e_log2l.c: Likewise.
16902 * math/e_logl.c: Likewise.
16903 * math/e_powl.c: Likewise.
16904 * math/e_rem_pio2l.c: Likewise.
16905 * math/e_sinhl.c: Likewise.
16906 * math/e_sqrtl.c: Likewise.
16907 * math/fclrexcpt.c: Likewise.
16908 * math/fedisblxcpt.c: Likewise.
16909 * math/feenablxcpt.c: Likewise.
16910 * math/fegetenv.c: Likewise.
16911 * math/fegetexcept.c: Likewise.
16912 * math/fegetround.c: Likewise.
16913 * math/feholdexcpt.c: Likewise.
16914 * math/fesetenv.c: Likewise.
16915 * math/fesetround.c: Likewise.
16916 * math/feupdateenv.c: Likewise.
16917 * math/fgetexcptflg.c: Likewise.
16918 * math/fraiseexcpt.c: Likewise.
16919 * math/fsetexcptflg.c: Likewise.
16920 * math/ftestexcept.c: Likewise.
16921 * math/k_cosl.c: Likewise.
16922 * math/k_rem_pio2l.c: Likewise.
16923 * math/k_sinl.c: Likewise.
16924 * math/k_tanl.c: Likewise.
16925 * math/s_asinhl.c: Likewise.
16926 * math/s_atanl.c: Likewise.
16927 * math/s_cbrtl.c: Likewise.
16928 * math/s_erfl.c: Likewise.
16929 * math/s_expm1l.c: Likewise.
16930 * math/s_log1pl.c: Likewise.
16931 * math/s_tanhl.c: Likewise.
16932 * misc/acct.c: Likewise.
16933 * misc/brk.c: Likewise.
16934 * misc/chflags.c: Likewise.
16935 * misc/chroot.c: Likewise.
16936 * misc/fchflags.c: Likewise.
16937 * misc/fgetxattr.c: Likewise.
16938 * misc/flistxattr.c: Likewise.
16939 * misc/fremovexattr.c: Likewise.
16940 * misc/fsetxattr.c: Likewise.
16941 * misc/fsync.c: Likewise.
16942 * misc/ftruncate.c: Likewise.
16943 * misc/futimes.c: Likewise.
16944 * misc/futimesat.c: Likewise.
16945 * misc/getdomain.c: Likewise.
16946 * misc/getdtsz.c: Likewise.
16947 * misc/gethostid.c: Likewise.
16948 * misc/gethostname.c: Likewise.
16949 * misc/getloadavg.c: Likewise.
16950 * misc/getpagesize.c: Likewise.
16951 * misc/getsysstats.c: Likewise.
16952 * misc/getxattr.c: Likewise.
16953 * misc/gtty.c: Likewise.
16954 * misc/ioctl.c: Likewise.
16955 * misc/lgetxattr.c: Likewise.
16956 * misc/listxattr.c: Likewise.
16957 * misc/llistxattr.c: Likewise.
16958 * misc/lremovexattr.c: Likewise.
16959 * misc/lsetxattr.c: Likewise.
16960 * misc/lutimes.c: Likewise.
16961 * misc/madvise.c: Likewise.
16962 * misc/mincore.c: Likewise.
16963 * misc/mlock.c: Likewise.
16964 * misc/mlockall.c: Likewise.
16965 * misc/mmap.c: Likewise.
16966 * misc/mprotect.c: Likewise.
16967 * misc/msync.c: Likewise.
16968 * misc/munlock.c: Likewise.
16969 * misc/munlockall.c: Likewise.
16970 * misc/munmap.c: Likewise.
16971 * misc/preadv.c: Likewise.
16972 * misc/preadv64.c: Likewise.
16973 * misc/ptrace.c: Likewise.
16974 * misc/pwritev.c: Likewise.
16975 * misc/pwritev64.c: Likewise.
16976 * misc/readv.c: Likewise.
16977 * misc/reboot.c: Likewise.
16978 * misc/remap_file_pages.c: Likewise.
16979 * misc/removexattr.c: Likewise.
16980 * misc/revoke.c: Likewise.
16981 * misc/select.c: Likewise.
16982 * misc/setdomain.c: Likewise.
16983 * misc/setegid.c: Likewise.
16984 * misc/seteuid.c: Likewise.
16985 * misc/sethostid.c: Likewise.
16986 * misc/sethostname.c: Likewise.
16987 * misc/setregid.c: Likewise.
16988 * misc/setreuid.c: Likewise.
16989 * misc/setxattr.c: Likewise.
16990 * misc/sstk.c: Likewise.
16991 * misc/stty.c: Likewise.
16992 * misc/swapoff.c: Likewise.
16993 * misc/swapon.c: Likewise.
16994 * misc/sync.c: Likewise.
16995 * misc/syncfs.c: Likewise.
16996 * misc/syscall.c: Likewise.
16997 * misc/truncate.c: Likewise.
16998 * misc/ualarm.c: Likewise.
16999 * misc/usleep.c: Likewise.
17000 * misc/ustat.c: Likewise.
17001 * misc/utimes.c: Likewise.
17002 * misc/vhangup.c: Likewise.
17003 * misc/writev.c: Likewise.
17004 * posix/_exit.c: Likewise.
17005 * posix/alarm.c: Likewise.
17006 * posix/execve.c: Likewise.
17007 * posix/fexecve.c: Likewise.
17008 * posix/fork.c: Likewise.
17009 * posix/fpathconf.c: Likewise.
17010 * posix/getaddrinfo.c: Likewise.
17011 * posix/getegid.c: Likewise.
17012 * posix/geteuid.c: Likewise.
17013 * posix/getgid.c: Likewise.
17014 * posix/getgroups.c: Likewise.
17015 * posix/getlogin.c: Likewise.
17016 * posix/getlogin_r.c: Likewise.
17017 * posix/getpgid.c: Likewise.
17018 * posix/getpid.c: Likewise.
17019 * posix/getppid.c: Likewise.
17020 * posix/getresgid.c: Likewise.
17021 * posix/getresuid.c: Likewise.
17022 * posix/getsid.c: Likewise.
17023 * posix/getuid.c: Likewise.
17024 * posix/glob64.c: Likewise.
17025 * posix/nanosleep.c: Likewise.
17026 * posix/pathconf.c: Likewise.
17027 * posix/pause.c: Likewise.
17028 * posix/posix_madvise.c: Likewise.
17029 * posix/pread.c: Likewise.
17030 * posix/pread64.c: Likewise.
17031 * posix/pwrite.c: Likewise.
17032 * posix/pwrite64.c: Likewise.
17033 * posix/sched_getaffinity.c: Likewise.
17034 * posix/sched_getp.c: Likewise.
17035 * posix/sched_gets.c: Likewise.
17036 * posix/sched_primax.c: Likewise.
17037 * posix/sched_primin.c: Likewise.
17038 * posix/sched_rr_gi.c: Likewise.
17039 * posix/sched_setaffinity.c: Likewise.
17040 * posix/sched_setp.c: Likewise.
17041 * posix/sched_sets.c: Likewise.
17042 * posix/sched_yield.c: Likewise.
17043 * posix/setgid.c: Likewise.
17044 * posix/setlogin.c: Likewise.
17045 * posix/setpgid.c: Likewise.
17046 * posix/setresgid.c: Likewise.
17047 * posix/setresuid.c: Likewise.
17048 * posix/setsid.c: Likewise.
17049 * posix/setuid.c: Likewise.
17050 * posix/sleep.c: Likewise.
17051 * posix/spawni.c: Likewise.
17052 * posix/sysconf.c: Likewise.
17053 * posix/times.c: Likewise.
17054 * posix/wait.c: Likewise.
17055 * posix/wait3.c: Likewise.
17056 * posix/wait4.c: Likewise.
17057 * posix/waitpid.c: Likewise.
17058 * resolv/gai_sigqueue.c: Likewise.
17059 * resource/getpriority.c: Likewise.
17060 * resource/getrlimit.c: Likewise.
17061 * resource/getrusage.c: Likewise.
17062 * resource/nice.c: Likewise.
17063 * resource/setpriority.c: Likewise.
17064 * resource/setrlimit.c: Likewise.
17065 * resource/ulimit.c: Likewise.
17066 * rt/aio_cancel.c: Likewise.
17067 * rt/aio_fsync.c: Likewise.
17068 * rt/aio_read.c: Likewise.
17069 * rt/aio_sigqueue.c: Likewise.
17070 * rt/aio_suspend.c: Likewise.
17071 * rt/aio_write.c: Likewise.
17072 * rt/clock_getres.c: Likewise.
17073 * rt/clock_gettime.c: Likewise.
17074 * rt/clock_nanosleep.c: Likewise.
17075 * rt/clock_settime.c: Likewise.
17076 * rt/lio_listio.c: Likewise.
17077 * rt/mq_close.c: Likewise.
17078 * rt/mq_getattr.c: Likewise.
17079 * rt/mq_notify.c: Likewise.
17080 * rt/mq_open.c: Likewise.
17081 * rt/mq_receive.c: Likewise.
17082 * rt/mq_send.c: Likewise.
17083 * rt/mq_setattr.c: Likewise.
17084 * rt/mq_timedreceive.c: Likewise.
17085 * rt/mq_timedsend.c: Likewise.
17086 * rt/mq_unlink.c: Likewise.
17087 * rt/shm_open.c: Likewise.
17088 * rt/shm_unlink.c: Likewise.
17089 * rt/timer_create.c: Likewise.
17090 * rt/timer_delete.c: Likewise.
17091 * rt/timer_getoverr.c: Likewise.
17092 * rt/timer_gettime.c: Likewise.
17093 * rt/timer_settime.c: Likewise.
17094 * setjmp/__longjmp.c: Likewise.
17095 * setjmp/setjmp.c: Likewise.
17096 * signal/kill.c: Likewise.
17097 * signal/killpg.c: Likewise.
17098 * signal/raise.c: Likewise.
17099 * signal/sigaction.c: Likewise.
17100 * signal/sigaltstack.c: Likewise.
17101 * signal/sigblock.c: Likewise.
17102 * signal/sigignore.c: Likewise.
17103 * signal/sigintr.c: Likewise.
17104 * signal/signal.c: Likewise.
17105 * signal/sigpause.c: Likewise.
17106 * signal/sigpending.c: Likewise.
17107 * signal/sigqueue.c: Likewise.
17108 * signal/sigreturn.c: Likewise.
17109 * signal/sigset.c: Likewise.
17110 * signal/sigsetmask.c: Likewise.
17111 * signal/sigstack.c: Likewise.
17112 * signal/sigsuspend.c: Likewise.
17113 * signal/sigtimedwait.c: Likewise.
17114 * signal/sigvec.c: Likewise.
17115 * signal/sigwait.c: Likewise.
17116 * signal/sigwaitinfo.c: Likewise.
17117 * signal/sysv_signal.c: Likewise.
17118 * socket/accept.c: Likewise.
17119 * socket/accept4.c: Likewise.
17120 * socket/bind.c: Likewise.
17121 * socket/connect.c: Likewise.
17122 * socket/getpeername.c: Likewise.
17123 * socket/getsockname.c: Likewise.
17124 * socket/getsockopt.c: Likewise.
17125 * socket/isfdtype.c: Likewise.
17126 * socket/listen.c: Likewise.
17127 * socket/recv.c: Likewise.
17128 * socket/recvfrom.c: Likewise.
17129 * socket/recvmsg.c: Likewise.
17130 * socket/send.c: Likewise.
17131 * socket/sendmsg.c: Likewise.
17132 * socket/sendto.c: Likewise.
17133 * socket/setsockopt.c: Likewise.
17134 * socket/shutdown.c: Likewise.
17135 * socket/sockatmark.c: Likewise.
17136 * socket/socket.c: Likewise.
17137 * socket/socketpair.c: Likewise.
17138 * stdio-common/ctermid.c: Likewise.
17139 * stdio-common/cuserid.c: Likewise.
17140 * stdio-common/remove.c: Likewise.
17141 * stdio-common/rename.c: Likewise.
17142 * stdio-common/renameat.c: Likewise.
17143 * stdio-common/tempname.c: Likewise.
17144 * stdlib/getcontext.c: Likewise.
17145 * stdlib/makecontext.c: Likewise.
17146 * stdlib/setcontext.c: Likewise.
17147 * stdlib/swapcontext.c: Likewise.
17148 * stdlib/system.c: Likewise.
17149 * streams/fattach.c: Likewise.
17150 * streams/fdetach.c: Likewise.
17151 * streams/getmsg.c: Likewise.
17152 * streams/getpmsg.c: Likewise.
17153 * streams/putmsg.c: Likewise.
17154 * streams/putpmsg.c: Likewise.
17155 * sysdeps/unix/bsd/getpt.c: Likewise.
17156 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17157 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17158 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17160 Likewise.
17161 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17162 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17163 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17164 * sysvipc/msgctl.c: Likewise.
17165 * sysvipc/msgget.c: Likewise.
17166 * sysvipc/msgrcv.c: Likewise.
17167 * sysvipc/msgsnd.c: Likewise.
17168 * sysvipc/semctl.c: Likewise.
17169 * sysvipc/semget.c: Likewise.
17170 * sysvipc/semop.c: Likewise.
17171 * sysvipc/semtimedop.c: Likewise.
17172 * sysvipc/shmat.c: Likewise.
17173 * sysvipc/shmctl.c: Likewise.
17174 * sysvipc/shmdt.c: Likewise.
17175 * sysvipc/shmget.c: Likewise.
17176 * termios/tcdrain.c: Likewise.
17177 * termios/tcflow.c: Likewise.
17178 * termios/tcflush.c: Likewise.
17179 * termios/tcgetattr.c: Likewise.
17180 * termios/tcgetpgrp.c: Likewise.
17181 * termios/tcsendbrk.c: Likewise.
17182 * termios/tcsetattr.c: Likewise.
17183 * termios/tcsetpgrp.c: Likewise.
17184 * time/adjtime.c: Likewise.
17185 * time/clock.c: Likewise.
17186 * time/getitimer.c: Likewise.
17187 * time/gettimeofday.c: Likewise.
17188 * time/setitimer.c: Likewise.
17189 * time/settimeofday.c: Likewise.
17190 * time/stime.c: Likewise.
17191 * time/time.c: Likewise.
17192
171932012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17194
a20492cf
PT
17195 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17196 /usr/old/bin.
17197
72e182e3
PT
17198 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17199 instead of spaces.
17200 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17201
fbeafede
JM
172022012-11-03 Joseph Myers <joseph@codesourcery.com>
17203
5b5b04d6
JM
17204 [BZ #14796]
17205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17206 FE_TONEAREST before applying Dekker multiplication and Knuth
17207 addition. Clear inexact exceptions and check for exact zero
17208 results afterwards.
17209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17210 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17211 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17212 * math/libm-test.inc (fma_test): Add more tests.
17213 (fma_test_towardzero): Likewise.
17214 (fma_test_downward): Likewise.
17215 (fma_test_upward): Likewise.
17216 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17217 function.
17218 (libc_fesetround): New macro.
17219 (libc_fesetroundf): Likewise.
17220 (libc_fesetroundl): Likewise.
17221 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17222 function.
17223 (libc_fesetround_387): Likewise.
17224 (libc_fesetroundf): New macro.
17225 (libc_fesetround): Likewise.
17226 (libc_fesetroundl): Likewise.
17227 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17228 function.
17229 (libc_fesetroundf): New macro.
17230 (libc_fesetround): Likewise.
17231 (libc_fesetroundl): Likewise.
17232 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17233 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17234 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17235 libm_hidden_ver.
17236 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17237 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17238 libm_hidden_def.
17239 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17240 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17241 libm_hidden_ver.
17242 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17243 libm_hidden_def.
17244
fbeafede
JM
17245 [BZ #3439]
17246 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17247 integer constant usable in #if and use that to give value to enum
17248 constant.
17249 (FE_DIVBYZERO): Likewise.
17250 (FE_UNDERFLOW): Likewise.
17251 (FE_OVERFLOW): Likewise.
17252 (FE_INVALID): Likewise.
17253 (FE_INVALID_SNAN): Likewise.
17254 (FE_INVALID_ISI): Likewise.
17255 (FE_INVALID_IDI): Likewise.
17256 (FE_INVALID_ZDZ): Likewise.
17257 (FE_INVALID_IMZ): Likewise.
17258 (FE_INVALID_COMPARE): Likewise.
17259 (FE_INVALID_SOFTWARE): Likewise.
17260 (FE_INVALID_SQRT): Likewise.
17261 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17262 (FE_TONEAREST): Likewise.
17263 (FE_TOWARDZERO): Likewise.
17264 (FE_UPWARD): Likewise.
17265 (FE_DOWNWARD): Likewise.
17266 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17267 (FE_DIVBYZERO): Likewise.
17268 (FE_OVERFLOW): Likewise.
17269 (FE_UNDERFLOW): Likewise.
17270 (FE_INEXACT): Likewise.
17271 (FE_TONEAREST): Likewise.
17272 (FE_DOWNWARD): Likewise.
17273 (FE_UPWARD): Likewise.
17274 (FE_TOWARDZERO): Likewise.
17275 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17276 (FE_UNDERFLOW): Likewise.
17277 (FE_OVERFLOW): Likewise.
17278 (FE_DIVBYZERO): Likewise.
17279 (FE_INVALID): Likewise.
17280 (FE_TONEAREST): Likewise.
17281 (FE_TOWARDZERO): Likewise.
17282 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17283 (FE_OVERFLOW): Likewise.
17284 (FE_UNDERFLOW): Likewise.
17285 (FE_DIVBYZERO): Likewise.
17286 (FE_INEXACT): Likewise.
17287 (FE_TONEAREST): Likewise.
17288 (FE_TOWARDZERO): Likewise.
17289 (FE_UPWARD): Likewise.
17290 (FE_DOWNWARD): Likewise.
17291 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17292 (FE_DIVBYZERO): Likewise.
17293 (FE_OVERFLOW): Likewise.
17294 (FE_UNDERFLOW): Likewise.
17295 (FE_INEXACT): Likewise.
17296 (FE_TONEAREST): Likewise.
17297 (FE_DOWNWARD): Likewise.
17298 (FE_UPWARD): Likewise.
17299 (FE_TOWARDZERO): Likewise.
17300
105ca950
CM
173012012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17302
17303 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17304
a542b389
AS
173052012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17306
17307 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17308 commands. Quote $PWD.
17309 (blacklist_exports): Don't use remove_newlines. Replace "declare
17310 -x" by "export".
17311 (remove_newlines): Remove.
17312
f62c8abc
L
173132012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17314
17315 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17316 * stdlib/stdlib.h (atof): Moved to ...
17317 * include/bits/stdlib-float.h: Here. New file.
17318 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17319 * stdlib/bits/stdlib-float.h: New file.
17320 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17321 -mno-sse -mno-mmx.
17322 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17323 <xmmintrin.h>.
17324
0155d5b2
JM
173252012-11-02 Joseph Myers <joseph@codesourcery.com>
17326
a68d0680
JM
17327 * conform/conformtest.pl (@headers): Add fenv.h.
17328 * conform/data/fenv.h-data: New file.
17329 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17330 include of <math/fenv.h>.
17331
caf7f573
JM
17332 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17333 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17334 && !UNIX98]. Enables tests for XOPEN2K8.
17335 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17336 POSIX2008]: Likewise.
17337
6c073ad6
JM
17338 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17339 (struct rusage): Do not expect type or its members.
17340
0155d5b2
JM
17341 [BZ #3439]
17342 * math/math.h (FP_NAN): Define macro to integer constant usable in
17343 #if and use that to give value to enum constant.
17344 (FP_INFINITE): Likewise.
17345 (FP_ZERO): Likewise.
17346 (FP_SUBNORMAL): Likewise.
17347 (FP_NORMAL): Likewise.
17348
b5dcacb4
AS
173492012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17350
17351 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17352 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17353 arguments.
17354
f7934be8
RM
173552012-11-02 Roland McGrath <roland@hack.frob.com>
17356
17357 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17358 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17359 autoconf-time if not.
17360 * configure.in: Remove AC_PREREQ.
17361
d7d08bde
TMQMF
173622012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17363
17364 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17365 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17366 of the internal implementation.
17367
dcdae19a
JM
173682012-11-02 Joseph Myers <joseph@codesourcery.com>
17369
17370 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17371 except include of <misc/sys/syslog.h>.
17372
d6cffd3e
AS
173732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17374
17375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17376 function returns with a NULL context exit with zero.
17377
b3563932
TMQMF
173782012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17379
17380 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17381
b288a93d
L
173822012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17383
17384 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17385 (run_program_cmd): This.
17386 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17387 (tst_langinfo): New variable. Use it.
17388
a2421a68
SAS
173892012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17390
17391 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17392 floating point opcodes.
17393
6f796e1b
TS
173942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17395
7402596b
TS
17396 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17397 variable.
17398
d0d4f868
TS
17399 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17400
6f796e1b
TS
17401 * sysdeps/mach/hurd/powerpc: Remove directory.
17402 * sysdeps/mach/powerpc: Likewise.
17403
4da224a2
AS
174042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17405
17406 * scripts/check-local-headers.sh: Ignore c++ headers.
17407
341dd673
TS
174082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17409
17410 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17411 __libc_cleanup_region_start argument.
17412
473611b2
JM
174132012-11-01 Joseph Myers <joseph@codesourcery.com>
17414
17415 [BZ #14784]
17416 [BZ #14785]
17417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17418 x * y using scaling, not as x * y + z.
17419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17421 * math/libm-test.inc (fma_test): Add more tests.
17422 (fma_test_towardzero): Likewise.
17423 (fma_test_downward): Likewise.
17424 (fma_test_upward): Likewise.
17425
4078da3d
TS
174262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17427
17428 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17429
903252aa
JM
174302012-10-31 Joseph Myers <joseph@codesourcery.com>
17431
17432 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17433 New variable.
17434
cbc818d0
TS
174352012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17436
17437 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17438
5a03cb1e
AS
174392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17440
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17442 Fix sort order.
17443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17444 Likewise.
17445
90aff2ff
TMQMF
174462012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17447
17448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17449 Fix the order of the list for glibc 2.17.
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17451 Likewise.
17452
1818fcb7
AS
174532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17454
17455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17456
ef82f4da
JM
174572012-10-31 Joseph Myers <joseph@codesourcery.com>
17458
16a0e2ec
JM
17459 [BZ #14610]
17460 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17461 for low part of x being zero before using __atanl (y).
17462 * math/libm-test.inc (atan2_test): Add another test.
17463
0eb69512
JM
17464 * manual/install.texi (Configuring and compiling): Document
17465 general use of test-wrapper and test-wrapper-env.
17466 * INSTALL: Regenerated.
17467
ef82f4da
JM
17468 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17469 (__fma): Do not extract and scale down low bits on after-rounding
17470 systems when result rounded to normal precision would have normal
17471 exponent.
17472 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17473 (__fmal): Do not extract and scale down low bits on after-rounding
17474 systems when result rounded to normal precision would have normal
17475 exponent.
17476 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17477 (__fmal): Do not extract and scale down low bits on after-rounding
17478 systems when result rounded to normal precision would have normal
17479 exponent.
17480 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17481 macro.
17482 (fma_test): Add more tests.
17483 (fma_test_towardzero): Likewise.
17484 (fma_test_downward): Likewise.
17485 (fma_test_upward): Likewise.
17486
954ef0d9
L
174872012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17488
17489 * sysdeps/i386/tininess.h: Renamed to ...
17490 * sysdeps/x86/tininess.h: This.
17491 * sysdeps/x86_64/tininess.h: Removed.
17492
df61ffb2
JM
174932012-10-30 Joseph Myers <joseph@codesourcery.com>
17494
17495 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17496 input. Use $(build-program-cmd).
17497 ($(objpfx)tst-array1-static.out): Likewise.
17498 ($(objpfx)tst-array2.out): Likewise.
17499 ($(objpfx)tst-array3.out): Likewise.
17500 ($(objpfx)tst-array4.out): Likewise.
17501 ($(objpfx)tst-array5.out): Likewise.
17502 ($(objpfx)tst-array5-static.out): Likewise.
17503
01767843
CM
175042012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17505
47cc1490
CM
17506 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17507 if defined.
17508
01767843
CM
17509 * nss/nsswitch.h (nss_interface_function): Provide new
17510 macro for use with NSS functions.
17511 * grp/initgroups.c: Use new macro.
17512 * nss/getXXbyYY.c: Likewise.
17513 * nss/getXXbyYY_r.c: Likewise.
17514 * nss/getXXent.c: Likewise.
17515 * nss/getXXent_r.c: Likewise.
17516 * sysdeps/posix/getaddrinfo.c: Likewise.
17517
8321aa97
AJ
175182012-10-30 Andreas Jaeger <aj@suse.de>
17519
17520 * po/ru.po: Update Russion translation from translation project.
17521
2a27fd6d
JM
175222012-10-30 Joseph Myers <joseph@codesourcery.com>
17523
8627a232
JM
17524 [BZ #14152]
17525 [BZ #14783]
17526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17527 result and shift together with sticky bit instead of replicating
17528 round-to-nearest rounding.
17529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17531 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17532 missing underflow exceptions.
17533 (fma_test_towardzero): Add more tests.
17534 (fma_test_downward): Likewise.
17535 (fma_test_upward): Likewise.
17536
2a27fd6d
JM
17537 [BZ #14047]
17538 * sysdeps/generic/tininess.h: New file.
17539 * sysdeps/i386/tininess.h: Likewise.
17540 * sysdeps/sh/tininess.h: Likewise.
17541 * sysdeps/x86_64/tininess.h: Likewise.
17542 * stdlib/tst-strtod-underflow.c: Likewise.
17543 * stdlib/tst-tininess.c: Likewise.
17544 * stdlib/strtod_l.c: Include <tininess.h>.
17545 (round_and_return): Do not set errno for exact underflow cases.
17546 Force an underflow exception when setting errno for underflow.
17547 Determine underflow based on rounding to normal precision if
17548 TININESS_AFTER_ROUNDING.
17549 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17550 ERANGE for exact underflow cases.
17551 * stdlib/Makefile (tests): Add tst-tininess and
17552 tst-strtod-underflow.
17553 ($(objpfx)tst-tininess): Use $(link-libm).
17554 ($(objpfx)tst-strtod-underflow): Likewise.
17555
e7170363
AJ
175562012-10-30 Andreas Jaeger <aj@suse.de>
17557
e5088dc6
AJ
17558 [BZ#14767]
17559 * elf/Makefile (tests): Remove conditional for have-initfini-array
17560 since this is now always required and the variable does not exist
17561 anymore.
17562 (tests-static): Likewise.
17563 (modules-names): Likewise.
17564
e7170363 17565 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17566
17567 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17568 merged with constructor/destructor.
17569 (init_array): Likewise.
17570 * elf/tst-array2dep.c (fini_array): Likewise.
17571 (init_array): Likewise.
17572
60457d8a
MF
175732012-10-29 Mike Frysinger <vapier@gentoo.org>
17574
17575 * manual/message.texi: Delete @cartouche tags.
17576
8bece752
PT
175772012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17578
94ce799f
PT
17579 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17580 EOPNOTSUPP.
17581 * sysdeps/mach/hurd/fsync.c: Likewise.
17582
8bece752
PT
17583 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17584 [_POSIX_REALTIME_SIGNALS]: Change condition to
17585 [_POSIX_REALTIME_SIGNALS > 0].
17586
86ebe6b1
AJ
175872012-10-27 Andreas Jaeger <aj@suse.de>
17588
17589 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17590 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17592 [__WORDSIZE != 64]: Likewise.
17593
54399c08
L
175942012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17595
17596 * iconvdata/tst-table.sh: Remove ${SHELL}.
17597 * iconvdata/tst-tables.sh: Likewise.
17598
e2211bed
DM
175992012-10-25 David S. Miller <davem@davemloft.net>
17600
17601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17602 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17603 of strtoull.
17604
f303f97c
DM
17605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17606 ifunc-impl-list.c
17607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17608 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17609 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17610 file.
17611
1e9d84cd
RM
176122012-10-25 Roland McGrath <roland@hack.frob.com>
17613
17614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17615 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17616 __getdirentries.
17617
df381762
JM
176182012-10-25 Joseph Myers <joseph@codesourcery.com>
17619 Jim Blandy <jimb@codesourcery.com>
17620
17621 * scripts/cross-test-ssh.sh: New file.
17622 * manual/install.texi (Configuring and compiling): Document use of
17623 cross-test-ssh.sh.
17624 * INSTALL: Regenerated.
17625
bff64913
PT
176262012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17627
17628 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17629 EOPNOTSUPP.
17630
25fe8932
JM
176312012-10-25 Joseph Myers <joseph@codesourcery.com>
17632
17633 * Makeconfig (run-program-prefix): Fix comment.
17634
cc1290d0
JM
176352012-10-24 Joseph Myers <joseph@codesourcery.com>
17636 Jim Blandy <jimb@codesourcery.com>
17637
17638 * Makeconfig (test-wrapper): New variable,
17639 (test-wrapper-env): Likewise.
17640 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17641 (run-built-tests): Define to yes.
17642 (run-program-prefix): Use $(test-wrapper).
17643 (built-program-cmd): Likewise.
17644 * Rules (make-test-out): Use $(test-wrapper-env) and
17645 $(host-built-program-cmd).
17646 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17647 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17648 tst-pathopt.sh.
17649 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17650 $(test-wrapper-env) to tst-rtld-load-self.sh.
17651 ($(objpfx)order2.out): Use $(test-wrapper).
17652 ($(objpfx)tst-initorder.out): Likewise.
17653 ($(objpfx)tst-initorder2.out): Likewise.
17654 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17655 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17656 (test_wrapper_env): New variable. Use it to run ld.so.
17657 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17658 Use it to run ld.so.
17659 (test_wrapper_env): Likewise.
17660 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17661 $(test-wrapper) to run-iconv-test.sh.
17662 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17663 (ICONV): Use $test_wrapper.
17664 * posix/Makefile ($(objpfx)globtest.out): Pass
17665 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17666 globtest.sh, not $(run-program-prefix).
17667 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17668 (test_wrapper): Likewise.
17669 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17670 set together with run_via_rtld_prefix.
17671 (run_program_prefix): Define in terms of test_wrapper and
17672 run_via_rtld_prefix.
17673
6e6249d0
RM
176742012-10-24 Roland McGrath <roland@hack.frob.com>
17675
17676 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17677 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17678 Targets removed.
17679
17680 [BZ #14743]
17681 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17682 Declare __clock_getres, __clock_gettime, __clock_settime,
17683 __clock_nanosleep, and __clock_getcpuclockid.
17684 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17685 Remove librt_hidden_def (clock_gettime).
17686 * sysdeps/unix/clock_gettime.c: Likewise.
17687 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17688 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17689 * rt/clock_getres.c: Define __clock_getres as an alias.
17690 * sysdeps/posix/clock_getres.c: Likewise.
17691 * rt/clock_settime.c: Define __clock_settime as an alias.
17692 * sysdeps/unix/clock_settime.c: Likewise.
17693 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17694 * sysdeps/unix/clock_nanosleep.c: Likewise.
17695 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17696 * rt/clock-compat.c: New file.
17697 * rt/Makefile (librt-routines): Add clock-compat and move
17698 $(clock-routines) to ...
17699 (routines): ... here, new variable.
17700 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17701 Don't add get_clockfreq here.
17702 * rt/Versions (libc: GLIBC_2.17): New version set.
17703 Add clock_* symbols here.
17704 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17706 (GLIBC_2.17): Add clock_* symbols.
17707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17711 Likewise.
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17713 Likewise.
17714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17718 * NEWS: Mention the move.
17719
17720 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17721 Use __open, __read, __close rather than their public counterparts.
17722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17723 (__get_clockfreq_via_cpuinfo): Likewise.
17724 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17725 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17726
17727 * config.h.in (HAVE_IFUNC): New #undef.
17728 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17729 was successful.
17730 * configure: Regenerated.
17731
0cae3f4b
MF
177322012-10-24 Mike Frysinger <vapier@gentoo.org>
17733
17734 * configure.in: Move READELF check to start of file.
17735 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17736 libc_cv_asm_gnu_indirect_function in the process.
17737 * configure: Regenerated.
17738
8175a253
MF
177392012-10-24 Mike Frysinger <vapier@gentoo.org>
17740
17741 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17742 send the output to /dev/null.
17743 (libc_cv_cc_with_libunwind): Likewise.
17744 (libc_cv_as_noexecstack): Likewise.
17745 * configure: Regenerate.
17746
0708a7d1
JM
177472012-10-24 Joseph Myers <joseph@codesourcery.com>
17748
10b40d85
JM
17749 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17750
0708a7d1
JM
17751 * posix/globtest.sh (TMPDIR): Do not set.
17752 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17753 (testout): Likewise.
17754
9fddec1a
AJ
177552012-10-24 Andreas Jaeger <aj@suse.de>
17756
3a8db22f
AJ
17757 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17758 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17759 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17760 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17761 posix_fadvise64, posix_fallocate64.
17762
9fddec1a
AJ
17763 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17764 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17765 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17766 Likewise.
17767 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17768 Likewise.
17769 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17770
17771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17772 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17773 <bits/fcntl-linux.h>.
17774 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17775
17776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17777 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17778 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17779 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17780 [__WORDSIZE != 64]: Likewise.
17781
ebfd1bbd
JM
177822012-10-23 Joseph Myers <joseph@codesourcery.com>
17783
03ac099f
JM
17784 * Makeconfig (run-built-tests): New variable.
17785 * Rules [$(cross-compiling) = yes]: Change condition to
17786 [$(run-built-tests) = no].
17787 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17788 to [$(run-built-tests) = yes].
17789 * elf/Makefile [$(cross-compiling) = no]: Likewise
17790 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17791 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17792 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17793 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17794 * io/Makefile [$(cross-compiling) = no]: Likewise.
17795 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17796 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17797 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17798 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17799 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17800 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17801 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17802 * string/Makefile [$(cross-compiling) = no]: Likewise.
17803
ebfd1bbd
JM
17804 * posix/Makefile ($(objpfx)globtest.out): Pass
17805 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17806 $(rtld-installed-name).
17807 * posix/globtest.sh (elf_objpfx): Remove variable.
17808 (rtld_installed_name): Likewise.
17809 (library_path): Likewise.
17810 (run_program_prefix): New variable. Use for running globtest
17811 binary.
17812
166bca24
JB
178132012-10-23 Jim Blandy <jimb@codesourcery.com>
17814 Joseph Myers <joseph@codesourcery.com>
17815
17816 * Makeconfig (host-built-program-cmd): New variable.
17817 * elf/Makefile (tst-stackguard1-ARGS): Use
17818 $(host-built-program-cmd).
17819 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17820 (tst-spawn-ARGS): Likewise.
17821 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17822
88866099
JM
178232012-10-23 Joseph Myers <joseph@codesourcery.com>
17824 Jim Blandy <jimb@codesourcery.com>
17825
17826 * Makeconfig (run-via-rtld-prefix): New variable.
17827 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17828 (built-program-cmd): Likewise.
17829
b4b4c296
AJ
178302012-10-22 Andreas Jaeger <aj@suse.de>
17831
17832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17833 __O_RSYNC if it exists, otherwise to O_SYNC.
17834
6fb54a22
JB
178352012-10-22 Jim Blandy <jimb@codesourcery.com>
17836 Joseph Myers <joseph@codesourcery.com>
17837
17838 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17839 /dev/null.
17840 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17841 from /dev/null
17842 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17843 /dev/null.
17844
481b90b9
AJ
178452012-10-22 Andreas Jaeger <aj@suse.de>
17846
2a0e2669
AJ
17847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17848 Define always.
17849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17850
76e38f9a
AJ
17851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17852 bits/fcntl-linux.h.
17853
7cd37b43
AJ
17854 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17855 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17856
481b90b9
AJ
17857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17858 to __O_LARGEFILE.
17859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17860 to __O_LARGEFILE.
17861
aba75984
JB
178622012-10-21 Jim Blandy <jimb@codesourcery.com>
17863 Joseph Myers <joseph@codesourcery.com>
17864
17865 * config.make.in (NM): New variable.
17866
88d4247f
AJ
178672012-10-21 Andreas Jaeger <aj@suse.de>
17868
17869 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17870 definitions and declarations that are provided by
17871 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17872
f2eed205
L
178732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17874
17875 [BZ #14683]
17876 * elf/Makefile (tests-static): Add tst-leaks1-static.
17877 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17878 ($(objpfx)tst-leaks1-static): New rule.
17879 ($(objpfx)tst-leaks1-static-mem): Likewise.
17880 (tst-leaks1-static-ENV): New macro.
17881 * elf/dl-open.c (dl_open_worker): Check the main application
17882 only if SHARED is defined.
17883 * elf/tst-leaks1-static.c: New file.
17884
335e6931
AJ
178852012-10-20 Andreas Jaeger <aj@suse.de>
17886
17887 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17888 generic values for Linux.
17889 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17890 and declarations that are provided by <bits/fcntl-linux.h> and
17891 include <bits/fcntl-linux.h>.
17892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17894
ac5c94d3
RM
178952012-10-20 Roland McGrath <roland@hack.frob.com>
17896
17897 * io/fcntl.h: Move include of <bits/types.h> to the top and
17898 include it unconditionally.
17899
de54b33a
L
179002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17901
228cfb01
L
17902 * wcsmbs/Makefile (tests-ifunc): New variable.
17903 (tests): Add $(tests-ifunc).
17904 * wcsmbs/test-wcschr-ifunc.c: New file.
17905 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17906 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17907 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17908 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17909 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17910
69f07e5f
L
17911 * string/Makefile (tests-ifunc): New variable.
17912 (tests): Add $(tests-ifunc).
17913 * string/test-memccpy.c (TEST_NAME): New macro.
17914 * string/test-memchr.c (TEST_NAME): Likewise.
17915 * string/test-memcmp.c (TEST_NAME): Likewise.
17916 * string/test-memcpy.c (TEST_NAME): Likewise.
17917 * string/test-memmem.c (TEST_NAME): Likewise.
17918 * string/test-memmove.c (TEST_NAME): Likewise.
17919 * string/test-memset.c (TEST_NAME): Likewise.
17920 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17921 * string/test-stpcpy.c (TEST_NAME): Likewise.
17922 * string/test-stpncpy.c (TEST_NAME): Likewise.
17923 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17924 * string/test-strcasestr.c (TEST_NAME): Likewise.
17925 * string/test-strcat.c (TEST_NAME): Likewise.
17926 * string/test-strchr.c (TEST_NAME): Likewise.
17927 * string/test-strcmp.c(TEST_NAME): Likewise.
17928 * string/test-strcpy.c (TEST_NAME): Likewise.
17929 * string/test-strcspn.c (TEST_NAME): Likewise.
17930 * string/test-strlen.c (TEST_NAME): Likewise.
17931 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17932 * string/test-strncmp.c (TEST_NAME): Likewise.
17933 * string/test-strncpy.c (TEST_NAME): Likewise.
17934 * string/test-strnlen.c (TEST_NAME): Likewise.
17935 * string/test-strpbrk.c (TEST_NAME): Likewise.
17936 * string/test-strrchr.c (TEST_NAME): Likewise.
17937 * string/test-strspn.c (TEST_NAME): Likewise.
17938 * string/test-strstr.c (TEST_NAME): Likewise.
17939 * string/test-bcopy-ifunc.c: New file.
17940 * string/test-bzero-ifunc.c: Likewise.
17941 * string/test-memccpy-ifunc.c: Likewise.
17942 * string/test-memchr-ifunc.c: Likewise.
17943 * string/test-memcmp-ifunc.c: Likewise.
17944 * string/test-memcpy-ifunc.c: Likewise.
17945 * string/test-memmem-ifunc.c: Likewise.
17946 * string/test-memmove-ifunc.c: Likewise.
17947 * string/test-mempcpy-ifunc.c: Likewise.
17948 * string/test-memset-ifunc.c: Likewise.
17949 * string/test-rawmemchr-ifunc.c: Likewise.
17950 * string/test-stpcpy-ifunc.c: Likewise.
17951 * string/test-stpncpy-ifunc.c: Likewise.
17952 * string/test-strcasecmp-ifunc.c: Likewise.
17953 * string/test-strcasestr-ifunc.c: Likewise.
17954 * string/test-strcat-ifunc.c: Likewise.
17955 * string/test-strchr-ifunc.c: Likewise.
17956 * string/test-strchrnul-ifunc.c: Likewise.
17957 * string/test-strcmp-ifunc.c: Likewise.
17958 * string/test-strcpy-ifunc.c: Likewise.
17959 * string/test-strcspn-ifunc.c: Likewise.
17960 * string/test-strlen-ifunc.c: Likewise.
17961 * string/test-strncasecmp-ifunc.c: Likewise.
17962 * string/test-strncat-ifunc.c: Likewise.
17963 * string/test-strncmp-ifunc.c: Likewise.
17964 * string/test-strncpy-ifunc.c: Likewise.
17965 * string/test-strnlen-ifunc.c: Likewise.
17966 * string/test-strpbrk-ifunc.c: Likewise.
17967 * string/test-strrchr-ifunc.c: Likewise.
17968 * string/test-strspn-ifunc.c: Likewise.
17969 * string/test-strstr-ifunc.c: Likewise.
17970
de54b33a
L
17971 * debug/Makefile (tests-ifunc): New variable.
17972 (tests): Add $(tests-ifunc).
17973 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17974 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17975 * debug/test-stpcpy_chk-ifunc.c: New file.
17976 * debug/test-strcpy_chk-ifunc.c: Likewise.
17977
88481c16
SP
179782012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17979
17980 [BZ #13601]
17981 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17982 header is not read in.
17983
135948bd
JM
179842012-10-19 Joseph Myers <joseph@codesourcery.com>
17985
89f1c388
JM
17986 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17987 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17988 directly. Pass built executable to script as
17989 $(built-program-cmd).
17990 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17991 $testprogram without using LD_LIBRARY_PATH and $ldso.
17992
e40a0d21
JM
17993 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17994 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17995 $(rtld-installed-name).
17996 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17997 (rtld_installed_name): Likewise.
17998 (library_path): Likewise.
17999 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18000 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18001 $(run-program-prefix) to tst-tables.sh.
18002 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18003 it to run tst-table-from and tst-table-to.
18004 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18005 Pass it to tst-table.sh.
18006 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18007 $(run-program-prefix) to tst-gettext.sh.
18008 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18009 tst-translit.sh.
18010 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18011 tst-gettext2.sh.
18012 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18013 to run tst-gettext.
18014 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18015 to run tst-gettext2.
18016 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18017 to run tst-translit.
18018 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18019 $(run-program-prefix) to tst-mtrace.sh.
18020 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18021 to run tst-mtrace.
18022 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18023 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18024 $(rtld-installed-name).
18025 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18026 (rtld_installed_name): Likewise.
18027 (run_program_prefix): New variable. Use it to run wordexp-test.
18028
728e272a
JM
18029 * Makeconfig (ARCH): Remove all definitions.
18030 (machine): Likewise.
18031 [ARCH]: Remove conditional code.
18032 [!objdir]: Give error.
18033 [!objdir] (objpfx): Remove.
18034 [!objdir] (common-objpfx): Likewise.
18035 [!objdir] (common-objdir): Likewise.
18036 * configure.in (config_makefile): Remove. Hardcode Makefile in
18037 AC_CONFIG_FILES call.
18038 * configure: Regenerated.
18039
d528cdcf
JM
18040 [BZ #13888]
18041 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18042 or TMPDIR.
18043 (testout): Likewise.
18044
135948bd
JM
18045 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18046 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18047 $(rtld-installed-name).
18048 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18049 (rtld_installed_name): Likwise.
18050 (runit): Remove function.
18051 (run_getconf): New variable, Use it for running getconf binary.
18052
38c78296
L
180532012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18054
18055 [BZ #14716]
18056 * string/test-memmem.c (check_result): New function.
18057 (do_one_test): Use it.
18058 (check1): New function.
18059 (test_main): Use it.
18060
d077f65f
MT
180612012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18062
18063 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18064
ced52c71
JM
180652012-10-18 Joseph Myers <joseph@codesourcery.com>
18066
18067 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18068 (_G_LSEEK64): Likewise.
18069 (_G_MMAP64): Likewise.
18070 (_G_FSTAT64): Likewise.
18071 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18072 (_G_LSEEK64): Likewise.
18073 (_G_MMAP64): Likewise.
18074 (_G_FSTAT64): Likewise.
18075 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18076 unconditional. Call __mmap64 directly.
18077 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18078 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18079 __lseek64 directly.
18080 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18081 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18082 __mmap64 directly.
18083 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18084 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18085 __lseek64 directly.
18086 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18087 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18088 __lseek64 directly.
18089 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18090 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18091 __lseek64 directly.
18092 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18093 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18094 __fxstat64 directly.
18095 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18096 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18097 unconditional.
18098 (freopen64) [!_G_OPEN64]: Remove conditional code.
18099 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18100 unconditional.
18101 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18102 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18103 unconditional.
18104 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18105 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18106 unconditional.
18107 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18108 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18109 unconditional.
18110 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18111 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18112 unconditional.
18113 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18114 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18115 unconditional.
18116 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18117 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18118 unconditional.
18119 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18120
b741de23
SP
181212012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18122
18123 [BZ #12140]
18124 * manual/memory.texi (Malloc Tunable Parameters): Add note
18125 about free list pointers overwriting some perturb bytes.
18126 Wording suggested by Roland McGrath.
18127
f9b9d9c9
JM
181282012-10-17 Joseph Myers <joseph@codesourcery.com>
18129
18130 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18131 (lgamma_test): Likewise.
18132 (tgamma_test): Likewise.
18133
172a631a
FW
181342012-10-16 Florian Weimer <fweimer@redhat.com>
18135
18136 [BZ #14700]
18137 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18138 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18139
e9f37252
MK
181402012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18141
18142 * NEWS: Mention BZ #14716.
18143 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18144 when removing AVAILABLE1_USES_J macro.
18145
d394eb74
L
181462012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18147
18148 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18149 (__bswap_64): __uint64_t for unsigned 64-bit int.
18150
ca38dc17
AS
181512012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18152
18153 * include/string.h (memmem): Declare libc hidden alias.
18154 * string/memmem.c (memmem): Define libc hidden alias.
18155 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18156 __read, __close instead of open, read, close.
18157
9a387d1f
L
181582012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18159
ac49ecaf
L
18160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18161 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18162 global and hidden.
18163 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18164 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18165 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18166 Likewise.
18167 (__rawmemchr_sse2): Likewise.
18168 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18169 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18170 (__strchr_sse2): Likewise.
18171 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18172 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18173 (__strcasecmp_sse2): Likewise.
18174 (__strncasecmp_sse2): Likewise.
18175 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18176 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18177 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18178 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18179 (__strrchr_sse2): Likewise.
18180 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18181 ifunc-impl-list.c.
18182 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18183 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18184 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18185 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18186 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18187 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18188 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18189 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18190 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18191 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18192 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18193 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18194 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18195 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18196 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18197 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18198 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18199 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18200 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18201 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18202 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18203 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18204 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18205 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18206 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18208 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18209 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18210 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18211 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18212
b090e8ea
L
18213 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18214 global and hidden.
18215 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18216 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18217 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18218 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18219 Likewise.
18220 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18221 Likewise.
18222 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18223 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18224 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18225 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18226 ifunc-impl-list.c.
18227 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18228 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18229 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18230 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18231 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18232 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18233 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18234 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18235 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18236 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18237 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18238 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18239 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18240 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18241 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18242 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18243 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18244 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18245 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18246 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18247 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18248 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18249 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18250 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18251 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18252 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18253 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18254 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18255 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18256 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18257 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18258 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18259 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18260 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18261 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18262 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18263 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18264 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18265 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18266 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18267 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18268
11dd4af6
L
18269 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18270 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18271 * include/ifunc-impl-list.h: New file.
18272 * misc/ifunc-impl-list.c: Likewise.
18273 * misc/Makefile (routines): Add ifunc-impl-list.
18274 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18275 * string/test-string.h: Include <ifunc-impl-list.h>.
18276 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18277 impl_array): New variables.
18278 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18279 are defined.
18280 (test_init): Call __libc_ifunc_impl_list to initialize
18281 func_list if TEST_IFUNC and TEST_NAME are defined.
18282
9a387d1f
L
18283 * string/Makefile (strop-tests): Add bcopy and bzero.
18284 * string/test-bcopy.c: New file.
18285 * string/test-bzero.c: Likewise.
18286 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18287 defined.
18288 * string/test-memset.c: Support bzero test if TEST_BZERO is
18289 defined.
18290 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18291 __libc_memmove.
18292 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18293 __libc_memset.
18294 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18295 of memset.
18296
472371b9
JM
182972012-10-10 Joseph Myers <joseph@codesourcery.com>
18298
1e4a9536
JM
18299 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18300 * configure: Regenerated.
18301
d173d12e
JM
18302 * Makeconfig (+link-static-before-libc): Don't include
18303 $(link-static-libc).
18304
472371b9
JM
18305 * libio/libio.h (_IO_pos_t): Remove.
18306
89a3ad0b
AO
183072012-10-10 Alexandre Oliva <aoliva@redhat.com>
18308
18309 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18310 McGrath.
18311
e7451425
AO
183122012-10-10 Alexandre Oliva <aoliva@redhat.com>
18313
18314 * crypt/crypt-entry.c: Include fips-private.h.
18315 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18316 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18317 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18318 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18319
4ba74a35
AO
183202012-10-10 Alexandre Oliva <aoliva@redhat.com>
18321
18322 * crypt/crypt-private.h: Include stdbool.h.
18323 (_ufc_setup_salt_r): Return bool.
18324 * crypt/crypt-entry.c: Include errno.h.
18325 (__crypt_r): Return NULL with EINVAL for bad salt.
18326 * crypt/crypt_util.c (bad_for_salt): New.
18327 (_ufc_setup_salt_r): Check that salt is long enough and within
18328 the specified alphabet.
18329 * crypt/badsalttest.c: New file.
18330 * crypt/Makefile (tests): Add it.
18331 ($(objpfx)badsalttest): New.
18332
f96f1242
MK
183332012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18334
18335 * NEWS: Add entry for BZ #14602.
18336
0e8e0c1c
JM
183372012-10-09 Joseph Myers <joseph@codesourcery.com>
18338
18339 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18340 type-generic.
18341 * math/libm-test.inc: Update comment listing what functions and
18342 macros are tested.
18343 (isgreater_test): New function.
18344 (isgreaterequal_test): Likewise.
18345 (isless_test): Likewise.
18346 (islessequal_test): Likewise.
18347 (islessgreater_test): Likewise.
18348 (isunordered_test): Likewise.
18349 (main): Call the new functions.
18350
273edc5e
RM
183512012-10-09 Roland McGrath <roland@hack.frob.com>
18352
b8493de0
RM
18353 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18354 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18355 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18356 * sysdeps/i386/configure: Regenerated.
18357 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18358 * sysdeps/mach/configure: Regenerated.
18359 * sysdeps/mach/hurd/configure: Regenerated.
18360 * sysdeps/powerpc/configure: Regenerated.
18361 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18362 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18363 * sysdeps/s390/s390-32/configure: Regenerated.
18364 * sysdeps/s390/s390-64/configure: Regenerated.
18365 * sysdeps/sh/configure: Regenerated.
18366 * sysdeps/sparc/configure: Regenerated.
18367 * sysdeps/unix/sysv/linux/configure: Regenerated.
18368 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18369 * sysdeps/x86_64/configure: Regenerated.
18370
273edc5e
RM
18371 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18372 defined. Don't check if MAP is NULL.
18373
c8450f70
JM
183742012-10-09 Joseph Myers <joseph@codesourcery.com>
18375
18376 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18377 (_G_stat64): Likewise.
18378 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18379 (_G_stat64): Likewise.
18380 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18381 instead of struct _G_stat64.
18382 * libio/fileops.c (mmap_remap_check): Likewise.
18383 (decide_maybe_mmap): Likewise.
18384 (_IO_new_file_seekoff): Likewise.
18385 (_IO_file_stat): Likewise.
18386 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18387 _G_off64_t.
18388 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18389 instead of struct _G_stat64.
18390 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18391
57e605ba
MK
183922012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18393
18394 [BZ #14602]
18395 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18396 Replace with ...
18397 (CHECK_EOL): New macro.
18398 (two_way_short_needle): Check beginning of haystack for EOL. Use
18399 CHECK_EOL.
18400 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18401 Replace with CHECK_EOL.
18402 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18403 Replace with CHECK_EOL.
18404
ef1bb361
JM
184052012-10-08 Joseph Myers <joseph@codesourcery.com>
18406
18407 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18408 type-generic.
18409 * math/libm-test.inc: Update comment listing what functions and
18410 macros are tested.
18411 (finite_test): New function.
18412 (isinf_test): Likewise.
18413 (isnan_test): Likewise.
18414 (fpclassify_test): Test subnormal input.
18415 (isfinite_test): Likewise.
18416 (isnormal_test): Likewise.
18417 (main): Call the new functions.
18418
55f11534
JN
184192012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18420
18421 [BZ #14660]
18422 * Makerules (%.dynsym): Force C locale when running
18423 $(OBJDUMP) --dynamic-syms.
18424
1ab29350
AS
184252012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18426
18427 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18428 <stdint.h>.
18429
f1ecb7ef
DM
184302012-10-06 David S. Miller <davem@davemloft.net>
18431
18432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18433 upper 32-bits of the length value in %o2 since we use branch-on-register
18434 tests which consider the entire 64-bit register.
18435
5d41d91a
L
184362012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18437
18438 * string/test-strstr.c (check2): Add a test for page boundary.
18439
3baddb72
DM
184402012-10-05 David S. Miller <davem@davemloft.net>
18441
18442 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18443 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18444 file.
18445 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18446 sysdep_routines.
18447 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18448 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18449 and bzero when HWCAP_SPARC_CRYPTO is present.
18450
9cee5585
L
184512012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18452
d7e0dab9
L
18453 [BZ #14602]
18454 * string/test-strstr.c (check2): New function.
18455 (test_main): Call check2.
18456
03759f47
L
18457 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18458 and bug-strchr1.
18459 * string/bug-strcasestr1.c (do_test): Moved to ...
18460 * string/test-strcasestr.c (check1): Here. New function.
18461 (do_one_test): Break out result checking code into ...
18462 (check_result): This. New function.
18463 (do_one_test): Call check_result.
18464 (test_main): Call check1.
18465 * string/bug-strchr1.c (do_test): Moved to ...
18466 * string/test-strchr.c (check1): Here. New function.
18467 (do_one_test): Break out result checking code into ...
18468 (check_result): This. New function.
18469 (do_one_test): Call check_result.
18470 (test_main): Call check1.
18471 * string/bug-strstr1.c (main): Moved to ...
046f153e 18472 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18473 (do_one_test): Break out result checking code into ...
18474 (check_result): This. New function.
18475 (do_one_test): Call check_result.
18476 (test_main): Call check1.
18477 * string/bug-strcasestr1.c: Removed.
18478 * string/bug-strchr1.c: Likewise.
18479 * string/bug-strstr1.c: Likewise.
18480
53cea63e
L
18481 * elf/Makefile (dl-routines): Add hwcaps.
18482 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18483 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18484 (_dl_important_hwcaps): Moved to ...
18485 * elf/dl-hwcaps.c: Here. New file.
18486 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18487
9cee5585 18488 [BZ #14557]
bb859b06
L
18489 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18490 if IS_IN_rtld isn't defined.
18491
9cee5585
L
18492 * elf/dl-support.c (_dl_sysinfo_map): New.
18493 Include "get-dynamic-info.h" and "setup-vdso.h".
18494 (_dl_non_dynamic_init): Call setup_vdso.
18495 * elf/dynamic-link.h: Don't include <assert.h>.
18496 (elf_get_dynamic_info): Moved to ...
18497 * elf/get-dynamic-info.h: Here. New file.
18498 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18499 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18500 * elf/setup-vdso.h: Here. New file.
18501 * elf/rtld.c: Include "setup-vdso.h".
18502 (dl_main): Call setup_vdso.
18503
23c31b76
JM
185042012-10-05 Joseph Myers <joseph@codesourcery.com>
18505
28234b07
JM
18506 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18507 creal in comment listing functions tested. List finite, isinf,
18508 isnan, isless, islessequal, isgreater, isgreaterequal,
18509 islessgreater, isunordered, lgamma_r and pow10 as functions and
18510 macros not tested. Mention which functions not tested are aliases
18511 for other functions. Fix typo. Note that signs of NaNs are not
18512 tested.
18513
23c31b76
JM
18514 * scripts/config.guess: Update from config.git.
18515 * scripts/config.sub: Likewise.
18516
9043e228
RM
185172012-10-04 Roland McGrath <roland@hack.frob.com>
18518
18519 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18520 * misc/madvise.c (madvise): Renamed to __madvise.
18521 Make madvise a weak alias.
18522 * include/sys/mman.h: Declare __madvise.
18523 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18524 * sysdeps/unix/syscalls.list
18525 (madvise): Make __madvise the strong name, and madvise a weak alias.
18526 * sysdeps/unix/sysv/linux/syscalls.list
18527 (madvise, mmap): Remove redundant entries.
18528 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18529 * malloc/malloc.c (mtrim): Likewise.
18530 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18531
f57f8055
RM
185322012-10-03 Roland McGrath <roland@hack.frob.com>
18533
18534 * sysdeps/mach/hurd/dl-cache.c: File removed.
18535 * config.h.in (USE_LDCONFIG): New #undef.
18536 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18537 * configure: Regenerated.
18538 * elf/Makefile (dl-routines): Add dl-cache only under
18539 [$(use-ldconfig) = yes].
18540 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18541 cache on [USE_LDCONFIG].
18542 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18543 [USE_LDCONFIG].
18544 * elf/rtld.c (dl_main): Likewise.
18545
5bb0c10a
PT
185462012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18547
18548 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18549 _SC_LEVEL4_CACHE_LINESIZE.
18550
010188c6
RM
185512012-10-03 Roland McGrath <roland@hack.frob.com>
18552
18553 * sysdeps/unix/bsd/confstr.h: File removed.
18554
b6c5ec07
AO
185552012-10-02 Alexandre Oliva <aoliva@redhat.com>
18556
18557 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18558 sys/sdt-config.h.
18559
408223d4
RM
185602012-10-02 Roland McGrath <roland@hack.frob.com>
18561
18562 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18563 Make 'mapoff' field ElfW(Off) rather than off_t.
18564
bb9510dc
DL
185652012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18566
fc997c6e
DL
18567 * nscd/Makefile: Remove nscd-cflags and all its users.
18568 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18569 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18570
bb9510dc
DL
18571 [BZ #10631]
18572 * malloc.c (malloc_printerr): Clarify error message.
18573
05699367
L
185742012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18575
18576 [BZ #14648]
18577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18578 Set bit_FMA_Usable if FMA is supported.
18579 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18580 macro.
18581 (bit_FMA4_Usable): Updated.
18582 (index_FMA_Usable): New macro.
18583 (CPUID_FMA): Likewise
18584 (HAS_FMA): Defined with bit_FMA_Usable.
18585
51367701
RM
185862012-10-01 Roland McGrath <roland@hack.frob.com>
18587
18588 * bits/types.h (__swblk_t): Type removed.
18589 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18590 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18592 (__SWBLK_T_TYPE): Likewise.
18593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18594 (__SWBLK_T_TYPE): Likewise.
18595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18596 (__SWBLK_T_TYPE): Likewise.
18597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18598 (__SWBLK_T_TYPE): Likewise.
18599
4d57bf63 186002012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18601 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18602
18603 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18604 (xdr_mapname): Use YPMAXMAP as maxsize.
18605 (xdr_peername): Use YPMAXPEER as maxsize.
18606 (xdr_keydat): Use YPAXRECORD as maxsize.
18607 (xdr_valdat): Use YPMAXRECORD as maxsize.
18608
93c65d43
RM
186092012-10-01 Roland McGrath <roland@hack.frob.com>
18610
497a03d6
RM
18611 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18612
93c65d43
RM
18613 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18614 * csu/init-first.c: ... here.
18615 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18616 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18617 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18618 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18619 * sysdeps/i386/init-first.c: File removed.
18620 * sysdeps/sh/init-first.c: File removed.
18621
bec749fd
JM
186222012-10-01 Joseph Myers <joseph@codesourcery.com>
18623
18624 [BZ #14645]
18625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18626 if x * y might underflow to zero and z is zero.
18627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18629 * math/libm-test.inc (min_subnorm_value): New variable.
18630 (fma_test): Add more tests.
18631 (fma_test_towardzero): Likewise.
18632 (fma_test_downward): Likewise
18633 (fma_test_upward): Likewise.
18634 (initialize): Set min_subnorm_value.
18635
8ec5b013
JM
186362012-09-29 Joseph Myers <joseph@codesourcery.com>
18637
18638 [BZ #14638]
18639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18640 0 + 0.
18641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18642 mode for addition resulting in exact zero.
18643 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18644 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18645 exact 0 + 0.
18646 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18648 * math/libm-test.inc (fma_test): Add more tests.
18649 (fma_test_towardzero): New function.
18650 (fma_test_downward): Likewise.
18651 (fma_test_upward): Likewise.
18652 (main): Call the new functions.
18653
b1fa802e
DM
186542012-09-28 David S. Miller <davem@davemloft.net>
18655
18656 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18657
d3b9fd9e
RM
186582012-09-28 Roland McGrath <roland@hack.frob.com>
18659
ea4d37b3
RM
18660 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18661 instead of SIGALRM.
18662
ac51c949
RM
18663 * sysdeps/gnu/_G_config.h: Moved to ...
18664 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18665 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18666 * sysdeps/generic/_G_config.h: ... here.
18667
28c195f7
RM
18668 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18669
848917f9
RM
18670 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18671
6bacf05b
RM
18672 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18673 Conditionalize target on [libnss_test1.so-version].
18674
91363dbb
RM
18675 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18676
cc87f7d8
RM
18677 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18678 (elfobjdir): Move out of conditionals.
18679
b1c608fe
RM
18680 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18681 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18682 (__nss_lookup_function): Conditionalize label remove_from_tree on
18683 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18684
1d9a6d96
DM
186852012-09-28 David S. Miller <davem@davemloft.net>
18686
18687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18688 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18689 file.
18690 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18691 sysdep_routines.
18692 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18694 when HWCAP_SPARC_CRYPTO is present.
18695
72581615
PT
186962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18697
18698 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18699
715a900c
JL
187002012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18701
18702 [BZ #6530]
18703 * stdio-common/vfprintf.c (process_string_arg): Revert
18704 2000-07-22 change.
18705
187062011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18707
18708 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18709 for testcase.
18710 * stdio-common/tst-sprintf.c: Include <locale.h>
18711 (main): Test sprintf's handling of incomplete multibyte
18712 characters.
18713
9bac1d86
L
187142012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18715
18716 * elf/dl-runtime.c (VERSYMIDX): Removed.
18717 * elf/dl-version.c (VERSYMIDX): Likewise.
18718 * elf/do-rel.h (VERSYMIDX): Likewise.
18719 (VALIDX): Likewise.
18720 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18721 * elf/rtld.c (VALIDX): Likewise.
18722 (ADDRIDX): Likewise.
9bac1d86
L
18723 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18724 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18725 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18726 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18727 (VALIDX): Likewise.
18728 (ADDRIDX): Likewise.
9bac1d86 18729
b31606c0
PT
187302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18731
18732 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18733
11541177
JL
187342012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18735
18736 [BZ #11438]
18737 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18738 to global scope.
18739 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18740 addresses are in the same scope as 192.0.2/24.
18741 * posix/gai.conf: Document new scope table defaults.
18742
adb26fae
SP
187432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18744
18745 [BZ #5298]
18746 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18747 for ftell. Compute offsets from write pointers instead.
18748 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18749
4573c6b0
SP
187502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18751
18752 [BZ #14543]
18753 * libio/Makefile (tests): New test case tst-fseek.
18754 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18755 combination works in wide mode.
18756 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18757 state when the external buffer state changes.
18758
aa9bbfe6
DM
187592012-09-27 David S. Miller <davem@davemloft.net>
18760
18761 [BZ #14376]
18762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18763 pass reloc->r_addend in as the 'high' argument to
18764 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18765
784421e7
DM
18766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18767
c39bc8b8
PT
187682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18769
18770 * rt/tst-aio2.c: Include <pthread.h>.
18771 * rt/tst-aio3.c: Likewise.
18772
1ccc2399
SE
187732012-09-27 Steve Ellcey <sellcey@mips.com>
18774
18775 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18776
31ed4153
L
187772012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18778
25f5f885
L
18779 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18780 contents on [SHARED].
31ed4153 18781
b7bfe116
MP
187822012-09-26 Marek Polacek <polacek@redhat.com>
18783
18784 [BZ #14530]
18785 [BZ #13741]
18786 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18787 for C++ and GCC <4.3 as well as for non GCC compilers.
18788
43c4edba
MT
187892012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18790
18791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18792
6a1bf82f
RM
187932012-09-25 Roland McGrath <roland@hack.frob.com>
18794
18795 * Makefile.in (all, install): Declare with .PHONY.
18796 Reported by Michael Hope <michael.hope@linaro.org>.
18797
8ad11b9a
TMQMF
187982012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18799
18800 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18801 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18802 system header.
18803 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18804 Likewise.
18805 (sydep_routines): Add the new and the internal functions.
18806 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18807 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18809 (GLIBC_2.17): Add the new function.
18810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18811 (GLIBC_2.17): Likewise.
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18813 (GLIBC_2.17): Likewise.
18814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18815 (GLIBC_2.17): Likewise.
18816 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18817
7e2fca8d
AM
188182012-09-25 Alan Modra <amodra@gmail.com>
18819
18820 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18821 Add release barrier before setting once_control to say
18822 initialisation is done. Add hints on lwarx. Use macro in
18823 place of isync.
18824 (clear_once_control): Add release barrier.
18825
b87c4b24
JM
188262012-09-25 Joseph Myers <joseph@codesourcery.com>
18827
d032e0d2
JM
18828 [BZ #13629]
18829 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18830 specially.
18831 * math/s_clog10.c (__clog10): Likewise.
18832 * math/s_clog10f.c (__clog10f): Likewise.
18833 * math/s_clog10l.c (__clog10l): Likewise.
18834 * math/s_clogf.c (__clogf): Likewise.
18835 * math/s_clogl.c (__clogl): Likewise.
18836 * math/Makefile (libm-calls): Add x2y2m1.
18837 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18838 (__x2y2m1): Likewise.
18839 (__x2y2m1l): Likewise.
18840 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18841 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18846 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18847 * sysdeps/i386/fpu/libm-test-ulps: Update.
18848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18849
b87c4b24
JM
18850 [BZ #14621]
18851 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18852 int as type of variable DEPTH.
18853 (glob): Use size_t instead of int as type of variables NEWCOUNT
18854 and OLD_PATHC.
18855
6d3bf199
LD
188562012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18857
22bf5c17
LD
18858 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18859 Add s_sincosf-sse2.
18860 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18861 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18862 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18863 macros for using routine as __sincosf_ia32.
18864 Use macro for function declaration and weak_alias.
18865 * sysdeps/i386/fpu/libm-test-ulps: Update.
18866
18867 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18869
18870 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18871 subnormal argument.
18872 * math/s_cexpf.c (__cexpf): Likewise.
18873 * math/s_csinf.c (__csinf): Likewise.
18874 * math/s_csinhf.c (__csinhf): Likewise.
18875 * math/s_ctanf.c (__ctanf): Likewise.
18876 * math/s_ctanhf.c (__ctanhf): Likewise.
18877 * math/s_ccosh.c (__ccoshf): Likewise.
18878 * math/s_cexp.c (__cexpl): Likewise.
18879 * math/s_csin.c (__csin): Likewise.
18880 * math/s_csinh.c (__csinh): Likewise.
18881 * math/s_ctan.c (__ctan): Likewise.
18882 * math/s_ctanh.c (ctanh): Likewise.
18883 * math/s_ccoshl.c (__ccoshl): Likewise.
18884 * math/s_cexpl.c (__cexpl): Likewise.
18885 * math/s_csinl.c (__csinl): Likewise.
18886 * math/s_csinhl.c (__csinhl): Likewise.
18887 * math/s_ctanl.c (__ctanl): Likewise.
18888 * math/s_ctanhl.c (__ctanhl): Likewise.
18889
203e5603
JM
188902012-09-25 Joseph Myers <joseph@codesourcery.com>
18891
18892 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18893 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18894 (_IO_off_t): Define to __off_t, not _G_off_t.
18895 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18896 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18897 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18898 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18899 type of __dummy and __dummy2 fields.
18900 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18901 (_G_ssize_t): Likewise.
18902 (_G_off_t): Likewise.
18903 (_G_pid_t): Likewise.
18904 (_G_uid_t): Likewise.
18905 (_G_wchar_t): Likewise.
18906 (_G_wint_t): Likewise.
18907 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18908 (_G_ssize_t): Likewise.
18909 (_G_off_t): Likewise.
18910 (_G_pid_t): Likewise.
18911 (_G_uid_t): Likewise.
18912 (_G_wchar_t): Likewise.
18913 (_G_wint_t): Likewise.
18914 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18915 (_G_ssize_t): Likewise.
18916 (_G_off_t): Likewise.
18917 (_G_pid_t): Likewise.
18918 (_G_uid_t): Likewise.
18919 (_G_wchar_t): Likewise.
18920 (_G_wint_t): Likewise.
18921
9fab36eb
SP
189222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18923
18924 * malloc/arena.c: Include malloc-sysdep.h.
18925 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18926 is sufficient to shrink the heap or an unmap is needed.
18927 * sysdeps/generic/malloc-sysdep.h: New file. Define
18928 new function check_may_shrink_heap.
18929 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18930 new function check_may_shrink_heap.
18931
2b4f00d1
SP
189322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18933
18934 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18935 comments.
18936
9a9028b1
DL
189372012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18938
57c69bef
DL
18939 * catgets/test-gencat.sh: Add "set -e".
18940 * elf/tst-pathopt.sh: Likewise.
18941 * grp/tst_fgetgrent.sh: Likewise.
18942 * iconvdata/run-iconv-test.sh: Likewise.
18943 * intl/tst-gettext.sh: Likewise.
18944 * intl/tst-gettext2.sh: Likewise.
18945 * intl/tst-gettext4.sh: Likewise.
18946 * intl/tst-gettext6.sh: Likewise.
18947 * intl/tst-translit.sh: Likewise.
18948 * io/ftwtest-sh: Likewise.
18949 * libio/test-freopen.sh: Likewise.
18950 * malloc/tst-mtrace.sh: Likewise.
18951 * posix/globtest.sh: Likewise.
18952 * posix/tst-getconf.sh: Likewise.
18953 * posix/wordexp-tst.sh: Likewise.
18954 * stdio-common/tst-printf.sh: Likewise.
18955 * stdio-common/tst-unbputc.sh: Likewise.
18956 * stdlib/tst-fmtmsg.sh: Likewise.
18957 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18958 * catgets/Makefile: Do not specify -e option when running
18959 testsuite shell scripts.
18960 * elf/Makefile: Likewise.
18961 * grp/Makefile: Likewise.
18962 * iconvdata/Makefile: Likewise.
18963 * intl/Makefile: Likewise.
18964 * io/Makefile: Likewise.
18965 * libio/Makefile: Likewise.
18966 * malloc/Makefile: Likewise.
18967 * posix/Makefile: Likewise.
18968 * stdio-common/Makefile: Likewise.
18969 * stdlib/Makefile: Likewise.
18970 * sysdeps/x86_64/Makefile: Likewise.
18971
9a9028b1
DL
18972 * io/ftwtest-sh: Add copyright header.
18973 * posix/globtest.sh: Likewise.
18974 * posix/tst-getconf.sh: Likewise.
18975 * posix/wordexp-tst.sh: Likewise.
18976 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18977
ced6f16e
L
189782012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18979
94b32c39
L
18980 [BZ #13679]
18981 * Makeconfig (+link): Defined as $(+link-static) if
18982 $(build-shared) isn't yes.
18983 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18984 isn't yes.
18985 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18986
189e935b
L
18987 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18988
ced6f16e
L
18989 [BZ #14562]
18990 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18991 new chunk size with MALLOC_ALIGN_MASK.
18992
a9f8e53a
JM
189932012-09-24 Joseph Myers <joseph@codesourcery.com>
18994
18995 [BZ #5044]
18996 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18997 <rounding-mode.h>.
18998 (__printf_fphex): Determine rounding using get_rounding_mode and
18999 round_away.
19000 * stdio-common/tst-printf-round.c (struct hex_test): New
19001 structure.
19002 (hex_tests): New variable.
19003 (test_hex_in_one_mode): New function.
19004 (do_test): Also run tests for hex float output.
19005
43153109
JM
190062012-09-21 Joseph Myers <joseph@codesourcery.com>
19007
19008 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19009 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19010 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19011 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19012 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19013 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19014 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19015 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19016
8a26625d
JM
190172012-09-20 Joseph Myers <joseph@codesourcery.com>
19018
19019 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19020 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19021 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19022 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19023
f3fd569c
DL
190242012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19025
19026 [BZ #14579]
19027 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19028 mode only.
19029 * elf/tst-rtld-load-self.sh: New test.
19030 * elf/Makefile: Run it.
19031
63bbedd4
JM
190322012-09-18 Joseph Myers <joseph@codesourcery.com>
19033
19034 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19035 (tst-writev-ENV): Remove.
19036 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19037
626f8b6a
CM
190382012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19039
19040 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19041
b7aaa4d6
JM
190422012-09-17 Joseph Myers <joseph@codesourcery.com>
19043
19044 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19045 unconditional.
19046 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19047 Likewise.
19048 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19049 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19050 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19051 Likewise.
19052
65513990
L
190532012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19054
19055 [BZ #14587]
19056 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19057 * config.make.in (have-cpp-asm-debuginfo): Removed.
19058 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19059 * configure: Regenerated.
19060
784761be
JM
190612012-09-14 Joseph Myers <joseph@codesourcery.com>
19062
19063 [BZ #5044]
19064 * stdio-common/printf_fp.c: Include <stdbool.h> and
19065 <rounding-mode.h>.
19066 (___printf_fp): Determine rounding using get_rounding_mode and
19067 round_away.
19068 * stdio-common/tst-printf-round.c: New file.
19069 * stdio-common/Makefile (tests): Add tst-printf-round.
19070 (link-libm): New variable.
19071 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19072
9503345f
L
190732012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19074
19075 [BZ #14576]
19076 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19077 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19078 Likewise.
19079 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19080 Likewise.
19081
ad35fc00
JM
190822012-09-13 Joseph Myers <joseph@codesourcery.com>
19083
19084 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19085 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19086 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19087 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19088
6c9b0f68
JM
190892012-09-12 Joseph Myers <joseph@codesourcery.com>
19090
19091 [BZ #14518]
19092 * include/rounding-mode.h: New file.
19093 * sysdeps/generic/get-rounding-mode.h: Likewise.
19094 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19095 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19096 (MAX_VALUE): New macro.
19097 (MIN_VALUE): Likewise.
19098 (overflow_value): New function.
19099 (underflow_value): Likewise.
19100 (round_and_return): Use overflow_value and underflow_value to
19101 determine return values in overflow and underflow cases. Use
19102 round_away to determine rounding depending on rounding mode.
19103 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19104 determine return values in overflow and underflow cases.
19105 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19106 (struct test_results): New structure.
19107 (struct test): Use struct test_results to store expected results
19108 for all rounding modes.
19109 (TEST): Include expected results for all rounding modes.
19110 (test_in_one_mode): New function.
19111 (do_test): Use test_in_one_mode to compute and check results.
19112 Check results for all rounding modes.
19113 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19114 $(link-libm).
19115
19fcedd5
AM
191162012-12-09 Allan McRae <allan@archlinux.org>
19117
1e9d84cd 19118 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19119
8bbfd2f1
JM
191202012-09-11 Joseph Myers <joseph@codesourcery.com>
19121
19122 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19123 (_G_int32_t): Likewise.
19124 (_G_uint16_t): Likewise.
19125 (_G_uint32_t): Likewise.
19126 (_G_HAVE_BOOL): Likewise.
19127 (_G_HAVE_ATEXIT): Likewise.
19128 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19129 (_G_HAVE_IO_FILE_OPEN): Likewise.
19130 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19131 (_G_int32_t): Likewise.
19132 (_G_uint16_t): Likewise.
19133 (_G_uint32_t): Likewise.
19134 (_G_HAVE_BOOL): Likewise.
19135 (_G_HAVE_ATEXIT): Likewise.
19136 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19137 (_G_HAVE_IO_FILE_OPEN): Likewise.
19138 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19139 (_G_int32_t): Likewise.
19140 (_G_uint16_t): Likewise.
19141 (_G_uint32_t): Likewise.
19142 (_G_HAVE_BOOL): Likewise.
19143 (_G_HAVE_ATEXIT): Likewise.
19144 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19145 (_G_HAVE_IO_FILE_OPEN): Likewise.
19146
b1dc5912
L
191472012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19148
19149 * csu/libc-tls.c: Update copyright years.
19150
0e886ef9
JM
191512012-09-10 Joseph Myers <joseph@codesourcery.com>
19152
28361c5e
JM
19153 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19154 [!_G_USING_THUNKS]: Remove conditional code.
19155 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19156 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19157
0e886ef9
JM
19158 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19159 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19160 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19161 (_G_VTABLE_LABEL_PREFIX): Likewise.
19162 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19163 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19164 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19165 (_G_VTABLE_LABEL_PREFIX): Likewise.
19166 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19167 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19168 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19169 (_G_VTABLE_LABEL_PREFIX): Likewise.
19170 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19171
bcba7aa2
L
191722012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19173
19174 * libio/Makefile: Include ../Makeconfig before tests.
19175 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19176 only if $(build-shared) is yes.
19177
06585ee8
L
19178 * iconv/gconv_db.c: Update copyright years.
19179
80ccd52c
LD
191802012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19181
19182 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19183 unwind info if defined PIC. Fix special cases description.
19184 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19185
19186 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19187 DP_HI_MASK entry.
19188 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19189
691bc9c1
L
191902012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19191
3d9b46b3
L
19192 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19193
de2139a9
L
19194 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19195 is NULL.
19196
5ca78dd0
L
19197 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19198 (LDLIBS-tst-chk4): This.
19199 (LDFLAGS-tst-chk5): Renamed to ...
19200 (LDLIBS-tst-chk5): This.
19201 (LDFLAGS-tst-chk6): Renamed to ...
19202 (LDLIBS-tst-chk6): This.
19203 (LDFLAGS-tst-lfschk4): Renamed to ...
19204 (LDLIBS-tst-lfschk4): This.
19205 (LDFLAGS-tst-lfschk5): Renamed to ...
19206 (LDLIBS-tst-lfschk5): This.
19207 (LDFLAGS-tst-lfschk6): Renamed to ...
19208 (LDLIBS-tst-lfschk6): This.
19209
691bc9c1
L
19210 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19211 on $(common-objpfx)soversions.mk.
19212
65cafb1c
JM
192132012-09-07 Joseph Myers <joseph@codesourcery.com>
19214
19215 [BZ #10014]
19216 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19217 example host name.
19218
c78ab094
SP
192192012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19220
19221 * malloc/arena.c (arena_get_retry): New function that gets
19222 another arena for the caller to try its request on.
19223 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19224 current arena cannot fulfill the request.
19225 (__libc_memalign): Likewise.
19226 (__libc_memalign): Likewise.
19227 (__libc_pvalloc): Likewise.
19228 (__libc_calloc): Likewise.
19229
01f49f59
JT
192302012-09-05 John Tobey <john.tobey@gmail.com>
19231
19232 [BZ #13542]
19233 * manual/arith.texi (Operations on Complex): Fix description
19234 of carg branch cut.
19235
4c23fed5
JM
192362012-09-06 Joseph Myers <joseph@codesourcery.com>
19237
1d3c8572
JM
19238 [BZ #10014]
19239 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19240 host name.
19241
4c23fed5
JM
19242 [BZ #10038]
19243 * manual/memory.texi (Memory): Make order of menu items match
19244 order of sections.
19245
04570aaa
L
192462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19247
19248 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19249 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19250 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19251
b80af2f4
L
192522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19253
19254 * csu/libc-tls.c (static_dtv): Renamed to ...
19255 (_dl_static_dtv): This. Make it global.
19256 (_dl_initial_dtv): Removed.
19257 (__libc_setup_tls): Updated.
19258 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19259 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19260 DL_INITIAL_DTV.
19261
2abe9f15
PM
192622012-09-06 Petr Machata <pmachata@redhat.com>
19263
19264 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19265 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19266 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19267 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19268
0948c3af
L
192692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19270
19271 [BZ #14545]
19272 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19273 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19274 freeing dtv[-1].
19275
a5055ad1
L
192762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19277
19278 [BZ #14544]
19279 * Makeconfig (link-static-before-libc): Replace $(+prector)
19280 with $(+prectorT).
19281 (link-static-after-libc): Replace $(+postctor) with
19282 $(+postctorT).
19283 (link-bounded): Replace $(+prector)/$(+postctor) with
19284 $(+prectorT)/$(+postctorT).
19285 (+prectorT): New macro.
19286 (+postctorT): Likewise.
19287
ed8c2ecd
JM
192882012-09-06 Joseph Myers <joseph@codesourcery.com>
19289
19290 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19291 (round_str): Handle values above the maximum for IBM long double
19292 as inexact.
19293 * stdlib/tst-strtod-round.c (tests): Regenerated.
19294
14c996c8
AK
192952012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19296
19297 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19298 assembler flag.
19299 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19300 zarch_nohighgprs around the zarch optimized routines.
19301 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19302 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19303 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19304 for zarch.
19305
430d6ce6
DM
193062012-09-05 David S. Miller <davem@davemloft.net>
19307
19308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19309
ff04dda4
DM
19310 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19311 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19312 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19313 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19314 entries.
19315
24d4e01b
AO
193162012-09-05 Alexandre Oliva <aoliva@redhat.com>
19317
19318 * malloc/arena.c: Fold copyright years.
19319 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19320
61d58174
AO
193212012-09-05 Alexandre Oliva <aoliva@redhat.com>
19322
19323 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19324
20196a5e
AO
193252012-09-05 Alexandre Oliva <aoliva@redhat.com>
19326
19327 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19328
5c447383
AO
193292012-09-05 Alexandre Oliva <aoliva@redhat.com>
19330
19331 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19332 change internal state upon failure.
19333
fad64255
AO
193342012-09-05 Alexandre Oliva <aoliva@redhat.com>
19335
19336 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19337 * malloc/memusage.c (mmap): Likewise.
19338 (mmap64, mremap): Likewise. Adjust name in comment.
19339
1ffb8c90
SP
193402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19341
19342 * libio/fileops.c: Fix typos in comments.
19343 * libio/oldfileops.c: Likewise.
19344 * libio/wfileops.c: Likewise.
19345
6ef9cc37
SP
193462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19347
19348 [BZ #1349]
19349 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19350 (tst-malloc-usable-ENV): Set environment for test case.
19351 * malloc/hooks.c (malloc_check_get_size): New function to get
19352 requested size.
19353 * malloc/malloc.c (musable): Use malloc_check_get_size.
19354 * malloc/tst-malloc-usable.c: New test case.
19355
4d038ae3
AS
193562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19357
19358 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19359
c4e85184
AM
193602012-09-05 Allan McRae <allan@archlinux.org>
19361
b9dafc56 19362 [BZ #13966]
c4e85184
AM
19363 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19364 determine header location.
19365 * configure: Regenerated.
19366
e1343020
AS
193672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19368
19369 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19370 float format.
19371 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19372 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19373 format.
e1343020
AS
19374 (test): Regenerate.
19375
0a9f1987
DM
193762012-09-04 David S. Miller <davem@davemloft.net>
19377
19378 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19379 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19380 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19381
29237804
FW
193822012-09-04 Florian Weimer <fweimer@redhat.com>
19383
19384 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19385 failures.
19386
edb3cb88
FW
19387 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19388
60160d83
JM
193892012-09-04 Joseph Myers <joseph@codesourcery.com>
19390
19391 [BZ #9914]
19392 * libio/iogetdelim.c: Include <limits.h>.
19393 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19394 + len + 1 would overflow.
19395
bcd6c8dc
AJ
193962012-09-03 Andreas Jaeger <aj@suse.de>
19397
19398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19399 * sysdeps/i386/fpu/libm-test-ulps: Update.
19400
4ffffbd2
LD
194012012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19402
19403 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19404 Add s_sinf-sse2, s_conf-sse2.
19405
19406 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19407 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19408 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19409 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19410
19411 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19412 for using routine as __sinf_ia32.
19413 Use macro for function declaration and weak_alias.
19414 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19415 for using routine as __cosf_ia32.
19416 Use macro for function declaration and weak_alias.
19417
19418 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19419 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19420
19421 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19422 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19424
19425 * math/libm-test.inc (cos_test): Add more test cases.
19426 (sin_test): Likewise.
19427 (sincos_test): Likewise.
19428
511fa286
AK
194292012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19430
19431 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19432 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19433 hidden.
19434 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19435
5f30cfec
L
194362012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19437
19438 [BZ #14538]
19439 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19440 first element of the GOT.
19441 (elf_machine_load_address): Return the difference between
19442 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19443
0786794f
AM
194442012-09-01 Allan McRae <allan@archlinux.org>
19445
5f30cfec
L
19446 [BZ #13412]
19447 * configure.in (AWK): Require gawk version 3.0 or later.
19448 * configure: Regenerated.
0786794f 19449
26889eac
JM
194502012-09-01 Joseph Myers <joseph@codesourcery.com>
19451
19452 * sysdeps/unix/sysv/linux/kernel-features.h
19453 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19455 [__NR_clock_getres]: Make code unconditional.
19456 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19457 (clock_getcpuclockid): Remove code left unreachable by removal of
19458 conditionals.
19459 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19460 code unconditional.
19461 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19462 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19463 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19464 Make code unconditional.
19465 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19466 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19467 * sysdeps/unix/sysv/linux/clock_settime.c
19468 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19469 conditional code.
19470 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19471 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19472
d22e28b0
L
194732012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19474
19475 [BZ #14476]
19476 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19477 scripts/test-installation.pl.
19478
19479 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19480 and $ld_so_version if it is set.
19481
050af9c4
SP
194822012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19483
19484 [BZ #14516]
19485 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19486 failure if reading from procfs failed.
19487 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19488
ad845c0b
JM
194892012-08-27 Joseph Myers <joseph@codesourcery.com>
19490
19491 * sysdeps/unix/sysv/linux/kernel-features.h
19492 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19493 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19494 Remove conditional code.
19495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19496 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19497 Remove conditional code.
19498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19499 * sysdeps/unix/sysv/linux/i386/fxstat.c
19500 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19502 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19503 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19505 * sysdeps/unix/sysv/linux/i386/lxstat.c
19506 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19508 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19509 Remove conditional code.
19510 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19511 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19512 Remove conditional code.
19513 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19514 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19515 <kernel-features.h>.
19516 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19517 Remove.
19518 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19519 Remove conditional code.
19520 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19521 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19522 Remove conditional.
19523
5dbf56af
MF
195242012-08-27 Mike Frysinger <vapier@gentoo.org>
19525
19526 [BZ #5400]
19527 * NEWS: Add fixed bug number.
19528
d6e70f43
JM
195292012-08-27 Joseph Myers <joseph@codesourcery.com>
19530
7efb4737
JM
19531 [BZ #14519]
19532 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19533 underflowing exponent in case of negative sign.
19534 * stdlib/tst-strtod-round-data: Add more tests.
19535 * stdlib/tst-strtod-round.c (tests): Regenerated.
19536
af92131a
JM
19537 [BZ #3479]
19538 * stdlib/strtod_l.c (NDIG): Remove.
19539 (HEXNDIG): Likewise.
19540 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19541 smallest representable value.
19542 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19543 lie within an exact representation of 1/2 ulp of the result.
19544 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19545 unconditionally.
19546 (TENS_P9_IDX): Define unconditionally.
19547 (TENS_P9_SIZE): Likewise.
19548 (TENS_P10_IDX): Likewise.
19549 (TENS_P10_SIZE): Likewise.
19550 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19551 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19552 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19553 entries for 10^2^13 and 10^2^14.
19554 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19555 (TENS_P13_IDX): Define.
19556 (TENS_P13_SIZE): Likewise.
19557 (TENS_P14_IDX): Likewise.
19558 (TENS_P14_SIZE): Likewise.
19559 (_fpioconst_pow10): Change array size to
19560 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19561 unconditional.
19562 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19563 1024]: Add entries for 10^2^13 and 10^2^14.
19564 [LAST_POW10 > _LAST_POW10]: Remove #error.
19565 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19566 (_fpioconst_pow10): Change array size to
19567 FPIOCONST_POW10_ARRAY_SIZE.
19568 * stdlib/gen-fpioconst.c: New file.
19569 * stdlib/gen-tst-strtod-round.c: Likewise.
19570 * stdlib/tst-strtod-round-data: Likewise.
19571 * stdlib/tst-strtod-round.c: Likewise.
19572 * stdlib/Makefile (tests): Add tst-strtod-round.
19573
d6e70f43
JM
19574 [BZ #14459]
19575 * stdlib/strtod_l.c: Include <stdint.h>.
19576 (NDEBUG): Do not define.
19577 (round_and_return): Change EXPONENT parameter to type intmax_t.
19578 Rearrange calculations to avoid internal overflow possibilities.
19579 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19580 Rearrange calculations to avoid internal overflow possibilities.
19581 Assert that number fits inside MPNSIZE limbs.
19582 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19583 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19584 calculations and add assertions to avoid internal overflow
19585 possibilities. Add casts to avoid signed/unsigned operations.
19586 * stdlib/tst-strtod-overflow.c: New file.
19587 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19588
1f529f7d
MP
195892012-08-25 Marek Polacek <polacek@redhat.com>
19590
19591 * time/time.h: Fix some typos in comments.
19592
59a629f1
RM
195932012-08-23 Roland McGrath <roland@hack.frob.com>
19594
19595 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19596 * posix/tst-rfc3484-2.c: Likewise.
19597 * posix/tst-rfc3484-3.c: Likewise.
19598
d3bafbc9
SM
195992012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19600
19601 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19602 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19603
4efcc022
JM
196042012-08-23 Joseph Myers <joseph@codesourcery.com>
19605
19606 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19607 #include of fxstatat64.c.
19608
3cc3ef96
RM
196092012-08-22 Roland McGrath <roland@hack.frob.com>
19610
f04e2132
RM
19611 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19612 * shadow/getspent_r.c: Likewise.
19613 * shadow/getspnam.c: Likewise.
19614 * shadow/getspnam_r.c: Likewise.
19615 * gshadow/getsgent.c: Likewise.
19616 * gshadow/getsgent_r.c: Likewise.
19617 * gshadow/getsgnam.c: Likewise.
19618 * gshadow/getsgnam_r.c: Likewise.
19619 * inet/getnetbyad.c: Likewise.
19620 * inet/getnetbyad_r.c: Likewise.
19621 * inet/getnetbynm.c: Likewise.
19622 * inet/getnetbynm_r.c: Likewise.
19623 * inet/getnetent.c: Likewise.
19624 * inet/getnetent_r.c: Likewise.
19625 * inet/getproto.c: Likewise.
19626 * inet/getproto_r.c: Likewise.
19627 * inet/getprtent.c: Likewise.
19628 * inet/getprtent_r.c: Likewise.
19629 * inet/getprtname.c: Likewise.
19630 * inet/getprtname_r.c: Likewise.
19631 * inet/getrpcbyname.c: Likewise.
19632 * inet/getrpcbyname_r.c: Likewise.
19633 * inet/getrpcbynumber.c: Likewise.
19634 * inet/getrpcbynumber_r.c: Likewise.
19635 * inet/getrpcent.c: Likewise.
19636 * inet/getrpcent_r.c: Likewise.
19637 * inet/getaliasent.c: Likewise.
19638 * inet/getaliasent_r.c: Likewise.
19639 * inet/getaliasname.c: Likewise.
19640 * inet/getaliasname_r.c: Likewise.
19641 * nscd/getgrgid_r.c: Likewise.
19642 * nscd/getgrnam_r.c: Likewise.
19643 * nscd/gethstbyad_r.c: Likewise.
19644 * nscd/gethstbynm3_r.c: Likewise.
19645 * nscd/getpwnam_r.c: Likewise.
19646 * nscd/getpwuid_r.c: Likewise.
19647 * nscd/getsrvbynm_r.c: Likewise.
19648 * nscd/getsrvbypt_r.c: Likewise.
19649 * nscd/gai.c: Likewise.
19650
c53d909c
RM
19651 * configure.in (build_nscd): New substituted variable, set
19652 by --disable-build-nscd and defaults to $use_nscd.
19653 * configure: Regenerated.
19654 * config.make.in (build-nscd): New substituted variable.
19655 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19656 Change conditional to require [$(build-nscd) = yes] as well.
19657 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19658
3cc3ef96
RM
19659 [BZ# 13696]
19660 * configure.in (use_nscd): New substituted variable, set by
19661 --disable-nscd. If enabled, define USE_NSCD.
19662 * configure: Regenerated.
19663 * config.h.in: Add USE_NSCD.
19664 * config.make.in (use-nscd): New substituted variable.
19665 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19666 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19667 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19668 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19669 (CFLAGS-getgrnam_r.c): Likewise.
19670 (CFLAGS-initgroups.c): Likewise.
19671 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19672 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19673 Variables removed.
19674 * inet/getnetgrent_r.c
19675 (nscd_setnetgrent): New function, broken out of ...
19676 (setnetgrent): ... here. Call it.
19677 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19678 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19679 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19680 * nscd/Makefile (routines, aux): Move definitions after include of
19681 Makeconfig. Conditionalize on [$(use-nscd) != no].
19682 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19683 Conditionalize on [USE_NSCD].
19684 (is_nscd, nscd_init_cb): Likewise.
19685 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19686 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19687 * nss/nss_db/db-init.c: Likewise.
19688 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19689 [USE_NSCD].
19690 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19691 (make_request): Use it.
19692 (cache_valid_p): New function.
19693 (__check_pf): Use it.
19694 * NEWS: Add item for --disable-nscd.
19695
07e51550
DL
196962012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19697
19698 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19699 to support sed >= 4.2.1-20-ga9bf076.
19700 * configure: Regenerated.
19701
35a5b08b
RM
197022012-08-22 Roland McGrath <roland@hack.frob.com>
19703
19704 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19705 Conditionalize whole body on [IREL].
19706
8479f23a
JL
197072012-08-22 Jeff Law <law@redhat.com>
19708
19709 [BZ #14505]
19710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19711 if the family is PF_UNSPEC.
19712
48da0b21
MF
197132012-08-22 Mike Frysinger <vapier@gentoo.org>
19714
19715 * Makerules (lib-version): Rename from V.
19716 (install-lib-nosubdir): Change V to lib-version.
19717
15d0da8c
WS
197182012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19719
19720 [BZ #14252]
19721 * powerpc32/power6/wcschr.c: New file.
19722 * powerpc32/power6/wcscpy.c: New file.
19723 * powerpc32/power6/wcsrchr.c: New file.
19724 * powerpc64/power6/wcschr.c: New file.
19725 * powerpc64/power6/wcscpy.c: New file.
19726 * powerpc64/power6/wcsrchr.c: New file.
19727
bcca0895
MK
197282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19729
19730 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19731 (two_way_short_needle): Use it.
5a4aaa33
RM
19732 * string/strstr.c (AVAILABLE1_USES_J): Define.
19733 * string/strcasestr.c: Likewise.
99677e57
MK
19734
19735 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19736 array references.
19737 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19738
400726de
MK
19739 [BZ #11607]
19740 * NEWS: Add an entry.
19741 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19742 define their defaults.
19743 (two_way_short_needle): Detect end-of-string on-the-fly.
19744 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19745 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19746 * string/bug-strcasestr1.c: New test.
19747 * string/Makefile: Run it.
19748
20a71f2c
MK
197492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19750
19751 [BZ #11607]
19752 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19753 the first character.
19754
21ad0558
RM
197552012-08-21 Roland McGrath <roland@hack.frob.com>
19756
19757 * csu/elf-init.c (__libc_csu_irel): Function removed.
19758 * csu/libc-start.c (apply_irel): New function.
19759 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19760
0e1d9911
JM
197612012-08-21 Joseph Myers <joseph@codesourcery.com>
19762
19763 * sysdeps/unix/sysv/linux/kernel-features.h
19764 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19765 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19766 <kernel-features.h>.
19767 [__NR_fadvise64_64]: Make code unconditional.
19768 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19769 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19770 !__NR_fadvise64_64)]: Likewise.
19771 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19772 !__NR_fadvise64_64))]: Likewise.
19773 [__NR_fadvise64]: Make code unconditional.
19774 [!__NR_fadvise64]: Remove conditional code.
19775 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19776 <kernel-features.h>.
19777 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19778 unconditional.
19779 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19780 conditional code.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19782 not include <kernel-features.h>.
19783 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19784 unconditional.
19785 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19786 conditional code.
19787 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19788 include <kernel-features.h>.
19789 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19790 unconditional.
19791 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19792 conditional code.
19793
14a50c9d
WS
197942012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19795
19796 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19797 slight instruction rearrangements per scrollpipe analysis.
19798 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19799
c0f4faf0
RM
198002012-08-20 Roland McGrath <roland@hack.frob.com>
19801
696da859
RM
19802 * manual/syslog.texi (syslog; vsyslog, closelog):
19803 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19804 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19805
c0f4faf0
RM
19806 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19807 DSOCAPS to match condition on defining it.
19808
348363b2
JM
198092012-08-20 Joseph Myers <joseph@codesourcery.com>
19810
a35cbf28
JM
19811 * sysdeps/unix/sysv/linux/kernel-features.h
19812 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19814 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19815 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19817 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19818 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19820 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19821 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19822
445f7ecd
JM
19823 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19824 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19825
348363b2
JM
19826 * sysdeps/unix/sysv/linux/kernel-features.h
19827 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19828 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19829 unconditional.
19830 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19831 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19832 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19833 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19834 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19835 Make code unconditional.
19836 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19837 (__mmap64) [!__NR_mmap2]: Likewise.
19838 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19839 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19840 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19841 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19842 [__NR_mmap2]: Make code unconditional.
19843 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19844 (__mmap64) [!__NR_mmap2]: Likewise.
19845
bc5bc0e5
AK
198462012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19847
19848 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19849
88d506de
AJ
198502012-08-18 Andreas Jaeger <aj@suse.de>
19851
19852 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19853
493387d2
MF
198542012-08-18 Mike Frysinger <vapier@gentoo.org>
19855
19856 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19857 * include/unistd.h (__have_sock_cloexec): Likewise.
19858 (__have_pipe2): Likewise.
19859 (__have_dup3): Likewise.
19860
a277af22
MF
198612012-08-18 Mike Frysinger <vapier@gentoo.org>
19862
19863 [BZ #9685]
19864 * include/unistd.h (__have_pipe2): Change define into an extern int.
19865 (__have_dup3): Likewise.
19866 * socket/have_sock_cloexec.c: Include fcntl.h.
19867 (__have_pipe2): New variable.
19868 (__have_dup3): Likewise.
19869
fdab8fd3
MF
198702012-08-17 Mike Frysinger <vapier@gentoo.org>
19871
19872 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19873
31035e80
MP
198742012-08-17 Marek Polacek <polacek@redhat.com>
19875
19876 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19877 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19878
3bd9e993
RM
198792012-08-17 Roland McGrath <roland@hack.frob.com>
19880
c91c505f
RM
19881 * configure.in: Add AC_SUBST for sysheaders.
19882 * configure: Regenerated.
19883 * config.make.in (sysheaders): New substituted variable.
19884
7c6f9d53
RM
19885 * sysdeps/unix/mkfifo.c: Moved ...
19886 * sysdeps/posix/mkfifo.c: ... here.
19887 * sysdeps/unix/mkfifoat.c: Moved ...
19888 * sysdeps/posix/mkfifoat.c: ... here.
19889
19890 * sysdeps/unix/utime.c: Moved ...
19891 * sysdeps/posix/utime.c: ... here.
19892
19893 * sysdeps/unix/time.c: Moved ...
19894 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19895 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19896 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19897
19898 * sysdeps/unix/nice.c: Moved ...
19899 * sysdeps/posix/nice.c: ... here.
19900
19901 * sysdeps/unix/alarm.c: Moved ...
19902 * sysdeps/posix/alarm.c: ... here.
19903
3bd9e993
RM
19904 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19905
d1f09384
JL
199062012-08-17 Jeff Law <law@redhat.com>
19907
19908 * intl/Makefile (codeset_mo): New variable.
19909 ($(codeset_mo)): New target.
19910 (tst-codeset.out): Depend on that. Remove explicit rule.
19911 (tst-gettext3.out, tst-gettext5.out): Likewise.
19912 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19913 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19914 * intl/tst-codeset.sh: Remove.
19915 * intl/tst-gettext3.sh: Likewise.
19916 * intl/tst-gettext5.sh: Likewise.
19917
2ae1ae5c
RM
199182012-08-17 Roland McGrath <roland@hack.frob.com>
19919
c31fdb83
RM
19920 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19921 * sysdeps/unix/syscalls.list: ... here.
19922
a0844057
RM
19923 * sysdeps/posix/getaddrinfo.c
19924 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19925 (gaiconf_init, gaiconf_reload): Use them.
19926 [!_STATBUF_ST_NSEC]
19927 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19928 Define using time_t rather than struct timespec.
19929
750c1f2a
RM
19930 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19931 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19932 Macros removed.
19933 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19934 [!NO_THREADS].
19935 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19936 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19937 Likewise.
19938
2ae1ae5c
RM
19939 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19940 __libc_cleanup_push argument.
19941
e66a42f5
RM
19942 * bits/param.h: New file.
19943 * misc/sys/param.h: New file.
19944 * include/sys/param.h: New file.
19945 * misc/Makefile (headers): Add bits/param.h.
19946 * sysdeps/generic/sys/param.h: File removed.
19947 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19948 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19949 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19950 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19951
b7c08a66
RM
19952 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19953 last change.
19954
b2e1c562
RM
19955 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19956 [_IO_MTSAFE_IO].
19957 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19958 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19959 New macros.
19960
c75ccd4c
RM
19961 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19962 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19963 rather than -D_IO_MTSAFE_IO conditionally.
19964 * stdio-common/Makefile (CPPFLAGS): Likewise.
19965 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19966 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19967 Use $(libio-mtsafe).
19968 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19969 of -D_IO_MTSAFE_IO.
19970 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19971 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19972 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19973 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19974 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19975 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19976 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19977 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19978 (CFLAGS-fread_u_chk.c): Likewise.
19979 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19980 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19981 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19982 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19983 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19984 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19985 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19986 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19987 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19988
19989 * libio/Makefile: Test [$(libc-reentrant) = yes]
19990 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19991
19992 * Makeconfig
19993 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19994 * sysdeps/pthread/configure: File removed.
19995 * sysdeps/pthread/Makeconfig: New file.
19996 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19997 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19998
d9195db8
GB
199992012-08-16 Gary Benson <gbenson@redhat.com>
20000
20001 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20002 unmapping the first object in a namespace.
20003
86466cd9
RM
200042012-08-16 Roland McGrath <roland@hack.frob.com>
20005
20006 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20007 (__internal_setnetgrent): ... this. Add internal_function to
20008 definition. Add libc_hidden_def.
20009 (setnetgrent): Update caller.
20010 (internal_endnetgrent): Renamed to ...
20011 (__internal_endnetgrent): ... this. Add internal_function to
20012 definition. Add libc_hidden_def.
20013 (endnetgrent): Update caller.
20014 (internal_getnetgrent_r): Renamed to ...
20015 (__internal_getnetgrent_r): ... this. Add internal_function to
20016 definition. Add libc_hidden_def.
20017 (__getnetgrent_r): Update caller.
20018 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20019
c3c8283c
JM
200202012-08-16 Joseph Myers <joseph@codesourcery.com>
20021
20022 * stdlib/longlong.h: Update from GCC.
20023
db1ee0a8
RM
200242012-08-16 Roland McGrath <roland@hack.frob.com>
20025
20026 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20027 on _QL, which is set by umul_ppmm but never used.
20028 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20029 variables, which are set by GMP macros but never used.
20030 * stdio-common/_itowa.c (_itowa): Likewise.
20031 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20032 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20033
30f69637
CD
200342012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20035
20036 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20037 struct La_sh_regs is not constant.
20038 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20039 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20040 and struct La_sparc64_regs are not constant.
20041
93a78ac4
JM
200422012-08-16 Joseph Myers <joseph@codesourcery.com>
20043
20044 * sysdeps/unix/sysv/linux/kernel-features.h
20045 (__ASSUME_POSIX_TIMERS): Remove.
20046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20047 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20048 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20049 Make code unconditional.
20050 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20051 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20052 Make code unconditional.
20053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20054 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20055 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20056 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20057 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20058 Make code unconditional.
20059 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20060 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20061 (__libc_missing_posix_timers): Remove.
20062
dd924cd7
RM
200632012-08-15 Roland McGrath <roland@hack.frob.com>
20064
4b4f2771
RM
20065 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20066 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20067
601c888b
RM
20068 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20069
176790a7
RM
20070 * elf/dl-sym.c: Include <stdlib.h>.
20071
329bc018
RM
20072 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20073 constants, which avoids warnings in 32-bit builds.
20074
e04e272d
RM
20075 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20076 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20077
952bf94a
RM
20078 * misc/lseek.c: File moved to ...
20079 * io/lseek.c: ... here.
20080
7c99b50a
RM
20081 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20082
dd924cd7
RM
20083 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20084 shifting LEN more than 31 bits at once.
20085
b3f479a8
LD
200862012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20087
20088 [BZ #14195]
8c4ae0d4
RM
20089 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20090 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20091 * string/test-strncasecmp.c (check1): Renamed to...
20092 (bz12205): ...this.
20093 (bz14195): Add new testcase for two empty input strings and N > 0.
20094 (test_main): Call new testcase, adapt for renamed function.
20095
9c55864e
AJ
200962012-08-15 Andreas Jaeger <aj@suse.de>
20097
20098 [BZ #14090]
20099 * crypt/md5test2.c: New test, based on test supplied by Serge
20100 Belyshev <belyshev@depni.sinp.msu.ru>.
20101 * crypt/Makefile (xtests): Add md5test-giant..
20102 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20103
02dcb6c5
PE
201042012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20105
20106 [BZ #14090]
20107 * crypt/md5.c (md5_process_block): Don't assume the buffer
20108 length is less than 2**32.
20109 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20110 length is less than 2**64.
20111
a3f95dcc
RM
201122012-08-15 Roland McGrath <roland@hack.frob.com>
20113
be75d758
RM
20114 * string/str-two-way.h: Include <sys/param.h>.
20115 (MAX): Macro removed.
20116
7312ca90
RM
20117 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20118 Move #define and #undef of memmove to just before and after
20119 including <string.h>.
20120
9a0a5486
RM
20121 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20122 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20123 and after including <string.h>. Move declarations of
20124 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20125 to before #include "string/memmove.c".
20126
67cc348d
RM
20127 * include/dirent.h: Declare __getdirentries.
20128
a3f95dcc
RM
20129 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20130 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20131
ca98e171
MF
201322012-08-14 Mike Frysinger <vapier@gentoo.org>
20133
20134 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20135 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20136 * sysdeps/i386/configure: Regenerated.
20137 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20138 STABS_CURRENT_FILE, and STABS_FUN.
20139 (END): Remove call to STABS_FUN_END.
20140 (STABS_CURRENT_FILE1): Delete.
20141 (STABS_CURRENT_FILE): Likewise.
20142 (STABS_FUN): Likewise.
20143 (STABS_FUN_END): Likewise.
20144 (STABS_FUN2): Likewise.
20145 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20146 * sysdeps/x86_64/configure: Regenerated.
20147
5908bf46
RM
201482012-08-14 Roland McGrath <roland@hack.frob.com>
20149
20150 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20151 * elf/dl-lookup.c: Likewise.
5908bf46 20152
f2c05b9e
JM
201532012-08-14 Joseph Myers <joseph@codesourcery.com>
20154
20155 * sysdeps/unix/sysv/linux/kernel-features.h
20156 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20157 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20158 unconditionally.
20159 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20160 unconditionally.
20161 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20162 condition on __ASSUME_CLONE_THREAD_FLAGS.
20163
e11f5155
AJ
201642012-08-14 Andreas Jaeger <aj@suse.de>
20165
20166 * sysdeps/i386/fpu/libm-test-ulps: Update.
20167
51a9ba86
MK
201682012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20169
2fdd4f78
AJ
20170 * include/atomic.h (atomic_exchange_and_add): Split into ...
20171 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20172 New atomic macros.
51a9ba86 20173
ba6cba9e
MT
201742012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20175
20176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20177
42443a47
JL
201782012-08-13 Jeff Law <law@redhat.com>
20179
20180 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20181 null byte in the output string.
20182
121dce05
JM
201832012-08-10 Joseph Myers <joseph@codesourcery.com>
20184
20185 * sysdeps/unix/sysv/linux/kernel-features.h
20186 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20187 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20188 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20189 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20190 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20191 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20192 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20193
bf51f568
JL
201942012-08-09 Jeff Law <law@redhat.com>
20195
20196 [BZ #13939]
20197 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20198 When avoid_arena is set, don't retry in the that arena. Pick the
20199 next one, whatever it might be.
20200 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20201 (arena_lock): Pass in new parameter to arena_get2.
20202 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20203 arena_get2.
20204 (__libc_malloc): Unify retrying after main arena failure with
20205 __libc_memalign version.
20206 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20207
f85fa270
L
202082012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20209
20210 [BZ #14166]
20211 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20212 to __redirect_strstr.
20213 (__strstr_sse42): Use typeof __redirect_strstr.
20214 (__strstr_ia32): Likewise.
20215 (__libc_strstr): New prototype.
20216 (strstr): Renamed to ...
20217 (__libc_strstr): This.
20218 (strstr): New strong alias of __libc_strstr.
20219 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20220 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20221 __redirect_time.
20222 Include <time.h>.
20223 (__libc_time): New prototype.
20224 (time_ifunc): Replace time with __libc_time.
20225 (time): New strong alias and hidden definition of __libc_time.
20226 (__GI_time): Remove strong alias.
20227 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20228 Include <stddef.h>.
20229 (memmove): Redefined to __redirect_memmove.
20230 (__memmove_sse2): Use typeof __redirect_memmove.
20231 (__memmove_ssse3): Likewise.
20232 (__memmove_ssse3_back): Likewise.
20233 (__libc_memmove): New prototype.
20234 (memmove): Renamed to ...
20235 (__libc_memmove): This.
20236 (memmove): New strong alias of __libc_memmove.
20237
33b4a91e
MS
202382012-08-08 Mark Salter <msalter@redhat.com>
20239
20240 * elf/elf.h
20241 (R_MN10300_TLS_GD): Define.
20242 (R_MN10300_TLS_LD): Likewise.
20243 (R_MN10300_TLS_LDO): Likewise.
20244 (R_MN10300_TLS_GOTIE): Likewise.
20245 (R_MN10300_TLS_IE): Likewise.
20246 (R_MN10300_TLS_LE): Likewise.
20247 (R_MN10300_TLS_DTPMOD): Likewise.
20248 (R_MN10300_TLS_DTPOFF): Likewise.
20249 (R_MN10300_TLS_TPOFF): Likewise.
20250 (R_MN10300_SYM_DIFF): Likewise.
20251 (R_MN10300_ALIGN): Likewise.
20252 (R_MN10300_NUM): Update.
20253
b36137f1
JM
202542012-08-08 Joseph Myers <joseph@codesourcery.com>
20255
20256 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20257 Remove.
20258
cdd915fd
RM
202592012-08-08 Roland McGrath <roland@hack.frob.com>
20260
a2433aac
RM
20261 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20262
cdd915fd
RM
20263 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20264 sysdeps/unix -> sysdeps/posix move.
20265 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20266
bf9b740a
AM
202672012-08-07 Allan McRae <allan@archlinux.org>
20268
20269 [BZ #14303]
20270 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20271 (SUNOS_CPP): Likewise.
20272 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20273 not found.
20274 (open_input): Call CPP using execvp.
20275
93df14ee
JM
202762012-08-07 Joseph Myers <joseph@codesourcery.com>
20277
20278 * sysdeps/unix/sysv/linux/kernel-features.h
20279 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20280 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20281 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20282 (__ASSUME_WAITID_SYSCALL): Likewise.
20283 * sysdeps/unix/sysv/linux/dl-execstack.c
20284 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20285 code unconditional.
20286 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20287 conditional code.
20288 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20289 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20290 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20291 code.
20292 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20293 unconditional.
20294 [__ASSUME_WAITID_SYSCALL]: Likewise.
20295 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20296
d34689de
RM
202972012-08-07 Roland McGrath <roland@hack.frob.com>
20298
a281decc
RM
20299 * sysdeps/unix/closedir.c: Renamed to ...
20300 * sysdeps/posix/closedir.c: ... here.
20301 * sysdeps/unix/dirfd.c: Renamed to ...
20302 * sysdeps/posix/dirfd.c: ... here.
20303 * sysdeps/unix/dirstream.h: Renamed to ...
20304 * sysdeps/posix/dirstream.h: ... here.
20305 * sysdeps/unix/fdopendir.c: Renamed to ...
20306 * sysdeps/posix/fdopendir.c: ... here.
20307 * sysdeps/unix/opendir.c: Renamed to ...
20308 * sysdeps/posix/opendir.c: ... here.
20309 * sysdeps/unix/readdir.c: Renamed to ...
20310 * sysdeps/posix/readdir.c: ... here.
20311 * sysdeps/unix/readdir_r.c: Renamed to ...
20312 * sysdeps/posix/readdir_r.c: ... here.
20313 * sysdeps/unix/rewinddir.c: Renamed to ...
20314 * sysdeps/posix/rewinddir.c: ... here.
20315 * sysdeps/unix/seekdir.c: Renamed to ...
20316 * sysdeps/posix/seekdir.c: ... here.
20317 * sysdeps/unix/telldir.c: Renamed to ...
20318 * sysdeps/posix/telldir.c: ... here.
20319 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20320 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20321 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20322 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20323
22895b47
RM
20324 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20325 * bits/fcntl.h: ... here.
20326
707a53b6
RM
20327 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20328 not 0.
20329 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20330 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20331 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20332 (struct flock): Move l_start, l_len to the beginning.
20333 Use __pid_t for l_pid.
20334 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20335 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20336 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20337 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20338 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20339 [__USE_LARGEFILE64] (struct flock64): New type.
20340 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20341
f0bd3e25
RM
20342 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20343 * bits/dirent.h: ... here.
20344
d34689de
RM
20345 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20346 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20347
6dad2c06
JM
203482012-08-07 Joseph Myers <joseph@codesourcery.com>
20349
20350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20351 Change from 2.6.0 to 2.6.16.
20352 * sysdeps/unix/sysv/linux/configure: Regenerated.
20353 * sysdeps/unix/sysv/linux/kernel-features.h
20354 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20355 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20356 version.
20357 (__ASSUME_UTIMES): Likewise.
20358 (__ASSUME_CLONE_STOPPED): Remove.
20359 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20360 architectures, not kernel version.
20361 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20362 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20363 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20364 (__ASSUME_WAITID_SYSCALL): Likewise.
20365 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20366 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20367 * README: State 2.6.16 as minimum Linux kernel version. Do not
20368 refer to older versions.
20369
03af9520
RM
203702012-08-06 Roland McGrath <roland@hack.frob.com>
20371
8e49df1d
RM
20372 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20373 Define alphasort64 as an alias.
20374 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20375 Define versionsort64 as an alias.
20376 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20377 Define scandir64 as an alias.
20378 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20379 Define scandirat64 as an alias.
20380 * dirent/alphasort64.c (alphasort64):
20381 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20382 * dirent/versionsort64.c: Likewise.
20383 * dirent/scandir64.c: Likewise.
20384 * dirent/scandirat64.c: Likewise.
20385 * sysdeps/wordsize-64/alphasort.c: File removed.
20386 * sysdeps/wordsize-64/alphasort64.c: File removed.
20387 * sysdeps/wordsize-64/scandir.c: File removed.
20388 * sysdeps/wordsize-64/scandir64.c: File removed.
20389 * sysdeps/wordsize-64/scandirat.c: File removed.
20390 * sysdeps/wordsize-64/scandirat64.c: File removed.
20391 * sysdeps/wordsize-64/versionsort.c: File removed.
20392 * sysdeps/wordsize-64/versionsort64.c: File removed.
20393 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20394 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20395 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20396 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20397 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20398 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20400 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20401
20402 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20404 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20406 [defined __arch64__ || defined __sparcv9]
20407 (__INO_T_MATCHES_INO64_T): New macro.
20408 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20409 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20410 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20411 * sysdeps/unix/sysv/linux/bits/dirent.h
20412 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20413 (_DIRENT_MATCHES_DIRENT64): New macro.
20414
03af9520
RM
20415 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20416 Define lockf64 as an alias.
20417 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20418 Define fseeko64 as an alias.
20419 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20420 Define ftello64 as an alias.
20421 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20422 Define _IO_fgetpos64 and fgetpos64 as aliases.
20423 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20424 Define _IO_fsetpos64 and fsetpos64 as aliases.
20425 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20426 Conditionalize body on this.
20427 * libio/fseeko64.c: Likewise.
20428 * libio/ftello64.c: Likewise.
20429 * libio/iofgetpos64.c: Likewise.
20430 * libio/iofsetpos64.c: Likewise.
20431 * sysdeps/wordsize-64/lockf.c: File removed.
20432 * sysdeps/wordsize-64/lockf64.c: File removed.
20433 * sysdeps/wordsize-64/fseeko.c: File removed.
20434 * sysdeps/wordsize-64/fseeko64.c: File removed.
20435 * sysdeps/wordsize-64/ftello.c: File removed.
20436 * sysdeps/wordsize-64/ftello64.c: File removed.
20437 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20438 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20439 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20440 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20441 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20442 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20443 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20444 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20445 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20446 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20447 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20448 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20449 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20450 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20451
20452 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20454 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20456 [defined __arch64__ || defined __sparcv9]
20457 (__OFF_T_MATCHES_OFF64_T): New macro.
20458 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20459 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20461 (__OFF_T_MATCHES_OFF64_T): New macro.
20462
c5757acd
L
204632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20464
20465 * stdlib/secure-getenv.c (__secure_getenv): Replace
20466 GLIBC_2_16 with GLIBC_2_17.
20467
3a31811e
L
204682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20469
20470 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20471 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20472
faa2bccb
DM
204732012-08-03 David S. Miller <davem@davemloft.net>
20474
20475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20476
85fe1997
JM
204772012-08-03 Joseph Myers <joseph@codesourcery.com>
20478
20479 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20480 Remove.
20481 (__ASSUME_CORRECT_SI_PID): Likewise.
20482 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20483 (__ASSUME_TMPFS_NAME): Likewise.
20484 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20485 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20486 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20487 (HAVE_AUX_SECURE): Make definition unconditional.
20488 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20489 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20490
4f75b7a0
RM
204912012-08-03 Roland McGrath <roland@hack.frob.com>
20492
20493 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20494 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20495 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20496 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20497 __eloop_threshold instead of SYMLOOP_MAX.
20498
20499 * sysdeps/generic/eloop-threshold.h: New file.
20500 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20501 of MAXSYMLINKS.
20502 * elf/chroot_canon.c (chroot_canon): Likewise.
20503
7aab07e4
JM
205042012-08-03 Joseph Myers <joseph@codesourcery.com>
20505
20506 [BZ #13717]
20507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20508 Change to 2.6.0 everywhere.
20509 * sysdeps/unix/sysv/linux/configure: Regenerated.
20510 * sysdeps/unix/sysv/linux/kernel-features.h
20511 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20512 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20513 kernel versions.
20514 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20515 (__ASSUME_FUTEX_REQUEUE): Remove.
20516 (__ASSUME_STATFS64): Define unconditionally.
20517 (__ASSUME_AT_SECURE): Likewise.
20518 (__ASSUME_CORRECT_SI_PID): Likewise.
20519 (__ASSUME_TGKILL): Define without depending on kernel version for
20520 i386.
20521 (__ASSUME_UTIMES): Likewise.
20522 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20523 kernel version.
20524 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20525 (__ASSUME_TMPFS_NAME): Likewise.
20526 * README: Update reference to Linux kernel versions.
20527
b67e9372
MP
205282012-08-02 Marek Polacek <polacek@redhat.com>
20529
1f529f7d 20530 [BZ# 14150]
b67e9372
MP
20531 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20532 libc_cv_asm_type_prefix with %.
20533 * configure: Regenerated.
d2441631
RM
20534 * include/libc-symbols.h: Remove comment about
20535 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20536 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20537 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20538 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20539 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20540 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20541 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20542 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20543 * elf/tst-unique2mod1.c: Likewise.
20544 * elf/tst-unique1mod2.c: Likewise.
20545 * elf/tst-unique1mod1.c: Likewise.
20546 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20547 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20548 Replace ASM_TYPE_DIRECTIVE with .type.
20549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20550 * sysdeps/i386/sysdep.h: Likewise.
20551 * sysdeps/x86_64/sysdep.h: Likewise.
20552 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20554 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20555 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20556 * sysdeps/powerpc/powerpc32/sysdep.h:
20557 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20558 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20559 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20560 * sysdeps/i386/fpu/e_powf.S: Likewise.
20561 * sysdeps/i386/fpu/e_expl.S: Likewise.
20562 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20564 * sysdeps/i386/fpu/e_pow.S: Likewise.
20565 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20566 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20567 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20568 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20569 * sysdeps/i386/fpu/e_log2.S: Likewise.
20570 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20571 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20572 * sysdeps/i386/fpu/e_powl.S: Likewise.
20573 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20574 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20575 * sysdeps/i386/fpu/e_logl.S: Likewise.
20576 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20577 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20578 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20579 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20580 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20581 * sysdeps/i386/fpu/e_log.S: Likewise.
20582 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20583 * sysdeps/i386/fpu/e_logf.S: Likewise.
20584 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20585 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20586 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20587 * sysdeps/i386/fpu/e_log10.S: Likewise.
20588 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20589 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20590 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20591 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20592 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20593 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20594 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20595 * sysdeps/i386/i686/strtok.S: Likewise.
20596 * sysdeps/i386/i386-mcount.S: Likewise.
20597 * sysdeps/i386/strtok.S: Likewise.
20598 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20599 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20600 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20601 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20602 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20603 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20604 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20605 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20606 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20607 * sysdeps/x86_64/_mcount.S: Likewise.
20608 * sysdeps/x86_64/strtok.S: Likewise.
20609 * sysdeps/sh/_mcount.S: Likewise.
20610
2747bf9a
RM
206112012-08-01 Roland McGrath <roland@hack.frob.com>
20612
20613 * libio/iofopen.c: Include <fcntl.h>.
20614 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20615 (_IO_fopen64, fopen64): Define as aliases.
20616 * libio/iofopen64.c: Include <fcntl.h>.
20617 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20618 Conditionalize body on this.
20619 * sysdeps/wordsize-64/iofopen.c: File removed.
20620 * sysdeps/wordsize-64/iofopen64.c: File removed.
20621
3fb791b8
MP
206222012-08-01 Marek Polacek <polacek@redhat.com>
20623
20624 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20625 Use dlfcn directly instead of a variable.
20626 (binfmt-subdir): Do not define.
20627 (dlfcn): Likewise.
20628
a9f1039f
JM
206292012-08-01 Joseph Myers <joseph@codesourcery.com>
20630
23bddc06
JM
20631 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20632 Remove all definitions.
20633 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20634 <kernel-features.h>.
20635 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20636 (miss_F_GETOWN_EX): Remove all definitions.
20637 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20638 macro definition.
20639 [!__ASSUME_FCNTL64]: Remove conditional code.
20640 [__ASSUME_FCNTL64]: Make code unconditional.
20641 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20642 <kernel-features.h>.
20643 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20644 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20645 (lockf64) [__NR_fcntl64]: Make code unconditional.
20646 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20647
a9f1039f
JM
20648 * sysdeps/unix/sysv/linux/kernel-features.h
20649 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20650 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20651 Make code unconditional.
20652 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20653 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20655 [__NR_vfork]: Make code unconditional.
20656 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20657 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20659 [__NR_vfork]: Make code unconditional.
20660 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20661 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20662
09c0ee5f
RM
206632012-08-01 Roland McGrath <roland@hack.frob.com>
20664
48aec5b9
RM
20665 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20666 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20667
cd97c966
RM
20668 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20669 Define mkstemp64 as an alias.
3f55550c
RM
20670 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20671 Define mkstemps64 as an alias.
cd97c966
RM
20672 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20673 Define mkostemp64 as an alias.
b8625cfc
RM
20674 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20675 Define mkostemps64 as an alias.
cd97c966
RM
20676 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20677 Conditionalize body on this.
20678 * misc/mkostemp64.c: Likewise.
b8625cfc 20679 * misc/mkostemps64.c: Likewise.
3f55550c 20680 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20681 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20682 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20683 * sysdeps/wordsize-64/mkostemp.c: File removed.
20684 * sysdeps/wordsize-64/mkstemp.c: File removed.
20685 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20686 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20687 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20688 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20689
09c0ee5f
RM
20690 [BZ #14138]
20691 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20692 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20693 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20694 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20695
20696 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20697 compat_symbol macros from <shlib-compat.h> rather than the underlying
20698 default_symbol_version and symbol_version macros, so that DEFAULT
20699 lines in shlib-versions are respected.
20700 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20701
7e66ee51
FW
207022012-08-01 Florian Weimer <fweimer@redhat.com>
20703
20704 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20705 Declare with warn_unused_result.
20706 (setgid, setregid, setegid, setresgid): Likewise.
20707 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20708 Likewise.
20709 * WUR-REPORT: Remove set*id functions.
20710
d2a54255
PT
207112012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20712
20713 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20714
7ecdb005
RM
207152012-07-31 Roland McGrath <roland@hack.frob.com>
20716
b4180a5e 20717 [BZ #10191]
789bd351
RM
20718 * include/sys/socket.h (__libc_accept, __libc_accept4):
20719 Add attribute_hidden.
20720 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20721
40ce302d
RM
20722 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20723 use of PTR_MANGLE.
20724 * inet/getnetgrent_r.c (setup): Likewise.
20725
7ecdb005
RM
20726 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20727
e2eabb2c
DM
207282012-07-31 David S. Miller <davem@davemloft.net>
20729
20730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20731
d0419dbf
JM
207322012-07-31 Joseph Myers <joseph@codesourcery.com>
20733
20734 [BZ #13629]
20735 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20736 value between 1.0 and 2.0 and smaller part has absolute value less
20737 than 1.0.
20738 * math/s_clog10.c (__clog10): Likewise.
20739 * math/s_clog10f.c (__clog10f): Likewise.
20740 * math/s_clog10l.c (__clog10l): Likewise.
20741 * math/s_clogf.c (__clogf): Likewise.
20742 * math/s_clogl.c (__clogl): Likewise.
20743 * math/libm-test.inc (clog_test): Add more tests.
20744 (clog10_test): Likewise.
20745 * sysdeps/i386/fpu/libm-test-ulps: Update.
20746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20747
2bc13872
FW
207482012-07-31 Florian Weimer <fweimer@redhat.com>
20749
20750 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20751 Exit with zero in case no suitable GID is found, and write a
20752 message to standard error.
20753
bea9b193
RM
207542012-07-30 Roland McGrath <roland@hack.frob.com>
20755
20756 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20757 rather than to 1.
20758 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20759 (MAXPATHLEN): Removed.
20760 (NOGROUP, NODEV): New macros.
20761 (setbit, clrbit, isset, isclr): New macros.
20762 (howmany, roundup, powerof2): New macros.
20763 (DEV_BSIZE): New macro.
20764
20765 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20766 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20767
20768 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20769 definition on [!__NO_LONG_DOUBLE_MATH].
20770
20771 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20772 PTR_MANGLE and PTR_DEMANGLE.
20773
20774 * socket/accept4.c (accept4): Rename to __libc_accept4.
20775 Define accept4 as a weak alias.
20776
20777 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20778 on [_DIRENT_HAVE_D_TYPE].
20779 * io/ftw.c (ftw_dir): Likewise.
20780
20781 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20782
20783 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20784
20785 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20786 Use the BSD numbers rather than the arbitrary ones we had.
20787 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20788 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20789 (SIGXCPU, SIGXFSZ): New macros.
20790 (_NSIG): Now 32.
20791
20792 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20793 initializer on [_LIBC_REENTRANT].
20794
20795 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20796 definitions inside [_POSIX_MAPPED_FILES].
20797
20798 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20799
20800 * dirent/opendir.c: Include <fcntl.h>.
20801
20802 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20803 (__libc_getspecific): Likewise.
20804 (__libc_key_create): Likewise.
20805
20806 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20807 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20808 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20809 (tmpfile64): Define as alias.
20810 * sysdeps/wordsize-64/tmpfile.c: File removed.
20811 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20812 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20813 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20814
20815 * stdio-common/vfscanf.c: Include <stdbool.h>.
20816 * nss/makedb.c: Likewise.
20817 * stdio-common/_i18n_number.h: Likewise.
20818 * argp/argp-help.c: Likewise.
20819 * posix/wordexp.c: Likewise.
20820 * sysdeps/posix/spawni.c: Likewise.
20821 * nss/nss_files/files-initgroups.c: Likewise.
20822 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20823 * nss/nss_files/files-initgroups.c: Likewise.
20824 * nss/nss_db/db-netgrp.c: Likewise.
20825 * nss/nss_db/db-initgroups.c: Likewise.
20826 * io/fchmodat.c: Include <sys/stat.h>.
20827
20828 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20829 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20830
20831 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20832 [HAVE_MMAP].
20833
20834 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20835 Add multiple inclusion protection.
20836
e5abc686
DM
208372012-07-27 David S. Miller <davem@davemloft.net>
20838
20839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20840
815e6fa3
GB
208412012-07-27 Gary Benson <gbenson@redhat.com>
20842
20843 [BZ #14298]
20844 * elf/rtld.c: Include <stap-probe.h>.
20845 (dl_main): Added static probes "init_start" and "init_complete".
20846 * elf/dl-load.c: Include <stap-probe.h>.
20847 (lose): Take new parameter "nsid".
20848 Added static probe "map_failed".
20849 (_dl_map_object_from_fd): Pass namespace id to lose.
20850 Added static probe "map_start".
20851 (open_verify): Pass namespace id to lose.
20852 * elf/dl-open.c: Include <stap-probe.h>.
20853 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20854 and "reloc_complete".
20855 * elf/dl-close.c: Include <stap-probe.h>.
20856 (_dl_close_worker): Added static probes "unmap_start" and
20857 "unmap_complete".
20858 * elf/rtld-debugger-interface.txt: New file documenting the above.
20859
9f98c16c
RM
208602012-07-26 Roland McGrath <roland@hack.frob.com>
20861
20862 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20863 rather than a string variable.
20864 * sunrpc/rpc_main.c (h_output): Likewise.
20865 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20866
f3c22df3
PT
208672012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20868
20869 * inet/check_native.c: New file.
20870
3129cfc6
JM
208712012-07-26 Joseph Myers <joseph@codesourcery.com>
20872
da865e95
JM
20873 [BZ #13629]
20874 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20875 if larger part has absolute value 1.0.
20876 * math/s_clog10.c (__clog10): Likewise.
20877 * math/s_clog10f.c (__clog10f): Likewise.
20878 * math/s_clog10l.c (__clog10l): Likewise.
20879 * math/s_clogf.c (__clogf): Likewise.
20880 * math/s_clogl.c (__clogl): Likewise.
20881 * math/libm-test.inc (clog_test): Add more tests.
20882 (clog10_test): Likewise.
20883 * sysdeps/i386/fpu/libm-test-ulps: Update.
20884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20885
3129cfc6
JM
20886 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20887 (pltexit): Likewise.
20888 (La_regs): Likewise.
20889 (La_retval): Likewise.
20890 (int_retval): Likewise.
20891 Update #error for removed macros to refer only to definitions in
20892 tst-audit.h.
20893 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20894 macro.
20895 (pltexit): Likewise.
20896 (La_regs): Likewise.
20897 (La_retval): Likewise.
20898 (int_retval): Likewise.
20899 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20900 macro.
20901 (pltexit): Likewise.
20902 (La_regs): Likewise.
20903 (La_retval): Likewise.
20904 (int_retval): Likewise.
20905 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20906 macro.
20907 (pltexit): Likewise.
20908 (La_regs): Likewise.
20909 (La_retval): Likewise.
20910 (int_retval): Likewise.
20911 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20912 macro.
20913 (pltexit): Likewise.
20914 (La_regs): Likewise.
20915 (La_retval): Likewise.
20916 (int_retval): Likewise.
20917 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20918 macro.
20919 (pltexit): Likewise.
20920 (La_regs): Likewise.
20921 (La_retval): Likewise.
20922 (int_retval): Likewise.
20923 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20924 macro.
20925 (pltexit): Likewise.
20926 (La_regs): Likewise.
20927 (La_retval): Likewise.
20928 (int_retval): Likewise.
20929 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20930 macro definitions in tst-audit.h.
20931 * sysdeps/i386/tst-audit.h: New file.
20932 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20933 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20934 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20935 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20936 * sysdeps/sh/tst-audit.h: Likewise.
20937 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20938 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20939 * sysdeps/x86_64/tst-audit.h: Likewise.
20940
bfc07087
AJ
209412012-07-26 Andreas Jaeger <aj@suse.de>
20942
b1b2aaf8
AJ
20943 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20944 ptrace.
20945
20946 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20947 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20948 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20949 PTRACE_O_MASK.
20950 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20951 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20952 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20953
bfc07087
AJ
20954 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20955 value.
20956
20957 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20958 _sigsys.
20959 (si_call_addr, si_syscall, si_arch): Define new macro.
20960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20961 _sigsys.
20962 (si_call_addr, si_syscall, si_arch): Define new marcro.
20963 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20964 _sigsys.
20965 (si_call_addr, si_syscall, si_arch): Define new macro.
20966 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20967 _sigsys.
20968 (si_call_addr, si_syscall, si_arch): Define new macro.
20969
89b4b02f
JM
209702012-07-25 Joseph Myers <joseph@codesourcery.com>
20971
20972 [BZ #13717]
20973 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20974 Change to 2.4.21 where previously 2.4.1.
20975 * sysdeps/unix/sysv/linux/configure: Regenerated.
20976 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20977 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20978 Linux kernel version.
20979 (__ASSUME_STD_AUXV): Remove.
20980 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20981 kernel version.
20982 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20983 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20984 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20985 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20986 (__ASSUME_NETLINK_SUPPORT): Likewise.
20987 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20988 (__no_netlink_support): Remove conditional definition.
20989 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20990 Remove.
20991 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20992 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20993 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20994 (if_nameindex_ioctl): Remove.
20995 (if_nameindex_netlink): Do not handle __no_netlink_support.
20996 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20997 code.
20998 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20999 Remove conditional code.
21000 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21001 code.
21002 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21003 unconditional.
21004 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21005 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21006 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21007 Remove.
21008 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21009 [!__ASSUME_STD_AUXV]: Remove conditional code.
21010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21011 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21012 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21014 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21015 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21016 code.
21017 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21019 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21020 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21021 conditional code.
21022 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21024 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21025 code.
21026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21027 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21028 conditional code.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21030 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21031 code unconditional.
21032 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21033 conditional code.
21034 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21035 unconditional.
21036 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21037 conditional code.
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21039 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21040 unconditional.
21041 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21042 conditional code.
21043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21044 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21045 code unconditional.
21046 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21047 conditional code.
21048 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21049 unconditional.
21050 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21051 conditional code.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21053 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21054 code unconditional.
21055 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21056 conditional code.
21057 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21058 unconditional.
21059 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21060 conditional code.
21061
842a39cd
AS
210622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21063
21064 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21065 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21066 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21067 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21068 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21069 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21070 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21071 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21072 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21073 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21074 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21075 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21076 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21077 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21078 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21079 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21080 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21081 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21082 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21084 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21085 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21086 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21087
84b3fd84
FW
210882012-07-25 Florian Weimer <fweimer@redhat.com>
21089
21090 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21091 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21092 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21093 Introduce __libc_secure_getenv.
0c7936d5
FW
21094 * stdlib/Versions (2.17): Add secure_getenv
21095 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21096 * stdlib/secure-getenv.c: Rename __secure_getenv to
21097 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21098 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21099 * stdlib/tst-secure-getenv.c: New.
21100 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21101 * manual/startup.texi (Environment Access): Document
21102 secure_getenv.
84b3fd84
FW
21103 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21104 __libc_secure_getenv.
21105 * inet/ruserpass.c (ruserpass): Likewise.
21106 * malloc/mtrace.c (mtrace): Likewise.
21107 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21108 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21109 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21110 * sysdeps/posix/tempname.c: Likewise. Evaluate
21111 HAVE_SECURE_GETENV.
21112 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21113 __secure_getenv to __libc_secure_getenv.
84b3fd84 21114 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21116 Likewise.
21117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21118 Likewise.
21119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21126
56e49b71
JM
211272012-07-25 Joseph Myers <joseph@codesourcery.com>
21128
21129 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21130 (struct La_i86_retval): Likewise.
21131 (struct La_x86_64_regs): Likewise.
21132 (struct La_x86_64_retval): Likewise.
21133 (struct La_x32_regs): Likewise.
21134 (struct La_x32_retval): Likewise.
21135 (struct La_ppc32_regs): Likewise.
21136 (struct La_ppc32_retval): Likewise.
21137 (struct La_ppc64_regs): Likewise.
21138 (struct La_ppc64_retval): Likewise.
21139 (struct La_sh_regs): Likewise.
21140 (struct La_sh_retval): Likewise.
21141 (struct La_s390_32_regs): Likewise.
21142 (struct La_s390_32_retval): Likewise.
21143 (struct La_s390_64_regs): Likewise.
21144 (struct La_s390_64_retval): Likewise.
21145 (struct La_sparc32_regs): Likewise.
21146 (struct La_sparc32_retval): Likewise.
21147 (struct La_sparc64_regs): Likewise.
21148 (struct La_sparc64_retval): Likewise.
21149 (struct audit_ifaces): Remove architecture-specific pltenter and
21150 pltexit members.
21151 * sysdeps/i386/ldsodefs.h: New file.
21152 * sysdeps/powerpc/ldsodefs.h: Likewise.
21153 * sysdeps/s390/ldsodefs.h: Likewise.
21154 * sysdeps/sh/ldsodefs.h: Likewise.
21155 * sysdeps/sparc/ldsodefs.h: Likewise.
21156 * sysdeps/x86_64/ldsodefs.h: Likewise.
21157
354691b7
MP
211582012-07-25 Marek Polacek <polacek@redhat.com>
21159
21160 [BZ #6808]
21161 * math/libm-test.inc (yn_test): Add another test.
21162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21163 to ERANGE when the result is +-Inf.
21164 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21165 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21166 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21167 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21168
bf9e2071
JM
211692012-07-24 Joseph Myers <joseph@codesourcery.com>
21170
21171 * conform/data/time.h-data (NULL): Use macro-constant. Require
21172 equal to 0.
21173 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21174 clock_t.
21175 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21176
57633811
TS
211772012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21178
21179 * configure.in <sysdeps resolving>: Correct printing
21180 Implies_before.
21181 * configure: Regenerate.
21182
c23c33b0
TS
211832012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21184
21185 * math/w_ilogb.c: Include <limits.h>.
21186 * math/w_ilogbl.c: Likewise.
21187
b5982523
JM
211882012-07-20 Joseph Myers <joseph@codesourcery.com>
21189
21190 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21191 va_copy. Document allowing for unavailable va_copy only as
21192 pre-C99 compatibility.
21193 * manual/string.texi (Copying and Concatenation): Use va_copy
21194 instead of __va_copy in concat example.
21195
ac4ea442
PT
211962012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21197
21198 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21199 (__sendto): Use create_address_port. Initialize APORT and deallocate
21200 it if not null.
21201
f98eafbd
PT
21202 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21203 with O_NOLINK passed to __file_name_lookup.
21204
898c7aab
PT
21205 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21206 with O_NOLINK passed to __file_name_lookup.
21207
0ced335a
PT
21208 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21209 negative N or less than NGIDS.
21210
b3404dbd
PT
21211 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21212 type to string_t. Set ERANGE as errno and return it if NAME is not big
21213 enough. Use memcpy instead of strncpy.
21214
0f48659e
JM
212152012-07-20 Joseph Myers <joseph@codesourcery.com>
21216
21217 * elf/Makefile (check-data): Remove.
21218 (localplt.data): New vpath directive.
21219 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21220 instead of $(check-data).
21221 * scripts/data/localplt-generic.data: Move to ...
21222 * sysdeps/generic/localplt.data: ... here.
21223 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21224 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21225 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21227 ... here.
21228 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21230 ... here.
21231 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21233 ... here.
21234 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21236 ... here.
21237 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21239 ... here.
21240 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21242 ... here.
21243
d37cbdaa
AZ
212442012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21245
21246 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21247 PPC32 and PPC64 files.
21248 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21249 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21250
46f85fc2
AK
212512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21252
21253 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21254 __makecontext_ret to ...
21255 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21256 ... here and call exit if uc_link is NULL. New file.
21257 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21258 __makecontext_ret.S.
21259 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21260 __makecontext_ret to ...
21261 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21262 ... here and call exit if uc_link is NULL. New file.
21263 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21264 __makecontext_ret.S.
21265
08f43f9b
AK
212662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21267
21268 * elf/elf.h (R_390_IRELATIVE): New definition.
21269 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21270 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21271 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21272 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21273 (elf_machine_lazy_rel): Likewise.
21274 * sysdeps/s390/dl-irel.h: New file.
21275 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21276 * sysdeps/s390/s390-64/memset.S: New asm code.
21277 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21278 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21279 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21280 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21281 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21282 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21283 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21284 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21285 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21286 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21287 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21288 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21289 * sysdeps/s390/s390-32/memset.S: New asm code.
21290 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21291
3b05db33
MP
212922012-07-17 Marek Polacek <polacek@redhat.com>
21293
21294 [BZ #14349]
21295 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21296 * sysdeps/s390/s390-64/configure.in: Likewise.
21297 * sysdeps/sparc/configure.in: Likewise.
21298 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21299 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21300 * sysdeps/i386/configure.in: Likewise.
21301 * sysdeps/x86_64/configure.in: Likewise.
21302 * sysdeps/sh/configure.in: Likewise.
21303 * sysdeps/s390/s390-32/configure: Regenerated.
21304 * sysdeps/s390/s390-64/configure: Likewise.
21305 * sysdeps/x86_64/configure: Likewise.
21306 * sysdeps/sh/configure: Likewise.
21307 * sysdeps/powerpc/powerpc64/configure: Likewise.
21308 * sysdeps/powerpc/powerpc32/configure: Likewise.
21309 * sysdeps/sparc/configure: Likwise.
21310 * sysdeps/i386/configure: Likewise.
21311
a66877c6
MP
21312 * elf/dl-open.c: Comment fixes.
21313
cfc82fd8
JM
213142012-07-17 Joseph Myers <joseph@codesourcery.com>
21315
bd29910a
JM
21316 * Makefile [CXX] (check-data): Remove.
21317 [CXX] (c++-types.data): New vpath directive.
21318 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21319 vpath. Do not allow for C++ type data being missing.
21320 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21321 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21322 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21323 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21324 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21325 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21326 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21328 ... here.
21329 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21331 ... here.
21332 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21334 ... here.
21335 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21337 ... here.
21338 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21340 ... here.
21341 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21343 ... here.
21344 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21346 ... here.
21347 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21349
cfc82fd8
JM
21350 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21351 definitions to architecture-specific files.
21352 (TLS_IE): Likewise.
21353 (TLS_LD): Likewise.
21354 (TLS_GD): Likewise.
21355 * sysdeps/i386/tls-macros.h: New file.
21356 * sysdeps/powerpc/tls-macros.h: Likewise.
21357 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21358 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21359 * sysdeps/sh/tls-macros.h: Likewise.
21360 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21361 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21362 * sysdeps/x86_64/tls-macros.h: Likewise.
21363
f7db3170
TS
213642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21365
07cbfc23
TS
21366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21367 zero value for regular exit case.
21368
f7db3170
TS
21369 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21370 (__start_context): Preserve zero value for regular exit case.
21371
dc97c227
TS
213722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21373 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21374
21375 * manual/setjmp.texi (setcontext): Clarify normal process
21376 termination when uc_link is the null pointer.
21377 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21378 exit call.
21379
d0cd7d02
AS
213802012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21381
21382 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21383 preprocessor. Test for each exception mask separately.
21384
dd318934
AJ
213852012-07-16 Andreas Jaeger <aj@suse.de>
21386
21387 * po/ru.po: Update from translation team.
21388
8048311a
JM
213892012-07-15 Joseph Myers <joseph@codesourcery.com>
21390
21391 * conform/data/string.h-data (NULL): Use macro-constant. Require
21392 equal to 0.
21393 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21394 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21395 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21396 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21398
b637d46e
AJ
213992012-07-13 Andreas Jaeger <aj@suse.de>
21400
21401 * po/fr.po: Update from translation team.
21402
541428fe
MP
214032012-07-12 Marek Polacek <polacek@redhat.com>
21404
21405 [BZ #14173]
21406 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21407 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21408 loop condition.
21409
ec332e94
JM
214102012-07-12 Joseph Myers <joseph@codesourcery.com>
21411
21412 [BZ #13717]
21413 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21414 Change to 2.4.1 where previously 2.4.0.
21415 * sysdeps/unix/sysv/linux/configure: Regenerated.
21416 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21417 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21418 version.
21419 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21420 (__ASSUME_AT_CLKTCK): Remove.
21421 (__ASSUME_AT_PAGESIZE): Likewise.
21422 (__ASSUME_AT_XID): Likewise.
21423 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21424 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21425 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21426 unconditionally.
21427 (HAVE_AUX_PAGESIZE): Likewise.
21428 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21429 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21430 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21431
7b6e99be
JB
214322012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21433
21434 [BZ #14307]
21435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21436 the temporary buffer used to invoke __gethostbyname2_r,
21437 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21438 host_data / struct gaih_addrtuple.
21439 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21440 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21441 header file nss/nsswitch.h.
21442 * nss/nsswitch.h (global scope): Add definition of implementation
21443 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21444 resolv/nss_dns/dns-host.c).
21445
608404eb
AJ
214462012-07-11 Andreas Jaeger <aj@suse.de>
21447
21448 * po/fr.po: Update from translation team.
21449
71220aca
AJ
21450 * po/sv.po: Update from translation team
21451 * po/fr.po: Another update from translation team.
21452
28cfe843
AZ
214532012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21454
21455 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21456 for subnormals or multiply small sinh result by itself.
21457 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21459
6b90f981
DM
214602012-07-11 David S. Miller <davem@davemloft.net>
21461
21462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21463
c6825772
AS
214642012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21465
21466 [BZ #14347]
21467 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21468 (INTERNAL_MARK): Shift it here.
21469
7b8e0d49
MP
214702012-07-10 Marek Polacek <polacek@redhat.com>
21471
21472 [BZ #14151]
21473 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21474 libc_cv_asm_global_directive with .globl.
21475 * configure: Regenerated.
21476 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21477 with .globl.
21478 * sysdeps/i386/configure: Regenerated.
21479 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21480 with .globl.
21481 * sysdeps/x86_64/configure: Regenerated.
21482 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21483 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21484 * elf/tst-unique2mod2.c: Likewise.
21485 * elf/tst-unique2mod1.c: Likewise.
21486 * elf/tst-unique1mod2.c: Likewise.
21487 * elf/tst-unique1mod1.c: Likewise.
21488 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21489 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21490 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21491 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21492 * sysdeps/mach/sysdep.h: Likewise.
21493 * sysdeps/i386/sysdep.h: Likewise.
21494 * sysdeps/i386/i386-mcount.S: Likewise.
21495 * sysdeps/x86_64/_mcount.S: Likewise.
21496 * sysdeps/x86_64/sysdep.h: Likewise.
21497 * sysdeps/sh/_mcount.S: Likewise.
21498 * sysdeps/sh/sysdep.h: Likewise.
21499 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21500 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21501 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21502 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21503 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21504 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21505 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21506 * locale/localeinfo.h: Likewise.
21507 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21508 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21509
6c55cda3
RM
215102012-07-09 Roland McGrath <roland@hack.frob.com>
21511
21512 [BZ #14336]
21513 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21514 system".
21515 * manual/message.texi (The Uniforum approach): Likewise.
21516 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21517 (glibc iconv Implementation): Likewise.
21518
638a572e
JM
215192012-07-09 Joseph Myers <joseph@codesourcery.com>
21520
21521 [BZ #14337]
21522 * math/s_clog.c (__clog): Avoid scaling a value down where that
21523 could result in underflow.
21524 * math/s_clog10.c (__clog10): Likewise.
21525 * math/s_clog10f.c (__clog10f): Likewise.
21526 * math/s_clog10l.c (__clog10l): Likewise.
21527 * math/s_clogf.c (__clogf): Likewise.
21528 * math/s_clogl.c (__clogl): Likewise.
21529 * math/libm-test.inc (clog_test): Add more tests.
21530 (clog10_test): Likewise.
21531 * sysdeps/i386/fpu/libm-test-ulps: Update.
21532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21533
261f4859
AS
215342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21535
0abaf3e4
AS
21536 [BZ #14283]
21537 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21538 by 7 not 8 to examine high bit of fractional part.
21539
261f4859
AS
21540 [BZ #14042]
21541 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21542 for call to __mcount_internal.
21543 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21544 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21545 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21546
f17ac40d
JM
215472012-07-06 Joseph Myers <joseph@codesourcery.com>
21548
9ad63c23
JM
21549 [BZ #14154]
21550 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21551 approximation for values within 0x1p-13f of an odd multiple of
21552 pi/4.
21553 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21554 exception. Add more tests.
21555 * sysdeps/i386/fpu/libm-test-ulps: Update.
21556
f17ac40d
JM
21557 [BZ #6778]
21558 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21559 inputs and return -1 for them. Do not check for +Inf in case not
21560 reachable for +Inf.
21561 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21562 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21563 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21564 and return -1 for them. Do not check for +Inf in case not
21565 reachable for +Inf.
21566 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21567 define.
21568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21569 and return -1 for them. Do not check for +Inf in case not
21570 reachable for +Inf.
21571 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21572 spurious underflow.
21573 * sysdeps/i386/fpu/libm-test-ulps: Update.
21574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21575
fb21f89b
MF
215762012-07-06 Mike Frysinger <vapier@gentoo.org>
21577
21578 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21579
cdfe2c5e
JM
215802012-07-05 Joseph Myers <joseph@codesourcery.com>
21581
21582 [BZ #14157]
21583 [BZ #14331]
21584 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21585 could result in spurious underflow. Scale down values above
21586 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21587 * math/s_csqrtf.c (__csqrtf): Likewise.
21588 * math/s_csqrtl.c (__csqrtl): Likewise.
21589 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21590 spurious underflow.
21591 * sysdeps/i386/fpu/libm-test-ulps: Update.
21592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21593
70d35b67
AS
215942012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21595
704bc459
AS
21596 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21597 xopen-msg.sed.
21598 * catgets/xopen-msg.awk: New file.
21599 * catgets/xopen-msg.sed: Removed.
21600
70d35b67
AS
21601 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21602 po2text.sed.
21603 * intl/po2test.awk: New file.
21604 * intl/po2test.sed: Removed.
21605
ca61cf32
JM
216062012-07-04 Joseph Myers <joseph@codesourcery.com>
21607
21608 [BZ #14328]
21609 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21610 or multiply small sinh result by itself.
21611 * math/s_ctanf.c (__ctanf): Likewise.
21612 * math/s_ctanh.c (__ctanh): Likewise.
21613 * math/s_ctanhf.c (__ctanhf): Likewise.
21614 * math/s_ctanhl.c (__ctanhl): Likewise.
21615 * math/s_ctanl.c (__ctanl): Likewise.
21616 * math/libm-test.inc (ctan_test_tonearest): New function.
21617 (ctan_test_towardzero): Likewise.
21618 (ctan_test_downward): Likewise.
21619 (ctan_test_upward): Likewise.
21620 (ctanh_test_tonearest): Likewise.
21621 (ctanh_test_towardzero): Likewise.
21622 (ctanh_test_downward): Likewise.
21623 (ctanh_test_upward): Likewise.
21624 (main): Call these new functions.
21625 * sysdeps/i386/fpu/libm-test-ulps: Update.
21626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21627
ca48a46a
MF
216282012-07-03 Mike Frysinger <vapier@gentoo.org>
21629
21630 * .gitignore: Delete /ports entry.
21631
9d63d37d
AJ
216322012-07-03 Andreas Jaeger <aj@suse.de>
21633
21634 * po/bg.po: Update from translation team.
21635 * po/cs.po: Likewise.
21636 * po/de.po: Likewise.
21637 * po/hr.po: Likewise.
21638 * po/nl.pl: Likewise.
21639 * po/pl.po: Likewise.
21640 * po/vi.po: Likewise.
21641
370ca3d2
JM
216422012-07-03 Joseph Myers <joseph@codesourcery.com>
21643
95f5a9a8
JM
21644 * Makeconfig [!+link] (+link-before-libc): New variable.
21645 [!+link] (+link-after-libc): Likewise.
21646 [!+link] (+link-tests): Likewise.
21647 [!+link] (+link): Define in terms of $(+link-before-libc) and
21648 $(+link-after-libc).
21649 [!+link-static] (+link-static-before-libc): New variable.
21650 [!+link-static] (+link-static-after-libc): Likewise.
21651 [!+link-static] (+link-static-tests): Likewise.
21652 [!+link-static] (+link-static): Define in terms of
21653 $(+link-static-before-libc) and $(+link-static-after-libc).
21654 [build-shared] (link-libc-before-gnulib): New variable.
21655 [build-shared] (link-libc-tests): Likewise.
21656 [build-shared] (link-libc): Define in terms of
21657 $(link-libc-before-gnulib).
21658 [!build-shared] (link-libc-tests): New variable.
21659 (link-libc-static-tests): New variable.
21660 [!gnulib] (gnulib-arch): New variable.
21661 [!gnulib] (gnulib-tests): Likewise.
21662 [!gnulib] (static-gnulib-arch): Likewise.
21663 [!gnulib] (static-gnulib-tests): Likewise.
21664 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21665 Define with "=" instead of ":=".
21666 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21667 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21668 * Rules (binaries-all-notests): New variable.
21669 (binaries-all-tests): Likewise.
21670 (binaries-static-notests): Likewise.
21671 (binaries-static-tests): Likewise.
21672 (binaries-all): Define using $(binaries-all-notests) and
21673 $(binaries-all-tests).
21674 (binaries-static): Define using $(binaries-static-notests) and
21675 $(binaries-static-tests).
21676 (binaries-shared-tests): New variable.
21677 (binaries-shared-notests): Likewise.
21678 (binaries-shared): Remove variable.
21679 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21680 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21681 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21682 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21683 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21684 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21685 * elf/Makefile (sln-modules): New variable.
21686 (extra-objs): Add $(sln-modules:=.o).
21687 (ldconfig-modules): Add static-stubs.
21688 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21689 * elf/static-stubs.c: New file.
21690
7a845b2c
JM
21691 [BZ #14283]
21692 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21693 by 7 not 8 to examine high bit of fractional part. Use volatile
21694 variables when splitting into final array of floats if
21695 __FLT_EVAL_METHOD__ != 0.
21696 * math/libm-test.inc (cos_test): Add another test.
21697 (sin_test): Likewise.
21698 * sysdeps/i386/fpu/libm-test-ulps: Update.
21699
e2283f38
JM
21700 [BZ #14273]
21701 * math/libm-test.inc (cosh_test): Add more tests.
21702
370ca3d2
JM
21703 * version.h (RELEASE): Set to "development".
21704 (VERSION): Set to "2.16.90".
21705
ee9247c3
CD
217062012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21707
21708 * NEWS: Update copyright. Remove last-updated date.
21709 Mention math library bug fixes and timezone data changes.
21710 * README: Mention GNU/Hurd, x32, and HPPA support status.
21711
4648c381
TS
217122012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21713
21714 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21715
aac78a43
AJ
217162012-06-27 Andreas Jaeger <aj@suse.de>
21717
21718 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21719
ed3dbfad
AJ
217202012-06-25 Andreas Jaeger <aj@suse.de>
21721
21722 * sysdeps/s390/fpu/libm-test-ulps: Update.
21723
4d0ee855
AS
217242012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21725 Thomas Schwinge <thomas@codesourcery.com>
21726
21727 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21728 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21730 fanotify_mark.
21731
af1bce34
TS
217322012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21733
a9fa33ba
TS
21734 * sysdeps/mach/start.c: Remove file.
21735 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21736 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21737 * sysdeps/sh/init-first.c: Likewise.
21738
58f902b8
TS
21739 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21740 registers for frame unwinding purposes, add CFI directives.
21741 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21742 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21743 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21744 Likewise.
21745
1518f58b
TS
21746 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21747 __fortify_fail returning.
21748 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21749
db9b5059
TS
21750 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21751 sysdeps/sh/____longjmp_chk.S.
21752 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21753 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21754 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21755 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21756
967705fe
TS
21757 * sysdeps/sh/abort-instr.h: New file.
21758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21759 process in case exit returns.
21760
a9def8c4
TS
21761 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21762 initialize the GOT register before use.
21763
2a649725
TS
21764 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21765 calculation of ARGC > 4.
21766
af1bce34
TS
21767 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21768 meaningful names to some local labels.
21769
d230f50a
KK
217702012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21771 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21772
21773 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21774 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21775 (__arch_compare_and_exchange_val_16_acq): Likewise.
21776 (__arch_compare_and_exchange_val_32_acq): Likewise.
21777 (atomic_exchange_and_add): Fix gUSA sequence.
21778 (atomic_add): Likewise.
21779 (atomic_add_negative): Likewise.
21780 (atomic_add_zero): Likewise.
21781 (atomic_bit_test_set): Likewise.
21782
0479b305
AS
217832012-06-22 Andreas Schwab <schwab@redhat.com>
21784
21785 [BZ #13579]
21786 * include/link.h (struct link_map): Add l_free_initfini.
21787 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21788 l_initfini.
21789 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21790 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21791 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21792 set.
21793
0e3933b9
CD
217942012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21795
21796 * configure.in: Use AC_LANG_SOURCE.
21797 * configure: Regenerate.
21798
4248b1b1
RM
217992012-06-22 Roland McGrath <roland@hack.frob.com>
21800
21801 * configure.in (libc_cv_localstatedir): New substituted variable.
21802 * configure: Regenerated.
21803 * config.make.in (localstatedir): New variable, substituted from
21804 libc_cv_localstatedir.
21805 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21806 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21807 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21808 * sysdeps/gnu/configure: Regenerated.
21809
006dd861
JL
218102012-06-21 Jeff Law <law@redhat.com>
21811
21812 [BZ #14277]
21813 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21814 free. Simplify list management for _LIBC case.
21815
79662d42
JM
218162012-06-21 Joseph Myers <joseph@codesourcery.com>
21817
b7abb4bf
JM
21818 [BZ #14273]
21819 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21820 Clear sign bit of 64-bit integer value before comparing against
21821 overflow value.
21822
79662d42
JM
21823 * sysdeps/mach/configure: Regenerated.
21824
1f150908
L
218252012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21826
21827 [BZ #14278]
21828 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21829
28363bbf
JL
218302012-06-21 Jeff Law <law@redhat.com>
21831
21832 [BZ #13882]
21833 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21834 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21835 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21836 * elf/dl-open.c (dl_open_worker): Likewise.
21837
09615db4
CD
218382012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21839
21840 * scripts/list-sources.sh: Scan PORTS for translations.
21841 * po/libc.pot: Regenerated.
21842
2174c6dd
AJ
218432012-06-21 Andreas Jaeger <aj@suse.de>
21844
21845 [BZ #12194]
21846 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21847 warning.
21848 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21849 * bits/byteswap-16.h (__bswap_16): Likewise.
21850 * bits/byteswap.h (__bswap_constant_16): Likewise.
21851
3ee947b1
L
218522012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21853
21854 [BZ #14117]
a2f34833
L
21855 * sysdeps/i386/fpu_control.h: Removed.
21856 * sysdeps/x86_64/fpu_control.h: Moved to ...
21857 * sysdeps/x86/fpu_control.h: Here.
21858
3ee947b1
L
21859 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21860 (_FPU_SETCW): Likewise.
21861
ed1825f8
L
218622012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21863
25f1282a
L
21864 [BZ #14117]
21865 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21866 * sysdeps/x86/fpu/bits/mathinline.h: This.
21867 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21868
ed1825f8
L
21869 [BZ #14050]
21870 [BZ #14117]
21871 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21872 functions if __x86_64__ is defined.
21873
36d54b74
CLT
218742012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21875
21876 * string/endian.h: Add !__ASSEMBLER__ condition for including
21877 conversion interfaces.
21878
10285c21
JM
218792012-06-15 Joseph Myers <joseph@codesourcery.com>
21880
21881 [BZ #14241]
21882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21883 of ABS(x) in calculating zero to negative powers other than odd
21884 integers.
21885 * math/libm-test.inc (pow_test): Add more tests.
21886
06c5abbd
AJ
218872012-06-15 Andreas Jaeger <aj@suse.de>
21888
21889 * manual/contrib.texi (Contributors): Update entry of Liubov
21890 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21891 Machado Filho.
21892
a3aeac40
CH
218932012-06-15 Cyril Hrubis <metan@ucw.cz>
21894
21895 * string/string.h: Add __wur to GNU version of strerror_r.
21896
49bdf4c1
L
218972012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21898
21899 [BZ #14229]
21900 * string/Makefile (tests): Add tst-strtok_r.
21901 * string/tst-strtok_r.c: New file.
21902 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21903 RAX_LP/RDX_LP on SAVE_PTR.
21904
834f9b8d
RM
219052012-06-14 Roland McGrath <roland@hack.frob.com>
21906
21907 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21908
75fa1921
JM
219092012-06-14 Joseph Myers <joseph@codesourcery.com>
21910
21911 * libm_test.inc (csqrt_test): Allow more spurious underflow
21912 exceptions.
21913 (j0_test): Likewise.
21914 (j1_test): Likewise.
21915 (y0_test): Likewise.
21916 (y1_test): Likewise.
21917
771766df
CD
219182012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21919
21920 * po/Makefile (libc.pot): Use UTF-8 charset.
21921
ceb9e56b
PP
219222012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21923
21924 [BZ #14210]
21925 Suppress sign-conversion warning from FD_SET.
21926 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21927 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21928 not unsigned long int.
21929 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21930
ddb28975
L
219312012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 [BZ #14050]
21934 [BZ #14117]
21935 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21936 __extern_always_inline instead of __extern_inline.
21937 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21938 (__signbit): Likewise.
21939 (__signbitl): Support C++ namespace.
21940 (lrintf): New inline function.
21941 (lrint): Likewise.
21942 (llrintf): Likewise.
21943 (llrint): Likewise.
21944 (fmaxf): Likewise.
21945 (fmax): Likewise.
21946 (fminf): Likewise.
21947 (fmin): Likewise.
21948 (rint): Likewise.
21949 (rintf): Likewise.
21950 (ceil): Likewise.
21951 (ceilf): Likewise.
21952 (floor): Likewise.
21953 (floorf): Likewise.
21954 (nearbyint): Likewise.
21955 (nearbyintf): Likewise.
21956
d7b4fb26
TS
219572012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21958
21959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21960 non-default versions.
21961
eb55f5c2
RM
219622012-06-11 Roland McGrath <roland@hack.frob.com>
21963
21964 [BZ #14218]
21965 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21966
366af02c
TS
219672012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21968
99ff6e5c
TS
21969 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21970 (FE_UPWARD, FE_DOWNWARD): Don't define.
21971 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21972 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21973
366af02c
TS
21974 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21975 reading it.
21976 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21977 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21978
793ea851
KK
219792012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21980
21981 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21982 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21983 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21984 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21985
a728a38f
L
219862012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21987
21988 [BZ #14117]
c08010c7
L
21989 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21990 * sysdeps/i386/fpu/Implies: New file.
21991 * sysdeps/x86_64/fpu/Implies: Likewise.
21992 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21993 * sysdeps/x86/fpu/bits/fenv.h: This.
21994
a728a38f
L
21995 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21996 __SSE_MATH__.
21997
6e230d11
SP
219982012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21999
22000 [BZ #14134]
22001 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22002 character 0xffff that matches the last element of the
22003 conversion table.
22004
1b671feb
AZ
220052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22006
22007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22008 fmodl commit.
22009
6043738b
AZ
220102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22011
22012 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22013 values higher than 25.6283.
22014
34ae0b32
AZ
220152012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22016
22017 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22018 subnormal exponent extraction and add some __builtin_expect.
22019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22020 Fix for subnormal mantissa calculation.
22021
1214ec8f
MF
220222012-06-04 Mike Frysinger <vapier@gentoo.org>
22023
22024 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22025 cpu2 is -1 and errno is not ENOSYS.
22026
f3d1f93c
L
220272012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22028
22029 [BZ #14117]
0e4a3cd7
L
22030 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22031 * sysdeps/x86/bits/string.h: This.
22032 * sysdeps/x86_64/bits/string.h: Removed.
22033
6704c645
L
22034 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22035 if not compiling for x86-64, but compiling for >= i486.
22036
48495318
L
22037 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22038 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22039
14adcbfc
L
22040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22041 New macro from Linux kernel 3.4.0.
22042 (FP_XSTATE_MAGIC2): Likewise.
22043 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22044 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22045 (struct _fpx_sw_bytes): New struct.
22046 (struct _xsave_hdr): Likewise.
22047 (struct _ymmh_state): Likewise.
22048 (struct _xstate): Likewise.
22049
68e408ab
L
22050 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22051 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22052 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22053 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22054 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22055 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22056
f3d1f93c
L
22057 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22059 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22060 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22061 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22062 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22063
d9dc34cd
TMQMF
220642012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22065
22066 [BZ #13743]
22067 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22068 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22069 (sysdep_headers): Include sys/platform/ppc.h.
22070 * sysdeps/powerpc/test-gettimebase.c: Test for
22071 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22072 * manual/Makefile (appendices): Include platform.texi.
22073 * manual/contrib.texi (Contributors): Update @node pointers.
22074 * manual/maint.texi (Maintenance): Likewise.
22075 (Platform): New node.
22076 * manual/platform.texi: New file. Document the new features.
22077
4af3879c
SP
220782012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22079 Jakub Jelinek <jakub@redhat.com>
22080
22081 [BZ #14188]
22082 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22083 where __builtin_expect is unavailable.
22084
2fd6ff13
DM
220852012-06-03 David S. Miller <davem@davemloft.net>
22086
22087 * stdlib/longlong.h: Updated from GCC.
22088
173f7220
AS
220892012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22090
22091 [BZ #14042]
22092 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22093 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22094 __mcount_internal.
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22096 (GLIBC_2.16): Likewise.
22097
f34a1c6f
L
220982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22099
22100 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22101
88a4576f
JM
221022012-06-01 Joseph Myers <joseph@codesourcery.com>
22103
ea32bcdd
JM
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22105 (default-abi): New variable.
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22107 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22108 variable.
22109 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22110 Likewise.
22111 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22112 Likewise.
22113 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22114 Likewise.
22115
88a4576f
JM
22116 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22117 definition. Document in comment.
22118
402fe938
DM
221192012-06-01 David S. Miller <davem@davemloft.net>
22120
22121 * stdlib/longlong.h: Updated from GCC.
22122
3553723f
L
221232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22124
22125 [BZ #14117]
3bd872c4
L
22126 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22127 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22128 sys/debugreg.h sys/io.h here.
22129 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22130 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22131 sys/io.h.
22132 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22133 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22134 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22135 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22136 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22137 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22138
3553723f
L
22139 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22140 Define only if __x86_64__ is defined.
22141
4842e4fe
JM
221422012-06-01 Joseph Myers <joseph@codesourcery.com>
22143
c5bfe3d5
JM
22144 [BZ #14048]
22145 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22146 Use int64_t for variable i.
22147 * math/libm-test.inc (fmod_test): Add more tests.
22148
4842e4fe
JM
22149 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22150 z computation is not scheduled after fetestexcept.
22151 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22152 Use math_force_eval instead of asm to ensure calculation scheduled
22153 before exception test.
22154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22155 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22156
efb73488
AJ
221572012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22158
22159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22160 computation is not scheduled after fetestexcept.
22161
29bcce7c
L
221622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22163
22164 [BZ #14117]
22165 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22166 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22167
73a68f94
AZ
221682012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22169
22170 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22171 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22172
67b6df78
L
221732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22174
edf2933a 22175 [BZ #14117]
ebc64a18
L
22176 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22177 <bits/wordsize.h>.
22178 (__WCHAR_MIN): Support __WORDSIZE == 64.
22179 (__WCHAR_MAX): Likewise.
22180
edf2933a
L
22181 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22182 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22183
57c6cf40
L
22184 [BZ #14183]
22185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22186 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22187
67b6df78 22188 [BZ #14117]
8eb6281e
L
22189 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22190 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22191
aac639f4
L
22192 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22193 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22194
67b6df78
L
22195 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22196 Defined to 1 if __x86_64__ isn't defined.
22197 (_STAT_VER_LINUX_OLD): New.
22198 (st_atime): Remove duplicate.
22199 (st_mtime): Likewise.
22200 (st_ctime): Likewise.
22201
1c2cfe81
DM
222022012-05-31 David S. Miller <davem@davemloft.net>
22203
22204 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22205 entries.
22206
5be8418c
AS
222072012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22208
e7725326
AS
22209 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22210 gen-libm-test.pl.
22211
5be8418c
AS
22212 [BZ #14132]
22213 * elf/dl-reloc.c: Include <_itoa.h>.
22214 (_dl_reloc_bad_type): Remove use of INTUSE.
22215 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22216 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22217 * stdio-common/psiginfo.c (psiginfo): Likewise.
22218 * stdio-common/psignal.c (psignal): Likewise.
22219 * string/strsignal.c (strsignal): Likewise.
22220 * include/signal.h (_sys_siglist): Declare hidden proto.
22221 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22222 INTVARDEF with libc_hidden_data_def.
22223 * stdio-common/itoa-udigits.c: Likewise.
22224 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22225 (_itoa_lower_digits_internal): Remove declaration.
22226 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22227 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22228 (_sys_sigabbrev_internal): Remove aliases.
22229 (_sys_siglist): Define hidden alias.
22230
507352f1
MT
222312012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22232
22233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22234 bits/sysctl.h.
22235
42bbb1c3
L
222362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22237
22238 [BZ #14117]
6bd784b6
L
22239 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22240 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22241
8bca20f0
L
22242 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22243 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22244 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22245 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22246 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22247 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22248
f9e890a9
L
22249 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22250 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22251 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22252
471101a1
L
22253 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22254 with __addr.
22255 (insw): Likewise.
22256 (insl): Likewise.
22257 (outsb): Likewise.
22258 (outsw): Likewise.
22259 (outsl): Likewise.
22260
6451c862
L
22261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22262 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22263 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22264
a254b8c9
L
22265 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22266 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22267 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22268 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22269 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22270 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22271
b8dfdd92
L
22272 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22273 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22274
578cd270
L
22275 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22276 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22277
de662f5f
L
22278 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22280 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22281
25653439
L
22282 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22283 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22284 to ...
22285 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22286
6bad24a0
L
22287 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22288 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22289 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22290
42bbb1c3
L
22291 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22292 for x86-64.
22293 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22294
2d10d547
JM
222952012-05-31 Joseph Myers <joseph@codesourcery.com>
22296
22297 * math/math.h (M_El): Use two more decimal places.
22298 (M_LOG2El): Likewise.
22299 (M_LOG10El): Likewise.
22300 (M_LN2l): Likewise.
22301 (M_LN10l): Likewise.
22302 (M_PIl): Likewise.
22303 (M_PI_2l): Likewise.
22304 (M_PI_4l): Likewise.
22305 (M_1_PIl): Likewise.
22306 (M_2_PIl): Likewise.
22307 (M_2_SQRTPIl): Likewise.
22308 (M_SQRT2l): Likewise.
22309 (M_SQRT1_2l): Likewise.
22310
f230c29b
DM
223112012-05-31 David S. Miller <davem@davemloft.net>
22312
22313 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22314 values between float registers.
22315 * sysdeps/sparc/sparc64/memset.S: Likewise.
22316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22317
fed806c3
MF
223182012-05-31 Mike Frysinger <vapier@gentoo.org>
22319
22320 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22321 -D_FORTIFY_SOURCE=1.
22322 (CPPFLAGS-tst-longjmp_chk.c): Define.
22323 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22324 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22325 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22326 CFLAGS-tst-wchar-h.c.
22327
30917259
MP
223282012-05-31 Marek Polacek <polacek@redhat.com>
22329
22330 [BZ #14132]
22331 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22332 __endmntent_internal): Remove declaration.
22333 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22334 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22335 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22336
1c58d5dc
DM
223372012-05-30 David S. Miller <davem@davemloft.net>
22338
22339 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22340 (___Q_simulate_exceptions): Use real FP ops rather than writing
22341 into the %fsr.
22342 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22343 Likewise.
22344
7dc00e0d
L
223452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22346
22347 [BZ #14117]
0bd53985
L
22348 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22349 * sysdeps/x86/bits/xtitypes.h: This.
22350
3a257e66
L
22351 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22352 * sysdeps/x86/bits/wordsize.h: This.
22353
62f62904
L
22354 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22355 * sysdeps/x86/bits/huge_vall.h: This.
22356
404fe9d9
L
22357 * sysdeps/i386/bits/select.h: Removed.
22358 * sysdeps/x86_64/bits/select.h: Renamed to ...
22359 * sysdeps/x86/bits/select.h: This.
22360
d48d0446
L
22361 * sysdeps/i386/bits/setjmp.h: Removed.
22362 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22363 * sysdeps/x86/bits/setjmp.h: This.
22364
7dc00e0d
L
22365 * sysdeps/i386/bits/mathdef.h: Removed.
22366 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22367 * sysdeps/x86/bits/mathdef.h: This.
22368
03277f8f
AS
223692012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22370
22371 [BZ #14132]
22372 * include/sys/socket.h (__connect_internal)
22373 (__libc_sa_len_internal): Remove declaration.
22374 (__connect, __libc_sa_len): Declare hidden_proto.
22375 (SA_LEN): Remove use of INTUSE.
22376 * socket/connect.c: Add libc_hidden_def.
22377 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22378 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22379 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22380 alias.
22381 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22382 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22383 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22384 of adding _internal alias.
22385
13764867
L
223862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22387
22388 [BZ #14117]
6bd97696
L
22389 * sysdeps/i386/bits/link.h: Removed.
22390 * sysdeps/i386/bits/linkmap.h: Likewise.
22391 * sysdeps/x86_64/bits/link.h: Renamed to ...
22392 * sysdeps/x86/bits/link.h: This.
22393 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22394 * sysdeps/x86/bits/linkmap.h: This.
22395
f726f0bb
L
22396 * sysdeps/i386/bits/endian.h: Removed.
22397 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22398 * sysdeps/x86/bits/endian.h: This.
22399
13764867
L
22400 * sysdeps/i386/bits/byteswap.h: Removed.
22401 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22402 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22403 * sysdeps/x86/bits/byteswap.h: This.
22404 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22405 * sysdeps/x86/bits/byteswap-16.h: This.
22406 * sysdeps/i386/Implies: Add x86.
22407 * sysdeps/x86_64/Implies: Likewise.
22408
ae251b0b
DM
224092012-05-30 David S. Miller <davem@davemloft.net>
22410
22411 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22412 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22413 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22414 (FP_TRAPPING_EXCEPTIONS): Define.
22415 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22416 (FP_TRAPPING_EXCEPTIONS): Define.
22417 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22418 subnormals only when inexact has been signalled or underflow
22419 exceptions are enabled.
22420 (_FP_PACK_CANONICAL): Likewise.
22421
d5c90867
L
224222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22423
22424 [BZ #14183]
22425 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22426 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22427
63f1549e
RH
224282012-05-30 Richard Henderson <rth@twiddle.net>
22429
8d8f2279
RH
22430 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22431 with #ifndef NOT_IN_libc.
22432
63f1549e
RH
22433 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22434 marked to avoid plt entry.
22435
0ab0291b
L
224362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22437
22438 [BZ #14112]
22439 * Makeconfig (default-abi): New macro.
22440 (abi-includes): Likewise.
22441 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22442 $(abi-$(default-abi)-lib-soname) for soname if defined.
22443 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22444 abi-variants.
22445 * Makefile (installed-stubs): Likewise.
22446 * include/stubs-biarch.h: Removed.
22447 * scripts/lib-names.awk: Only handle one library at a time.
22448 * scripts/soversions.awk: Remove WORDSIZE support.
22449 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22450 entries.
22451 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22452 Removed.
22453 (syscall-list-default-condition): Likewise.
22454 (syscall-list-default-condition): Likewise.
22455 (syscall-list-includes): Likewise.
22456 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22457 syscall-list-* with abi-*. Handle undefined abi-variants.
22458 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22459 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22460 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22461 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22462 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22463 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22464 Removed.
22465 (syscall-list-32-options): Likewise.
22466 (syscall-list-32-condition): Likewise.
22467 (syscall-list-64-options): Likewise.
22468 (syscall-list-64-condition): Likewise.
22469 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22470 macro.
22471 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22472 Renamed to ...
22473 (abi-*): This.
22474 (abi-64-ld-soname): New macro.
22475 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22476 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22477 Renamed to ...
22478 (abi-*): This.
22479 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22480 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22481
4da0431d
JM
224822012-05-30 Joseph Myers <joseph@codesourcery.com>
22483
3a85279c
JM
22484 * sysdeps/unix/sysv/linux/kernel-features.h
22485 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22486 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22487 include <kernel-features.h>.
22488 [!__NR_ftruncate64]: Remove conditional code.
22489 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22490 [__NR_ftruncate64]: Make code unconditional.
22491 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22492 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22493 include <kernel-features.h>.
22494 [!__NR_ftruncate64]: Remove conditional code.
22495 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22496 [__NR_ftruncate64]: Make code unconditional.
22497 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22499 include <kernel-features.h>.
22500 [!__NR_ftruncate64]: Remove conditional code.
22501 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22502 [__NR_ftruncate64]: Make code unconditional.
22503 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22505 include <kernel-features.h>.
22506 [!__NR_ftruncate64]: Remove conditional code.
22507 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22508 [__NR_ftruncate64]: Make code unconditional.
22509 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22510
4da0431d
JM
22511 * configure.in (libc_cv_fpie): Weaken to a compile test using
22512 LIBC_TRY_CC_OPTION.
22513 * configure: Regenerated.
22514
11ef492c
AK
225152012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22516
22517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22521 Refreshed.
22522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22528 Refreshed.
22529
d66ef399
DM
225302012-05-27 David S. Miller <davem@davemloft.net>
22531
22532 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22533 (___Q_zero): New.
22534 (__Q_simulate_exceptions): Return void. Change to simulate
22535 exceptions by writing into the %fsr.
22536 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22537 (__Qp_handle_exceptions): Likewise.
22538 (numbers): Delete.
22539 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22540 __Qp_handle_exceptions.
22541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22542 __Qp_handle_exceptions.
22543 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22544 as unused and give dummy FP_RND_NEAREST initializer.
22545 (FP_INHIBIT_RESULTS): Define.
22546 (___Q_simulate_exceptions): Update declaration.
22547 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22548 formatting.
22549 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22550 as unused and give dummy FP_RND_NEAREST initializer.
22551 (__Qp_handle_exceptions): Update declaration.
22552 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22553 formatting.
22554
04fb54b5
TS
225552012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22556
22557 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22558 the temporary FPU control word.
22559 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22560 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22561 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22562 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22563 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22564 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22565 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22566 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22567 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22568 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22569 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22570
3f99608f
KK
225712012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22572
22573 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22574 fields.
22575
65a4de4e
CLT
225762012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22577
22578 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22579 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22580 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22581 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22582 Likewise.
22583 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22584 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22585 Likewise.
22586
15749d40
UD
225872012-05-27 Ulrich Drepper <drepper@gmail.com>
22588
22589 * po/h.po: Update from translation team.
22590
25dbcb27
AS
225912012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22592
3d3f8e55
AS
22593 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22594
25dbcb27
AS
22595 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22596 handling of denormals.
22597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22598 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22599 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22600 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22604 Likewise.
22605
7ad47a80 226062012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22607
22608 [BZ #14152]
22609 * math/libm-test.inc (fma_test): Don't always expect underflow
22610 exception.
22611
9c6ea9fa
SP
226122012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22613
22614 [BZ #12416]
22615 * elf/tst-execstack.c: Include stackinfo.h.
22616 (do_test): Adjust test case to ensure that pthread_getattr_np
22617 behaviour remains the same after marking stack executable.
22618
a8239222
JM
226192012-05-25 Joseph Myers <joseph@codesourcery.com>
22620
22621 * sysdeps/unix/sysv/linux/kernel-features.h
22622 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22623 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22624 kernel-features.h.
22625 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22626 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22627 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22628 kernel-features.h.
22629 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22630 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22631
918b5606
L
226322012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22633
22634 * configure.in: Define the default includes to being none.
22635 * configure: Regenerated.
22636
3a097cc7
RM
226372012-05-25 Roland McGrath <roland@hack.frob.com>
22638
8422c9a5
RM
22639 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22640 * sysdeps/x86_64/setjmp.S: Likewise.
22641 * sysdeps/i386/bsd-setjmp.S: Likewise.
22642 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22643 * sysdeps/i386/setjmp.S: Likewise.
22644 * sysdeps/i386/__longjmp.S: Likewise.
22645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22646 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22647
3a097cc7
RM
22648 * include/stap-probe.h: New file.
22649 * configure.in: Handle --enable-systemtap.
22650 * configure: Regenerated.
22651 * config.h.in (USE_STAP_PROBE): New #undef.
22652 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22653 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22654 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22655
21708942
JM
226562012-05-25 Joseph Myers <joseph@codesourcery.com>
22657
22658 [BZ #13717]
22659 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22660 to 2.4.0 where earlier.
22661 * sysdeps/unix/sysv/linux/configure: Regenerated.
22662 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22663 <kernel-features.h>.
22664 [__ASSUME_32BITUIDS]: Make code unconditional.
22665 [!__ASSUME_32BITUIDS]: Remove conditional code.
22666 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22667 <kernel-features.h>.
22668 [__ASSUME_32BITUIDS]: Make code unconditional.
22669 [!__ASSUME_32BITUIDS]: Remove conditional code.
22670 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22671 [__ASSUME_32BITUIDS]: Make code unconditional.
22672 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22673 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22674 <kernel-features.h>.
22675 [__ASSUME_32BITUIDS]: Make code unconditional.
22676 [!__ASSUME_32BITUIDS]: Remove conditional code.
22677 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22678 <kernel-features.h>.
22679 [__ASSUME_32BITUIDS]: Make code unconditional.
22680 [!__ASSUME_32BITUIDS]: Remove conditional code.
22681 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22682 <kernel-features.h>.
22683 [__ASSUME_32BITUIDS]: Make code unconditional.
22684 [!__ASSUME_32BITUIDS]: Remove conditional code.
22685 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22686 <kernel-features.h>.
22687 [__ASSUME_32BITUIDS]: Make code unconditional.
22688 [!__ASSUME_32BITUIDS]: Remove conditional code.
22689 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22690 <kernel-features.h>.
22691 [__ASSUME_32BITUIDS]: Make code unconditional.
22692 [!__ASSUME_32BITUIDS]: Remove conditional code.
22693 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22694 <kernel-features.h>.
22695 [__ASSUME_32BITUIDS]: Make code unconditional.
22696 [!__ASSUME_32BITUIDS]: Remove conditional code.
22697 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22698 <kernel-features.h>.
22699 [__ASSUME_32BITUIDS]: Make code unconditional.
22700 [!__ASSUME_32BITUIDS]: Remove conditional code.
22701 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22702 <kernel-features.h>.
22703 [__ASSUME_32BITUIDS]: Make code unconditional.
22704 [!__ASSUME_32BITUIDS]: Remove conditional code.
22705 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22706 <kernel-features.h>.
22707 [__ASSUME_32BITUIDS]: Make code unconditional.
22708 [!__ASSUME_32BITUIDS]: Remove conditional code.
22709 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22710 <kernel-features.h>.
22711 [__ASSUME_32BITUIDS]: Make code unconditional.
22712 [!__ASSUME_32BITUIDS]: Remove conditional code.
22713 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22714 <kernel-features.h>.
22715 [__NR_setresgid] (__setresgid): Do not declare.
22716 [__ASSUME_32BITUIDS]: Make code unconditional.
22717 [!__ASSUME_32BITUIDS]: Remove conditional code.
22718 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22719 <kernel-features.h>.
22720 [__NR_setresuid] (__setresuid): Do not declare.
22721 [__ASSUME_32BITUIDS]: Make code unconditional.
22722 [!__ASSUME_32BITUIDS]: Remove conditional code.
22723 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22724 <kernel-features.h>.
22725 [__ASSUME_32BITUIDS]: Make code unconditional.
22726 [!__ASSUME_32BITUIDS]: Remove conditional code.
22727 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22728 <kernel-features.h>.
22729 [__ASSUME_32BITUIDS]: Make code unconditional.
22730 [!__ASSUME_32BITUIDS]: Remove conditional code.
22731 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22732 <kernel-features.h>.
22733 [__ASSUME_32BITUIDS]: Make code unconditional.
22734 [!__ASSUME_32BITUIDS]: Remove conditional code.
22735 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22736 <kernel-features.h>.
22737 [__ASSUME_32BITUIDS]: Make code unconditional.
22738 [!__ASSUME_32BITUIDS]: Remove conditional code.
22739 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22740 <kernel-features.h>.
22741 [__ASSUME_32BITUIDS]: Make code unconditional.
22742 [!__ASSUME_32BITUIDS]: Remove conditional code.
22743 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22744 <kernel-features.h>.
22745 [__ASSUME_32BITUIDS]: Make code unconditional.
22746 [!__ASSUME_32BITUIDS]: Remove conditional code.
22747 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22748 <kernel-features.h>.
22749 [__ASSUME_32BITUIDS]: Make code unconditional.
22750 [!__ASSUME_32BITUIDS]: Remove conditional code.
22751 * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.c: Do not include
22760 <kernel-features.h>.
22761 [__ASSUME_32BITUIDS]: Make code unconditional.
22762 [!__ASSUME_32BITUIDS]: Remove conditional code.
22763 * sysdeps/unix/sysv/linux/kernel-features.h
22764 (__ASSUME_SETRESUID_SYSCALL): Remove.
22765 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22766 (__ASSUME_32BITUIDS): Likewise.
22767 (__ASSUME_LDT_WORKS): Likewise.
22768 (__ASSUME_O_DIRECTORY): Likewise.
22769 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22770 architecture but not kernel version.
22771 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22772 (__ASSUME_MMAP2_SYSCALL): Likewise.
22773 (__ASSUME_STAT64_SYSCALL): Likewise.
22774 (__ASSUME_IPC64): Likewise.
22775 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22776 <kernel-features.h>.
22777 [__ASSUME_32BITUIDS]: Make code unconditional.
22778 [!__ASSUME_32BITUIDS]: Remove conditional code.
22779 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22780 <kernel-features.h>.
22781 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22782 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22783 132096]: Remove conditional code.
22784 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22785 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22786 <kernel-features.h>.
22787 [__ASSUME_32BITUIDS]: Make code unconditional.
22788 [!__ASSUME_32BITUIDS]: Remove conditional code.
22789 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22790 <kernel-features.h>.
22791 [__ASSUME_32BITUIDS]: Make code unconditional.
22792 [!__ASSUME_32BITUIDS]: Remove conditional code.
22793 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22794 <kernel-features.h>.
22795 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22796 unconditional.
22797 (__setresgid): Do not declare.
22798 [__ASSUME_32BITUIDS]: Make code unconditional.
22799 [!__ASSUME_32BITUIDS]: Remove conditional code.
22800 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22801 <kernel-features.h>.
22802 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22803 unconditional.
22804 (__setresuid): Do not declare.
22805 [__ASSUME_32BITUIDS]: Make code unconditional.
22806 [!__ASSUME_32BITUIDS]: Remove conditional code.
22807 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22808 <kernel-features.h>.
22809 [__ASSUME_32BITUIDS]: Make code unconditional.
22810 [!__ASSUME_32BITUIDS]: Remove conditional code.
22811 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22812 <kernel-features.h>.
22813 [__ASSUME_32BITUIDS]: Make code unconditional.
22814 [!__ASSUME_32BITUIDS]: Remove conditional code.
22815
a386f1cc
RH
228162012-05-25 Richard Henderson <rth@twiddle.net>
22817
22818 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22819 dl_hwcap to ifunc resolver.
22820 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22821 elf_ifunc_invoke.
22822 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22823 dl_hwcap to ifunc resolver.
22824 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22825
b6550497
JM
228262012-05-24 Joseph Myers <joseph@codesourcery.com>
22827
22828 [BZ #14153]
22829 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22830 for |x| <= 2**-26, not 2**-57.
22831 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22832 exception.
22833
b0bc23a1
JL
228342012-05-24 Jeff Law <law@redhat.com>
22835
22836 * stdio-common/Makefile (tests): Add bug25.
22837 * stdio-common/bug25.c: New test.
22838
347c92e9
L
228392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22840
22841 [BZ #13576]
22842 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22843 multiple of MALLOC_ALIGNMENT in size.
22844 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22845
6bcc8b3f
JM
228462012-05-24 Joseph Myers <joseph@codesourcery.com>
22847
22848 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22849 Require >= 256.
22850 (FILENAME_MAX): Use macro-int-constant.
22851 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22852 (_IOFBF): Use macro-int-constant.
22853 (_IOLBF): Likewise.
22854 (_IONBF): Likewise.
22855 (SEEK_CUR): Likewise.
22856 (SEEK_END): Likewise.
22857 (SEEK_SET): Likewise.
22858 (TMP_MAX): Likewise.
22859 (EOF): Use macro-int-constant. Require < 0.
22860 (NULL): Use macro-constant. Require == 0.
22861 (stdin): Require type to be FILE *.
22862 (stdout): Likewise.
22863 (stderr): Likewise.
22864 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22865 macro-int-constant.
22866 (EXIT_SUCCESS): Likewise.
22867 (NULL): Use macro-constant. Require == 0.
22868 (RAND_MAX): Use macro-int-constant.
22869 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22870 [C99-based standards] (strtof): Require function.
22871 [C99-based standards] (strtold): Likewise.
22872 [C99-based standards] (strtoll): Likewise.
22873 [C99-based standards] (strtoull): Likewise.
22874 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22875 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22876 [ISO || ISO99 || ISO11] (math.h): Likewise.
22877 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22878 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22879 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22880
d18ea0c5
AS
228812012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22882
22883 [BZ #14132]
56d25bb8
AS
22884 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22885 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22886 * intl/dgettext.c (DCGETTEXT): Likewise.
22887 * intl/gettext.c (DCGETTEXT): Likewise.
22888 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22889 * posix/regex_internal.h (gettext): Likewise.
22890 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22891 Remove declaration.
22892 * include/argz.h (__argz_count_internal)
22893 (__argz_stringify_internal): Remove declaration.
22894 (__argz_count, __argz_stringify): Declare hidden proto.
22895 * intl/dcgettext.c: Remove use of INTDEF.
22896 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22897 * string/argz-stringify.c: Likewise.
22898 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22899 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22900 Declare hidden proto.
d18ea0c5
AS
22901 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22902 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22903 Declare hidden proto.
22904 * include/stdio.h (__asprintf_internal): Don't declare.
22905 (__asprintf): Don't define as macro. Declare hidden proto.
22906 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22907 (__fsetlocking): Declare hidden proto.
22908 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22909 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22910 hidden proto.
22911 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22912 (_IO_setlinebuf): Remove use of INTUSE.
22913 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22914 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22915 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22916 Remove declaration.
22917 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22918 (_IO_do_flush): Remove use of INTUSE.
22919 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22920 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22921 (_IO_adjust_column, _IO_least_wmarker)
22922 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22923 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22924 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22925 (_IO_default_doallocate, _IO_wdefault_doallocate)
22926 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22927 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22928 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22929 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22930 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22931 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22932 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22933 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22934 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22935 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22936 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22937 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22938 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22939 proto.
22940 (_IO_flush_all_internal, _IO_adjust_column_internal)
22941 (_IO_default_uflow_internal, _IO_default_finish_internal)
22942 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22943 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22944 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22945 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22946 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22947 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22948 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22949 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22950 (_IO_file_close_internal, _IO_file_close_it_internal)
22951 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22952 (_IO_file_init_internal, _IO_file_attach_internal)
22953 (_IO_file_fopen_internal, _IO_file_read_internal)
22954 (_IO_file_sync_internal, _IO_file_seek_internal)
22955 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22956 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22957 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22958 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22959 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22960 (_IO_list_all_internal, _IO_link_in_internal)
22961 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22962 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22963 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22964 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22965 (_IO_do_write_internal, _IO_padn_internal)
22966 (_IO_getline_info_internal, _IO_getline_internal)
22967 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22968 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22969 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22970 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22971 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22972 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22973 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22974 with libc_hidden_ver, remove use of INTUSE.
22975 * libio/genops.c: Likewise.
22976 * libio/freopen.c: Likewise.
22977 * libio/freopen64.c: Likewise.
22978 * libio/iofclose.c: Likewise.
22979 * libio/iofdopen.c: Likewise.
22980 * libio/iofflush.c: Likewise.
22981 * libio/iofflush_u.c: Likewise.
22982 * libio/iofgets.c: Likewise.
22983 * libio/iofgets_u.c: Likewise.
22984 * libio/iofopen.c: Likewise.
22985 * libio/iofopncook.c: Likewise.
22986 * libio/iofread.c: Likewise.
22987 * libio/iofread_u.c: Likewise.
22988 * libio/ioftell.c: Likewise.
22989 * libio/iofwrite.c: Likewise.
22990 * libio/iogetline.c: Likewise.
22991 * libio/iogets.c: Likewise.
22992 * libio/iogetwline.c: Likewise.
22993 * libio/iopadn.c: Likewise.
22994 * libio/iopopen.c: Likewise.
22995 * libio/ioseekoff.c: Likewise.
22996 * libio/ioseekpos.c: Likewise.
22997 * libio/iosetbuffer.c: Likewise.
22998 * libio/iosetvbuf.c: Likewise.
22999 * libio/ioungetc.c: Likewise.
23000 * libio/ioungetwc.c: Likewise.
23001 * libio/iovdprintf.c: Likewise.
23002 * libio/iovsprintf.c: Likewise.
23003 * libio/iovsscanf.c: Likewise.
23004 * libio/memstream.c: Likewise.
23005 * libio/obprintf.c: Likewise.
23006 * libio/oldfileops.c: Likewise.
23007 * libio/oldiofclose.c: Likewise.
23008 * libio/oldiofdopen.c: Likewise.
23009 * libio/oldiofopen.c: Likewise.
23010 * libio/oldiopopen.c: Likewise.
23011 * libio/oldstdfiles.c: Likewise.
23012 * libio/putc.c: Likewise.
23013 * libio/setbuf.c: Likewise.
23014 * libio/setlinebuf.c: Likewise.
23015 * libio/stdfiles.c: Likewise.
23016 * libio/strops.c: Likewise.
23017 * libio/vasprintf.c: Likewise.
23018 * libio/vscanf.c: Likewise.
23019 * libio/vsnprintf.c: Likewise.
23020 * libio/vswprintf.c: Likewise.
23021 * libio/wfiledoalloc.c: Likewise.
23022 * libio/wfileops.c: Likewise.
23023 * libio/wgenops.c: Likewise.
23024 * libio/wmemstream.c: Likewise.
23025 * libio/wstrops.c: Likewise.
23026 * libio/__fpurge.c: Likewise.
23027 * libio/__fsetlocking.c: Likewise.
23028 * assert/assert.c: Likewise.
23029 * debug/fgets_chk.c: Likewise.
23030 * debug/fgets_u_chk.c: Likewise.
23031 * debug/fread_chk.c: Likewise.
23032 * debug/fread_u_chk.c: Likewise.
23033 * debug/gets_chk.c: Likewise.
23034 * debug/obprintf_chk.c: Likewise.
23035 * debug/vasprintf_chk.c: Likewise.
23036 * debug/vdprintf_chk.c: Likewise.
23037 * debug/vsnprintf_chk.c: Likewise.
23038 * debug/vsprintf_chk.c: Likewise.
23039 * malloc/mtrace.c: Likewise.
23040 * misc/error.c: Likewise.
23041 * misc/syslog.c: Likewise.
23042 * stdio-common/asprintf.c: Likewise.
23043 * stdio-common/fxprintf.c: Likewise.
23044 * stdio-common/getw.c: Likewise.
23045 * stdio-common/isoc99_fscanf.c: Likewise.
23046 * stdio-common/isoc99_scanf.c: Likewise.
23047 * stdio-common/isoc99_vfscanf.c: Likewise.
23048 * stdio-common/isoc99_vscanf.c: Likewise.
23049 * stdio-common/isoc99_vsscanf.c: Likewise.
23050 * stdio-common/printf-prs.c: Likewise.
23051 * stdio-common/printf_fp.c: Likewise.
23052 * stdio-common/printf_fphex.c: Likewise.
23053 * stdio-common/printf_size.c: Likewise.
23054 * stdio-common/putw.c: Likewise.
23055 * stdio-common/scanf.c: Likewise.
23056 * stdio-common/sprintf.c: Likewise.
23057 * stdio-common/tmpfile.c: Likewise.
23058 * stdio-common/vfprintf.c: Likewise.
23059 * stdio-common/vfscanf.c: Likewise.
23060 * stdlib/strfmon_l.c: Likewise.
23061 * sunrpc/openchild.c: Likewise.
23062 * sunrpc/xdr_stdio.c: Likewise.
23063 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23064 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23065
d6c33fda
RM
230662012-05-24 Roland McGrath <roland@hack.frob.com>
23067
c1487492
RM
23068 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23069
23070 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23071 in the third column, to generate for the shared library an IFUNC
23072 that uses _dl_vdso_vsym.
23073 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23074 * Makeconfig (object-suffixes-noshared): New variable.
23075
23076 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23077 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23078 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23079 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23080
d6c33fda
RM
23081 [BZ #14132]
23082 * include/sys/time.h (__gettimeofday): Remove macro.
23083 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23084 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23085 Remove INTDEF.
23086 (__gettimeofday): Add libc_hidden_def.
23087 (gettimeofday): Add libc_hidden_weak.
23088 * sysdeps/mach/gettimeofday.c: Likewise.
23089 * sysdeps/posix/gettimeofday.c: Likewise.
23090 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23091 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23093 (__gettimeofday_internal): Remove strong_alias.
23094 (__gettimeofday): Add libc_hidden_def.
23095 (gettimeofday): Add libc_hidden_weak.
23096 * sysdeps/unix/syscalls.list (gettimeofday):
23097 Remove __gettimeofday_internal alias.
23098
b5a2bbe6
L
230992012-05-24 Daniel Jacobowitz <drow@false.org>
23100 H.J. Lu <hongjiu.lu@intel.com>
23101
23102 [BZ #12495]
23103 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23104 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23105 (largebin_index_32_big): New.
23106 (largebin_index): Use it for 16-byte alignment.
23107 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23108 correction with front_misalign.
23109
cfba4fda
L
231102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23111
7f907421
L
23112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23114 Likewise.
23115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23116 Likewise.
23117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23118 Likewise.
23119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23120 Likewise.
23121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23122 Likewise.
23123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23124 Likewise.
23125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23126 Likewise.
23127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23128 Likewise.
23129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23130 Likewise.
23131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23132 Likewise.
23133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23134 Likewise.
23135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23136 Likewise.
23137
cfba4fda
L
23138 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23139 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23140
80bad0cc
JM
231412012-05-24 Joseph Myers <joseph@codesourcery.com>
23142
7a25eb06
JM
23143 [BZ #10846]
23144 [BZ #14036]
23145 * math/libm-test.inc (exp_test): Add test from bug 14036.
23146 (pow_test): Add test from bug 10846.
23147
795405f9
JM
23148 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23149 and other flags.
23150 (special_function): Do not include flags in test name.
23151 (parse_args): Likewise.
23152 * sysdeps/i386/fpu/libm-test-ulps: Update.
23153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23154 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23155 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23157
80bad0cc
JM
23158 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23159 exceptions.
23160 * math/libm-test.inc ("Philosophy"): Update comment about
23161 exception testing.
23162 (UNDERFLOW_EXCEPTION): New macro.
23163 (UNDERFLOW_EXCEPTION_OK): Likewise.
23164 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23165 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23166 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23167 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23168 (INVALID_EXCEPTION_OK): Update value.
23169 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23170 (OVERFLOW_EXCEPTION_OK): Likewise.
23171 (IGNORE_ZERO_INF_SIGN): Likewise.
23172 (test_exceptions): Handle underflow exceptions.
23173 (acos_test): Update for underflow exception expectations.
23174 (cexp_test): Likewise.
23175 (clog_test): Likewise.
23176 (clog10_test): Likewise.
23177 (csqrt_test): Likewise.
23178 (ctan_test): Likewise.
23179 (ctanh_test): Likewise.
23180 (exp_test): Likewise.
23181 (exp10_test): Likewise.
23182 (exp2_test): Likewise.
23183 (expm1_test): Likewise.
23184 (fma_test): Likewise.
23185 (j0_test): Likewise.
23186 (jn_test): Likewise.
23187 (nexttoward_test): Likewise.
23188 (pow_test): Likewise.
23189 (scalbn_test): Likewise.
23190 (scalbln_test): Likewise.
23191 (tan_test): Likewise.
23192 (y1_test): Likewise.
23193 * sysdeps/i386/fpu/libm-test-ulps: Update.
23194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23195
9e0e3d0b
DM
231962012-05-23 David S. Miller <davem@davemloft.net>
23197
23198 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23199 (__libc_sigaction): Remove unused local variables.
23200
ccd0a08f
L
232012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23202
23203 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23204
62bdf9a6
PE
232052012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23206
f8591f80
PE
23207 mktime: avoid signed integer overflow
23208 * time/mktime.c (__mktime_internal): Do not mishandle the case
23209 where diff == INT_MIN.
23210
94c7d826
PE
23211 mktime: simplify computation of average
23212 * time/mktime.c (ranged_convert): Use new time_t_avg function
23213 instead of rolling our own (probably-slower) code.
23214
ce73d683
PE
23215 mktime: do not assume signed right shift propagates sign bit
23216 * time/mktime.c (isdst_differ): New static function.
23217 (__mktime_internal): No need to normalize tm_isdst now.
23218 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23219 tm_isdst values.
23220
72a22e59
PE
23221 mktime: merge another wrapv change from gnulib
23222 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23223 from some compilers.
23224
68605433
PE
23225 mktime: remove incorrect attempt at unusual arithmetics
23226 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23227 The code didn't really work on such machines anyway.
23228 (TYPE_MINIMUM): Assume two's complement.
23229 (twos_complement_arithmetic): Verify that long_int and time_t
23230 are two's complement (or unsigned, in the latter case).
23231
03cf7fe3
PE
23232 mktime: check signed shifts on long_int and time_t, too
23233 * time/mktime.c (SHR): Check that shifts work as desired
23234 on the types long_int and time_t too, as SHR is used on
23235 such types.
23236
f04dfbc2
PE
23237 mktime: do not assume 'long' is wide enough
23238 * time/mktime.c (verify): Move decl up.
23239 (long_int): New type.
23240 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23241 to remove assumption in the code that 'long' is wide enough to
23242 store year values. This assumption is not true on x32 and on
23243 some non-glibc platforms.
23244
62bdf9a6
PE
23245 mktime: merge wrapv change from gnulib
23246 * time/mktime.c (WRAPV): New macro.
23247 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23248 (guess_time_tm, __mktime_internal): Do not assume that signed
23249 integer overflow wraps around; modern compilers generate code
23250 where this assumption is no longer valid.
23251
5e292e4f
L
232522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23253
23254 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23255 Replace "jmp L(pseudo_end)" with "ret".
23256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23257 Likewise.
23258
8caf8c87
AJ
232592012-05-23 Andreas Jaeger <aj@suse.de>
23260
23261 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23262 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23263
1a09dc56
AJ
232642012-05-23 Andreas Jaeger <aj@suse.de>
23265 Maximilian Attems <max@stro.at>
23266
23267 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23268 New macros.
23269
1c87aba0
L
232702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23271
23272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23273 code so that pseudo_end is just ret and the stack pointer is
23274 correct also for static library in error case.
23275
40e45bd5
JM
232762012-05-23 Joseph Myers <joseph@codesourcery.com>
23277
c2670533
JM
23278 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23279 move to syscalls.list.
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23284
40e45bd5
JM
23285 * manual/install.texi (Running make install): Do not mention Linux
23286 kernel version for which pt_chown is not needed.
23287 (Linux): Do not mention problems with nscd with 2.0 kernels.
23288 * INSTALL: Regenerated.
23289
be08eda5
AJ
232902012-05-23 Andreas Jaeger <aj@suse.de>
23291
23292 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23293 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23294 macro.
23295 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23297 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23298 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23299 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23300 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23301 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23302 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23303 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23304 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23305 * sysdeps/unix/sysv/linux/bits/in.h
23306 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23307
a6a056bb
RM
233082012-05-22 Roland McGrath <roland@hack.frob.com>
23309
23310 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23311 (PREPARE_VERSION): Just use assert instead, it will be elided
23312 under [NDEBUG] anyway.
23313
c9009328
L
233142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23315
23316 * sysdeps/unix/sysv/linux/Makefile: Include
23317 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23318 (sysdep_routines): Remove sysctl.
c9009328
L
23319 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23320 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23321 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23322 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23323 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23324
73338355
AJ
233252012-05-22 Andreas Jaeger <aj@suse.de>
23326
23327 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23328 that pseudo_end is just ret and the stack pointer is correct also
23329 for static library in error case.
23330
d44638b0
PP
233312012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23332
23333 [BZ #14122]
23334 * nss/nsswitch.c (defconfig_entries): New variable.
23335 (__nss_database_lookup): Don't leak defconfig entries.
23336 (nss_parse_service_list): Don't leak on error paths.
23337 (free_database_entries): New function.
23338 (free_defconfig): New function.
23339 (free_mem): Move common code to free_database_entries.
23340
31a39bd8
L
233412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23342
da0331a8
L
23343 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23344 Add arch_prctl.
23345 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23346
31a39bd8
L
23347 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23348 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23350 New macro.
23351 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23352 (INTERNAL_SYSCALL_TYPES): Likewise.
23353 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23354 (LOAD_REGS_TYPES_[1-6]): Likewise.
23355 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23356 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23357
45470df3
AZ
233582012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23359
23360 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23361 copysignl for GLIBC_2_0.
23362 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23363 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23365 logbl for GLIBC_2_0.
23366 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23367 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23368
98a61bcb
L
233692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23370
a4f6e481
L
23371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23372 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23373
f63d5db6
L
23374 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23375 Use "neg %eax".
23376
98a61bcb
L
23377 * time/mktime.c: Update copyright years.
23378
95770f14
PE
233792012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23380
6226efbd
PE
23381 mktime: merge comment-quoting-style change from gnulib
23382 * time/mktime.c: Quote 'like this' in comments.
23383 The GNU coding standards suggest that we no longer quote `like this',
23384 as "`" and "'" are typically rendered asymmetrically nowadays.
23385 The typical gnulib style is to quote 'like this' when quoting
23386 code, and "like this" when quoting English.
23387
b99e4f78
PE
23388 * time/mktime.c (compile-command): Add "-I.".
23389
643e01e6
PE
23390 mktime: merge mktime-internal.h change from gnulib
23391 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23392
2554247d
PE
23393 mktime: merge time_r change from gnulib
23394 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23395
826dd0ab
PE
23396 mktime: merge DEBUG change from gnulib
23397 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23398 case system <time.h> has a #define.
23399
bd83aabe
PE
23400 mktime: merge <sys/types.h> change from gnulib
23401 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23402 since <time.t> is now guaranteed to define time_t.
23403
95770f14
PE
23404 mktime: merge HAVE_CONFIG_H change from gnulib
23405 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23406
5e1a27a9
L
234072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23408
0e44a77e
L
23409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23410 Use "neg %eax".
23411
5e1a27a9
L
23412 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23413 __rlim_t cast.
23414 (struct rusage): Use anonymous union to pad each field to
23415 __syscall_slong_t.
23416
46259bec
DM
234172012-05-21 David S. Miller <davem@davemloft.net>
23418
23419 * Makefules (o-iterator): Remove .s cases.
23420 (compile-command.s): Delete.
23421 (COMPILE.s): Delete.
23422 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23423
59f0c22e
JM
234242012-05-21 Joseph Myers <joseph@codesourcery.com>
23425
23426 * configure.in (libc_cv_predef_stack_protector): Only consider
23427 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23428 * configure: Regenerated.
23429
20c07380
L
234302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23431
bbb3154b
L
23432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23433 New macro. Use R*LP on int and pointer.
23434 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23435 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23436 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23437 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23438
20c07380
L
23439 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23440 [__WORDSIZE_TIME64_COMPAT32] instead of
23441 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23442 (struct utmp): Likewise.
23443 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23444 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23445 Renamed to ...
23446 (__WORDSIZE_TIME64_COMPAT32): This.
23447 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23448 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23449 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23450 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23451 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23452 (__WORDSIZE_TIME64_COMPAT32): New macro.
23453
d8d1017e
AJ
234542012-05-21 Andreas Jaeger <aj@suse.de>
23455
23456 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23457 only if [SHARED]. Add prototype for __wcschr_ia32.
23458
6c7fb145
RM
234592012-05-21 Roland McGrath <roland@hack.frob.com>
23460
23461 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23462 of %rbp unmolested in the jmp_buf while mangling the low bits.
23463 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23464 unmolested high bits of %rbp while demangling the low bits.
23465 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23466
66274218
AJ
234672012-05-21 Andreas Jaeger <aj@suse.de>
23468
07c58f8f
AJ
23469 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23470 * sunrpc/svc_simple.c: Use it for registerrpc.
23471 * sunrpc/xcrypt.c: Use it for passwd2des.
23472
66274218
AJ
23473 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23474
61f65140
L
234752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23476
23477 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23478 Don't define if [__SYSCALL_WORDSIZE != 32].
23479 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23480 New macro.
23481
5fefb436
AJ
234822012-05-21 Bruno Haible <bruno@clisp.org>
23483 Andreas Jaeger <aj@suse.de>
23484
23485 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23486 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23487 inptr and inend for must_buffer_ch.
23488 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23489 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23490 * stdio-common/Makefile (tests): Remove bug15.
23491 (bug15-ENV): Remove macro.
23492 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23493 anymore.
23494
d8e272ab
AJ
234952012-05-19 Andreas Jaeger <aj@suse.de>
23496 Roland McGrath <roland@hack.frob.com>
23497
23498 * manual/contrib.texi: Completely rewritten. It contains now an
23499 alphabetical list of contributors and their contributions.
23500
4a56a162
RH
235012012-05-21 Richard Henderson <rth@twiddle.net>
23502
23503 * misc/getauxval.c (__getauxval): Use unsigned long int.
23504 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23505 (getauxval): Use unsigned long int.
23506
d024d23c
L
235072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23508
23509 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23510
cbc00a03
RM
235112012-05-21 Roland McGrath <roland@hack.frob.com>
23512
23513 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23514 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23515 __alignof__ (long double).
23516
478143fa
AZ
235172012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23518
23519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23520
c7683a6d
RH
235212012-05-20 Richard Henderson <rth@twiddle.net>
23522
23523 * misc/getauxval.c: New file.
23524 * misc/sys/auxv.h: New file.
23525 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23526 (routines): Add getauxval.
23527 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23528 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23529 * elf/dl-sysdep.c (_dl_auxv): Remove.
23530 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23531 * elf/dl-support.c (_dl_auxv): New variable.
23532 (_dl_aux_init): Initialize it.
23533 * manual/startup.texi (Auxiliary Vector): New node.
23534 * sysdeps/generic/bits/hwcap.h: New file.
23535 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23536 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23537 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23538 * sysdeps/sparc/sysdep.h: ... here. Include it.
23539 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23542 Update.
c7683a6d
RH
23543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23551
a6f1845d
AZ
235522012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23553
23554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23555
cbcbe830
DM
235562012-05-19 David S. Miller <davem@davemloft.net>
23557
23558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23559
e0b16cc2
JM
235602012-05-19 Joseph Myers <joseph@codesourcery.com>
23561
23562 [BZ #14123]
23563 * math/s_ccosh.c: Include <float.h>
23564 (__ccosh): Avoid internal overflow calculating sinh and cosh
23565 values before multiplying by sin and cos values.
23566 * math/s_ccoshf.c: Likewise.
23567 * math/s_ccoshl.c: Likewise.
23568 * math/s_csin.c: Likewise.
23569 * math/s_csinf.c: Likewise.
23570 * math/s_csinl.c: Likewise.
23571 * math/s_csinh.c: Likewise.
23572 * math/s_csinhf.c: Likewise.
23573 * math/s_csinhl.c: Likewise.
23574 * math/libm-test.inc (ccos_test): Add more tests.
23575 (ccosh_test): Likewise.
23576 (csin_test): Likewise.
23577 (csinh_test): Likewise.
23578 * sysdeps/i386/fpu/libm-test-ulps: Update.
23579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23580
6ad13e08
L
235812012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23582
f66f0ce8
L
23583 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23584 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23585
6ad13e08
L
23586 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23587
b1d072a7
JM
235882012-05-19 Joseph Myers <joseph@codesourcery.com>
23589
23590 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23591 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23592 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23593 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23594 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23595 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23596 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23597 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23598 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23599 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23600 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23601 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23602 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23603 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23604 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23605 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23606 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23607 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23608 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23609 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23610 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23611 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23612 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23613 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23614 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23615 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23616 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23617 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23618 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23619 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23620 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23621
9eae47cb
AJ
236222012-05-18 Andreas Jaeger <aj@suse.de>
23623
23624 * csu/.gitignore: Delete.
23625
bb07f69f
L
236262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23627
23628 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23629 (timex): Use __syscall_slong_t.
23630
e6bdb741
AJ
236312012-05-18 Andreas Jaeger <aj@suse.de>
23632 Carlos O'Donell <carlos_odonell@mentor.com>
23633
23634 * manual/install.texi (Configuring and compiling): Update
23635 description about files modified in the source directory.
d6c33fda 23636 * INSTALL: Regenerated.
e6bdb741 23637
1b74487e
L
236382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23641 value. Use "or" to set return value to -1.
23642 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23643 negate return value.
23644
a88b64b9
TMQMF
236452012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23646
23647 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23648 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23649 failure if the compiler has Graphite support disabled.
23650 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23651 Likewise.
23652 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23653 CFLAGS-memmove.c): Likewise.
23654 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23655 Likewise.
23656
3707636e
L
236572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23658
610b8622
L
23659 * sysdeps/x86_64/x32/_itoa.h: New file.
23660
7cd195df
L
23661 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23662 getdents system call only if kernel and user dirents have the
23663 same d_ino and d_off.
23664
94b07d20
L
23665 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23666 LLONG_MAX != LONG_MAX.
23667 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23668 (_fitoa_word): Likewise.
23669
18298070
L
23670 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23671 years.
23672 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23673 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23674 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23675
553c7ea4
L
23676 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23677 include <bits/wordsize.h>. Check __x86_64__ instead of
23678 __WORDSIZE.
23679 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23680 if __x86_64__ is defined. Use anonymous union on fpstate.
23681
3707636e
L
23682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23683 anonymous union.
23684
b53ef01a
AS
236852012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23686
37fb1dc0
AS
23687 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23688 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23689 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23690 Refer to _rtld_local_ro instead of _rtld_global_ro.
23691 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23692 Likewise.
23693 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23694 Likewise.
23695 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23696 Likewise.
23697 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23698 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23699 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23700
b53ef01a
AS
23701 * sysdeps/powerpc/powerpc32/dl-machine.c
23702 (__elf_machine_runtime_setup) [PROF]: Don't reference
23703 _dl_prof_resolve.
23704
7a185db2
AJ
237052012-05-18 Andreas Jaeger <aj@suse.de>
23706
23707 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23708 function only available for GCCs before 3.4 since GCC 3.4
23709 introduced a builtin.
23710 (lrint): Likewise.
23711 (llrintf): Likewise.
23712 (llrint): Likewise.
23713 (fmaxf): Likewise.
23714 (fmax): Likewise.
23715 (fminf): Likewise.
23716 (fmin): Likewise.
23717 (rint): Likewise.
23718 (rintf): Likewise.
23719 (nearbyint): Likewise.
23720 (nearbyintf): Likewise.
23721 (ceil): Likewise.
23722 (ceilf): Likewise.
23723 (floor): Likewise.
23724 (floorf): Likewise.
23725
3e5aef87
L
237262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23727
428bd707
L
23728 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23729 on both fields and cast pointer to __syscall_ulong_t.
23730
3e5aef87
L
23731 * bits/types.h (__fsword_t): New type.
23732 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23733 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23735 (__FSWORD_T_TYPE): Likewise.
23736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23737 (__FSWORD_T_TYPE): Likewise.
23738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23739 (__FSWORD_T_TYPE): Likewise.
23740 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23741 (__FSWORD_T_TYPE): Likewise.
23742 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23743 __SWORD_TYPE with __fsword_t.
23744 (statfs64): Likewise.
23745
1ba7c3dc
DM
237462012-05-17 David S. Miller <davem@davemloft.net>
23747
23748 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23749
59910343
AJ
237502012-05-17 Andreas Jaeger <aj@suse.de>
23751
23752 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23753 warning.
23754
2e4c1e9e
L
237552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23756
23757 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23758
de7f5ce7
AJ
237592012-05-17 Andreas Jaeger <aj@suse.de>
23760
23761 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23762 when it is used.
23763
286abc3d
CM
237642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23765
23766 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23767
477cc68e
L
237682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23769
23770 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23771 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23772
1a0994f5
CD
237732012-05-17 Andreas Jaeger <aj@suse.de>
23774 Carlos O'Donell <carlos_odonell@mentor.com>
23775
23776 [BZ #14059]
23777 * sysdeps/x86_64/multiarch/init-arch.h
23778 (bit_YMM_Usable): Rename to...
23779 (bit_AVX_Usable): ... this.
23780 (bit_FMA4_Usable): New macro.
23781 (bit_XMM_state): New macro.
23782 (bit_YMM_state): New macro.
23783 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23784 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23785 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23786 (CPUID_OSXSAVE): New macro.
23787 (CPUID_AVX): New macro.
23788 (CPUID_FMA4): New macro.
23789 (index_YMM_Usable): Rename to...
23790 (index_AVX_Usable): ... this.
23791 (HAS_AVX): Use HAS_ARCH_FEATURE.
23792 (HAS_FMA4): Likewise.
23793 (HAS_YMM_USABLE): Remove.
23794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23795 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23796 are present.
23797 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23798 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23799 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23800 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23801 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23802
0af797de
CM
238032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23804
23805 * math/libm-test.c: Support platforms without multiple rounding modes.
23806 * math/bug-nextafter.c: Support platforms without FP exceptions.
23807 * math/bug-nexttoward.c: Likewise.
23808 * math/test-fenv.c: Likewise.
23809 * math/test-misc.c: Likewise.
23810 * stdlib/bug-getcontext.c: Likewise.
23811
e39745ff
AJ
238122012-05-17 Andreas Jaeger <aj@suse.de>
23813
23814 * manual/examples/search.c (critter_cmp): Change signature to
23815 avoid warnings.
23816 * manual/string.texi (Collation Functions): Likewise.
23817
48970aba
L
238182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23819
23820 * bits/types.h: Fold copyright years.
23821 * bits/typesizes.h: Likewise.
23822 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23825 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23826 * time/time.h: Likewise.
23827
bedee953
PP
238282012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23829
23830 [BZ #208]
23831 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23832 in instead of returning them. Return void.
23833 (__libc_mallinfo): Accumulate over all arenas.
23834 (__malloc_stats): Adjust for change in int_mallinfo interface.
23835
61653dfb
RM
238362012-05-16 Roland McGrath <roland@hack.frob.com>
23837
30b99d79
RM
23838 [BZ #10375]
23839 * configure.in (NM): Add AC_CHECK_TOOL for it.
23840 (libc_extra_cflags): New substituted variable.
23841 Check for -fstack-protector being used implicitly.
23842 * configure: Regenerated.
23843 * config.make.in (config-extra-cflags): New variable,
23844 gets @libc_extra_cflags@.
23845 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23846
61653dfb
RM
23847 [BZ #10375]
23848 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23849 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23850 * configure: Regenerated.
23851 * config.make.in (CPPUNDEFS): New substituted variable.
23852 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23853 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23854 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23855
661768bb
L
238562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23857
23858 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23859 (mq_attr): Use __syscall_slong_t.
23860
d4261567
L
238612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23862
23863 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23864 Check __x86_64__ instead of __WORDSIZE.
23865 (_STAT_VER_LINUX): Likewise.
23866 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23867 __syscall_ulong_t and __syscall_slong_t.
23868 (stat64): Likewise.
23869
cf3ff365
L
238702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23873
76cf3e4d
L
238742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23875
23876 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23877
a637753a
L
238782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23879
23880 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23881 __syscall_ulong_t.
23882
d5e05119
L
23883 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23884 include <bits/wordsize.h>. Check __x86_64__ instead of
23885 __WORDSIZE.
23886 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23887 defined.
23888 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23889
f62ee380
L
23890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23891 include <bits/wordsize.h>. Check __x86_64__ instead of
23892 __WORDSIZE.
23893 (user_regs_struct): Use "__extension__ unsigned long long"
23894 instead of "unsigned long" if __x86_64__ is defined.
23895 (user): Likewise. Pad after pointer field if __ILP32__ is
23896 defined.
23897
4e124ced
JM
238982012-05-16 Joseph Myers <joseph@codesourcery.com>
23899
6a3951a0
JM
23900 * configure.in (makeinfo): Require version 4.5 or later. Allow
23901 versions 5 to 9.
23902 * configure: Regenerated.
23903 * manual/install.texi (texinfo): Increase version requirement to
23904 4.5 or later.
23905 * INSTALL: Regenerated.
23906
4e124ced
JM
23907 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23908
953ca31a
L
239092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23910
23911 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23912
617aca05
L
23913 * sysdeps/x86_64/x32/ffs.c: New file.
23914
5762f7ae
L
23915 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23916 __syscall_ulong_t.
23917 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23918 defined. Use __syscall_ulong_t.
23919 (shminfo): Use __syscall_ulong_t.
23920 (shm_info): Likewise.
23921
a26b6856
L
23922 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23923 __syscall_ulong_t.
23924
cb2b9ef7
L
23925 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23926 <bits/wordsize.h>.
23927 (msgqnum_t): Use __syscall_ulong_t.
23928 (msglen_t): Likewise.
23929 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23930 __syscall_ulong_t.
23931
34683bb0
L
23932 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23933 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23934
84a68786
L
23935 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23936
48baa5f1
L
23937 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23938 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23939
180be88b
L
23940 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23941 __syscall_slong_t.
23942
5e90c8ad
L
23943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23944 include <bits/wordsize.h>. Check __x86_64__ instead of
23945 __WORDSIZE.
23946
23dfb58b
L
23947 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23948 "unsigned long long int" if __x86_64__ is defined.
23949 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23950
ce5d54b0
L
23951 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23952 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23953 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23954
13dc9eac
L
23955 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23956 <stdint.h>.
23957 (GET_PC): Cast to uintptr_t first.
23958 (GET_FRAME): Likewise.
23959 (GET_STACK): Likewise.
23960
a7895d15
L
23961 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23962 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23963 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23964 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23965 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23966 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23967 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23968 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23969 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23970 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23971 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23972 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23973 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23974 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23975 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23976 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23977 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23982 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23983 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23984 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23985 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23986 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23987 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23988 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23989 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23990
656416c9
AS
239912012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23992
5bd66283
AS
23993 * Makerules (+depfiles): Also collect depfiles from .oS in
23994 $(extra-objs).
23995 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23996 .oS, $(libnldbl-routines)).
23997
656416c9
AS
23998 * Makerules (native-compile-mkdep-flags): Define.
23999 * sunrpc/Makefile (extra-objs): Add $(addprefix
24000 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24001 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24002 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24003 calling $(make-target-directory).
24004
a46f2169
L
240052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24006
24007 * bits/types.h (__snseconds_t): Removed.
24008 * time/time.h (struct timespec): Replace __snseconds_t with
24009 __syscall_slong_t.
24010 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24011 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24012 Likewise.
24013 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24014 (__SNSECONDS_T_TYPE): Likewise.
24015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24016 (__SNSECONDS_T_TYPE): Likewise.
24017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24018 (__SNSECONDS_T_TYPE): Likewise.
24019
6af6528b
L
240202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24021
24022 * sysdeps/mach/hurd/bits/typesizes.h
24023 (__SYSCALL_SLONG_TYPE): New macro.
24024 (__SYSCALL_ULONG_TYPE): Likewise.
24025
de986b56
L
240262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24027
24028 * bits/types.h (__syscall_slong_t): New type.
24029 (__syscall_ulong_t): Likewise.
24030
24031 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24032 (__SYSCALL_ULONG_TYPE): Likewise.
24033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24034 (__SYSCALL_SLONG_TYPE): Likewise.
24035 (__SYSCALL_ULONG_TYPE): Likewise.
24036 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24037 (__SYSCALL_SLONG_TYPE): Likewise.
24038 (__SYSCALL_ULONG_TYPE): Likewise.
24039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24040 (__SYSCALL_SLONG_TYPE): Likewise.
24041 (__SYSCALL_ULONG_TYPE): Likewise.
24042
85736dc7
L
240432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24044
24045 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24046 Add sigaltstack-offsets.sym.
24047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24048 <sigaltstack-offsets.h>.
24049 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24050 longjmp_msg pointer.
24051 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24052 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24053 signal stack.
24054 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24055
cc03b296
JM
240562012-05-15 Joseph Myers <joseph@codesourcery.com>
24057
a9538892
JM
24058 * elf/stackguard-macros.h: Remove file.
24059 * sysdeps/generic/stackguard-macros.h: New file.
24060 * sysdeps/i386/stackguard-macros.h: Likewise.
24061 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24062 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24063 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24064 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24065 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24066 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24067 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24068 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24069 <elf/stackguard-macros.h>.
24070
cc03b296
JM
24071 [BZ #14109]
24072 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24073 __aligned__ in attribute.
24074 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24075 (gregset_t): Likewise.
24076
93171016
L
240772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24078
24079 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24080 * sysdeps/x86_64/64/Implies-after: Here. New file.
24081 * sysdeps/x86_64/x32/Implies-after: New file.
24082
d86813a0
L
240832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24084
24085 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24086 and access return value for _dl_profile_fixup. Use R10_LP to
24087 load frame size.
24088
2953ec75
L
240892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24090
24091 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24092
3b550e9e
L
240932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24094
24095 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24096 * sysdeps/x86_64/x32/sysdep.h: New file.
24097
eda41706
L
240982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24099
24100 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24101 * sysdeps/x86_64/setjmp.S: Likewise.
24102
9ea01d93
AZ
241032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24104
24105 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24106 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24107 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24108 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24109 remove unused global constant.
24110
02a91938
CM
241112012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24112
24113 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24114 include of <not-cancel.h>.
24115
6540185f
RM
241162012-05-15 Roland McGrath <roland@hack.frob.com>
24117
24118 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24119
509072a0
AJ
241202012-05-15 Jeff Law <law@redhat.com>
24121 Andreas Jaeger <aj@suse.de>
24122
24123 [BZ #13594]
24124 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24125 out from...
24126 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24127 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24128 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24129 code changing __hst_map_handle.map.
24130
ba75122d
RM
241312012-05-15 Roland McGrath <roland@hack.frob.com>
24132
24133 * configure.in (sysnames): Look for Implies-before and Implies-after
24134 files.
24135 * configure: Regenerated.
24136
890d8bd8
L
241372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24138
24139 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24140 8-byte data alignment with LP_SIZE alignment.
24141
f6ee6623
L
241422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24143
24144 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24145 into R10_LP.
24146
ea2626f6
L
241472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24148
24149 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24150
085f715e
L
241512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24152
24153 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24154 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24156 Likewise.
24157 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24158
be8498fc
L
241592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24162 (stackinfo_sub_sp): Likewise.
24163
70bc83b9
L
241642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24165
24166 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24167 RAX_LP.
24168
9bc0b730
L
241692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24170
24171 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24172 into R*_LP.
24173
6d2850e7
L
241742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24175
24176 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24177 sizes into R*_LP.
24178
3cb84561
L
241792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24180
24181 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24182
54e2ed81
L
241832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24184
24185 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24186 into R11_LP and load __x86_64_shared_cache_size_half into
24187 R8_LP.
24188
8a17f349
L
241892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24190
24191 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24192 R8_LP.
24193
777b1eea
AZ
241942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24195
24196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24197 logb for POWER7.
24198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24199 logbf for POWER7.
24200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24201 logbl for POWER7.
24202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24203 powerpc32/power7/fpu/s_logb.c via #include.
24204 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24205 powerpc32/power7/fpu/s_logbf.c via #include.
24206 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24207 powerpc32/power7/fpu/s_logbl.c via #include.
24208
d20d4ac2
JM
242092012-05-15 Joseph Myers <joseph@codesourcery.com>
24210
24211 * README.libm: Remove file.
24212
6cdef1ab
L
242132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24214
24215 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24216 count for x32. Use R*_LP and omit operand-size suffix.
24217
0b254d8f
L
242182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24219
24220 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24221 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24222 * sysdeps/x86_64/x32/shlib-versions: New file.
24223
ceb809dc
RM
242242012-05-14 Roland McGrath <roland@hack.frob.com>
24225
24226 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24227 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24228 Use _dl_fatal_printf instead.
24229
37f1abd4
JM
242302012-05-14 Joseph Myers <joseph@codesourcery.com>
24231
24232 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24233 set if not set by the user. Do not allow for being unset.
24234 * sysdeps/unix/sysv/linux/configure: Regenerated.
24235
11de3a33
L
242362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24237
24238 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24239 the `q' suffix from lea and replace .quad with ASM_ADDR.
24240
e02f153a
L
242412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24242
24243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24244 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24245 instead of $17.
24246 (PTR_DEMANGLE): Likewise.
24247
520ae0fd
L
242482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24249
24250 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24251 (LP_OP): Likewise.
24252 (ASM_ADDR): Likewise.
24253 (RAX_LP): Likewise.
24254 (RBP_LP): Likewise.
24255 (RBX_LP): Likewise.
24256 (RCX_LP): Likewise.
24257 (RDI_LP): Likewise.
24258 (RSI_LP): Likewise.
24259 (RSP_LP): Likewise.
24260 (R8_LP): Likewise.
24261 (R9_LP): Likewise.
24262 (R10_LP): Likewise.
24263 (R10_LP): Likewise.
24264 (R11_LP): Likewise.
24265 (R12_LP): Likewise.
24266 (R13_LP): Likewise.
24267 (R14_LP): Likewise.
24268 (R15_LP): Likewise.
24269
b985be81
L
242702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24271
24272 * sysdeps/x86_64/x32/dl-machine.h: New file.
24273
6a4888ff
AJ
242742012-05-14 Andreas Jaeger <aj@suse.de>
24275
24276 * manual/Makefile (subdir): Remove export of subdir.
24277 (all): Remove target.
24278 (.PHONY): Remove all from list.
24279 (mkinstalldirs): Remove.
24280 (.PHONY): Remove installdirs from list.
24281 ($(inst_infodir)/libc.info): Use make-target-directory.
24282 (installdirs): Remove.
24283 (subdir_%): Remove.
24284 (glibc-targets): Remove.
24285 (lib): Remove.
24286 (stubs): Remove.
24287 ($(objpfx)stubs ../po/manual.pot): Remove.
24288 ($(objpfx)stamp%): Remove.
24289 (make-target-directory): Remove.
24290 (subdir_install): Remove.
24291 (routines): Remove.
24292 (aux): Remove.
24293 (sources): Remove.
24294 (objects): Remove.
24295 (headers): Remove.
24296
24297 [BZ #13750]
24298 * manual/.gitignore: Remove, it's not needed anymore.
24299 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24300 all files in it.
24301 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24302 directory.
24303 (texis): Renamed to $(objpfx)texis.
24304 (texis-path): New, contains path to generated files.
24305 (chapters.%): Use texis-path for complete path, add extra argument
24306 libc-texinfo.sh.
24307 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24308 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24309 (summary,texi, stamp-summary): Use complete path of
24310 files. Generate files in build dir.
24311 (dir-add.texi): Build in build dir.
24312 (libm-err.texi,stamp-libm-err): Likewise.
24313 (version.texi, stamp-version): Likewise.
24314 (.%c.texi): Likewise.
24315 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24316 (mostlyclean): Remove target.
24317 (realclean): Remove target.
24318 (generated): Add new variable with contents from mostlyclean and
24319 realclean, remove entries duplicated in common-mostlyclean, add
24320 stamp-libm-err and stamp-version.
24321 (generated-dirs): Add libc directory.
24322 ($(inst_infodir)/libc.info): Install files from build dir.
24323
24324 * manual/install.texi (Configuring and compiling): Adjust since
24325 the info files are not part of the tar ball anymore.
24326
7ac77294
AJ
243272012-05-14 Andreas Jaeger <aj@suse.de>
24328
24329 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24330 variable.
24331
ffb7875d
JM
243322012-05-14 Joseph Myers <joseph@codesourcery.com>
24333
24334 [BZ #13717]
24335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24336 to 2.2.0 where earlier.
24337 * sysdeps/unix/sysv/linux/configure: Regenerated.
24338 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24339 Remove conditional code.
24340 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24341 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24342 Remove conditional code.
24343 [!__NR_lchown]: Likewise.
24344 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24345 [__NR_lchown]: Likewise.
24346 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24347 comment referencing __ASSUME_LCHOWN_SYSCALL.
24348 * sysdeps/unix/sysv/linux/i386/sigaction.c
24349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24351 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24352 Remove conditional code.
24353 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24354 (__protocol_available): Remove #if 0 code.
24355 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24356 conditional code.
24357 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24358 * sysdeps/unix/sysv/linux/kernel-features.h
24359 (__ASSUME_GETCWD_SYSCALL): Don't define.
24360 (__ASSUME_REALTIME_SIGNALS): Likewise.
24361 (__ASSUME_PREAD_SYSCALL): Likewise.
24362 (__ASSUME_PWRITE_SYSCALL): Likewise.
24363 (__ASSUME_POLL_SYSCALL): Likewise.
24364 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24365 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24366 non-SPARC.
24367 (__ASSUME_SIOCGIFNAME): Don't define.
24368 (__ASSUME_MSG_NOSIGNAL): Likewise.
24369 (__ASSUME_SENDFILE): Define unconditionally.
24370 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24371 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24372 conditional code.
24373 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24374 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24375 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24376 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24377 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24378 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24379 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24381 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24384 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24387 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24388 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24390 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24393 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24396 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24397 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24399 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24402 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24404 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24405 Remove conditional code.
24406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24407 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24408 Remove conditional code.
24409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24410 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24411 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24412 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24413 Remove conditional code.
24414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24415 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24416 Remove conditional code.
24417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24418 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24419 Remove conditional code.
24420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24421 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24422 Remove conditional code.
24423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24424 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24425 Remove conditional code.
24426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24427 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24428 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24430 * sysdeps/unix/sysv/linux/sigaction.c
24431 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24432 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24433 * sysdeps/unix/sysv/linux/sigpending.c
24434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24436 * sysdeps/unix/sysv/linux/sigprocmask.c
24437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24439 * sysdeps/unix/sysv/linux/sigsuspend.c
24440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24442 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24443 (__libc_missing_rt_sigs): Remove.
24444 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24445 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24446 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24447 Remove conditional code.
24448 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24449 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24450 return 1.
24451 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24452 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24453 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24454 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24455
1bfb7291
AJ
244562012-05-14 Andreas Jaeger <aj@suse.de>
24457
caae5a81
AJ
24458 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24459 it's not used in glibc.
24460 (__coshm1): Likewise.
24461 (__acosh1p): Likewise.
24462 (__sgn): Likewise.
24463
1bfb7291
AJ
24464 * manual/string.texi (Copying and Concatenation): Add missing
24465 variable in concat example.
24466 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24467
c044d724
L
244682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24469
144c5467 24470 [BZ #14103]
c044d724
L
24471 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24472 __builtin_clzl with __builtin_clzll.
24473
2523c62b
L
244742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24475
24476 [BZ #14104]
24477 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24478 libc_freeres_ptr.
24479
d7bb4c42
LD
244802012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24481
24482 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24483 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24484 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24485 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24486
9dc4e1fb
MF
244872012-05-14 Mike Frysinger <vapier@gentoo.org>
24488
24489 * NEWS: Update ia64 info.
24490
c7df0112
AS
244912012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24492
24493 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24494 used as bcopy.
24495
dc70356c
TS
244962012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24497
24498 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24499 * sysdeps/unix/syscalls.list (dup3): Likewise.
24500 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24501 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24502
9fb1a21f
L
245032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24504
24505 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24506 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24507
4822a2a5
L
245082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24509
24510 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24511 thread pointer.
24512 (TLS_IE): Use mov/add instead of movq/addq to load thread
24513 pointer.
24514 (TLS_GD_PREFIX): New.
24515 (TLS_GD): Use it.
24516
842b81d6
DM
245172012-05-11 David S. Miller <davem@davemloft.net>
24518
24519 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24520 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24521 (_FPU_SETCW): Likewise.
24522
1cf463cd
L
245232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24524
24525 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24526 is 32-byte aligned.
24527
60cc4a18
AS
245282012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24529
24530 [BZ #11837]
24531 * iconvdata/gb18030.c: Update tables.
24532 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24533 characters specially.
24534 (BODY for TO_LOOP): Add encoding of missing ranges.
24535
febb44a4
TS
245362012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24537
24538 [BZ #13673]
24539 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24540 * sysdeps/mach/hurd/dup3.c: Likewise.
24541 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24542 * sysdeps/powerpc/memmove.c:: Likewise.
24543
0a10fb9e
L
245442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24545
24546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24547 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24548
df8a552f
L
245492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24550
24551 * elf/elf.h (R_X86_64_RELATIVE64): New.
24552 (R_X86_64_NUM): Updated.
24553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24554 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24555 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24556 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24557 tst-quad1pie tst-quad2pie
24558 (modules-names): Add tst-quadmod1 tst-quadmod2.
24559 ($(objpfx)tst-quad1): New dependency.
24560 ($(objpfx)tst-quad2): Likewise.
24561 ($(objpfx)tst-quad1pie): Likewise.
24562 ($(objpfx)tst-quad2pie): Likewise.
24563 * sysdeps/x86_64/tst-quad1.c: New file.
24564 * sysdeps/x86_64/tst-quad1pie.c: New file.
24565 * sysdeps/x86_64/tst-quad2.c: Likewise.
24566 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24567 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24568 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24569 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24570 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24571
f34d6f84
ST
245722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24573
f42d41d1
ST
24574 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24575 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24576 * streams/stropts.h (t_scalar_t): Define type.
24577
3c3571fc
ST
24578 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24579 (_PATH_PRESERVE): Set to "/var/lib".
24580 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24581
61f06bd3
ST
24582 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24583 instead of int.
24584
918d4d71
ST
24585 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24586 if __dir_mkfile succeeded.
24587
f34d6f84
ST
24588 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24589 checking for _hurd_dtablesize. Unlock it right after having
24590 finished _hurd_dtable allocation.
24591
10589b4a
TS
245922012-05-10 Thomas Schwinge <thomas@schwinge.name>
24593
674cdbc7
TS
24594 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24595 * sysdeps/mach/hurd/configure: Regenerated.
24596 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24597 special-casing to...
24598 * sysdeps/gnu/configure.in: ... this new file.
24599 * sysdeps/unix/sysv/linux/configure: Regenerated.
24600 * sysdeps/gnu/configure: New generated file.
24601
8e41b99f
TS
24602 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24603 for Linux: use nsec instead of usec, as well as:
24604 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24605 members of type struct timespec.
24606 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24607 New macros.
24608 (struct stat64): Likewise.
24609 (_STATBUF_ST_NSEC): New macro.
24610 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24611
10589b4a
TS
24612 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24613 __strtoul_internal rather than strtoul.
24614
63643c85
PT
246152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24616
24617 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24618 and reject them.
24619
3faebe6a
ST
246202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24621
24622 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24623 which preserves existing values.
24624 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24625
c6474b07
PT
246262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24627
24628 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24629 TIMEOUT values. Return EINVAL for NFDS values either negative or
24630 greater than FD_SETSIZE.
24631
1043890b
ST
246322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24633
24634 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24635 allocated, call __vm_protect to finish enabling the existing space, and
24636 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24637 allocate the remainder.
24638
37ed8b9b
PT
246392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24640
24641 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24642 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24643
db653660
ST
246442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24645
37ed8b9b
PT
24646 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24647 sysdeps/mach/hurd/readlink.c.
b29d4053 24648
db653660
ST
24649 * posix/tst-sysconf.c (posix_options): Only use
24650 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24651 _POSIX_SYNCHRONIZED_IO when they are defined
24652 * sysdeps/mach/hurd/bits/posix_opt.h:
24653 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24654 (_XOPEN_REALTIME): Undefine macro.
24655 (_XOPEN_REALTIME_THREADS): Undefine macro.
24656 (_XOPEN_SHM): Undefine macro.
24657 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24658 macro to -1.
24659 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24660 macro to -1.
24661 (_POSIX_ASYNC_IO): Undefine macro.
24662 (_POSIX_PRIORITIZED_IO): Undefine macro.
24663 (_POSIX_SPIN_LOCKS): Define macro to -1.
24664
ee16e894
ST
24665 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24666 SA_NODEFER, SA_RESETHAND.
24667 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24668 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24669 F_DUPFD_CLOEXEC.
24670
6103ae3b
TS
246712012-05-10 Thomas Schwinge <thomas@schwinge.name>
24672
24673 * elf/Makefile (pldd-modules): Define unconditionally.
24674
80b4e5f3
TS
246752012-05-10 Thomas Schwinge <thomas@schwinge.name>
24676
24677 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24678
edadcbd6
ST
246792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24680
24681 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24682 Return ENOENT when name is empty.
24683 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24684
80694780
TS
246852012-05-10 Thomas Schwinge <thomas@schwinge.name>
24686
1792c087
TS
24687 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24688
80694780
TS
24689 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24690
6b645f0d
ST
246912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24692
80694780
TS
24693 Fix mlock in all cases except non-readable pages.
24694 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24695 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24696
6b645f0d
ST
24697 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24698 (__mkdir): When path is `/', just fail with EEXIST.
24699 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24700
e468f8a3
TS
247012012-05-10 Thomas Schwinge <thomas@schwinge.name>
24702
24703 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24704 <sys/uio.h> (for writev).
24705 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24706 and <sys/param.h> (for MIN).
24707
a4186cff
PT
247082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24709
24710 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24711 REQUESTED_TIME. Properly set the remaining time and return EINTR
24712 if interrupted.
24713
510bbf14
TS
247142012-05-10 Thomas Schwinge <thomas@schwinge.name>
24715
24716 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24717 Depend on against $(link-rpcuserlibs).
24718
5d5722e8
ST
247192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24720
a4186cff
PT
24721 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24722 (__libc_stack_end): Do not use attribute_relro.
24723 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24724 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24725 to libthread-provided value.
a4186cff
PT
24726 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24727 attribute_relro.
5d5722e8 24728
37233df9
TS
247292012-05-10 Thomas Schwinge <thomas@schwinge.name>
24730
be971a2b
TS
24731 [BZ #3748]
24732 * bits/libc-lock.h (__libc_once_get): New macro.
24733 * sysdeps/mach/bits/libc-lock.h: Likewise.
24734 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24735 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24736 instead of using implementation details.
24737
37233df9
TS
24738 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24739 * libio/freopen.c: Likewise.
24740 * libio/freopen64.c: Likewise.
24741 * misc/syslog.c: Likewise.
24742 * nscd/connections.c: Likewise.
24743 * nscd/netgroupcache.c: Likewise.
24744 * sysdeps/posix/getcwd.c: Likewise.
24745
38de94a5
RM
247462012-05-10 Roland McGrath <roland@hack.frob.com>
24747
24748 * math/w_ilogbf.c: Add #include <limits.h>.
24749
67530489
ST
247502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24751
a4186cff 24752 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24753 path instead of returning without unlocking.
24754
67530489
ST
24755 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24756 immediate-write ioctls.
24757 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24758
5aa3a74a
TS
247592012-05-10 Thomas Schwinge <thomas@schwinge.name>
24760
18bad2ae
TS
24761 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24762 __builtin_frame_address instead of making assumptions about the
24763 location of the return address relative to DATA. Force early load of
24764 the return address.
24765 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24766 __builtin_frame_address.
24767
5aa3a74a
TS
24768 dup3 for GNU Hurd.
24769 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24770 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24771 implement dup3 and do some further code clean-ups.
24772 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24773 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24774
ecd0de9a
ST
247752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24776
cd9fa985
ST
24777 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24778
a4186cff
PT
24779 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24780 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24781 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24782 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24783 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24784 d->port.lock.
802ca5a5 24785
a4186cff
PT
24786 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24787 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24788 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24789
bcf55240
TS
247902012-05-10 Thomas Schwinge <thomas@schwinge.name>
24791
6960eb42
TS
24792 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24793 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24794 definitions.
24795
eb43375f
TS
24796 accept4 for GNU Hurd.
24797 * include/sys/socket.h (__libc_accept4): New prototype.
24798 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24799 to implement __libc_accept4.
24800 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24801 __libc_accept4.
24802 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24803
bcf55240
TS
24804 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24805 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24806 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24807 signal-defines.sym.
24808
6178c55b
ST
248092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24810
a4186cff 24811 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24812
6f080c2f
TS
248132012-05-10 Thomas Schwinge <thomas@schwinge.name>
24814
24815 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24816 assertion on O_CLOEXEC flag.
24817 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24818 * hurd/intern-fd.c: Likewise.
24819 * hurd/port2fd.c: Likewise.
24820
bcfe3a54
ST
248212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24822
24823 [BZ #3906]
24824 * bits/in.h (IPV6_PKTINFO): Define new macro.
24825 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24826
89c9aa49
AZ
248272012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24828
24829 [BZ #13954]
24830 [BZ #13955]
24831 [BZ #13956]
24832 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24834 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24835 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24837 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24838 * math/libm-test.inc (logb_test) : Additional logb tests.
24839
021db4be
AJ
248402012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24841 Andreas Jaeger <aj@suse.de>
24842
24843 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24844 * configure: Regenerated.
24845 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24846 * config.make.in (link-obsolete-rpc): New substituted variable.
24847 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24848 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24849 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24850 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24851 so that libc.a contains the symbols.
24852 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24853 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24854 * sunrpc/auth_none.c: Likewise.
24855 * sunrpc/auth_unix.c: Likewise.
24856 * sunrpc/authdes_prot.c: Likewise.
24857 * sunrpc/authuxprot.c: Likewise.
24858 * sunrpc/clnt_gen.c: Likewise.
24859 * sunrpc/clnt_perr.c: Likewise.
24860 * sunrpc/clnt_raw.c: Likewise.
24861 * sunrpc/clnt_simp.c: Likewise.
24862 * sunrpc/clnt_tcp.c: Likewise.
24863 * sunrpc/clnt_udp.c: Likewise.
24864 * sunrpc/clnt_unix.c: Likewise.
24865 * sunrpc/des_crypt.c: Likewise.
24866 * sunrpc/des_soft.c: Likewise.
24867 * sunrpc/get_myaddr.c: Likewise.
24868 * sunrpc/key_call.c: Likewise.
24869 * sunrpc/key_prot.c: Likewise.
24870 * sunrpc/netname.c: Likewise.
24871 * sunrpc/pm_getmaps.c: Likewise.
24872 * sunrpc/pm_getport.c: Likewise.
24873 * sunrpc/pmap_clnt.c: Likewise.
24874 * sunrpc/pmap_prot.c: Likewise.
24875 * sunrpc/pmap_prot2.c: Likewise.
24876 * sunrpc/pmap_rmt.c: Likewise.
24877 * sunrpc/publickey.c: Likewise.
24878 * sunrpc/rpc_cmsg.c: Likewise.
24879 * sunrpc/rpc_common.c: Likewise.
24880 * sunrpc/rpc_dtable.c: Likewise.
24881 * sunrpc/rpc_prot.c: Likewise.
24882 * sunrpc/rpc_thread.c: Likewise.
24883 * sunrpc/rtime.c: Likewise.
24884 * sunrpc/svc.c: Likewise.
24885 * sunrpc/svc_auth.c: Likewise.
24886 * sunrpc/svc_raw.c: Likewise.
24887 * sunrpc/svc_run.c: Likewise.
24888 * sunrpc/svc_tcp.c: Likewise.
24889 * sunrpc/svc_udp.c: Likewise.
24890 * sunrpc/svc_unix.c: Likewise.
24891 * sunrpc/svcauth_des.c: Likewise.
24892 * sunrpc/xcrypt.c: Likewise.
24893 * sunrpc/xdr.c: Likewise.
24894 * sunrpc/xdr_array.c: Likewise.
24895 * sunrpc/xdr_float.c: Likewise.
24896 * sunrpc/xdr_intXX_t.c: Likewise.
24897 * sunrpc/xdr_mem.c: Likewise.
24898 * sunrpc/xdr_rec.c: Likewise.
24899 * sunrpc/xdr_ref.c: Likewise.
24900 * sunrpc/xdr_sizeof.c: Likewise.
24901 * sunrpc/xdr_stdio.c: Likewise.
24902
b5c086a2
RM
249032012-05-10 Roland McGrath <roland@hack.frob.com>
24904
24905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24906 change. Update copyright years.
24907
6d74dd09
JM
249082012-05-10 Joseph Myers <joseph@codesourcery.com>
24909
24910 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24911
28e72501
MK
249122012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24913 Joseph Myers <joseph@codesourcery.com>
24914 Paul Pluzhnikov <ppluzhnikov@google.com>
24915
24916 [BZ #14012]
24917 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24918 requiring rpcgen.
24919 [cross-compiling] (extra-libs): Likewise.
24920 [cross-compiling] (extra-libs-others): Likewise.
24921 [cross-compiling] (librpcsvc-routines): Likewise.
24922 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24923 [cross-compiling] (omit-deps): Likewise.
24924 (sunrpc-CPPFLAGS): New variable.
24925 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24926 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24927 (cross-rpcgen-objs): New variable.
24928 (extra-objs): Append $(cross-rpcgen-objs).
24929 ($(cross-rpcgen-objs)): New rule.
24930 ($(objpfx)cross-rpcgen): Likewise.
24931 (rpcgen-cmd): Define to use $(built-program-file). Expand
24932 comment.
24933 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24934 ($(objpfx)x%.stmp): Likewise.
24935 * sunrpc/proto.h [IS_IN_build] (_): Define.
24936 [IS_IN_build] (_libc_intl_domainname): Likewise.
24937
c8c59454
L
249382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24939
24940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24941 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24942 and R_X86_64_TPOFF64.
24943
6f27cd16
JM
249442012-05-10 Joseph Myers <joseph@codesourcery.com>
24945
24946 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24947 sysdeps/unix/sysv/syscalls.list.
24948 (stime): Likewise.
24949 (utime): Likewise.
24950 * sysdeps/unix/sysv/syscalls.list: Remove file.
24951
02467e1c
PE
249522012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24953
24954 [BZ #3440]
24955 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24956 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24957 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24958 (__LC_IDENTIFICATION): Make these macros useful in #if
24959 expressions, as required by C99.
24960
da392631
AS
249612012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24962
24963 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24964 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24965 after this.
24966
8115f29b
L
249672012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24968
24969 * stdlib/longlong.h: Updated from GCC.
24970
bdd74070
AJ
249712012-05-09 Andreas Jaeger <aj@suse.de>
24972
edfe0dbe
AJ
24973 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24974 default is first entry.
24975 (run_mode): Set type.
24976 (main): Remove informal message about syslog.
24977 (options): Fix typo.
24978
bcfe3a54
ST
24979 [BZ #14053]
24980 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24981 to asm.
bcfe3a54
ST
24982 (lrint): Likewise.
24983 (llrintf): Likewise.
24984 (llrint): Likewise.
24985 (rint): Likewise.
24986 (rintf): Likewise.
24987 (nearbyint): Likewise.
24988 (nearbyintf): Likewise.
bdd74070 24989
91d8d69e
AJ
249902012-05-09 Andreas Jaeger <aj@suse.de>
24991 Pedro Alves <palves@redhat.com>
24992
24993 * nscd/nscd.c (run_mode): Use enum.
24994 (main): Cleanup coding style issue.
24995
bb90b80b
AJ
249962012-05-09 Alexandre Oliva <aoliva@redhat.com>
24997 Andreas Jaeger <aj@suse.de>
24998
bcfe3a54
ST
24999 * nscd/nscd.c (go_background): Replaced with...
25000 (run_mode): ... this.
bb90b80b 25001 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25002 (options): Add -F --foreground.
25003 (main): Implement it.
25004 (parse_opt): Parse it.
bb90b80b 25005
1a4b75a1
AJ
250062012-05-09 Andreas Jaeger <aj@suse.de>
25007
25008 [BZ #14083]
25009 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25010 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25011 -Wconversion warning.
25012 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25013 Likewise.
25014
b1cc2472
JM
250152012-05-09 Joseph Myers <joseph@codesourcery.com>
25016
25017 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25018 == 0.
25019 (LC_ALL): Use macro-int-constant.
25020 (LC_COLLATE): Likewise.
25021 (LC_CTYPE): Likewise.
25022 (LC_MESSAGES): Likewise.
25023 (LC_MONETARY): Likewise.
25024 (LC_NUMERIC): Likewise.
25025 (LC_TIME): Likewise.
25026 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25027 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25029 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25030 Specify type.
25031 [C99-based standards] (float_t): Expect type.
25032 [C99-based standards] (double_t): Expect type.
25033 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25034 type.
25035 [C99-based standards] (HUGE_VALL): Likewise.
25036 [C99-based standards] (INFINITY): Likewise.
25037 [C99-based standards] (NAN): Likewise.
25038 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25039 [C99-based standards] (FP_NAN): Likewise.
25040 [C99-based standards] (FP_NORMAL): Likewise.
25041 [C99-based standards] (FP_SUBNORMAL): Likewise.
25042 [C99-based standards] (FP_ZERO): Likewise.
25043 [C99-based standards] (FP_FAST_FMA): Use
25044 optional-macro-int-constant. Specify type. Require == 1.
25045 [C99-based standards] (FP_FAST_FMAF): Likewise.
25046 [C99-based standards] (FP_FAST_FMAL): Likewise.
25047 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25048 [C99-based standards] (FP_ILOGBNAN): Likewise.
25049 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25050 Specify type.
25051 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25052 [C99-based standards] (math_errhandling): Specify type.
25053 [ISO99 || ISO11] (signgam): Do not allow.
25054 [non-C99-based standards] (copysignf): Do not allow.
25055 [non-C99-based standards] (exp2f): Likewise.
25056 [non-C99-based standards] (log2f): Likewise.
25057 [non-C99-based standards] (modff): Allow.
25058 [non-C99-based standards] (erff): Do not allow.
25059 [non-C99-based standards] (erfcf): Likewise.
25060 [non-C99-based standards] (gammaf): Likewise.
25061 [non-C99-based standards] (hypotf): Likewise.
25062 [non-C99-based standards] (j0f): Likewise.
25063 [non-C99-based standards] (j1f): Likewise.
25064 [non-C99-based standards] (jnf): Likewise.
25065 [non-C99-based standards] (lgammaf): Likewise.
25066 [non-C99-based standards] (tgammaf): Likewise.
25067 [non-C99-based standards] (y0f): Likewise.
25068 [non-C99-based standards] (y1f): Likewise.
25069 [non-C99-based standards] (ynf): Likewise.
25070 [non-C99-based standards] (isnanf): Likewise.
25071 [non-C99-based standards] (acoshf): Likewise.
25072 [non-C99-based standards] (asinhf): Likewise.
25073 [non-C99-based standards] (atanhf): Likewise.
25074 [non-C99-based standards] (cbrtf): Likewise.
25075 [non-C99-based standards] (expm1f): Likewise.
25076 [non-C99-based standards] (ilogbf): Likewise.
25077 [non-C99-based standards] (log1pf): Likewise.
25078 [non-C99-based standards] (logbf): Likewise.
25079 [non-C99-based standards] (nextafterf): Likewise.
25080 [non-C99-based standards] (remainderf): Likewise.
25081 [non-C99-based standards] (rintf): Likewise.
25082 [non-C99-based standards] (scalbf): Likewise.
25083 [non-C99-based standards] (copysignl): Likewise.
25084 [non-C99-based standards] (exp2l): Likewise.
25085 [non-C99-based standards] (log2l): Likewise.
25086 [non-C99-based standards] (modfl): Allow.
25087 [non-C99-based standards] (erfl): Do not allow.
25088 [non-C99-based standards] (erfcl): Likewise.
25089 [non-C99-based standards] (gammal): Likewise.
25090 [non-C99-based standards] (hypotl): Likewise.
25091 [non-C99-based standards] (j0l): Likewise.
25092 [non-C99-based standards] (j1l): Likewise.
25093 [non-C99-based standards] (jnl): Likewise.
25094 [non-C99-based standards] (lgammal): Likewise.
25095 [non-C99-based standards] (tgammal): Likewise.
25096 [non-C99-based standards] (y0l): Likewise.
25097 [non-C99-based standards] (y1l): Likewise.
25098 [non-C99-based standards] (ynl): Likewise.
25099 [non-C99-based standards] (isnanl): Likewise.
25100 [non-C99-based standards] (acoshl): Likewise.
25101 [non-C99-based standards] (asinhl): Likewise.
25102 [non-C99-based standards] (atanhl): Likewise.
25103 [non-C99-based standards] (cbrtl): Likewise.
25104 [non-C99-based standards] (expm1l): Likewise.
25105 [non-C99-based standards] (ilogbl): Likewise.
25106 [non-C99-based standards] (log1pl): Likewise.
25107 [non-C99-based standards] (logbl): Likewise.
25108 [non-C99-based standards] (nextafterl): Likewise.
25109 [non-C99-based standards] (remainderl): Likewise.
25110 [non-C99-based standards] (rintl): Likewise.
25111 [non-C99-based standards] (scalbl): Likewise.
25112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25113 [non-C99-based standards] (FP_*): Do not allow.
25114 [C99-based standards] (FP_*): Change to
25115 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25116 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25117 allow.
25118 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25119 (SIG_ERR): Likewise.
25120 [X/Open-based standards] (SIG_HOLD): Likewise.
25121 (SIG_IGN): Likewise.
25122 (SIGABRT): Use macro-int-constant. Specify type. Require
25123 positive value.
25124 (SIGFPE): Likewise.
25125 (SIGILL): Likewise.
25126 (SIGINT): Likewise.
25127 (SIGSEGV): Likewise.
25128 (SIGTER): Likewise.
25129 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25130 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25131 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25132 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25133 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25134 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25135 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25136 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25137 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25138 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25139 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25140 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25141 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25142 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25143 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25144 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25145 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25146 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25147 [X/Open-based standards] (SIGTRAP): Likewise.
25148 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25149 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25150 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25151 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25152 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25153 allow.
25154
b9f1922d
IW
251552012-05-08 Ian Wienand <ianw@vmware.com>
25156
25157 [BZ #14080]
25158 * time/tzset.c (__tzset_parse_tz): Update default rules for
25159 daylight time changes in the Energy Policy Act of 2005.
25160
1db86e88
AJ
251612012-05-09 Andreas Jaeger <aj@suse.de>
25162
25163 [BZ #13983]
25164 * elf/ldconfig.c (parse_conf): Change string to make clear that
25165 ldconfig only issued a warning if ld.so.conf does not exist.
25166
dee4a4e3
DM
251672012-05-08 David S. Miller <davem@davemloft.net>
25168
ee0db190
DM
25169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25170 movxtod instead of popping the value on the stack.
25171
dee4a4e3
DM
25172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25173
6a43ec98
CD
251742012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25175
25176 * config.h.in: Add HAVE_ARM_PCS_VFP.
25177
05c2c961
RMG
251782012-05-08 Roland Mc Grath <roland@hack.frob.com>
25179
bcfe3a54
ST
25180 [BZ #13979]
25181 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25182 checking but the checks are disabled for any reason.
05c2c961 25183
4b30f61a
L
251842012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25185
25186 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25187 and ELF64_R_TYPE with ELFW(R_TYPE).
25188
eee2bc67
JM
251892012-05-08 Joseph Myers <joseph@codesourcery.com>
25190
7ea5391a
JM
25191 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25192 (ulimit): Likewise.
25193
eee2bc67
JM
25194 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25195 (settimeofday): Likewise.
25196
abb66a67
MF
251972012-05-08 Mike Frysinger <vapier@gentoo.org>
25198
25199 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25200 a struct th_u2 inside the union, and move tu_block/tu_code into
25201 a new th_u3 union of tu_block/tu_code inside of that. Move
25202 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25203 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25204 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25205 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25206 (th_stuff): Change to th_u1.tu_stuff.
25207 (th_data): Define.
25208 (th_msg): Change to th_u1.th_u2.tu_data.
25209
7f18b530
DM
252102012-05-07 David S. Miller <davem@davemloft.net>
25211
05760585
DM
25212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25213
7f18b530
DM
25214 [BZ #14074]
25215 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25216 (SETUP_PIC_REG): Use it.
25217 (SETUP_PIC_REG_LEAF): Use it.
25218
495fd99f
JM
252192012-05-07 Joseph Myers <joseph@codesourcery.com>
25220
25221 [BZ #13885]
25222 [BZ #13923]
25223 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25224 USE_AS_EXPM1L.
25225 (EXPL_FINITE): Likewise.
25226 (FLDLOG): Likewise.
25227 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25228 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25229 e_expl.S.
25230 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25231 USE_AS_EXPM1L.
25232 (EXPL_FINITE): Likewise.
25233 (FLDLOG): Likewise.
25234 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25235 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25236 e_expl.S.
25237 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25238 test of -max_value argument for long double.
25239 * sysdeps/i386/fpu/libm-test-ulps: Update.
25240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25241
6693d694
DM
252422012-05-06 David S. Miller <davem@davemloft.net>
25243
25244 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25245 quad soft-float symbols whose references which are compiler
25246 generated.
25247 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25248
6c23e11c
JM
252492012-05-06 Joseph Myers <joseph@codesourcery.com>
25250
d8b82cad
JM
25251 [BZ #13884]
25252 [BZ #13914]
25253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25254 USE_AS_EXP10L.
25255 (EXPL_FINITE): Likewise.
25256 (FLDLOG): Likewise.
25257 (c0): Likewise.
25258 (c1): Likewise.
25259 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25260 Adjust comments for base varying.
25261 (__expl_finite): Change alias to EXPL_FINITE.
25262 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25263 e_expl.S.
25264 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25265 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25266 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25267 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25269 USE_AS_EXP10L.
25270 (EXPL_FINITE): Likewise.
25271 (FLDLOG): Likewise.
25272 (c0): Likewise.
25273 (c1): Likewise.
25274 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25275 Adjust comments for base varying.
25276 (__expl_finite): Change alias to EXPL_FINITE.
25277 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25278 tests for bugs.
25279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25280
6c23e11c
JM
25281 [BZ #14064]
25282 * math/libm-test.inc (check_float_internal): Correct ulp
25283 calculation for subnormal expected results.
25284
29ba805c
AJ
252852012-05-06 Andreas Jaeger <aj@suse.de>
25286
25287 * Makeconfig (+math-flags): New, set to -frounding-math.
25288 (+cflags): Add +math-flags so that all of glibc gets compiled with
25289 it.
25290
25291 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25292
7b17aeda
JM
252932012-05-05 Joseph Myers <joseph@codesourcery.com>
25294
5779f134
JM
25295 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25296 Disable one test.
25297
41498f4d
JM
25298 [BZ #13787]
25299 [BZ #13922]
25300 [BZ #14036]
25301 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25302 (__ieee754_expl): Allow for and saturate large arguments.
25303 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25304 (u_threshold): Likewise.
25305 (__exp): Call __ieee754_exp before checking for overflow and
25306 underflow.
25307 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25308 (u_threshold): Likewise.
25309 (__expf): Call __ieee754_expf before checking for overflow and
25310 underflow.
25311 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25312 (u_threshold): Likewise.
25313 (__expl): Call __ieee754_expl before checking for overflow and
25314 underflow.
25315 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25316 (__ieee754_expl): Allow for and saturate large arguments.
25317 * math/libm-test.inc (exp_test): Add another test. Do not allow
25318 missing overflow exception on overflow.
25319 (expm1_test): Do not allow missing overflow exception on overflow.
25320
6698b8bf
JM
25321 * sysdeps/i386/fpu/e_expl.c: Move to ...
25322 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25323 rather than using inline asm.
25324 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25325 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25326 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25327
7b17aeda
JM
25328 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25329 (nice): Likewise.
25330 (poll): Likewise.
25331 (signal): Likewise.
25332 (time): Likewise.
25333 (times): Likewise.
25334
f7c85819
JM
253352012-05-04 Joseph Myers <joseph@codesourcery.com>
25336
25337 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25338 sysdeps/unix/common/syscalls.list.
25339 (fchmod): Likewise.
25340 (fchown): Likewise.
25341 (ftruncate): Likewise.
25342 (getrusage): Likewise.
25343 (gettimeofday): Likewise.
25344 (setpgid): Likewise.
25345 (setregid): Likewise.
25346 (setreuid): Likewise.
25347 (sigaction): Likewise.
25348 (truncate): Likewise.
25349 (vhangup): Likewise.
25350 * sysdeps/unix/common/syscalls.list: Remove file.
25351 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25352 * sysdeps/unix/sysv/linux/Implies: Likewise.
25353
336270d0
L
253542012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25355
25356 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25358 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25359 Moved to ...
25360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25361 Here.
25362 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25363 to ...
25364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25365 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25366 to ...
25367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25368 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25369 to ...
25370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25371 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25372 to ...
25373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25374 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25375 to ...
25376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25377 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25378 to ...
25379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25380 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25381 to ...
25382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25383 Here.
25384 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25385 to ...
25386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25387 Here.
25388 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25389 to ...
25390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25391 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25392 Moved to ...
25393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25394 Here.
25395 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25396 to ...
25397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25398
d128e450
JM
253992012-05-04 Joseph Myers <joseph@codesourcery.com>
25400
fa8ee516
JM
25401 * sysdeps/unix/common/bits/dirent.h: Remove file.
25402 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25403
d128e450
JM
25404 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25405 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25406 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25407 * sysdeps/unix/bsd/isatty.c: Likewise.
25408 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25409 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25410 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25411
ff8faaf0 254122012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25413
62881be4 25414 [BZ #13563]
31dc8730
AZ
25415 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25416 long double comparison inaccuracies.
25417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25419
6fef930c
AS
254202012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25421
25422 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25424
8f203e6c
JM
254252012-05-04 Joseph Myers <joseph@codesourcery.com>
25426
25427 [BZ #14049]
25428 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25429 nonzero digits before rounding a hex value.
25430 * stdlib/tst-strtod.c (tests): Add another test.
25431
5197d9c2
AK
254322012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25433
25434 * sysdeps/s390/fpu/libm-test-ulps: Update.
25435
f0c1dedf
AJ
254362012-05-03 Andreas Jaeger <aj@suse.de>
25437
25438 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25439 does not get optimized out.
25440 (malloc_opt_barrier): New.
25441
a65ef2ae 254422012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25443 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25444
2b942cb7 25445 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25446 intermediate file deletion.
2b942cb7 25447 (generated): Add .symlist files.
a65ef2ae 25448
54b71e02
JM
254492012-05-03 Joseph Myers <joseph@codesourcery.com>
25450
25451 [BZ #13775]
25452 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25453 Redirect under this condition.
25454 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25455 [__USE_GNU] (__dprintf_chk): Not under this condition.
25456 [__USE_GNU] (__vdprintf_chk): Likewise.
25457 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25458 under this condition.
25459 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25460 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25461 [__USE_XOPEN2K8] (vdprintf): Likewise.
25462 [__USE_GNU] (__dprintf_chk): Not under this condition.
25463 [__USE_GNU] (__vdprintf_chk): Likewise.
25464 [__USE_GNU] (dprintf): Likewise.
25465 [__USE_GNU] (vdprintf): Likewise.
25466
d3dfcc41
RM
254672012-05-03 Roland McGrath <roland@hack.frob.com>
25468
25469 * elf/Makefile (common-generated): Set this instead of generated for
25470 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25471 $(all-built-dso)-derived lists.
25472
7ac30cc5
AJ
254732012-05-03 Andreas Jaeger <aj@suse.de>
25474
0c51e550
AJ
25475 * sysdeps/i386/fpu/libm-test-ulps: Update.
25476
7ac30cc5
AJ
25477 * FAQ: Removed.
25478 * FAQ.in: Likewise.
25479 * scripts/gen-FAQ.pl: Likewise.
25480 * manual/install.texi (Installation): Point to online location of
25481 FAQ.
25482 * Makefile (files-for-dist): Remove FAQ.
25483 (FAQ): Remove.
25484
d4c2917f
AM
254852012-05-02 Allan McRae <allan@archlinux.org>
25486
25487 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25488 (LDFLAGS-reldepmod5.so): Likewise.
25489 (LDFLAGS-reldep6mod1.so): Likewise.
25490 (LDFLAGS-reldep6mod4.so): Likewise.
25491 (LDFLAGS-reldep8mod3.so): Likewise.
25492 (LDFLAGS-unload4mod1.so): Likewise.
25493 (LDFLAGS-unload4mod2.so): Likewise.
25494 (LDFLAGS-tst-initorder): Likewise.
25495 (LDFLAGS-tst-initordera2.so): Likewise.
25496 (LDFLAGS-tst-initordera3.so): Likewise.
25497 (LDFLAGS-tst-initordera4.so): Likewise.
25498 (LDFLAGS-tst-initorderb2.so): Likewise.
25499 (LDFLAGS-noload): Likewise.
25500 (LDFLAGS-next): Likewise.
25501 (LDFLAGS-order2mod1.so): Likewise.
25502 (LDFLAGS-order2mod2.so): Likewise.
25503 (LDFLAGS-tst-initorder2): Likewise.
25504 (LDFLAGS-tst-initorder2a.so): Likewise.
25505 (LDFLAGS-tst-initorder2b.so): Likewise.
25506 (LDFLAGS-tst-initorder2c.so): Likewise.
25507 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25508
d77f993f
DM
255092012-05-02 David S. Miller <davem@davemloft.net>
25510
25511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25512
171a70b4
PP
255132012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25514
25515 [BZ #14055]
25516 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25517
0be196ad
AJ
255182012-05-02 Andreas Jaeger <aj@suse.de>
25519
25520 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25521 since we manipulate rounding mode.
25522 (CPPFLAGS-test-idouble.c): Likewise.
25523 (CPPFLAGS-test-ifloat.c): Likewise.
25524 (CFLAGS-test-ldouble.c): Likewise.
25525 (CFLAGS-test-double.c): Likewise.
25526 (CFLAGS-test-float.c): Likewise.
25527 (CFLAGS-test-misc.c): Likewise.
25528 (CFLAGS-test-test-fenv.c): Likewise.
25529
4f9d04aa
AZ
255302012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25531
2b942cb7
RM
25532 [BZ #2550]
25533 [BZ #2570]
25534 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25535 comparisons to determine direction to adjust input.
4f9d04aa 25536
82a79e7d
RM
255372012-05-01 Roland McGrath <roland@hack.frob.com>
25538
f5a01ca9
RM
25539 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25540 output to the target.
25541
90fe4186
RM
25542 * scripts/localplt.awk: New file.
25543 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25544 (check-localplt-CFLAGS): Variable removed.
25545 ($(all-built-dso:=.jmprel)): New static pattern rule.
25546 (generated): Add those targets.
25547 (localplt-built-dso): New variable.
25548 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25549
25550 * elf/check-localplt.c: File removed.
25551
82397ed6
RM
25552 * scripts/check-execstack.awk: New file.
25553 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25554 (check-execstack-CFLAGS): Variable removed.
25555 ($(objpfx)check-execstack.h): Target removed.
25556 ($(objpfx)execstack-default): New target.
25557 (generated): Add that instead of check-execstack.h.
25558 ($(all-built-dso:=.phdr)): New static pattern rule.
25559 (generated): Add those targets.
25560 * elf/check-execstack.c: File removed.
25561
82a79e7d
RM
25562 * scripts/check-textrel.awk: New file.
25563 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25564 (check-textrel-CFLAGS): Variable removed.
25565 (all-built-dso): Use := to define.o
25566 ($(all-built-dso:=.dyn)): New static pattern rule.
25567 (generated): Add those targets.
25568 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25569 * config.make.in (READELF): New substituted variable.
25570 * elf/check-textrel.c: File removed.
25571
62fde54f 255722012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25573
615605c9
JM
25574 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25575 allow.
25576 * conform/data/ctype.h-data [C99-based standards] (isblank):
25577 Expect function.
25578 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25579 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25581 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25582 Specify type. Require positive value.
25583 (EILSEQ): Likewise.
25584 (ERANGE): Likewise.
25585 [ISO || POSIX] (EILSEQ): Do not expect.
25586 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25587 Specify type. Require positive value.
25588 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25589 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25590 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25591 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25592 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25593 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25594 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25595 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25596 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25597 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25598 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25599 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25600 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25601 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25602 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25603 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25604 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25605 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25606 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25607 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25608 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25609 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25610 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25611 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25612 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25613 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25614 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25615 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25616 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25617 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25618 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25619 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25620 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25621 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25622 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25623 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25624 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25625 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25626 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25627 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25629 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25630 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25635 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25636 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25637 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25638 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25639 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25640 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25641 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25646 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25647 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25648 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25649 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25650 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25652 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25654 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25655 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25656 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25657 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25658 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25659 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25660 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25661 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25662 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25663 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25664 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25665 Require >= 2.
25666 (FLT_ROUNDS): Expect as macro, not constant.
25667 (FLT_MANT_DIG): Use macro-int-constant.
25668 (DBL_MANT_DIG): Likewise.
25669 (LDBL_MANT_DIG): Likewise.
25670 (FLT_DIG): Likewise.
25671 (DBL_DIG): Likewise.
25672 (LDBL_DIG): Likewise.
25673 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25674 (DBL_MIN_EXP): Likewise.
25675 (LDBL_MIN_EXP): Likewise.
25676 (FLT_MAX_EXP): Use macro-int-constant.
25677 (DBL_MAX_EXP): Likewise.
25678 (LDBL_MAX_EXP): Likewise.
25679 (FLT_MAX_10_EXP): Likewise.
25680 (DBL_MAX_10_EXP): Likewise.
25681 (LDBL_MAX_10_EXP): Likewise.
25682 (FLT_MAX): Use macro-constant.
25683 (DBL_MAX): Likewise.
25684 (LDBL_MAX): Likewise.
25685 (FLT_EPSILON): Use macro-constant. Give upper bound.
25686 (DBL_EPSILON): Likewise.
25687 (LDBL_EPSILON): Likewise.
25688 (FLT_MIN): Likewise.
25689 (DBL_MIN): Likewise.
25690 (LDBL_MIN): Likewise.
25691 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25692 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25693 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25694 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25695 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25696 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25697 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25698 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25699 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25700 [ISO11] (FLT_TRUE_MIN): Likewise.
25701 [ISO11] (LDBL_TRUE_MIN): Likewise.
25702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25703 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25704 (SCHAR_MIN): Use macro-int-constant. Specify type.
25705 (SCHAR_MAX): Likewise.
25706 (UCHAR_MAX): Likewise.
25707 (CHAR_MIN): Likewise.
25708 (CHAR_MAX): Likewise.
25709 (MB_LEN_MAX): Use macro-int-constant.
25710 (SHRT_MIN): Use macro-int-constant. Specify type.
25711 (SHRT_MAX): Likewise.
25712 (USHRT_MAX): Likewise.
25713 (INT_MAX): Likewise.
25714 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25715 bound negative.
25716 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25717 bound with "U".
25718 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25719 bound with "L".
25720 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25721 bound negative. Suffix upper bound with "L".
25722 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25723 bound with "UL".
25724 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25725 Specify type.
25726 [C99-based standards] (LLONG_MAX): Likewise.
25727 [C99-based standards] (ULLONG_MAX): Likewise.
25728 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25729 == 0.
25730 [ISO11] (max_align_t): Require type.
25731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25732
c9140a62
JM
25733 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25734 from $CFLAGS, without defining away __attribute__ calls.
25735 (checknamespace): Use $CFLAGS_namespace.
25736
9af0bf29
JM
25737 * conform/conformtest.pl (@keywords): Only include C99 keywords
25738 for standards based on C99 or C11.
25739
343222a2
JM
25740 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25741 Disable tests.
25742 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25743 UNIX98]: Likewise.
25744
661f8cf0
JM
25745 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25746 usability of symbols in #if.
25747
ee74b9cb
JM
25748 * conform/conformtest.pl: If macro or constant types start
25749 "promoted:", expect the symbol to be of the following type
25750 promoted by the integer promotions.
62fde54f 25751
aafc49b3
JM
25752 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25753 in one place. Also handle "macro-constant".
25754
fefdf574
JM
25755 * conform/conformtest.pl: Only accept expected macro values with
25756 "==". Parse all "macro" lines in one place.
25757 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25758
f2d922fe
JM
25759 * conform/conformtest.pl: Handle braced types on "constant" lines
25760 instead of handling "typed-constant".
25761 * conform/data/signal.h-data: Use "constant" instead of
25762 "typed-constant".
25763
d22956c9
JM
25764 * conform/conformtest.pl: Handle "optional-" at start of lines in
25765 one place rather than duplicating several cases. Handle each
25766 format of "macro" line with initial "optional-".
25767
028e2e38
JM
25768 * conform/conformtest.pl: Only accept expected constant or
25769 optional-constant values with "==". Parse all "constant" lines in
25770 one place. Parse all "optional-constant" lines in one place.
25771 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25772 * conform/data/fmtmsg.h-data: Likewise.
25773 * conform/data/netinet/in.h-data: Likewise.
25774 * conform/data/tar.h-data: Likewise.
25775 * conform/data/limits.h-data: Use "==" form on "constant" and
25776 "optional-constant" lines.
25777
1b8f2850
JM
25778 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25779 Use -std=c99 for XOPEN2K.
25780 (@knownproblems): Remove.
25781 (newtoken): Don't check %isknown.
25782
a05a144b
JM
25783 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25784 Do not expect macro.
25785 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25797 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25798 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25809 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25810 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25811 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25812 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25813 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25814 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25815 [XPG3] (acosh): Likewise.
25816 [XPG3] (asinh): Likewise.
25817 [XPG3] (atanh): Likewise.
25818 [XPG3] (cbrt): Likewise.
25819 [XPG3] (expm1): Likewise.
25820 [XPG3] (ilogb): Likewise.
25821 [XPG3] (log1p): Likewise.
25822 [XPG3] (logb): Likewise.
25823 [XPG3] (nextafter): Likewise.
25824 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25825 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25826 [XPG3] (remainder): Likewise.
25827 [XPG3] (rint): Likewise.
25828 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25829 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25830 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25831 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25832 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25833 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25834 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25835 [UNIX98 || XOPEN2K] (scalb): Expect.
25836 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25837 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25838 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25839 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25840 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25841 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25842 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25843 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25844 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25845 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25846 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25847 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25848 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25849 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25850 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25851 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25852 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25853 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25854 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25855 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25856 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25857 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25858 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25859 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25860 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25861 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25862 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25863 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25864 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25865 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25866 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25867 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25868 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25869 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25870 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25871 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25872 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25873 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25874 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25875 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25876 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25877 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25878 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25879 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25880 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25881 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25882 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25883 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25884 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25885 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25886 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25887 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25888 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25889 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25890 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25891 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25892 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25893 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25894 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25895 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25896 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25897 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25898 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25899 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25904 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25905 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25906 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25907 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25908 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25909 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25910 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25911 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25912 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25913 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25914 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25915 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25916 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25917 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25930 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25931 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25967 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25968 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25969 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25970 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25971 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25973
73c5ebe3
JM
25974 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25975 _XOPEN_SOURCE_EXTENDED for XPG4.
25976
39c33b6c
JM
25977 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25978
62fde54f
JM
25979 * Makeconfig (localtime): Remove variable.
25980 (inst_localtime-file): Likewise.
25981
0741d64c
AS
259822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25983
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25985 Update.
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25987 Update.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25989 Update.
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25991 Update.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25993 Update.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25995 Update.
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25997 Update.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25999 Update.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26001 Update.
26002
7cb029ee
JM
260032012-05-01 Joseph Myers <joseph@codesourcery.com>
26004
26005 [BZ #2550]
26006 [BZ #2570]
26007 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26008 comparisons to determine direction to adjust input.
26009 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26010 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26011 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26012 Likewise.
26013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26014 Likewise.
26015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26016 Likewise.
26017 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26018 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26019 Likewise.
26020 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26021 Likewise.
26022 * math/libm-test.inc (nexttoward_test): Add more tests.
26023
412bd966
AS
260242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26025
26026 [BZ #14040]
26027 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26028 in version GLIBC_2.1, not GLIBC_2.0.
26029 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26030 Likewise.
26031
9568c0c2
JM
260322012-04-30 Joseph Myers <joseph@codesourcery.com>
26033
adfbc8ac
JM
26034 [BZ #13942]
26035 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26036 (1 - x) * (1 + x).
26037 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26038 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26039 * math/libm-test.inc (acos_test): Add more tests.
26040 (asin_test): Likewise.
26041 * sysdeps/i386/fpu/libm-test-ulps: Update.
26042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26043
5ba3cc69
JM
26044 [BZ #14034]
26045 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26046 of square root.
26047 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26048 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26049 * math/libm-test.inc (acos_test_tonearest): New function.
26050 (acos_test_towardzero): Likewise.
26051 (acos_test_downward): Likewise.
26052 (acos_test_upward): Likewise.
26053 (asin_test_tonearest): Likewise.
26054 (asin_test_towardzero): Likewise.
26055 (asin_test_downward): Likewise.
26056 (asin_test_upward): Likewise.
26057 (main): Call the new functions.
26058 * sysdeps/i386/fpu/libm-test-ulps: Update.
26059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26060
9568c0c2
JM
26061 [BZ #13884]
26062 [BZ #13924]
26063 * math/e_exp10.c: Include <float.h>.
26064 (__ieee754_exp10): Handle underflow here rather than multiplying
26065 large negative argument by M_LN10.
26066 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26067 of __ieee754_expf.
26068 * math/e_exp10l.c: Include <float.h>.
26069 (__ieee754_exp10l): Handle underflow here rather than multiplying
26070 large negative argument by M_LN10l.
26071 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26072 spurious overflow exception on underflow.
26073
5ac3ea17
MP
260742012-04-29 Marek Polacek <polacek@redhat.com>
26075
26076 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26077 (__fortify_function): New macro.
26078 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26079 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26080 __extern_always_inline.
26081 * libio/bits/stdio2.h: Likewise.
26082 * libio/bits/stdio.h: Likewise.
26083 * string/string.h: Likewise.
26084 * string/bits/string3.h: Likewise.
26085 * include/stdio.h: Likewise.
26086 * stdlib/bits/stdlib.h: Likewise.
26087 * stdlib/stdlib.h: Likewise.
26088 * rt/bits/mqueue2.h: Likewise.
26089 * rt/mqueue.h: Likewise.
26090 * posix/bits/unistd.h: Likewise.
26091 * posix/unistd.h: Likewise.
26092 * io/bits/poll2.h: Likewise.
26093 * io/bits/fcntl2.h: Likewise.
26094 * io/fcntl.h: Likewise.
26095 * io/sys/poll.h: Likewise.
26096 * misc/bits/syslog.h: Likewise.
26097 * misc/bits/syslog-ldbl.h: Likewise.
26098 * misc/sys/syslog.h: Likewise.
26099 * socket/bits/socket2.h: Likewise.
26100 * socket/sys/socket.h: Likewise.
26101 * debug/tst-chk1.c: Likewise.
26102 * wcsmbs/bits/wchar2.h: Likewise.
26103 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26104 * wcsmbs/wchar.h: Likewise.
26105
ecf0ebfb
AJ
261062012-04-29 Andreas Jaeger <aj@suse.de>
26107
26108 * Makerules (tests): Remove enable-check-abi protection.
26109 (check-abi-warn): Remove.
26110 (check-abi-%): Remove check-abi-warn usage.
26111
26112 * configure.in: Remove check-abi configure option.
26113 * configure: Regenerated.
26114 * config.make.in (enable-check-abi): Remove.
26115
6d5c57fa
AS
261162012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26117
24c5d07e 26118 [BZ #14033]
ded5180a
AS
26119 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26120 double functions to double *_finite functions.
26121
7e0d315d
AS
26122 [BZ #13941]
26123 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26124 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26125 LDBL_MIN_EXP.
26126 * stdio-common/Makefile (tests): Add tst-sprintf3.
26127 * stdio-common/tst-sprintf3.c: New file.
26128
6d5c57fa
AS
26129 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26130 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26131
0749ff8b
JM
261322012-04-28 Joseph Myers <joseph@codesourcery.com>
26133
26134 * conform/conformtest.pl: Remove duplicate typed-constant
26135 handling.
26136
8dbd5d7b
DM
261372012-04-28 David S. Miller <davem@davemloft.net>
26138
26139 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26140 (check-abi-%): Remove AWK script prerequisite and explicit
26141 abilist directory.
26142 (check-abi): Rewrite to just diff the symlist with the abilist.
26143 (config-tls, config-abi-config): Delete, no longer used.
26144 (update-abi-%): Remove AWK script and explicit abilist directory.
26145 (update-abi): Rewrite to simply compare and conditionally copy the
26146 symlist and the sysdep abilist file. Remove update-abi-config
26147 checks.
26148 * abilist/ld.abilist: Remove.
26149 * abilist/libBrokenLocale.abilist: Remove.
26150 * abilist/libanl.abilist: Remove.
26151 * abilist/libcrypt.abilist: Remove.
26152 * abilist/libdl.abilist: Remove.
26153 * abilist/librt.abilist: Remove.
26154 * abilist/libthread_db.abilist: Remove.
26155 * abilist/libutil.abilist: Remove.
26156 * scripts/extract-abilist.awk: Remove.
26157 * scripts/merge-abilist.awk: Remove.
26158 * sysdeps/generic/libcidn.abilist: New file.
26159 * sysdeps/generic/libnss_compat.abilist: New file.
26160 * sysdeps/generic/libnss_db.abilist: New file.
26161 * sysdeps/generic/libnss_dns.abilist: New file.
26162 * sysdeps/generic/libnss_files.abilist: New file.
26163 * sysdeps/generic/libnss_hesiod.abilist: New file.
26164 * sysdeps/generic/libnss_nis.abilist: New file.
26165 * sysdeps/generic/libnss_nisplus.abilist: New file.
26166 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26167 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26168 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26169 file.
26170 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26171 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26172 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26173 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26174 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26175 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26176 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26177 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26178 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26179 file.
26180 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26181 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26182 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26183 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26184 file.
26185 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26186 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26187 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26188 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26189 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26190 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26191 file.
26192 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26193 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26194 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26195 file.
26196 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26198 New file.
26199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26200 New file.
26201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26202 New file.
26203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26204 New file.
26205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26206 New file.
26207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26208 New file.
26209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26210 New file.
26211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26212 New file.
26213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26214 New file.
26215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26216 New file.
26217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26218 New file.
26219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26220 New file.
26221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26222 New file.
26223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26224 file.
26225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26226 New file.
26227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26228 New file.
26229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26230 file.
26231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26232 New file.
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26234 New file.
26235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26236 file.
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26238 New file.
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26240 New file.
26241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26242 New file.
26243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26244 New file.
26245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26246 New file.
26247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26248 New file.
26249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26251 file.
26252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26253 New file.
26254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26255 file.
26256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26257 file.
26258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26259 file.
26260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26261 file.
26262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26263 file.
26264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26265 New file.
26266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26267 file.
26268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26269 file.
26270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26271 New file.
26272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26273 file.
26274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26276 file.
26277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26278 New file.
26279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26280 file.
26281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26282 file.
26283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26284 file.
26285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26286 file.
26287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26288 file.
26289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26290 New file.
26291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26292 file.
26293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26294 file.
26295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26296 New file.
26297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26298 file.
26299 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26300 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26301 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26302 file.
26303 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26304 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26305 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26306 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26307 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26308 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26309 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26310 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26311 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26312 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26315 file.
26316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26317 New file.
26318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26319 file.
26320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26321 file.
26322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26323 file.
26324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26325 file.
26326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26327 file.
26328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26329 New file.
26330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26331 New file.
26332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26333 file.
26334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26335 New file.
26336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26337 file.
26338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26340 file.
26341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26342 New file.
26343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26344 file.
26345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26346 file.
26347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26348 file.
26349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26350 file.
26351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26352 file.
26353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26354 New file.
26355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26356 New file.
26357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26358 file.
26359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26360 New file.
26361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26362 file.
26363
41d73a1b
JM
263642012-04-28 Joseph Myers <joseph@codesourcery.com>
26365
26366 * conform/conformtest.pl: Fix typo in handling typed-constant from
26367 allow-header.
26368
28aeeda4
JM
263692012-04-27 Joseph Myers <joseph@codesourcery.com>
26370
adae8f5e
JM
26371 * README: Cut down references to pre-2.6 Linux kernels and
26372 Linuxthreads. Update lists of configurations in libc and ports
26373 and sort alphabetically. Say "or newer" with Linux kernel version
26374 requirements.
26375
28aeeda4
JM
26376 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26377
a462cb63
RA
263782012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26379
26380 [BZ #887]
26381 * math/libm-test.inc (logb_test_downward): New test to expose
26382 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26383 rounding mode.
26384
6ad3493e
JM
263852012-04-27 Joseph Myers <joseph@codesourcery.com>
26386
26387 [BZ #14027]
26388 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26389 to be done.
26390 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26391 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26392
2ce4f015
JM
263932012-04-26 Joseph Myers <joseph@codesourcery.com>
26394
5aeb141a
JM
26395 * sysdeps/unix/i386/brk.S: Remove file.
26396 * sysdeps/unix/i386/dl-brk.S: Likewise.
26397 * sysdeps/unix/i386/pipe.S: Likewise.
26398 * sysdeps/unix/i386/sigreturn.S: Likewise.
26399 * sysdeps/unix/i386/syscall.S: Likewise.
26400 * sysdeps/unix/i386/vfork.S: Likewise.
26401 * sysdeps/unix/i386/wait.S: Likewise.
26402
7143acae
JM
26403 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26404 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26405
2ce4f015
JM
26406 * configure.in (arm*-none*): Do not allow without
26407 --enable-hacker-mode.
26408 (netbsd*): Remove case setting base_os.
26409 (386bsd*): Likewise.
26410 (freebsd*): Likewise.
26411 (bsdi*): Likewise.
26412 (osf*): Likewise.
26413 (sunos*): Likewise.
26414 (ultrix*): Likewise.
26415 (newsos*): Likewise.
26416 (dynix*): Likewise.
26417 (*bsd*): Likewise.
26418 (sysv*): Likewise.
26419 (isc*): Likewise.
26420 (esix*): Likewise.
26421 (sco*): Likewise.
26422 (minix*): Likewise.
26423 (irix4*): Likewise.
26424 (irix6*): Likewise.
26425 (solaris[2-9]*): Likewise.
26426 (none): Likewise.
26427 * configure: Regenerated.
26428
0ac229c8
AZ
264292012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26430
26431 [BZ #11521]
26432 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26433 overflow or cancellation in calculating denominator.
26434 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26436 down expression to avoid unexpected rounding in newer GCCs.
26437 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26438
33f244f4
DM
264392012-04-26 David S. Miller <davem@davemloft.net>
26440
26441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26442 long-double compat symbols.
26443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26456
cfa1f3e8
DM
264572012-04-25 David S. Miller <davem@davemloft.net>
26458
26459 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26460 HWCAP_* values only after the memory barriers have been defined.
26461 (atomic_full_barrier): Define.
26462 (atomic_read_barrier): Define.
26463 (atomic_write_barrier): Define.
26464
6e236b92
SP
264652012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26466
26467 * shlib-versions: Add libgcc_s version information.
26468 * sysdeps/generic/libgcc_s.h: Remove.
26469 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26470 libgcc_s.h.
26471 * sysdeps/gnu/unwind-resume.c: Likewise.
26472 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26473
aab39a09
DM
264742012-04-25 David S. Miller <davem@davemloft.net>
26475
26476 * sysdeps/unix/sparc/brk.S: Delete.
26477 * sysdeps/unix/sparc/dl-brk.S: Delete.
26478 * sysdeps/unix/sparc/pipe.S: Delete.
26479 * sysdeps/unix/sparc/sysdep.S: Delete.
26480 * sysdeps/unix/sparc/sysdep.h: Delete.
26481 * sysdeps/unix/sparc/vfork.S: Delete.
26482 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26483 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26484 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26485 ret_ERRVAL, r0, r1, MOVE): Define.
26486 (JUMPTARGET): Remove.
26487 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26488 sysdeps/unix/sparc/sysdep.h
26489 (ENTRY, END): Remove.
26490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26491
a3cc4f48
JM
264922012-04-25 Joseph Myers <joseph@codesourcery.com>
26493
2ed8cda2
JM
26494 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26495 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26496 -DIS_IN_build.
26497
35d76d59
JM
26498 * timezone/README: Update upstream location and email address for
26499 tzcode and tzdata.
26500 * timezone/zdump.c: Update from tzcode 2012b.
26501 * timezone/zic.c: Likewise.
26502
a3cc4f48
JM
26503 * configure.in (libc_cv_as_needed): Remove test.
26504 * configure: Regenerated.
26505 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26506 conditional definition.
26507 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26508 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26509 * config.make.in (have-as-needed): Remove variable.
26510
ceab42c3
SP
265112012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26512 Paul Pluzhnikov <ppluzhnikov@google.com>
26513
26514 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26515 strings correctly.
26516
3ce2865f
CLT
265172012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26518
26519 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26520 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26521 * sysdeps/sh/strlen.S: Likewise.
26522
f37e0d68
JM
265232012-04-24 Joseph Myers <joseph@codesourcery.com>
26524
ae186e9a
JM
26525 * sysdeps/unix/fork.S: Remove file.
26526 * sysdeps/unix/i386/fork.S: Likewise.
26527 * sysdeps/unix/sparc/fork.S: Likewise.
26528
b96914af
JM
26529 * sysdeps/unix/system.c: Remove file.
26530 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26531
f37e0d68
JM
26532 * sysdeps/unix/getegid.S: Remove file.
26533 * sysdeps/unix/geteuid.S: Likewise.
26534
87ef29ca
RM
265352012-04-24 Roland McGrath <roland@hack.frob.com>
26536
83bcd236
RM
26537 * scripts/check-localplt.awk: New file.
26538 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26539 of diff.
26540 * scripts/data/localplt-generic.data: Add a comment.
26541
87ef29ca
RM
26542 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26543 NODE when __dir_mkfile failed.
26544 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26545 Reported by Ludovic Courtès <ludo@gnu.org>.
26546
e5a6e567
AJ
265472012-04-24 Andreas Jaeger <aj@suse.de>
26548
26549 * Makerules (common-clean): Also remove gen-as-const-headers
26550 files.
26551
c1820385
JM
265522012-04-24 Joseph Myers <joseph@codesourcery.com>
26553
26554 * Makerules (native-compile): Do not change working directory for
26555 build. Use $(OUTPUT_OPTION) in command.
26556 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26557
94e02fc4
AZ
265582012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26559
26560 [BZ #13886]
26561 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26562 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26563 * math/libm-test.inc (floor_test): Add more tests.
26564 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26565
3a533ca3
JM
265662012-04-24 Joseph Myers <joseph@codesourcery.com>
26567
940ab4b3
JM
26568 * sysdeps/unix/getdents.c: Remove file.
26569 * sysdeps/unix/sysv/getdents.c: Likewise.
26570 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26571
90e037bd
JM
26572 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26573 sysdeps/unix/mman/syscalls.list.
26574 (mmap): Likewise.
26575 (mprotect): Likewise.
26576 (msync): Likewise.
26577 (munmap): Likewise.
26578 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26579 * sysdeps/unix/mman/syscalls.list: Remove.
26580 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26581
3a533ca3
JM
26582 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26583 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26584 * configure: Regenerated.
26585 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26586 $(libgcc_s_suffix).
26587 * config.make.in (libgcc_s_suffix): Remove variable.
26588
1ad743de
JM
265892012-04-23 Joseph Myers <joseph@codesourcery.com>
26590
4ad451e2
JM
26591 * sysdeps/unix/sysv/gethostname.c: Move to ...
26592 * sysdeps/posix/gethostname.c: ... here.
26593
5e37ce39
JM
26594 * sysdeps/unix/execve.S: Remove file.
26595
1ad743de
JM
26596 * sysdeps/unix/_exit.S: Remove file.
26597
4e681b5b
AJ
265982012-04-23 Andreas Jaeger <aj@suse.de>
26599
26600 [BZ #13739]
26601 * manual/Makefile: Remove make dist support, there's no
26602 need for a stand-alone documentation tar ball.
26603 (TEXI2DVI): Define always, it's not in Makeconfig.
26604 (dist): Removed.
26605 (tar-it): Removed.
26606 (edition): Removed.
26607 (glibc-doc-$(edition).tar): Removed
26608 (%.Z): Removed.
26609 (%.gz): Removed.
26610 (%.uu): Removed.
26611 (ETAGS): Remove, it's in Makeconfig.
26612 (move-if-change): Remove, it's in Makeconfig.
26613
38686a03 266142012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26615
26616 [BZ #13970]
26617 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26618 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26619 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26620 (strtod_l, strtof_l, strtold_l): Remove __wur.
26621 It is not necessarily an error to ignore strtol's return value.
26622 One can reliably look at the stored endptr to decide whether
26623 the number had valid syntax.
26624
7c0616fa
AJ
266252012-04-21 Andreas Jaeger <aj@suse.de>
26626
803cb6b7 26627 [BZ #13739]
7c0616fa
AJ
26628 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26629
b0fe253f
JM
266302012-04-21 Joseph Myers <joseph@codesourcery.com>
26631
26632 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26633 * sysdeps/unix/sysv/Versions: Remove file.
26634
8280f22d
MT
266352012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26636
26637 [BZ #13927]
26638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26639
75ce411f 266402012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26641
26642 [BZ #7064]
26643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26644 version from __vm86.
26645
097d59fa
JM
266462012-04-20 Joseph Myers <joseph@codesourcery.com>
26647
a90f3bcb
JM
26648 * sysdeps/unix/common/lxstat.c: Remove file.
26649 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26650
edc7ea78
JM
26651 * sysdeps/unix/sysv/Makefile: Remove file.
26652
cb78c221
JM
26653 * sysdeps/unix/sysv/direct.h: Remove file.
26654
efa6a45f
JM
26655 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26656 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26657 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26658 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26659 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26660 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26661 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26662
9c9f2d0c
JM
26663 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26664
4541c83b
JM
26665 * sysdeps/unix/xmknod.c: Remove file.
26666 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26667
f5d153a0
JM
26668 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26669
aa746595
JM
26670 * sysdeps/unix/sysv/i386/time.S: Remove file.
26671
cce5905e
JM
26672 * sysdeps/unix/fxstat.c: Remove file.
26673 * sysdeps/unix/xstat.c: Likewise.
26674 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26675
37fa3841
JM
26676 * sysdeps/unix/sysv/sigaction.c: Remove file.
26677
ff1962a3
JM
26678 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26679 (sysdep_headers): Remove variable.
26680 [termio.h not in sysdep_headers] (generated): Likewise.
26681 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26682 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26683 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26684 * sysdeps/unix/sysv/tcflow.c: Likewise.
26685 * sysdeps/unix/sysv/tcflush.c: Likewise.
26686 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26687 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26688 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26689 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26690 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26691
e7740d31
JM
26692 * sysdeps/unix/siglist.c: Remove file.
26693
ee06f18b
JM
26694 * sysdeps/unix/getppid.S: Remove file.
26695
097d59fa
JM
26696 * sysdeps/unix/mkdir.c: Remove file.
26697 * sysdeps/unix/rmdir.c: Likewise.
26698
ff3d51ec
AS
266992012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26700
26701 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26702 ERR_MAX value.
26703 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26704 errlist-compat value.
26705
50f81fd7
DM
267062012-04-18 David S. Miller <davem@davemloft.net>
26707
26708 * sysdeps/generic/memcopy.h (reg_char): Delete.
26709 * debug/strcat_chk.c: Use char, not reg_char.
26710 * debug/strcpy_chk.c: Likewise.
26711 * debug/strncat_chk.c: Likewise.
26712 * debug/strncpy_chk.c: Likewise.
26713 * string/memchr.c: Likewise.
26714 * string/memrchr.c: Likewise.
26715 * string/rawmemchr.c: Likewise.
26716 * string/strcat.c: Likewise.
26717 * string/strchr.c: Likewise.
26718 * string/strchrnul.c: Likewise.
26719 * string/strcmp.c: Likewise.
26720 * string/strcpy.c: Likewise.
26721 * string/strncat.c: Likewise.
26722 * string/strncmp.c: Likewise.
26723 * string/strncpy.c: Likewise.
26724
8ff41c46
WS
267252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26726
26727 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26728 __builtin_memcopy is called when src and dest ranges are known to not
26729 overlap.
26730
6b652f46
WS
267312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26732
26733 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26734 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26735 fwd_align_merge macro call.
26736 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26737 bwd_align_merge macro call.
26738 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26739
b282631e
WS
267402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26741
26742 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26743 bwd_align_merge macros.
26744 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26745 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26746 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26747
95aa737c
DM
267482012-04-18 David S. Miller <davem@davemloft.net>
26749
26750 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26751
7a99a614
AJ
267522012-04-18 Andreas Jaeger <aj@suse.de>
26753
26754 [BZ# 6794]
26755 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26756 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26757 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26758
26759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26760 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26761 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26762
26763 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26764 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26765 Adjust for changed ldbl-128 files.
26766
26767 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26768 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26769 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26770
e5270c23
DM
267712012-04-17 David S. Miller <davem@davemloft.net>
26772
26773 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26774
fb5e92c9
AS
267752012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26776
26777 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26778 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26779 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26780 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26781 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26782 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26783
76da7265
AZ
267842012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26785
26786 [BZ #6794]
26787 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26788 * math/libm-test.inc: Add ilogb errno and exception tests.
26789 * math/w_ilogb.c: New file: ilogb wrapper.
26790 * math/w_ilogbf.c: New file: ilogbf wrapper.
26791 * math/w_ilogbl.c: New file: ilogbl wrapper.
26792 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26793 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26794 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26795 exception being thrown with 0.0 as argument.
26796 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26797 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26798 exception being thrown with 0.0 as argument.
26799 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26800 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26801 exception being thrown with 0.0 as argument.
26802 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26803 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26804 exception being thrown with 0.0 as argument.
26805 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26806 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26807 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26808 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26809 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26810 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26811 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26812 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26813 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26814
0396e69d
PB
268152012-04-17 Petr Baudis <pasky@ucw.cz>
26816
26817 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26818 with altivec.
26819
750b5926
MP
268202012-04-16 Marek Polacek <polacek@redhat.com>
26821
26822 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26823
751728a1
MP
268242012-04-16 Marek Polacek <polacek@redhat.com>
26825
26826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26827 operands of fdivp instruction.
26828
34a27407
L
268292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26830
26831 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26832 * elf/tst-auditmod3b.c: Likewise.
26833 * elf/tst-auditmod4b.c: Likewise.
26834 * elf/tst-auditmod5b.c: Likewise.
26835 * elf/tst-auditmod6b.c: Likewise.
26836 * elf/tst-auditmod6c.c: Likewise.
26837 * elf/tst-auditmod7b.c: Likewise.
26838 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26839 * sysdeps/x86_64/preconfigure.in: Likewise.
26840 * sysdeps/x86_64/preconfigure: Regenerated.
26841
7e73e17d
L
268422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26843
26844 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26845 __ILP32__.
26846
c7a6ab72
AB
268472012-04-13 Antoine Balestrat <merkil33@gmail.com>
26848
26849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26850 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26851
a9e8e0e0
CL
268522012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26853
26854 [BZ #13973]
26855 * locale/iso-639.def: Fix gl language name. Spotted by
26856 Yaron Shahrabani.
26857
ec98af7d
RM
268582012-04-12 Roland McGrath <roland@hack.frob.com>
26859
26860 [BZ #2074]
26861 * libio/libio.h (__io_write_fn): Update comment.
26862
247c3ede
PB
268632012-04-12 Petr Baudis <pasky@ucw.cz>
26864
26865 [BZ #2074]
26866 * stdio.texi (Hook Functions): The user provided writer function
26867 is not allowed to return -1.
26868
55939d6d
DM
268692012-04-11 David S. Miller <davem@davemloft.net>
26870
26871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26872
90020f5a
MF
268732012-04-11 Mike Frysinger <vapier@gentoo.org>
26874
26875 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26876 Add a leading slash to rtkaio.
26877
288f9098
JM
268782012-04-11 Jim Meyering <meyering@redhat.com>
26879
90020f5a
MF
26880 [BZ #11959]
26881 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26882 It is not necessarily an error to ignore fwrite's return
26883 value. One can reliably use ferror to test for errors after
26884 the fact.
288f9098 26885
4be2b570
L
268862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26887
26888 * bits/types.h (__snseconds_t): New type.
26889 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26890
26891 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26893 (__SNSECONDS_T_TYPE): Likewise.
26894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26895 (__SNSECONDS_T_TYPE): Likewise.
26896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26897 (__SNSECONDS_T_TYPE): Likewise.
26898
288f9098 268992012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26900
26901 [BZ #2636]
26902 * manual/time.texi (Processor Time): Return type of times is
26903 elapsed real time since an arbitrary point in the past.
26904 (CPU Time): Move CLK_TCK from here...
26905 (Processor Time): ...to here. Correct description.
26906 * manual/conf.texi (Constants for Sysconf): Correct description of
26907 _SC_CLK_TCK.
26908
d7dd4413
DM
269092012-04-10 David S. Miller <davem@davemloft.net>
26910
26911 [BZ #13967]
26912 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26913 where the is a gap between DT_REL(A) and DT_JMPREL.
26914
b46068fc
L
269152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26916
26917 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26918 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26919 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26920
73d65cc3
SP
269212012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26922
26923 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26924 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26925 (dl_main): Handle --inhibit-cache.
26926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26927 _dl_inhibit_cache.
26928 * elf/dl-load.c (_dl_map_object): Use it.
26929 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26930
bcc8d661
JM
269312012-04-09 Joseph Myers <joseph@codesourcery.com>
26932
8f9a2fae
JM
26933 [BZ #13872]
26934 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26935 (__ieee754_powl): Saturate large exponents rather than testing for
26936 overflow of y*log2(x).
26937 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26938 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26939 exceptions.
26940
bcc8d661
JM
26941 [BZ #11521]
26942 * math/s_ctan.c: Include <float.h>.
26943 (__ctan): Avoid internal overflow or cancellation in calculating
26944 denominator.
26945 * math/s_ctanf.c: Likewise.
26946 * math/s_ctanl.c: Likewise.
26947 * math/s_ctanh.c: Likewise.
26948 * math/s_ctanhf.c: Likewise.
26949 * math/s_ctanhl.c: Likewise.
26950 * math/libm-test.inc (ctan_test): Add more tests.
26951 (ctanh_test): Likewise.
26952 * sysdeps/i386/fpu/libm-test-ulps: Update.
26953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26954
823fbbb4
AJ
269552012-04-09 Andreas Jaeger <aj@suse.de>
26956
03879793
AJ
26957 [BZ #6894]
26958 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26959 is an optional BSD extension.
26960
823fbbb4
AJ
26961 [BZ #10254]
26962 * manual/stdio.texi (Opening Streams): Document additional fopen
26963 parameters.
26964
8de131cb
RM
269652012-04-09 Roland McGrath <roland@hack.frob.com>
26966
26967 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26968 %eax without telling the compiler.
26969
c0ed9d7d
CD
269702012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26971
26972 [BZ # 13963]
26973 * manual/install.texi: Use sourceware.org.
26974
c483f6b4
JM
269752012-04-09 Joseph Myers <joseph@codesourcery.com>
26976
d7dd9453
JM
26977 [BZ #13873]
26978 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26979 (__ieee754_pow): Generate overflow and underflow using huge*huge
26980 and tiny*tiny rather than just returning constant infinity or zero
26981 for large exponents.
26982 * math/libm-test.inc (pow_test): Require overflow exceptions for
26983 applicable cases of large exponents.
26984
c483f6b4
JM
26985 [BZ #706]
26986 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26987 (__ieee754_pow): Use iterative multiplication algorithm only for
26988 integer exponents with absolute value below 1024. Check for odd
26989 integer exponents when using algorithm for real exponents.
26990 * math/libm-test.inc (pow_test): Add more tests.
26991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26992
d2de7579
JM
269932012-04-08 Joseph Myers <joseph@codesourcery.com>
26994
26995 [BZ #13705]
26996 * math/libm-test.inc (exp_test): Do not allow overflow exception
26997 on underflow test.
26998
f77f1232
AJ
269992012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27000
27001 [BZ #13705]
27002 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27003 instead of __kernel_standard_f.
27004
3884932b
MF
270052012-04-08 Mike Frysinger <vapier@gentoo.org>
27006
27007 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27008 * sysdeps/x86_64/memset_chk.S: Likewise.
27009
54472e9c
AJ
270102012-04-08 Andreas Jaeger <aj@suse.de>
27011
6ab0fbfc
AJ
27012 [BZ #10153]
27013 * manual/startup.texi (Environment Access): Describe return value
27014 for putenv and setenv.
27015
61efba8c
AJ
27016 [BZ #6895]
27017 * manual/filesys.texi (Directory Entries): Add description for
27018 DT_LNK.
27019
95c3f29a
AJ
27020 [BZ #6890]
27021 * manual/filesys.texi (Directory Entries): Clarify that it's file
27022 system not operating system in the description of DT_UNKNOWN.
27023
54472e9c
AJ
27024 [BZ #6578]
27025 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27026
624254b1
SC
270272012-04-08 Stephen Compall <s11@member.fsf.org>
27028
27029 [BZ #6649]
27030 * manual/llio.texi (Opening and Closing Files): Add cross
27031 reference to explain mode argument.
27032
1e4920e0
MF
270332012-04-07 Mike Frysinger <vapier@gentoo.org>
27034
27035 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27036 * sysdeps/x86_64/memset_chk.S: Likewise.
27037
5ed848f3
DM
270382012-04-07 David S. Miller <davem@davemloft.net>
27039
27040 * elf/elf.h (R_SPARC_WDISP10): Define.
27041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27042 R_SPARC_SIZE32.
27043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27044 R_SPARC_SIZE64 and R_SPARC_H34.
27045
96154cd8
CD
270462012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27047
27048 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27049 conditions and remove no longer applicable assertion.
27050
9904dc47
L
270512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27052
27053 * bits/byteswap.h: Include <features.h>.
27054 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27055 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27056
f8887d0a
L
270572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27058
27059 * bits/byteswap.h (__bswap_16): Removed.
27060 Include <bits/byteswap-16.h> to get __bswap_16.
27061 * sysdeps/i386/bits/byteswap.h: Likewise.
27062 * sysdeps/s390/bits/byteswap.h: Likewise.
27063 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27064 * bits/byteswap-16.h: New file.
27065 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27066 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27067 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27068 * string/Makefile (headers): Add bits/byteswap-16.h.
27069
62470f60
PP
270702012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27071
27072 [BZ #13895]
27073 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27074 extra indirection.
27075 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27076 * nss/tst-nss-static.c: New.
27077
4dad7bab
RM
270782012-04-06 Robert Millan <rmh@gnu.org>
27079
27080 [BZ #6486]
27081 * manual/llio.texi (File Position Primitive): lseek
27082 refers to WHENCE when it really means OFFSET.
27083
e9142a17
AJ
270842012-04-06 Andreas Jaeger <aj@suse.de>
27085
2c040eff
AJ
27086 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27087 strncmp declarations.
27088
e9142a17
AJ
27089 * abilist/libc.abilist: Add __poll and __ppoll.
27090
ff9f1c5f
DM
270912012-04-05 David S. Miller <davem@davemloft.net>
27092
dcd2ae90
DM
27093 * scripts/check-local-headers.sh: Accept a host triplet in the
27094 path matched by the exclude regexp.
27095
993eb054
DM
27096 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27097 definition.
27098 * sysdeps/powerpc/powerpc32/dl-machine.h
27099 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27100 * sysdeps/s390/s390-32/dl-machine.h
27101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27102 * sysdeps/sparc/sparc32/dl-machine.h
27103 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27104 * sysdeps/sparc/sparc64/dl-machine.h
27105 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27106
ff9f1c5f
DM
27107 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27108 lazy binding.
48e2e132 27109 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27110 undefined symbol errors.
27111
48e2e132 27112 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27113 DT_NEEDED entries.
27114
e80d6f94
MM
271152012-04-05 Michael Matz <matz@suse.de>
27116
27117 [BZ #13592]
27118 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27119
349fa79f
AJ
271202012-04-05 Andreas Jaeger <aj@suse.de>
27121
27122 [BZ #13908]
27123 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27124 comment.
27125
f402708f
KK
271262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27127
27128 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27129 which ROUND is no valid rounding mode.
27130
2ecccfc9
KK
271312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27132
27133 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27134 read again.
27135 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27136
8a53f50f
KK
271372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27138
27139 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27140 an exception using FPU order intentionally.
27141
271422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27143
27144 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27145 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27146 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27147 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27148
d653abb7
SJ
271492012-04-05 Simon Josefsson <simon@josefsson.org>
27150
27151 [BZ #12340]
27152 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27153 EINVAL when BUFLEN is too smal.
27154
c3b1bf7d
TS
271552012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27156
27157 [BZ #13553]
27158 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27159 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27160
b1aa60f3
AJ
271612012-04-03 Andreas Jaeger <aj@suse.de>
27162
c3b1bf7d 27163 [BZ #13938]
67f60a26
AJ
27164 * manual/setjmp.texi (System V contexts): Fix sentence.
27165
b1aa60f3
AJ
27166 [BZ #13926]
27167 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27168 New macro for this case.
27169 [!__GNUC__] (__bswap_64): New inline function for this case.
27170 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27171 * bits/byteswap.h: Likewise.
27172 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27173 ull, guard with __GLIBC_HAVE_LONG_LONG.
27174
27175 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27176 __GLIBC_HAVE_LONG_LONG.
27177
27178 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27179 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27180
39c59c35
TMQMF
271812012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27182
27183 [BZ #13691]
27184 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27185 inptr and inend, rather than using last_ch.
27186
135ffda8
DM
271872012-04-02 David S. Miller <davem@davemloft.net>
27188
27189 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27190 * stdio-common/printf-parse.h (read_int): Change return type to
27191 'int', return -1 on INT_MAX overflow.
27192 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27193 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27194 overflows INT_MAX. Check for overflow of in-format-string precision
27195 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27196 SIZE_MAX not INT_MAX for integer overflow test.
27197 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27198 skip the construct in the format string but do not record anything.
27199 * stdio-common/bug22.c: Adjust to test both width/prevision
27200 INT_MAX overflow as well as total length INT_MAX overflow. Check
27201 explicitly for proper errno values.
27202
228c019e
TS
272032012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27204
302cadd3
TS
27205 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27206 CHAR_MAX.
27207 * string/test-strcmp.c [! WIDE]: Likewise.
27208 * time/tst-mktime2.c: Likewise for INT_MAX.
27209 * string/test-string.h: #include <sys/param.h> for MIN.
27210
228c019e
TS
27211 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27212 * sysdeps/i386/init-first.c (init): Likewise.
27213 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27214 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27215 * sysdeps/sh/init-first.c (init): Likewise.
27216
cfa633f5
UD
272172012-04-01 Ulrich Drepper <drepper@gmail.com>
27218
27219 * po/ru.po: Update from translation team.
d1635ef8 27220 * po/vi.po: Likewise.
cfa633f5 27221
6cd0a5ea
SP
272222012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27223
27224 * resolv/nss_dns/dns-host.c: Merge copyright years.
27225
4b43400f
LD
272262012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27227
27228 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27229 Optimize memcpy with prefetch if
27230 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27231 src, dst pointers have unequal 16 byte alignments.
27232
48c41d04
SP
272332012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27234
27235 [BZ #13928]
27236 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27237 from a CNAME entry and return the minimum ttl for the query.
27238 (gaih_getanswer_slice): Likewise.
27239
b8dc394d
JL
272402012-03-30 Jeff Law <law@redhat.com>
27241
27242 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27243 due to long keys.
27244 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27245 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27246
2f5a5ed0
JL
27247 * resolv/nss_dns/dns-host.c: Update copyright year.
27248
1d39e359
UD
272492012-03-30 Ulrich Drepper <drepper@gmail.com>
27250
c030f70c 27251 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27252 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27253
1d39e359
UD
27254 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27255 comments for sendmmsg.
27256
272572012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27258
27259 [BZ #13691]
27260 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27261 with only 1 character between 0x0041 and 0x01b0.
27262 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27263 * wcsmbs/tst-mbsnrtowcs.c: New file.
27264
20fde227
DM
272652012-03-29 David S. Miller <davem@davemloft.net>
27266
27267 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27268 small copies by hand.
27269
984a4237
JL
272702012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27271
27272 [BZ #13761]
27273 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27274 _nss_compat_initgroups_dyn): Fall back to malloc/free
27275 for large group memberships.
27276
18c9d62b
DM
272772012-03-28 David S. Miller <davem@davemloft.net>
27278
88d85d4f
DM
27279 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27280 that branches into memcpy.
27281 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27282 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27283 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27284 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27286 bits.
27287 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27288 implementation too.
27289 * sysdeps/sparc/mempcpy.S: New file.
27290
e5aa83e1
DM
27291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27292 the IFUNC routine in the libc case.
27293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27294
88570753
DM
27295 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27296 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27297 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27298 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27299 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27300 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27301 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27302 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27303
249d7567
DM
27304 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27305 loop to 256 bytes instead of 64 bytes and fix test signedness.
27306
18c9d62b
DM
27307 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27308 * sysdeps/sparc/sparc32/Makefile: rather than here...
27309 * sysdeps/sparc/sparc64/Makefile: and here.
27310
05f3d1f6
UD
273112012-03-28 Ulrich Drepper <drepper@gmail.com>
27312
27313 * malloc/mallocbug.c: Avoid warnings about unused variables.
27314
86ae07a8
JL
273152012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27316
27317 [BZ #13760]
27318 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27319 in the right place. Discard and retry query if response is
27320 larger than input buffer size.
27321
41bf21a1
JM
273222012-03-28 Joseph Myers <joseph@codesourcery.com>
27323
d6270972
JM
27324 [BZ #369]
27325 [BZ #2678]
27326 [BZ #3866]
27327 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27328 x for large integer exponent.
27329 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27330 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27331 sign of result as needed afterwards.
27332 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27333 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27334 result for underflowing pow the same as for overflow.
27335 (__kernel_standard_l): Handle powl overflow and underflow here
27336 rather than calling __kernel_standard.
27337 * math/libm-test.inc (pow_test): Add more tests.
27338
414fca03 27339 [BZ #3868]
41bf21a1
JM
27340 [BZ #13879]
27341 [BZ #13910]
27342 [BZ #13911]
27343 [BZ #13912]
27344 [BZ #13913]
27345 [BZ #13915]
27346 [BZ #13916]
27347 [BZ #13917]
27348 [BZ #13918]
27349 [BZ #13919]
27350 [BZ #13920]
27351 [BZ #13921]
27352 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27353 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27354 (__kernel_standard_l): New function.
27355 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27356 __kernel_standard.
27357 * math/w_acosl.c (__acosl): Likewise.
27358 * math/w_asinl.c (__asinl): Likewise.
27359 * math/w_atan2l.c (__atan2l): Likewise.
27360 * math/w_atanhl.c (__atanhl): Likewise.
27361 * math/w_coshl.c (__coshl): Likewise.
27362 * math/w_exp10l.c (__exp10l): Likewise.
27363 * math/w_exp2l.c (__exp2l): Likewise.
27364 * math/w_fmodl.c (__fmodl): Likewise.
27365 * math/w_hypotl.c (__hypotl): Likewise.
27366 * math/w_j0l.c (__j0l, __y0l): Likewise.
27367 * math/w_j1l.c (__j1l, __y1l): Likewise.
27368 * math/w_jnl.c (__jnl, __ynl): Likewise.
27369 * math/w_lgammal.c (__lgammal): Likewise.
27370 * math/w_log10l.c (__log10l): Likewise.
27371 * math/w_log2l.c (__log2l): Likewise.
27372 * math/w_logl.c (__logl): Likewise.
27373 * math/w_powl.c (__powl): Likewise.
27374 * math/w_remainderl.c (__remainderl): Likewise.
27375 * math/w_scalbl.c (sysv_scalbl): Likewise.
27376 * math/w_sinhl.c (__sinhl): Likewise.
27377 * math/w_sqrtl.c (__sqrtl): Likewise.
27378 * math/w_tgammal.c (__tgammal): Likewise.
27379 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27380 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27381 * math/libm-test.inc (acos_test): Add more tests.
27382 (acosh_test): Likewise.
27383 (asin_test): Likewise.
27384 (atanh_test): Likewise.
27385 (exp_test): Likewise.
27386 (exp10_test): Likewise.
27387 (exp2_test): Likewise.
27388 (expm1_test): Likewise.
27389 (lgamma_test): Likewise.
27390 (log_test): Likewise.
27391 (log10_test): Likewise.
27392 (log1p_test): Likewise.
27393 (log2_test): Likewise.
27394 (pow_test): Do not allow some spurious overflow exceptions.
27395 (sqrt_test): Add more tests.
27396 (tgamma_test): Likewise.
27397 (y0_test): Likewise.
27398 (y1_test): Likewise.
27399 (yn_test): Likewise.
27400
dd62fda6
AB
274012012-03-27 Anton Blanchard <anton@samba.org>
27402
27403 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27404 MAP_HUGETLB.
27405 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27406 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27407 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27408
1e3cdfda
AJ
274092012-03-27 David S. Miller <davem@davemloft.net>
27410
b855ab85
DM
27411 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27412
1e3cdfda
AJ
27413 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27414 have-as-vis3 check.
27415
274162012-03-27 Andreas Jaeger <aj@suse.de>
27417
27418 * sysdeps/x86_64/elf/configure.in: Moved to ...
27419 * sysdeps/x86_64/configure.in: ... here.
27420 * sysdeps/x86_64/elf/start.S: Moved to ...
27421 * sysdeps/x86_64/start.S: ... here.
27422 * sysdeps/x86_64/elf/configure: Delete.
27423
27424 * sysdeps/x86_64/configure.in: Merge contents from
27425 sysdeps/i386/configure.in (without i686 check).
27426
27427 * sysdeps/i386/elf/Versions: Merge into ...
27428 * sysdeps/i386/Versions: ... this.
27429 * sysdeps/i386/elf/Versions: Delete file.
27430 * sysdeps/i386/elf/start.S: Moved to ...
27431 * sysdeps/i386/start.S: ...here.
27432 * sysdeps/i386/elf/configure.in: Merge into...
27433 * sysdeps/i386/configure.in: ...here.
27434 * sysdeps/i386/elf/configure.in: Delete file.
27435 * sysdeps/i386/elf/configure: Delete file.
27436
27437 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27438 * debug/backtracesyms.c: ... here.
27439 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27440 * debug/backtracesymsfd.c: ... here.
27441 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27442 * sysdeps/generic/ifunc-sel.h: ... here.
27443
27444 * sysdeps/unix/i386/start.c: Delete file.
27445 * sysdeps/unix/sparc/start.c: Delete file.
27446 * sysdeps/unix/start.c: Delete file.
27447
27448 * sysdeps/sh/elf/configure.in: Moved to ...
27449 * sysdeps/sh/configure.in: ... here.
27450 * sysdeps/sh/elf/start.S: Moved to ...
27451 * sysdeps/sh/start.S: ... here.
27452 * sysdeps/sh/elf/configure: Delete file.
27453
27454 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27455 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27456 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27457 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27458 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27459 * sysdeps/powerpc/powerpc64/start.S: here.
27460 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27461 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27462 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27463 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27464 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27465
27466 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27467 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27468 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27469 * sysdeps/powerpc/powerpc32/start.S: ... here.
27470 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27471 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27472 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27473
27474 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27475 * sysdeps/powerpc/ifunc-sel.h: ... here.
27476 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27477 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27478
27479 * sysdeps/sparc/elf/configure.in: Moved to ...
27480 * sysdeps/sparc/configure.in: ... here.
27481 * sysdeps/sparc/elf/configure: Delete file.
27482 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27483 * sysdeps/sparc/sparc32/start.S: ... here.
27484 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27485 * sysdeps/sparc/sparc64/start.S: ... here.
27486 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27487 * sysdeps/sparc/sparc32/Makefile: ... this.
27488 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27489 * sysdeps/sparc/sparc64/Makefile: ... this.
27490
27491 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27492 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27493 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27494 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27495 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27496 * sysdeps/s390/s390-32/setjmp.S: ... here.
27497 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27498 * sysdeps/s390/s390-32/configure.in: ... here.
27499 * sysdeps/s390/s390-32/elf/configure: Delete file.
27500 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27501 * sysdeps/s390/s390-32/start.S: ... here.
27502
27503 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27504 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27505 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27506 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27507 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27508 * sysdeps/s390/s390-64/setjmp.S: ... here.
27509 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27510 * sysdeps/s390/s390-64/configure.in: ... here
27511 * sysdeps/s390/s390-64/elf/configure: Delete file.
27512 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27513 * sysdeps/s390/s390-64/start.S: ... here.
27514 * sysdeps/s390/s390-64/elf/configure: Delete.
27515
27516 * configure.in: Remove support for elf directories in sysdeps.
27517
27518 * configure: Regenerated.
27519 * sysdeps/i386/configure: Regenerated.
27520 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27521 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27522 * sysdeps/s390/s390-32/configure: Regenerated.
27523 * sysdeps/s390/s390-64/configure: Regenerated.
27524 * sysdeps/sh/configure: Regenerated.
27525 * sysdeps/sparc/configure: Regenerated.
27526 * sysdeps/x86_64/configure: Regenerated.
27527
a3f61311
AS
275282012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27529
c876e002
AS
27530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27531
a3f61311
AS
27532 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27533 denormal result into account.
27534
ac4c54f0
RM
275352012-03-25 Roland McGrath <roland@hack.frob.com>
27536
27537 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27538 Reported by Allan McRae <allan@archlinux.org>.
27539
6a9b9c02
JL
275402012-03-23 Jeff Law <law@redhat.com>
27541
27542 * nss/getnssent.c (__nss_getent): Fix typo.
27543
4c42a0c1
DM
275442012-03-23 David S. Miller <davem@davemloft.net>
27545
27546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27547
1532c7ac
L
275482012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27549
27550 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27551 to pad to uint64_t for each field.
27552 (dl_tls_index): Replace unsigned long with uint64_t.
27553
3ff42526
PP
275542012-03-23 Daniel Jacobowitz <dmj@google.com>
27555 Paul Pluzhnikov <ppluzhnikov@google.com>
27556
27557 [BZ #6528]
27558 * grp/Makefile (otherlibs): Don't set it.
27559 * inet/Makefile (otherlibs): Likewise.
27560 * login/Makefile (otherlibs): Likewise.
27561 * nscd/Makefile (otherlibs): Likewise.
27562 * posix/Makefile (otherlibs): Likewise.
27563 * pwd/Makefile (otherlibs): Likewise.
27564 * rt/Makefile (otherlibs): Likewise.
27565 * sunrpc/Makefile (otherlibs): Likewise.
27566 * nss/Makefile (otherlibs): Likewise.
27567 Add libnss_files to routines and static-only-routines.
27568 ($(objpfx)getent): Remove rule.
27569 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27570 static-only-routines.
27571
7c69cd14
JM
275722012-03-22 Joseph Myers <joseph@codesourcery.com>
27573
27574 [BZ #13892]
27575 * math/s_cexp.c: Include <float.h>.
27576 (__cexp): Handle exp result overflowing not necessarily
27577 overflowing both real and imaginary parts of result.
27578 * math/s_cexpf.c: Likewise.
27579 * math/s_cexpl.c: Likewise.
27580 * math/libm-test.inc (cexp_test): Add more tests.
27581 * sysdeps/i386/fpu/libm-test-ulps: Update.
27582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27583
81b035fe
L
275842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27585
27586 * include/link.h (ELFW): New macro.
27587 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27588 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27589
1da7940c
L
275902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27591
27592 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27593 with uint64_t.
27594
b749dbb9
L
275952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27596
27597 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27598 declaration.
27599 (struct La_x32_retval): Likewise.
27600
2ff87f3f
L
276012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27602
27603 * sysdeps/x86_64/preconfigure.in: New file.
27604 * sysdeps/x86_64/preconfigure: New generated file.
27605
c0df8e69
JM
276062012-03-22 Joseph Myers <joseph@codesourcery.com>
27607
48e44791
JM
27608 [BZ #13824]
27609 * math/e_exp2l.c: Include <float.h>.
27610 (__ieee754_exp2l): Handle overflow and underflow cases
27611 separately. Only pass fractional part of argument to
27612 __ieee754_expl.
27613 * math/libm-test.inc (exp2_test): Add more tests.
27614
c0df8e69
JM
27615 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27616 negating x to take absolute value.
27617 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27618 Likewise.
27619 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27620 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27621 Likewise.
27622 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27623 computing low part if x was negated.
27624 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27625
c8e43ba7
L
276262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27627
27628 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27629 la_x32_gnu_pltexit.
27630 (pltexit): Cast int_retval to ptrdiff_t.
27631 * elf/tst-auditmod3b.c: Likewise.
27632 * elf/tst-auditmod4b.c: Likewise.
27633 * elf/tst-auditmod5b.c: Likewise.
27634 * elf/tst-auditmod6b.c: Likewise.
27635 * elf/tst-auditmod6c.c: Likewise.
27636 * elf/tst-auditmod7b.c: Likewise.
27637
27638 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27639 and x32_gnu_pltexit.
27640
27641 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27642 __ELF_NATIVE_CLASS.
27643 (La_x32_regs): New macro.
27644 (La_x32_retval): Likewise.
27645 (la_x32_gnu_pltenter): New function prototype.
27646 (la_x32_gnu_pltexit): Likewise.
27647
7998fa78
AS
276482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27649
dcb33988
AS
27650 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27651 exponent.
27652
233fc563
AS
27653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27654
7998fa78
AS
27655 * configure.in (libc_cv_cc_nofma): Check for option to disable
27656 generation of FMA instructions.
27657 * configure: Regenerate.
27658 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27659 * sysdeps/ieee754/dbl-64/Makefile: New file.
27660 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27661 Remove brandred-fma4.
27662 (CFLAGS-brandred-fma4.c): Remove.
27663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27664 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27665 define.
27666 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27667 define.
27668
8e95c99a
L
276692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27670
27671 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27672 LLONG_MAX != LONG_MAX.
27673 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27674 (_fitoa_word): Likewise.
27675 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27676 LLONG_MAX != LONG_MAX.
27677 * stdio-common/_itowa.h: Include <_itoa.h>.
27678 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27679 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27680 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27681 only if not defined.
27682 (_ITOA_WORD_TYPE): Likewise.
27683 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27684 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27685
6f4db457
DM
276862012-03-21 David S. Miller <davem@davemloft.net>
27687
27688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27689
7785fe5a
L
276902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27691
27692 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27693 of x86_64 when setting libc_cv_slibdir, libdir and
27694 libc_cv_localedir.
27695 * sysdeps/unix/sysv/linux/configure: Regenerated.
27696
4535cd55
JM
276972012-03-21 Joseph Myers <joseph@codesourcery.com>
27698
27699 * manual/lang.texi (Old Varargs): Remove section.
27700 (How Variadic): Update menu.
27701 (va_start): Do not mention varargs.h.
27702
17228132
TS
277032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27704 Joseph Myers <joseph@codesourcery.com>
27705
27706 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27707 link test.
27708 * configure: Regenerated.
27709
8149f976
TS
277102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27711
05f3d1f6
UD
27712 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27713 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27714 conformtest.pl
8149f976 27715
1a4ac776
JM
277162012-03-21 Joseph Myers <joseph@codesourcery.com>
27717
be22ce65
JM
27718 * NOTES: Remove.
27719 * Makefile (files-for-dist): Remove NOTES.
27720 (NOTES): Remove rule.
27721 * README: Don't refer to NOTES.
27722 * manual/creature.texi: Don't include macros.texi.
27723 * manual/intro.texi (creature.texi): Remove comment referring to
27724 NOTES.
27725
40b601fb
JM
27726 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27727 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27728 * configure: Regenerated.
27729 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27730 LIBC_TRY_CC_OPTION.
27731 (libc_cv_as_i686): Likewise.
27732 (libc_cv_cc_avx): Likewise.
27733 (libc_cv_cc_sse2avx): Likewise.
27734 (libc_cv_cc_fma4): Likewise.
27735 (libc_cv_cc_novzeroupper): Likewise.
27736 * sysdeps/i386/configure: Regenerated.
27737
1a4ac776
JM
27738 [BZ #13883]
27739 * sysdeps/i386/fpu/s_cexp.S: Remove.
27740 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27741 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27742 * math/libm-test.inc (cexp_test): Add more tests.
27743 * sysdeps/i386/fpu/libm-test-ulps: Update.
27744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27745
a458e7fe
AM
277462012-03-21 Allan McRae <allan@archlinux.org>
27747
27748 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27749
0cb7efc5
JM
277502012-03-21 Joseph Myers <joseph@codesourcery.com>
27751
27752 [BZ #13871]
27753 * math/w_exp2.c: Do not include <float.h>.
27754 (o_threshold, u_threshold): Remove.
27755 (__exp2): Calculate result before checking finiteness and calling
27756 __kernel_standard.
27757 * math/w_exp2f.c: Likewise.
27758 * math/w_exp2l.c: Likewise.
27759 * math/libm-test.inc (exp2_test): Require overflow exception for
27760 1e6 input.
2460d3aa
JM
27761
27762 [BZ #3866]
27763 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27764 range of signed 64-bit integers before using fistpll. Remove
27765 checks for whether integers fit in mantissa bits.
27766 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27767 the range of signed 32-bit integers before using fistpl. Remove
27768 checks for whether integers fit in mantissa bits.
27769 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27770 (__ieee754_powl): Test for y outside the range of signed 64-bit
27771 integers before using fistpll. Reduce 64-bit values to 63-bit
27772 ones as needed.
27773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27774 divide-by-zero is raised for zero to large negative powers.
27775 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27776 (__ieee754_powl): Test for y outside the range of signed 64-bit
27777 integers before using fistpll. Reduce 64-bit values to 63-bit
27778 ones as needed.
27779 * math/libm-test.inc (pow_test): Add more tests.
27780
eb96ffb0
L
277812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27782
27783 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27784 <stdio-common/_itoa.h>.
27785 * debug/segfault.c: Likewise.
27786 * elf/dl-cache.c: Likewise.
27787 * elf/dl-minimal.c: Likewise.
27788 * elf/dl-misc.c: Likewise.
27789 * elf/dl-sysdep.c: Likewise.
27790 * elf/dl-version.c: Likewise.
27791 * elf/rtld.c: Likewise.
27792 * hurd/hurdsock.c: Likewise.
27793 * hurd/lookup-retry.c: Likewise.
27794 * malloc/malloc.c: Likewise.
27795 * malloc/mtrace.c: Likewise.
27796 * nscd/nscd_getgr_r.c: Likewise.
27797 * nscd/nscd_getpw_r.c: Likewise.
27798 * nscd/nscd_getserv_r.c: Likewise.
27799 * posix/getopt_init.c: Likewise.
27800 * posix/wordexp.c: Likewise.
27801 * stdio-common/_itoa.c: Likewise.
27802 * stdio-common/printf_fphex.c: Likewise.
27803 * stdio-common/vfprintf.c: Likewise.
27804 * string/_strerror.c: Likewise.
27805 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27806 * sysdeps/i386/i686/hp-timing.h: Likewise.
27807 * sysdeps/mach/_strerror.c: Likewise.
27808 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27809 * sysdeps/mach/hurd/sethostid.c: Likewise.
27810 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27811 * sysdeps/mach/xpg-strerror.c: Likewise.
27812 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27813 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27814 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27815 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27816 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27817 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27818 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27819 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27820 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27821 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27822 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27823 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27824 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27825 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27826 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27827 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27828 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27829 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27830 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27831 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27832 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27833
27834 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27835
27836 * stdio-common/_itoa.h: Moved to ...
27837 * sysdeps/generic/_itoa.h: Here.
27838
27839 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27840
27841 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27842 instead of "_itoa.h" and "_itowa.h".
27843 * stdio-common/vfprintf.: Likewise.
27844
d1af992d
L
278452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27846
27847 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27848 <bits/wordsize.h>.
27849 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27850 (__signbit): Likwise.
27851 (llrintf): Likwise.
27852 (llrint): Likwise.
27853
114883e0
L
278542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27855
27856 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27857 __WORDSIZE != 64.
27858
c135cc1b
JM
278592012-03-20 Joseph Myers <joseph@codesourcery.com>
27860
27861 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27862 OVERFLOW_EXCEPTION_OK.
27863 * math/libm-test.inc ("Philosophy"): Update comment about
27864 exception testing.
27865 (OVERFLOW_EXCEPTION): Define.
27866 (OVERFLOW_EXCEPTION_OK): Likewise.
27867 (INVALID_EXCEPTION_OK): Renumber.
27868 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27869 (IGNORE_ZERO_INF_SIGN): Likewise.
27870 (test_exceptions): Handle FE_OVERFLOW.
27871 (exp10_test): Expect overflow exceptions.
27872 (exp2_test): Likewise.
27873 (expm1_test): Likewise.
27874 (nextafter_test): Likewise.
27875 (pow_test): Likewise.
27876 (scalbn_test): Likewise.
27877 (scalbln_test): Likewise.
27878
95443d88
L
278792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27880
27881 * sysdeps/x86_64/bits/atomic.h
27882 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27883 64bit integer.
27884 (atomic_exchange_acq): Likewise.
27885 (__arch_exchange_and_add_body): Likewise.
27886 (__arch_add_body): Likewise.
27887 (atomic_add_negative): Likewise.
27888 (atomic_add_zero): Likewise.
27889
490df6c4
L
278902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27891
c2722551 27892 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27893 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27894
5e52b189
L
278952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27896
27897 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27898 Check __x86_64__ instead of __WORDSIZE.
27899
a9879d4c
L
279002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27901
27902 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27903
5df98260
DM
279042012-03-19 David S. Miller <davem@davemloft.net>
27905
e1497744
DM
27906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27907
5df98260
DM
27908 * sysdeps/sparc/fpu/fenv_private.h: New file.
27909 * sysdeps/sparc/fpu/math_private.h: Use it.
27910 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27911 Remove.
27912 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27913 (libc_feholdexcept_setroundl): Remove.
27914 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27915 Remove.
27916 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27917 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27918
b4c35121
L
279192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27920
27921 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27922 int64_t instead of long int.
27923 (INSERT_WORDS64): Likwise.
27924
56965fd7
L
279252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27928 _Unwind_GetCFA return to _Unwind_Ptr first.
27929
83d1aec8
JM
279302012-03-19 Joseph Myers <joseph@codesourcery.com>
27931
1897ad44
JM
27932 [BZ #13629]
27933 * math/s_clog.c: Include <float.h>.
27934 (__clog): Scale large or subnormal inputs.
27935 * math/s_clogf.c: Likewise.
27936 * math/s_clogl.c: Likewise.
27937 * math/s_clog10.c: Include <float.h>.
27938 (M_LOG10_2): Define.
27939 (__clog10): Scale large or subnormal inputs.
27940 * math/s_clog10f.c: Likewise.
27941 * math/s_clog10l.c: Likewise.
27942 * math/libm-test.inc (clog_test): Add more tests.
27943 (clog10_test): Likewise.
27944 * sysdeps/i386/fpu/libm-test-ulps: Update.
27945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27946
7726d6a9
JM
27947 [BZ #11451]
27948 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27949 x and y.
27950 * math/libm-test.inc (atan2_test): Add another test.
27951
83d1aec8
JM
27952 * Makerules (common-objdir-compile): Remove.
27953 * sysdeps/unix/Makefile (config-generated): Do not add
27954 $(unix-generated) to variable.
27955 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27956 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27957 Remove rule.
27958 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27959 Likewise.
27960 [generic bits/local_lim.h] (before-compile): Do not append to
27961 variable.
27962 [generic bits/local_lim.h] (common-generated): Likewise.
27963 [generic sys/param.h] (before-compile): Do not append to variable.
27964 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27965 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27966 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27967 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27968 include.
27969 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27970 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27971 [generic sys/param.h] ($(addprefix
27972 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27973 [generic sys/param.h] (common-generated): Do not append to
27974 variable.
27975 [generic sys/param.h] (sysdep_headers): Likewise.
27976 [generic bits/errno.h] (before-compile): Do not append to
27977 variable.
27978 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27979 rule.
27980 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27981 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27982 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27983 [generic bits/errno.h] (common-generated): Do not append to
27984 variable.
27985 [generic bits/ioctls.h] (before-compile): Do not append to
27986 variable.
27987 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27988 rule.
27989 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27990 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27991 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27992 rule.
27993 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27994 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27995 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27996 [generic bits/ioctls.h] (common-generated): Do not append to
27997 variable.
27998 [generic sys/syscall.h] (syscall.h): Remove variable.
27999 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28000 rule.
28001 [generic sys/syscall.h] (before-compile): Do not append to
28002 variable.
28003 [generic sys/syscall.h] (common-generated): Likewise.
28004 * sysdeps/unix/errnos-tmpl.c: Remove file.
28005 * sysdeps/unix/errnos.awk: Likewise.
28006 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28007 * sysdeps/unix/ioctls.awk: Likewise.
28008 * sysdeps/unix/mk-local_lim.c: Likewise.
28009 * sysdeps/unix/snarf-ioctls: Likewise.
28010
4851a949
RH
280112012-03-19 Richard Henderson <rth@twiddle.net>
28012
bd37f2ee
RH
28013 * sysdeps/i386/fpu/fenv_private.h: New file.
28014 * sysdeps/i386/fpu/math_private.h: Use it.
28015 (math_opt_barrier, math_force_eval): Remove.
28016 (libc_feholdexcept_setround_53bit): Remove.
28017 (libc_feupdateenv_53bit): Remove.
28018 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28019 (math_opt_barrier, math_force_eval): Remove.
28020 (libc_feholdexcept): Remove.
28021 (libc_feholdexcept_setround): Remove.
28022 (libc_fetestexcept, libc_fesetenv): Remove.
28023 (libc_feupdateenv_test): Remove.
28024 (libc_feupdateenv, libc_feholdsetround): Remove.
28025 (libc_feresetround): Remove.
28026
d0adc922
RH
28027 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28028 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28029
0fe0f1f8
RH
28030 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28031 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28032 (libc_feupdateenv_testl): New.
28033 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28034 (libc_feupdateenv_testf): New.
28035 (libc_feupdateenv): Use libc_feupdateenv_test.
28036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28037 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28038
eb92c487
RH
28039 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28040 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28041 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28042 (libc_feresetround_noex): New.
28043 (libc_feresetround_noexf): New.
28044 (libc_feresetround_noexl): New.
28045 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28046 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28047 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28048 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28049 SET_RESTORE_ROUND.
28050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28051 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28052 (__cos): Likewise.
28053 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28054 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28055 SET_RESTORE_ROUND_NOEX.
28056 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28057 SET_RESTORE_ROUND_NOEXF.
28058 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28059 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28060 (libc_feholdsetroundf): New.
28061 (libc_feresetround, libc_feresetroundf): New.
28062
7d2e8012
RH
28063 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28064 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28065 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28066
b4dabbb4
RH
28067 * sysdeps/generic/math_private.h: Include <fenv.h>.
28068 (default_libc_feholdexcept): New.
28069 (default_libc_feholdexcept_setround): New.
28070 (default_libc_fesetenv, default_libc_feupdateenv): New.
28071 (libc_feholdexcept): Only define if undefined.
28072 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28073 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28074 (libc_feholdexcept_setroundl): Likewise.
28075 (libc_feholdexcept_setround_53bit): Likewise.
28076 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28077 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28078 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28079 (libc_feupdateenv_53bit): Likewise.
28080 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28081 (libc_feholdexcept): Convert from macro to inline function.
28082 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28083 (libc_fesetenv, libc_feupdateenv): Likewise.
28084
4851a949
RH
28085 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28086 not previously defined.
28087 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28088 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28089 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28090 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28091 * sysdeps/ieee754/flt-32/math_private.h: New file.
28092 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28093 math_private.h below SET_FLOAT_WORD.
28094 (__isnan, __isinf_ns, __finite): Remove.
28095 (__isnanf, __isinf_nsf, __finitef): Remove.
28096
e79d442e
AS
280972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28098
28099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28100
90b80344
DM
281012012-03-17 David S. Miller <davem@davemloft.net>
28102
28103 [BZ #6471]
28104 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28105 for 2.16.
28106
edc21804
DM
281072012-03-16 David S. Miller <davem@davemloft.net>
28108
77e927af
DM
28109 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28110 warnings.
28111
374976dd
DM
28112 [BZ #6471]
28113 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28114 properly.
28115 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28116 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28117 sysdep_routines when subdir is sysvipc.
28118 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28119 __getshmlba helper.
28120
edc21804
DM
28121 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28122
473c3ef3
L
281232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28124
28125 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28126 [__LP64__].
28127
eb0f39b6
L
281282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28129
28130 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28131 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28132 (__lround): Renamed to ...
28133 (__llround): This. Replace long int with long long int.
28134 Define lround functions as aliases of llround functions.
28135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28136
6b6cd74b
L
281372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28138
28139 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28140 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28141 adresses to uintptr_t. Replace "long int" and "unsigned long
28142 int" with "greg_t" on va_arg.
28143
f1a77b01
L
281442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28145
28146 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28147 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28148
28149 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28150 Move e_machine check before EI_CLASS check. Handle x32
28151 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28152 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28153 SKIP_EM_IA_64 and include
28154 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28155
28156 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28157 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28158 (add_system_dir): New macro.
28159
28160 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28161 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28162
11b90b9f
JM
281632012-03-16 Joseph Myers <joseph@codesourcery.com>
28164
c36e1d23
JM
28165 [BZ #2551]
28166 [BZ #2552]
28167 [BZ #2553]
28168 [BZ #2554]
28169 [BZ #2562]
28170 [BZ #2563]
28171 [BZ #2565]
28172 [BZ #2566]
28173 [BZ #2576]
28174 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28175 (y0): Likewise.
28176 * math/w_j0f.c (j0f): Likewise.
28177 (y0f): Likewise.
28178 * math/w_j0l.c (__j0l): Likewise.
28179 (__y0l): Likewise.
28180 * math/w_j1.c (j1): Likewise.
28181 (y1): Likewise.
28182 * math/w_j1f.c (j1f): Likewise.
28183 (y1f): Likewise.
28184 * math/w_j1l.c (__j1l): Likewise.
28185 (__y1l): Likewise.
28186 * math/w_jn.c (jn): Likewise.
28187 (yn): Likewise.
28188 * math/w_jnf.c (jnf): Likewise.
28189 (ynf): Likewise.
28190 * math/w_jnl.c (__jnl): Likewise.
28191 (__ynl): Likewise.
28192 * math/libm-test.inc (j0_test): Add more tests.
28193 (j1_test): Likewise.
28194 (jn_test): Likewise. Add trailing semicolon to existing test.
28195 (y0_test): Likewise.
28196 (y1_test): Likewise.
28197 * sysdeps/i386/fpu/libm-test-ulps: Update.
28198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28199
11b90b9f
JM
28200 [BZ #13851]
28201 [BZ #13854]
28202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28203 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28204 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28205 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28206 (__tanl): Set errno for infinite argument.
28207 * sysdeps/i386/fpu/mptan.c: Remove.
28208 * sysdeps/i386/fpu/s_tan.S: Likewise.
28209 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28210 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28211 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28212 * math/libm-test.inc (tan_test): Add more tests and enable more
28213 tests for double and long double.
28214 * sysdeps/i386/fpu/libm-test-ulps: Update.
28215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28216
6a1bd2a1
JK
282172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28218
28219 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28220 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28221
10a803e0
RM
282222012-03-16 Roland McGrath <roland@hack.frob.com>
28223
28224 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28225 * configure.in: Use it for both main tree and add-ons.
28226 * configure: Regenerated.
28227
f196c7f7
L
282282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28229
28230 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28231
8848d99d
JM
282322012-03-16 Joseph Myers <joseph@codesourcery.com>
28233
96cbe7f4
JM
28234 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28235 in comment.
28236
8848d99d
JM
28237 [BZ #13851]
28238 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28239 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28240 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28241 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28242 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28243 infinite argument.
28244 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28246 != 0 for prec == 2.
28247 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28248 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28249 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28250 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28251 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28252 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28253 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28254 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28255 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28256 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28257 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28258 * math/libm-test.inc (cos_test): Add more tests and enable more
28259 tests for long double.
28260 (sin_test): Likewise.
28261 (sincos_test): Likewise.
28262 * sysdeps/i386/fpu/libm-test-ulps: Update.
28263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28264
dd7f4703
DM
282652012-03-16 David S. Miller <davem@davemloft.net>
28266
28267 * sysdeps/sparc/fpu/math_private.h: New file.
28268
006f1daa
DM
282692012-03-15 David S. Miller <davem@davemloft.net>
28270
c0c83bc8
DM
28271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28272 file.
e6a62e18 28273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28275 file.
e6a62e18
DM
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28282 sysdep routines.
28283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28284
88cb87d9
DM
28285 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28286 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28287
006f1daa 28288 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28290 sparc-ifunc.h
006f1daa 28291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28293 Likewise.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28295 Likewise.
006f1daa
DM
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28300 Likewise.
006f1daa
DM
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28306 Likewise.
28307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28308 Likewise.
006f1daa
DM
28309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28316 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28333
11e0098e
AS
283342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28335
28336 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28337 scaling.
28338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28339
e85b09d0
AJ
283402012-03-15 Andreas Jaeger <aj@suse.de>
28341
28342 [BZ #13852]
28343 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28344 ieee754/flt-32 implementation for sin, cos and sincos.
28345 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28346 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28347 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28348 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28349 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28350 ieee754/flt-32 implementation for tan.
28351
28352 * math/libm-test.inc (cos_test): Enable some large input tests for
28353 float as well
28354 (sin_test): Likewise.
28355 (sincos_test): Likewise.
28356 (tan_test): Add tests for large input.
28357
28358 * sysdeps/i386/fpu/libm-test-ulps: Update.
28359
81c64153
AJ
283602012-03-15 Andreas Jaeger <aj@suse.de>
28361
28362 [BZ #13658]
28363 * math/libm-test.inc (cos_test): Add more test cases.
28364 (sin_test): Likewise.
28365 (sincos_test): Likewise.
28366
7bbfa5c6
AJ
283672012-03-15 Andreas Jaeger <aj@suse.de>
28368
28369 [BZ #13837]
28370 * math/libm-test.inc (cos_test): Add a test case for large input
28371 value.
28372 (sin_test): Likewise.
28373 (sincos_test): Likewise.
28374
283752012-03-15 Andreas Jaeger <aj@suse.de>,
28376 Joseph Myers <joseph@codesourcery.com>
28377
28378 [BZ #13658]
0671f479 28379 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28380 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28381 * sysdeps/i386/fpu/branred.c: Likewise.
28382 * sysdeps/i386/fpu/dosincos.c: Likewise.
28383 * sysdeps/i386/fpu/mpa.c: Likewise.
28384 * sysdeps/i386/fpu/s_cos.S: Likewise.
28385 * sysdeps/i386/fpu/s_sin.S: Likewise.
28386 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28387 * sysdeps/i386/fpu/sincos32.c: Likewise.
28388
28389 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28390 Define.
28391 (libc_feupdateenv_53bit): Define.
28392 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28393 Define.
28394 (libc_feupdateenv_53bit): Define.
28395
28396 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28397 53 bit (without extend i386 double precision).
28398
28399 * math/libm-test.inc (sincos_test): Add tests for large input.
28400 (sin): Likewise.
28401 (cos): Likewise.
28402
28403 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28404
9cad04ea
AS
284052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28406
28407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28408
f7062b9a
DM
284092012-03-15 David S. Miller <davem@davemloft.net>
28410
28411 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28412 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28413 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28414 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28427 file.
f7062b9a 28428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28430 file.
f7062b9a 28431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28433 file.
f7062b9a 28434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28436 file.
f7062b9a
DM
28437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28439 fmin/fmax sysdep routines.
28440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28441
7bd951ff
DM
284422012-03-14 David S. Miller <davem@davemloft.net>
28443
559398ab
DM
28444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28465 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28466 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28471 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28473 routines.
28474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28475 file.
559398ab 28476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28478 file.
559398ab 28479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28481 file.
559398ab 28482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28484 file.
559398ab 28485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28487 file.
559398ab 28488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28490 file.
28491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28492 file.
28493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28494 file.
28495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28496 file.
28497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28498 New file.
28499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28500 file.
28501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28502 file.
559398ab 28503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28505 file.
559398ab 28506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28508 file.
559398ab 28509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28511 file.
559398ab 28512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28514 VIS3 routines.
559398ab
DM
28515
28516 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28517 New file.
28518
5a1c1e32
DM
28519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28520
eae47a36
DM
28521 * sysdeps/sparc/configure.in: New file.
28522 * sysdeps/sparc/configure: Generate.
28523 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28524 * configure: Regenerate.
28525 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28526 * config.make.in (have-as-vis3): New.
28527 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28528 available use -Av9d instead of -Av9a.
28529 * sysdeps/sparc/sparc64/Makefile: Likewise.
28530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28532 New file.
28533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28534 file.
28535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28536 New file.
28537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28538 file.
eae47a36
DM
28539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28542 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28544
c0c83bc8
DM
28545 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28546 fzeros/fnegs to load 0x80000000 into a float register instead of
28547 using the stack.
7bd951ff
DM
28548 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28549
bd951ccb
JM
285502012-03-14 Joseph Myers <joseph@codesourcery.com>
28551
28552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28553 bits/syscall.h.
28554 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28555 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28556 ($(inst_includedir)/bits/syscall.h): Remove rule.
28557 ($(objpfx)bits/syscall.d): Include instead of
28558 $(objpfx)syscall-list.d.
28559 (generated): Change syscall-list.h and syscall-list.d to
28560 bits/syscall.h and bits/syscall.d.
28561
bb4e6db2
RM
285622012-03-14 Roland McGrath <roland@hack.frob.com>
28563
28564 [BZ #13846]
28565 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28566
aa4a2ae1
JM
285672012-03-14 Joseph Myers <joseph@codesourcery.com>
28568
e456826d
JM
28569 [BZ #13841]
28570 * math/s_csqrt.c: Include <float.h>.
28571 (__csqrt): Scale large or subnormal inputs.
28572 * math/s_csqrtf.c: Likewise.
28573 * math/s_csqrtl.c: Likewise.
28574 * math/libm-test.inc (csqrt_test): Add more tests.
28575 * sysdeps/i386/fpu/libm-test-ulps: Update.
28576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28577
aa4a2ae1
JM
28578 [BZ #13840]
28579 * math/libm-test.inc (hypot_test): Add more tests.
28580
7c10fd35
DM
285812012-03-13 David S. Miller <davem@davemloft.net>
28582
28583 [BZ #13840]
28584 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28585 double-precision for the calculation instead of scaling.
28586
f453b98b
JM
285872012-03-13 Joseph Myers <joseph@codesourcery.com>
28588
28589 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28590 manipulate bits before adding and subtracting TWO52[sx].
28591 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28592 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28593 Likewise.
28594 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28595
09a3453f
DM
285962012-03-13 David S. Miller <davem@davemloft.net>
28597
8e59da90
DM
28598 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28599 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28601 rtld-global-offsets.h
28602 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28603
2a8ab7f2
DM
28604 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28605 large parameters.
28606
10f62770
DM
28607 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28608
5f0bdb18
DM
28609 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28610 'err' in the ifdef scope in which it is actually used.
28611
09a3453f
DM
28612 * nss/nss_db/db-init.c: Include string.h
28613
b4b2eb5e
DM
286142012-03-12 David S. Miller <davem@davemloft.net>
28615
98bb2f1c
DM
28616 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28617 masking out of the most significant byte of random value used.
28618 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28619 Fix coding style in previous change.
28620
b4b2eb5e
DM
28621 * sysdeps/unix/sysv/linux/kernel-features.h
28622 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28623 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28624 expression.
28625 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28626 later.
28627
6e226b09
DM
286282012-03-11 David S. Miller <davem@davemloft.net>
28629
a1bcbd40
DM
28630 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28631 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28632 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28633 for 'resultvar' otherwise things get truncated on 64-bit.
28634
cb9d6174
DM
28635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28636 Fix masking out of the most significant byte of random value used.
28637
6e226b09
DM
28638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28639
058c132d
AS
286402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28641
28642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28643
2d2cd515
DM
286442012-03-09 David S. Miller <davem@davemloft.net>
28645
28646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28647 variables with appropriate CPP guards.
28648 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28649 frame pointer, not the stack pointer. Correct layout comments. Fix test
28650 on resulting framesize and the management of the outregs buffer for pltexit.
28651 Preserve floating point return values across _dl_call_pltexit call.
28652 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28653 framesize and the management of the outregs buffer for pltexit.
28654 Preserve floating point return values across _dl_call_pltexit
28655 call.
28656 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28657 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28658 (print_exit): Fix format string for return register value.
28659
9a07f9d0
JM
286602012-03-10 Joseph Myers <joseph@codesourcery.com>
28661
28662 * sunrpc/Makefile (others): Add rpcgen.
28663 ($(objpfx)rpcgen): Remove special build rule and dependency on
28664 libc.
28665 * sunrpc/rpcgen.c: New file.
28666
547b5e30
PE
286672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28668
c524201a
PE
28669 [BZ #13673]
28670 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28671 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28672 * sysdeps/i386/crti.S: Likewise.
28673 * sysdeps/i386/crtn.S: Likewise.
28674 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28675 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28676 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28677 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28678 * sysdeps/sh/crti.S: Likewise.
28679 * sysdeps/sh/crtn.S: Likewise.
28680 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28681
7b6235f2
PE
28682 [BZ #13673]
28683 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28684 with URL.
28685 * locale/programs/locfile-kw.gperf: Likewise.
28686 * locale/programs/charmap-kw.h: Regenerated.
28687 * locale/programs/locfile-kw.h: Likewise.
28688
547b5e30
PE
28689 [BZ #13673]
28690 * intl/plural.y: Replace FSF snail mail address with URL.
28691 * intl/plural.c: Regenerated.
28692
5f0a5dae
RH
286932012-03-09 Richard Henderson <rth@twiddle.net>
28694
28695 * include/math_private.h: Remove file.
28696 * math/math_private.h: Move file ...
28697 * sysdeps/generic/math_private.h: ... here.
28698
b8c03620
RH
28699 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28700 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28701 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28702
4e234f5d 28703 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28704 and <math_private.h>.
28705 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28706 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28707 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28708 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28709 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28710 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28711 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28713 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28714 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28716 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28717 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28718 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28719 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28720 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28723 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28724 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28726 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28727 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28729 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28730 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28731 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28732 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28735 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28737 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28738 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28739 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28740 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28741 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28742 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28743 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28744 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28745 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28746 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28747 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28748 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28749 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28750 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28751 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28752 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28754 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28755 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28756 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28757 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28758 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28765 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28767 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28768 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28769 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28770 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28771 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28774 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28781 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28787 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28788 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28793 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28794 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28795 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28796 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28797 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28798 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28799 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28800 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28801 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28802 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28803 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28804 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28805 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28806 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28807 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28808 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28809 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28810 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28811 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28812 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28813 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28815 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28816 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28817 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28818 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28819 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28820 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28821 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28822 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28823 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28824 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28825 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28826 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28827 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28828 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28829 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28830 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28831 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28832 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28833 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28834 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28835 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28836 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28837 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28838 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28839 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28840 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28841 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28842 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28843 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28844 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28846 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28847 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28848 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28849 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28850 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28851 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28852 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28853 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28854 * sysdeps/ieee754/k_standard.c: Likewise.
28855 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28859 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28864 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28867 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28868 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28871 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28872 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28873 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28876 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28877 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28878 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28879 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28880 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28881 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28882 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28884 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28886 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28887 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28888 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28889 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28890 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28891 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28892 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28893 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28894 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28896 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28897 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28899 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28900 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28901 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28904 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28906 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28907 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28908 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28909 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28910 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28911 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28912 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28914 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28915 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28916 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28920 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28922 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28923 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28970 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28974 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28975 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28977 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28982 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28987 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28996 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29003 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29004 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29005 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29015 * sysdeps/ieee754/s_lib_version.c: Likewise.
29016 * sysdeps/ieee754/s_matherr.c: Likewise.
29017 * sysdeps/ieee754/s_signgam.c: Likewise.
29018 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29020 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29021 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29022 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29023 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29024 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29025 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29026 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29027 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29028 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29029 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29030 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29031 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29032 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29033 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29034 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29035 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29036 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29037 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29038 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29039
1991fa03
JM
290402012-03-09 Joseph Myers <joseph@codesourcery.com>
29041
29042 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29043 * sunrpc/rpc_main.c: Likewise.
29044 * sunrpc/rpc_svcout.c: Likewise.
29045
60d6f5a6
DM
290462012-03-09 David S. Miller <davem@davemloft.net>
29047
29048 * include/math_private.h: New file.
29049
4962050e
JM
290502012-03-09 Joseph Myers <joseph@codesourcery.com>
29051
02a6f887
JM
29052 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29053 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29054 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29055 from <bits/socket_type.h>.
29056 (enum __socket_type): Don't define here.
29057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29059 bits/socket_type.h.
29060
c6e013c1
JM
29061 [BZ #13566]
29062 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29063 checking __USE_GNU.
29064
4962050e
JM
29065 * Makerules ($(inst_includedir)/%.h): New rule.
29066 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29067 (install-others): Remove variable setting.
29068 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29069
38842f45
RH
290702012-03-08 Richard Henderson <rth@twiddle.net>
29071
67bb6da6
RH
29072 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29073 from macro to inline function; merge with the
29074 !__LIBC_INTERNAL_MATH_INLINES version.
29075 (__ieee754_sqrtf): Likewise.
29076
15194b4b
RH
29077 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29078 to inline function.
29079 (__rintf, __floor, __floorf): Likewise.
29080
64e21ede
RH
29081 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29082 macro to inline function.
29083 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29084
38842f45
RH
29085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29086 not <math/math_private.h>.
29087
c64bf5fe
DM
290882012-03-08 David S. Miller <davem@davemloft.net>
29089
29090 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29091 copyright year.
29092 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29093
82d86f28
TS
290942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29095
29096 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29097 normalization.
29098 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29099 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29100
aea5d727
UD
291012012-03-08 Ulrich Drepper <drepper@gmail.com>
29102
29103 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29104 be defined individually, they must be defined as a block. Define
29105 S for printing a string instead of hidint the different by using a
29106 macro for adding the 'l'.
29107 * stdio-common/tst-fphex-wide.c: Adjust.
29108
70bca0a3
MP
291092012-03-07 Marek Polacek <polacek@redhat.com>
29110
29111 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29112
65b81130
MP
291132012-03-08 Marek Polacek <polacek@redhat.com>
29114
29115 [BZ #13806]
29116 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29117 * stdio-common/tst-fphex.c: Define a few macros to make the
29118 test reusable. Use them.
29119 * stdio-common/tst-fphex-wide.c: New file.
29120
07037eeb
JM
291212012-03-08 Joseph Myers <joseph@codesourcery.com>
29122
a7a93d50
JM
29123 [BZ #6911]
29124 * manual/macros.texi (gnusystems): New macro.
29125 (nongnusystems): Likewise.
29126 (gnulinuxhurdsystems): Likewise.
29127 (gnuhurdsystems): Likewise..
29128 (gnulinuxsystems): Likewise.
29129 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29130 variants of the GNU system, not "GNU system".
29131 * manual/conf.texi: Likewise.
29132 * manual/errno.texi: Likewise. Update example of errno macro
29133 expansion.
29134 * manual/filesys.texi: Likewise.
29135 (getumask): Document as specific to GNU/Hurd.
29136 * manual/install.texi: Likewise. Reword some references to
29137 GNU/Linux.
29138 * manual/intro.texi: Likewise.
29139 * manual/io.texi: Likewise.
29140 (File Name Portability): Detail which constraints are inapplicable
29141 to all GNU systems and which are only inapplicable to GNU/Hurd.
29142 * manual/job.texi: Likewise.
29143 * manual/llio.texi: Likewise.
29144 (O_NOCTTY): Document as present on GNU/Linux.
29145 * manual/maint.texi: Likewise.
29146 * manual/memory.texi: Likewise.
29147 * manual/pattern.texi: Likewise.
29148 * manual/pipe.texi: Likewise.
29149 * manual/process.texi: Likewise.
29150 * manual/resource.texi: Likewise.
29151 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29152 child on GNU/Hurd.
29153 * manual/setjmp.texi: Likewise.
29154 * manual/signal.texi: Likewise.
29155 * manual/startup.texi: Likewise.
29156 * manual/stdio.texi: Likewise.
29157 * manual/terminal.texi: Likewise.
29158 (ONLCR): Document as POSIX.
29159 (OXTABS): Document availability on GNU/Linux as XTABS.
29160 (ONOEOT): Document availability separately from other bits.
29161 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29162 * manual/time.texi: Likewise.
29163 * manual/users.texi: Likewise.
29164 * INSTALL: Regenerated.
29165 * sysdeps/gnu/errlist.c: Regenerated.
29166
07037eeb
JM
29167 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29168 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29169 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29170 puts.
29171 * configure: Regenerated.
29172
d1d3431a
JM
291732012-03-07 Joseph Myers <joseph@codesourcery.com>
29174
af6a1e37
JM
29175 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29176 default includes instead of AC_HEADER_CHECK.
29177 * sysdeps/i386/configure: Regenerated.
29178
d1d3431a
JM
29179 [BZ #10716]
29180 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29181 * math/s_cacoshf.c (__cacoshf): Likewise.
29182 * math/s_cacoshl.c (__cacoshl): Likewise.
29183 * math/s_casinh.c (__casinh): Set signs of result from argument.
29184 * math/s_casinhf.c (__casinhf): Likewise.
29185 * math/s_casinhl.c (__casinhl): Likewise.
29186 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29187 (casinh_test): Add more tests.
29188 * sysdeps/i386/fpu/libm-test-ulps: Update.
29189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29190
482ff4da
UD
291912012-03-07 Ulrich Drepper <drepper@gmail.com>
29192
872fda05
UD
29193 * po/zh_TW.po: Update from translation team.
29194
a4300c7a
UD
29195 * login/Makefile (distribute): Remove variable.
29196 * catgets/Makefile: Likewise.
29197 * mach/Makefile: Likewise.
29198 * malloc/Makefile: Likewise.
29199 * misc/Makefile: Likewise.
29200 * iconv/Makefile: Likewise.
29201 * nscd/Makefile: Likewise.
29202 * hurd/Makefile: Likewise.
29203 * manual/Makefile: Likewise.
29204 * locale/Makefile: Likewise.
29205 * intl/Makefile: Likewise.
29206 * conform/Makefile: Likewise.
29207 * nss/Makefile: Likewise.
29208 * time/Makefile: Likewise.
29209 * soft-fp/Makefile: Likewise.
29210 * dirent/Makefile: Likewise.
29211 * gmon/Makefile: Likewise.
29212 * po/Makefile: Likewise.
29213 * rt/Makefile: Likewise.
29214 * socket/Makefile: Likewise.
29215 * math/Makefile: Likewise.
29216 * signal/Makefile: Likewise.
29217 * debug/Makefile: Likewise.
29218 * elf/Makefile: Likewise.
29219 * timezone/Makefile: Likewise.
29220 * stdlib/Makefile: Likewise.
29221 * iconvdata/Makefile: Likewise.
29222 * sunrpc/Makefile: Likewise.
29223 * io/Makefile: Likewise.
29224 * argp/Makefile: Likewise.
29225 * inet/Makefile: Likewise.
29226 * hesiod/Makefile: Likewise.
29227 * grp/Makefile: Likewise.
29228 * csu/Makefile: Likewise.
29229 * wctype/Makefile: Likewise.
29230 * crypt/Makefile: Likewise.
29231 * libio/Makefile: Likewise.
29232 * string/Makefile: Likewise.
29233 * nis/Makefile: Likewise.
29234 * resolv/Makefile: Likewise.
29235 * stdio-common/Makefile: Likewise.
29236 * wcsmbs/Makefile: Likewise.
29237 * dlfcn/Makefile: Likewise.
29238 * posix/Makefile: Likewise.
29239
3b7c4e74 29240 [BZ #6959]
482ff4da
UD
29241 * timezone/Makefile: Don't install timezone files, just the programs
29242 and scripts.
29243
f72ed77d
UD
292442012-03-06 Ulrich Drepper <drepper@gmail.com>
29245
a000466f
UD
29246 * nss/databases.def: Add missing gshadow entry.
29247
f72ed77d
UD
29248 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29249
a53b7a4e
MP
292502012-03-06 Marek Polacek <polacek@redhat.com>
29251
29252 [BZ #13726]
29253 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29254 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29255 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29256 * stdio-common/tst-long-dbl-fphex.c: New file.
29257
e9258400
DM
292582012-03-06 David S. Miller <davem@davemloft.net>
29259
29260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29261 (set_obp_int): New function.
29262 (get_obp_int): New function.
29263 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29265 Avoid unused variable warnings on 'val' and use builtin_expect.
29266 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29267 __builtin_expect.
e9258400
DM
29268 (INLINE_CLONE_SYSCALL): Likewise.
29269
3bd2c723
DM
292702012-03-05 David S. Miller <davem@davemloft.net>
29271
29272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29273
bbb78d03
AS
292742012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29275
884c5db4
AS
29276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29277
bbb78d03
AS
29278 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29279 only for |x| >= 40.
29280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29281
1c9f702a 292822012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29283
29284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29285 Replace gettimeofday with __vdso_gettimeofday.
29286
7be16f82
RM
29287 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29288 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29289 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29290
29291 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29292 time with __vdso_time.
29293
ed58a00f
JM
292942012-03-05 Joseph Myers <joseph@codesourcery.com>
29295
29296 * manual/lang.texi (size_t): Note types to which size_t may be
29297 equivalent with the GNU C Library, but do not describe when
29298 differences between them are significant.
29299
30ee4ced
AJ
293002012-03-05 Andreas Jaeger <aj@suse.de>
29301
29302 * sysdeps/i386/fpu/libm-test-ulps: Update.
29303
b7cd39e8
JM
293042012-03-05 Joseph Myers <joseph@codesourcery.com>
29305
29306 [BZ #3976]
29307 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29308 (__ieee754_pow): Save and restore rounding mode and use
29309 round-to-nearest for main computations.
29310 * math/libm-test.inc (pow_test_tonearest): New function.
29311 (pow_test_towardzero): Likewise.
29312 (pow_test_downward): Likewise.
29313 (pow_test_upward): Likewise.
29314 (main): Call the new functions.
29315 * sysdeps/i386/fpu/libm-test-ulps: Update.
29316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29317
29318 [BZ #3976]
29319 * math/libm-test.inc (cosh_test_tonearest): New function.
29320 (cosh_test_towardzero): Likewise.
29321 (cosh_test_downward): Likewise.
29322 (cosh_test_upward): Likewise.
29323 (sinh_test_tonearest): Likewise.
29324 (sinh_test_towardzero): Likewise.
29325 (sinh_test_downward): Likewise.
29326 (sinh_test_upward): Likewise.
29327 (main): Call the new functions.
29328 * sysdeps/i386/fpu/libm-test-ulps: Update.
29329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29330
6c6a98c9
TV
293312012-03-05 Tom de Vries <tom@codesourcery.com>
29332
29333 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29334 default stack guard is set in last bytes.
29335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29336
21bb2d2e 293372012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29338
21bb2d2e 29339 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29340
21bb2d2e
AJ
29341 [BZ #13656]
29342 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29343 possibly allocate from heap instead of stack.
29344 * stdio-common/bug-vfprintf-nargs.c: New file.
29345 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29346
c6922934
AS
293472012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29348
29349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29350
bc957d53
MP
293512012-03-03 Marek Polacek <polacek@redhat.com>
29352
29353 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29354 * math/math_private.h: Likewise.
29355 * stdlib/tst-strtod.c: Likewise.
29356 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29357 * sysdeps/x86_64/bits/atomic.h: Likewise.
29358
6358490d
DM
293592012-03-02 David S. Miller <davem@davemloft.net>
29360
29361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29365 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29366 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29367 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29368 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29369
01ae168d
RM
293702012-03-02 Roland McGrath <roland@hack.frob.com>
29371
d9a17c07
RM
29372 [BZ #13792]
29373 * manual/examples/README: New file, says the example source files
29374 can be used under GPL>=2.
29375 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29376 line containing just "*/".
29377 * manual/examples/add.c: Add copyright header (GPL>=2).
29378 * manual/examples/argp-ex1.c: Likewise.
29379 * manual/examples/argp-ex2.c: Likewise.
29380 * manual/examples/argp-ex3.c: Likewise.
29381 * manual/examples/argp-ex4.c: Likewise.
29382 * manual/examples/atexit.c: Likewise.
29383 * manual/examples/db.c: Likewise.
29384 * manual/examples/dir.c: Likewise.
29385 * manual/examples/dir2.c: Likewise.
29386 * manual/examples/execinfo.c: Likewise.
29387 * manual/examples/filecli.c: Likewise.
29388 * manual/examples/filesrv.c: Likewise.
29389 * manual/examples/fmtmsgexpl.c: Likewise.
29390 * manual/examples/genpass.c: Likewise.
29391 * manual/examples/inetcli.c: Likewise.
29392 * manual/examples/inetsrv.c: Likewise.
29393 * manual/examples/isockad.c: Likewise.
29394 * manual/examples/longopt.c: Likewise.
29395 * manual/examples/memopen.c: Likewise.
29396 * manual/examples/memstrm.c: Likewise.
29397 * manual/examples/mkfsock.c: Likewise.
29398 * manual/examples/mkisock.c: Likewise.
29399 * manual/examples/mygetpass.c: Likewise.
29400 * manual/examples/pipe.c: Likewise.
29401 * manual/examples/popen.c: Likewise.
29402 * manual/examples/rprintf.c: Likewise.
29403 * manual/examples/search.c: Likewise.
29404 * manual/examples/select.c: Likewise.
29405 * manual/examples/setjmp.c: Likewise.
29406 * manual/examples/sigh1.c: Likewise.
29407 * manual/examples/sigusr.c: Likewise.
29408 * manual/examples/stpcpy.c: Likewise.
29409 * manual/examples/strdupa.c: Likewise.
29410 * manual/examples/strftim.c: Likewise.
29411 * manual/examples/strncat.c: Likewise.
29412 * manual/examples/subopt.c: Likewise.
29413 * manual/examples/swapcontext.c: Likewise.
29414 * manual/examples/termios.c: Likewise.
29415 * manual/examples/testopt.c: Likewise.
29416 * manual/examples/testpass.c: Likewise.
29417 * manual/examples/timeval_subtract.c: Likewise.
29418
01ae168d
RM
29419 [BZ #13792]
29420 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29421 function to ...
29422 * manual/timeval_subtract.c.texi: ... here, new file.
29423
49efa33d
DM
294242012-03-02 David S. Miller <davem@davemloft.net>
29425
29426 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29427
28afd92d
JM
294282012-03-02 Joseph Myers <joseph@codesourcery.com>
29429
804360ed
JM
29430 [BZ #3976]
29431 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29432 (__sin): Save and restore rounding mode and use round-to-nearest
29433 for all computations.
29434 (__cos): Save and restore rounding mode and use round-to-nearest
29435 for all computations.
29436 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29437 <fenv.h>.
29438 (tan): Save and restore rounding mode and use round-to-nearest for
29439 all computations.
29440 * math/libm-test.inc (cos_test_tonearest): New function.
29441 (cos_test_towardzero): Likewise.
29442 (cos_test_downward): Likewise.
29443 (cos_test_upward): Likewise.
29444 (sin_test_tonearest): Likewise.
29445 (sin_test_towardzero): Likewise.
29446 (sin_test_downward): Likewise.
29447 (sin_test_upward): Likewise.
29448 (tan_test_tonearest): Likewise.
29449 (tan_test_towardzero): Likewise.
29450 (tan_test_downward): Likewise.
29451 (tan_test_upward): Likewise.
29452 (main): Call the new functions.
29453 * sysdeps/i386/fpu/libm-test-ulps: Update.
29454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29455
a6d06d7b
JM
29456 [BZ #10135]
29457 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29458 small n, then large n, before computing and testing k+n.
29459 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29461 Likewise.
29462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29463 Likewise.
29464 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29465 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29466 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29467 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29468 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29469 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29470 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29471 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29472 * math/libm-test.inc (scalbn_test): Add more tests.
29473 (scalbln_test): Likewise.
29474
07e12bb3
JM
29475 * manual/filesys.texi (mode_t): Describe constraints on size and
29476 signedness, not exact equivalence to a particular type.
29477 (ino_t): Likewise.
29478 (ino64_t): Likewise.
29479 (dev_t): Likewise.
29480 (nlink_t): Likewise.
29481 (blkcnt_t): Likewise.
29482 (blkcnt64_t): Likewise.
29483 * manual/llio.texi (off_t): Likewise.
29484
28afd92d
JM
29485 [BZ #3976]
29486 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29487 (__ieee754_exp): Save and restore rounding mode and use
29488 round-to-nearest for all computations.
29489 * math/libm-test.inc (exp_test_tonearest): New function.
29490 (exp_test_towardzero): Likewise.
29491 (exp_test_downward): Likewise.
29492 (exp_test_upward): Likewise.
29493 (main): Call the new functions.
29494 * sysdeps/i386/fpu/libm-test-ulps: Update.
29495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29496
b1eeb65d
CD
294972012-03-01 Chris Demetriou <cgd@google.com>
29498
29499 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29500 have predictable order.
29501
53362a4b
DM
295022012-03-01 David S. Miller <davem@davemloft.net>
29503
3c969083
DM
29504 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29505
759707de
DM
29506 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29507 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29508 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29509 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29510
dfdb8ff2
DM
29511 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29512 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29513 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29515 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29516 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29517 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29518 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29519 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29520
ead89f96
DM
29521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29522
7f66bd07
DM
29523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29524 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29525 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29526
53362a4b
DM
29527 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29528 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29529 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29530 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29531 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29532 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29533 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29534 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29535 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29536 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29537 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29538 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29540 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29541 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29543 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29544 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29545 * sysdeps/sparc/elf/configure: Regenerated.
29546
7b1902cb
JM
295472012-03-01 Joseph Myers <joseph@codesourcery.com>
29548
bec039bc
JM
29549 * configure.in (AS, LD): Require binutils 2.20 or later.
29550 * configure: Regenerated.
29551 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29552 as required minimum version.
29553 * INSTALL: Regenerated.
29554
7b1902cb
JM
29555 [BZ #2541]
29556 [BZ #4108]
29557 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29558 before squaring exponent.
29559 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29560 bottom long double and 27 bits of top long double before squaring
29561 exponent.
29562 * math/libm-test.inc (erfc_test): Add more tests.
29563 * sysdeps/i386/fpu/libm-test-ulps: Update.
29564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29566
f775c276
KT
295672012-03-01 Kai Tietz <ktietz@redhat.com>
29568
29569 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29570 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29571 containing bit-fields.
29572 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29573 * soft-fp/single.h (_FP_UNION_S): Likewise.
29574 * soft-fp/double.h (_FP_UNION_D): Likewise.
29575
5b8a4d4a
JM
295762012-02-29 Joseph Myers <joseph@codesourcery.com>
29577
0bab47b6
JM
29578 [BZ #13786]
29579 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29580 not include ../strcmp.S.
29581 [USE_AS_STRNCASECMP_L]: Likewise.
29582 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29583 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29584 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29585 (__strncasecmp_l_ia32): Define as alias to
29586 __strncasecmp_l_nonascii.
29587
0fcad3e2
JM
29588 [BZ #5794]
29589 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29590 * sysdeps/i386/fpu/libm-test-ulps: Update.
29591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29592
5b8a4d4a
JM
29593 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29595
8fdceb2e
JL
295962012-02-29 Jeff Law <law@redhat.com>
29597
29598 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29599 out of bounds read.
29600
1f393a11
MP
296012012-02-29 Marek Polacek <polacek@redhat.com>
29602
29603 [BZ #13706]
29604 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29605 * elf/Makefile: Add rules to run tst-unused-dep.out.
29606
8847f037
DM
296072012-02-28 David S. Miller <davem@davemloft.net>
29608
29609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29613 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29614 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29615
169d7f11
JM
296162012-02-29 Joseph Myers <joseph@codesourcery.com>
29617
29618 * math/libm-test.inc (llround_test): Move one test from
29619 lround_test. Use TEST_f_L in moved test.
29620 (lround_test): Move misplaced test to llround_test. Add testcase
29621 from bug 2561.
29622
39adf059
UD
296232012-02-28 Ulrich Drepper <drepper@gmail.com>
29624
29625 * sysdeps/x86_64/fpu/e_expf.S: New file.
29626 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29627
71b5d1c5
SB
296282012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29629
29630 [BZ #13637]
29631 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29632 of remain_len that may cause incomplete multi-byte character and
29633 false match.
29634 * posix/bug-regex33.c: New file.
29635 * posix/Makefile (tests): Add bug-regex33.
29636
1f77f049
JM
296372012-02-28 Joseph Myers <joseph@codesourcery.com>
29638
29639 * manual/macros.texi: New file.
29640 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29641 * manual/libc.texinfo: Include macros.texi.
29642 * manual/creatute.texi: Likewise.
29643 * manual/install.texi: Likewise.
29644 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29645 @glibcadj{} in references to the GNU C Library.
29646 * manual/charset.texi: Likewise.
29647 * manual/conf.texi: Likewise.
29648 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29649 when not using those macros.
29650 * manual/creature.texi: Likewise.
29651 * manual/crypt.texi: Likewise.
29652 * manual/errno.texi: Likewise.
29653 * manual/filesys.texi: Likewise.
29654 * manual/header.texi: Likewise.
29655 * manual/install.texi: Likewise.
29656 * manual/intro.texi: Likewise.
29657 * manual/io.texi: Likewise.
29658 * manual/job.texi: Likewise.
29659 * manual/lang.texi: Likewise.
29660 * manual/libc.texiinfo: Likewise.
29661 * manual/llio.texi: Likewise.
29662 * manual/locale.texi: Likewise.
29663 * manual/maint.texi: Likewise.
29664 * manual/math.texi: Likewise.
29665 * manual/memory.texi: Likewise.
29666 * manual/message.texi: Likewise.
29667 * manual/nss.texi: Likewise.
29668 * manual/pattern.texi: Likewise.
29669 * manual/process.texi: Likewise.
29670 * manual/resource.texi: Likewise.
29671 * manual/search.texi: Likewise.
29672 * manual/setjmp.texi: Likewise.
29673 * manual/signal.texi: Likewise.
29674 * manual/socket.texi: Likewise.
29675 * manual/startup.texi: Likewise.
29676 * manual/stdio.texi: Likewise.
29677 * manual/string.texi: Likewise.
29678 * manual/sysinfo.texi: Likewise.
29679 * manual/syslog.texi: Likewise.
29680 * manual/terminal.texi: Likewise.
29681 * manual/time.texi: Likewise.
29682 * manual/users.texi: Likewise.
29683 * INSTALL: Regenerated.
29684 * NOTES: Regenerated.
d40c5d54 29685 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29686
450bf206
AS
296872012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29688
29689 * include/dirent.h: Include <dirstream.h> before
29690 <dirent/dirent.h>.
29691
741a235b
DM
296922012-02-28 David S. Miller <davem@davemloft.net>
29693
29694 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29695 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29696 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29697 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29698
d6b5aa58
DM
296992012-02-27 David S. Miller <davem@davemloft.net>
29700
1aff59a3
DM
29701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29703 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29704 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29705
d6b5aa58
DM
29706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29707 frame pointer instead of stack pointer relative arg slot.
29708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29709 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29710 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29711
433f48bf
CD
297122012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29713
29714 [BZ #3992]
29715 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29716
d674b76d
DM
297172012-02-27 David S. Miller <davem@davemloft.net>
29718
29719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29723 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29724 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29725 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29726 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29727
0e7727f7
JM
297282012-02-27 Joseph Myers <joseph@codesourcery.com>
29729
29730 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29731 later. Allow versions 5-9.
43be4ca2 29732 * configure: Regenerated.
0e7727f7
JM
29733 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29734 required minimum version and 4.6 as recommended version. Do not
29735 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29736 * INSTALL: Regenerated.
0e7727f7 29737
a78bc654
DM
297382012-02-27 David S. Miller <davem@davemloft.net>
29739
428d5830
DM
29740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29744 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29745 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29746 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29747 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29748
a78bc654
DM
29749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29750 manipulate bits before adding and subtracting TWO112[sx].
29751 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29752
4579f81c
RM
297532012-02-27 Roland McGrath <roland@hack.frob.com>
29754
36c8acb4
RM
29755 [BZ #13775]
29756 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29757 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29758 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29759 being in POSIX, because they are in 1003.1-2008.
29760
84ad622b
RM
29761 * rt/tst-aio.c: Include <fcntl.h>.
29762 * rt/tst-aio7.c: Likewise.
29763 * rt/tst-aio64.c: Likewise.
29764
4579f81c
RM
29765 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29766
abd923db
JM
297672012-02-27 Joseph Myers <joseph@codesourcery.com>
29768
29769 * manual/install.texi (--with-headers): Describe headers as
29770 interface headers, not private headers.
29771 (Specific advice for GNU/Linux systems): Describe use of headers
29772 from "make headers_install", not private headers from older
29773 kernels.
43be4ca2 29774 * INSTALL: Regenerated.
abd923db
JM
29775 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29776 Change to 2.6.19.
29777 * sysdeps/unix/sysv/linux/configure: Regenerated.
29778
6664049b
JM
29779 * manual/llio.texi (fclean): Remove documentation.
29780
bb8b6697
JM
29781 * manual/Makefile (libc-texi-generated): New variable. Include
29782 version.texi.
29783 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29784 $(libc-texi-generated), not duplicated list of files.
29785 (version.texi, stamp-version): New rules.
29786 (realclean): Remove $(libc-texi-generated), not individual files
29787 from that list. Do not remove dir-add.texinfo.
29788 * manual/libc.texinfo: Comment out uses of edition numbers and
29789 references to printed manual. Remove last-updated dates.
29790 (EDITION): Comment out.
29791 (ISBN): Likewise.
29792 (VERSION, UPDATED): Remove.
29793 (version.texi): Include.
29794
12e5c3b9
AS
297952012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29796
29797 * sysdeps/posix/spawni.c: Include <signal.h>.
29798 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29799 * sysdeps/pthread/aio_fsync.c: Likewise.
29800
4efeffc1 298012012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29802
ba63ba08
UD
29803 * conform/Makefile (tests): Run only when not cross-compiling and
29804 when fast-check is not defined.
29805
d94a4670
UD
29806 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29807 * conform/data/limits.h-data: Fixes for POSIX2008.
29808 * conform/run-conformtest.sh: Run all tests.
29809 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29810 headers.
29811 * include/bits/dlfcn.h: Likewise.
29812 * include/langinfo.h: Likewise.
29813 * include/monetary.h: Likewise.
29814 * include/sys/poll.h: Likewise.
29815
29816 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29817 for __USE_GNU.
29818 * posix/spawn.h: Define __need_sigset_t.
29819 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29820 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29821 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29822 to get sigevent_t only.
29823 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29824 only for __USE_GNU.
29825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29826 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29827 process_vm_writev only for __USE_GNU.
29828 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29829
29830 * conform/Makefile: For now ignore errors from run-conformtest.
29831 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29832 POSIX to avoid namespace pollution. Don't prepend headers.
29833 * conform/data/aio.h-data: Fixes for POSIX testing.
29834 * conform/data/fcntl.h-data: Likewise.
29835 * conform/data/glob.h-data: Likewise.
29836 * conform/data/grp.h-data: Likewise.
29837 * conform/data/pthread.h-data: Likewise.
29838 * conform/data/pwd.h-data: Likewise.
29839 * conform/data/signal.h-data: Likewise.
29840 * conform/data/spawn.h-data: Likewise.
29841 * conform/data/stdio.h-data: Likewise.
29842 * conform/data/stdlib.h-data: Likewise.
29843 * conform/data/stropts.h-data: Likewise.
29844 * conform/data/sys/mman.h-data: Likewise.
29845 * conform/data/sys/stat.h-data: Likewise.
29846 * conform/data/sys/types.h-data: Likewise.
29847 * conform/data/sys/wait.h-data: Likewise.
29848 * conform/data/time.h-data: Likewise.
29849 * conform/data/unistd.h-data: Likewise.
29850 * conform/data/utime.h-data: Likewise.
29851
29852 * io/sys/stat.h: fchmod was always in POSIX.
29853 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29854 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29855 * rt/aio.h: Define __need_timespec before including <time.h>.
29856 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29857 struct. Add forward declaration of pthread_attr_t and use it in
29858 sigevent.
29859 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29860 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29861 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29862 always remove CLK_TCK definition.
29863
c20105c3
AS
298642012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29865
29866 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29867
7a270350
UD
298682012-02-25 Ulrich Drepper <drepper@gmail.com>
29869
31341567
UD
29870 * conform/run-conformtest.sh: New file.
29871 * conform/Makefile: Run run-conformtest for tests.
29872 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29873 support.
29874
29875 * conform/data/uchar.h-data: New file.
29876 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29877 * conform/data/arpa/inet.h-data: Likewise.
29878 * conform/data/assert.h-data: Likewise.
29879 * conform/data/complex.h-data: Likewise.
29880 * conform/data/cpio.h-data: Likewise.
29881 * conform/data/ctype.h-data: Likewise.
29882 * conform/data/dirent.h-data: Likewise.
29883 * conform/data/dlfcn.h-data: Likewise.
29884 * conform/data/errno.h-data: Likewise.
29885 * conform/data/fcntl.h-data: Likewise.
29886 * conform/data/float.h-data: Likewise.
29887 * conform/data/fmtmsg.h-data: Likewise.
29888 * conform/data/fnmatch.h-data: Likewise.
29889 * conform/data/ftw.h-data: Likewise.
29890 * conform/data/glob.h-data: Likewise.
29891 * conform/data/grp.h-data: Likewise.
29892 * conform/data/iconv.h-data: Likewise.
29893 * conform/data/inttypes.h-data: Likewise.
29894 * conform/data/langinfo.h-data: Likewise.
29895 * conform/data/libgen.h-data: Likewise.
29896 * conform/data/limits.h-data: Likewise.
29897 * conform/data/locale.h-data: Likewise.
29898 * conform/data/math.h-data: Likewise.
29899 * conform/data/monetary.h-data: Likewise.
29900 * conform/data/mqueue.h-data: Likewise.
29901 * conform/data/ndbm.h-data: Likewise.
29902 * conform/data/net/if.h-data: Likewise.
29903 * conform/data/netdb.h-data: Likewise.
29904 * conform/data/netinet/in.h-data: Likewise.
29905 * conform/data/nl_types.h-data: Likewise.
29906 * conform/data/poll.h-data: Likewise.
29907 * conform/data/pthread.h-data: Likewise.
29908 * conform/data/pwd.h-data: Likewise.
29909 * conform/data/regex.h-data: Likewise.
29910 * conform/data/sched.h-data: Likewise.
29911 * conform/data/search.h-data: Likewise.
29912 * conform/data/semaphore.h-data: Likewise.
29913 * conform/data/setjmp.h-data: Likewise.
29914 * conform/data/signal.h-data: Likewise.
29915 * conform/data/spawn.h-data: Likewise.
29916 * conform/data/stdarg.h-data: Likewise.
29917 * conform/data/stdio.h-data: Likewise.
29918 * conform/data/stdlib.h-data: Likewise.
29919 * conform/data/string.h-data: Likewise.
29920 * conform/data/strings.h-data: Likewise.
29921 * conform/data/stropts.h-data: Likewise.
29922 * conform/data/sys/ipc.h-data: Likewise.
29923 * conform/data/sys/mman.h-data: Likewise.
29924 * conform/data/sys/msg.h-data: Likewise.
29925 * conform/data/sys/resource.h-data: Likewise.
29926 * conform/data/sys/select.h-data: Likewise.
29927 * conform/data/sys/sem.h-data: Likewise.
29928 * conform/data/sys/shm.h-data: Likewise.
29929 * conform/data/sys/socket.h-data: Likewise.
29930 * conform/data/sys/stat.h-data: Likewise.
29931 * conform/data/sys/statvfs.h-data: Likewise.
29932 * conform/data/sys/time.h-data: Likewise.
29933 * conform/data/sys/timeb.h-data: Likewise.
29934 * conform/data/sys/times.h-data: Likewise.
29935 * conform/data/sys/types.h-data: Likewise.
29936 * conform/data/sys/uio.h-data: Likewise.
29937 * conform/data/sys/un.h-data: Likewise.
29938 * conform/data/sys/utsname.h-data: Likewise.
29939 * conform/data/sys/wait.h-data: Likewise.
29940 * conform/data/syslog.h-data: Likewise.
29941 * conform/data/tar.h-data: Likewise.
29942 * conform/data/termios.h-data: Likewise.
29943 * conform/data/utime.h-data: Likewise.
29944 * conform/data/utmpx.h-data: Likewise.
29945 * conform/data/varargs.h-data: Likewise.
29946 * conform/data/wchar.h-data: Likewise.
29947 * conform/data/wctype.h-data: Likewise.
29948 * conform/data/wordexp.h-data: Likewise.
29949
29950 * include/stropts.h: New file.
29951 * include/uchar.h: New file.
29952 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29953 * include/assert.h: Likewise.
29954 * include/ctype.h: Likewise.
29955 * include/dirent.h: Likewise.
29956 * include/dlfcn.h: Likewise.
29957 * include/fcntl.h: Likewise.
29958 * include/fnmatch.h: Likewise.
29959 * include/glob.h: Likewise.
29960 * include/grp.h: Likewise.
29961 * include/libio.h: Likewise.
29962 * include/locale.h: Likewise.
29963 * include/math.h: Likewise.
29964 * include/net/if.h: Likewise.
29965 * include/netdb.h: Likewise.
29966 * include/netinet/in.h: Likewise.
29967 * include/pthread.h: Likewise.
29968 * include/pwd.h: Likewise.
29969 * include/regex.h: Likewise.
29970 * include/sched.h: Likewise.
29971 * include/search.h: Likewise.
29972 * include/setjmp.h: Likewise.
29973 * include/signal.h: Likewise.
29974 * include/stdio.h: Likewise.
29975 * include/stdlib.h: Likewise.
29976 * include/string.h: Likewise.
29977 * include/sys/cdefs.h: Likewise.
29978 * include/sys/mman.h: Likewise.
29979 * include/sys/msg.h: Likewise.
29980 * include/sys/resource.h: Likewise.
29981 * include/sys/select.h: Likewise.
29982 * include/sys/socket.h: Likewise.
29983 * include/sys/stat.h: Likewise.
29984 * include/sys/statvfs.h: Likewise.
29985 * include/sys/time.h: Likewise.
29986 * include/sys/times.h: Likewise.
29987 * include/sys/uio.h: Likewise.
29988 * include/sys/utsname.h: Likewise.
29989 * include/sys/wait.h: Likewise.
29990 * include/termios.h: Likewise.
29991 * include/time.h: Likewise.
29992 * include/ulimit.h: Likewise.
29993 * include/unistd.h: Likewise.
29994 * include/utime.h: Likewise.
29995 * include/wchar.h: Likewise.
29996 * include/wctype.h: Likewise.
29997 * include/wordexp.h: Likewise.
29998
29999 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30000
7a270350
UD
30001 * time/time.h: TIME_UTC must be a macro.
30002 Make timespec_get available for ISO C11 only as well.
30003
7724defc
UD
300042012-02-24 Ulrich Drepper <drepper@gmail.com>
30005
30006 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30007 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30008
6b1d1d46
JM
300092012-02-24 Joseph Myers <joseph@codesourcery.com>
30010
30011 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30012
0f8bbd69
JM
300132012-02-24 Joseph Myers <joseph@codesourcery.com>
30014
30015 * manual/texinfo.tex: Update to version 2012-01-19.16.
30016
66ab80bc
JM
300172012-02-24 Joseph Myers <joseph@codesourcery.com>
30018
30019 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30020
74981cc5
RM
300212012-02-24 Roland McGrath <roland@hack.frob.com>
30022
ee968201
RM
30023 [BZ #13738]
30024 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30025 * manual/fdl-1.3.texi: New file.
30026 * manual/fdl-1.1.texi: File removed.
30027
74981cc5
RM
30028 [BZ #13738]
30029 * manual/libc.texinfo (FDL_VERSION): New @set.
30030 Use it for mention of FDL in cover text.
30031 (Documentation License): Use it in @include file name.
30032
7bb764bc
JM
300332012-02-22 Joseph Myers <joseph@codesourcery.com>
30034 Roland McGrath <roland@hack.frob.com>
30035
30036 [BZ #5461]
30037 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30038 not LONG_LONG_MAX and LONG_LONG_MIN.
30039 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30040 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30041 name.
30042 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30043
6cbeae47
JM
300442012-02-22 Joseph Myers <joseph@codesourcery.com>
30045
30046 [BZ #2547]
30047 [BZ #11365]
30048 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30049 manipulate bits before adding and subtracting TWO23[sx].
30050 * math/libm-test.inc (nearbyint_test): Add more tests.
30051
fe45ce09
JM
300522012-02-22 Joseph Myers <joseph@codesourcery.com>
30053
30054 [BZ #2548]
30055 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30056 bits before adding and subtracting TWO23[sx].
30057 * math/libm-test.inc (rint_test): Add more tests.
30058 (rint_test_tonearest): Likewise.
30059 (rint_test_towardzero): Likewise.
30060 (rint_test_downward): Likewise.
30061 (rint_test_upward: Likewise.
30062
ff3b3d82
JM
300632012-02-22 Joseph Myers <joseph@codesourcery.com>
30064
30065 [BZ #10110]
30066 * include/stdc-predef.h: New file. Extracted from features.h.
30067 * include/features.h: Include stdc-predef.h.
30068 * Makefile (headers): Add stdc-predef.h.
30069 * CONFORMANCE (Compiler limitations): Update.
30070
ef0aab35
JM
300712012-02-22 Joseph Myers <joseph@codesourcery.com>
30072
30073 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30074
58639409
DM
300752012-02-21 David S. Miller <davem@davemloft.net>
30076
30077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30078 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30079
c0e70b25
DM
300802012-02-20 David S. Miller <davem@davemloft.net>
30081
30082 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30083 using a normal save/restore sequence, rather than allocating a
30084 dummy stack frame just to store a frame pointer and restore.
30085 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30086
fb06851d
JM
300872012-02-21 Joseph Myers <joseph@codesourcery.com>
30088
30089 * manual/install.texi: Fix stray word in line-wrapped comment.
30090
7a8b71c3
DM
300912012-02-20 David S. Miller <davem@davemloft.net>
30092
d510c123
DM
30093 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30094 both binutils and gcc support GOTDATA.
30095
0722d7c2
DM
30096 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30097 "rd %pc" in the PIC register setup sequences.
30098
3d2b3019
DM
30099 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30100 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30101 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30102 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30103 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30105 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30106 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30107 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30108 (SYSCALL_ERROR_HANDLER): Likewise.
30109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30110 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30112 (SYSCALL_ERROR_HANDLER): Likewise.
30113
c80098a9
DM
30114 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30115 (HAVE_GCC_GOTDATA): New.
30116 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30117 relocation support in both binutils and gcc.
30118 * sysdeps/sparc/elf/configure: Regenerate.
30119
3a2545a0
DM
30120 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30121 * sysdeps/sparc/sparc32/elf/configure: Delete.
30122 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30123 * sysdeps/sparc/sparc64/elf/configure: Delete.
30124 * sysdeps/sparc/elf/configure.in: New file.
30125 * sysdeps/sparc/elf/configure: Generate.
30126
7a8b71c3
DM
30127 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30128 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30129 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30130 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30131 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30132
f1e86fca
JM
301332012-02-21 Joseph Myers <joseph@codesourcery.com>
30134
30135 * manual/install.texi: Do not mention specific glibc version
30136 numbers.
30137 * manual/libc.texinfo (VERSION, UPDATED): Update.
30138 (@copying): Use @copyright{} and range of years.
30139
0e7dfaef
JM
301402012-02-21 Joseph Myers <joseph@codesourcery.com>
30141
30142 [BZ #13695]
30143 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30144 [crti.S not in sysdirs] (generated): Do not append.
30145 [crti.S not in sysdirs] (omit-deps): Likewise.
30146 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30147 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30148 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30149 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30150 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30151 Likewise.
30152 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30153 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30154 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30155 * csu/defs.awk: Remove file.
30156 * sysdeps/generic/initfini.c: Likewise.
30157 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30158 variable.
30159 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30160 Likewise.
30161
599af3ca
JM
301622012-02-20 Joseph Myers <joseph@codesourcery.com>
30163
30164 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30165 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30166 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30167 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30168 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30169 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30170 <bits/epoll.h>.
30171 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30172 (__EPOLL_PACKED): Define to empty if not defined by
30173 <bits/epoll.h>.
30174 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30176 bits/epoll.h.
30177
0e499750
JM
301782012-02-20 Joseph Myers <joseph@codesourcery.com>
30179
30180 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30181 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30182 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30183 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30184 <bits/timerfd.h>.
30185 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30187 bits/timerfd.h.
30188
5ad91f6e
JM
301892012-02-20 Joseph Myers <joseph@codesourcery.com>
30190
30191 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30192 in C locale.
30193 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30194 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30195 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30197
06b99b02
AJ
301982012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30199
30200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30201 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30202
7638c0fd
AS
302032012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30204
30205 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30206 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30207 defined.
30208 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30209 Likewise.
30210 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30211 entry for 2.16.
30212
92221550
AJ
302132012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30214
30215 * math/w_acos.c: Use non-signaling floating-point comparisons.
30216 * math/w_acosf.c: Likewise.
30217 * math/w_acosh.c: Likewise.
30218 * math/w_acoshf.c: Likewise.
30219 * math/w_acoshl.c: Likewise.
30220 * math/w_acosl.c: Likewise.
30221 * math/w_asin.c: Likewise.
30222 * math/w_asinf.c: Likewise.
30223 * math/w_asinl.c: Likewise.
30224 * math/w_atanh.c: Likewise.
30225 * math/w_atanhf.c: Likewise.
30226 * math/w_atanhl.c: Likewise.
30227 * math/w_exp2.c: Likewise.
30228 * math/w_exp2f.c: Likewise.
30229 * math/w_exp2l.c: Likewise.
30230 * math/w_j0.c: Likewise.
30231 * math/w_j0f.c: Likewise.
30232 * math/w_j0l.c: Likewise.
30233 * math/w_j1.c: Likewise.
30234 * math/w_j1f.c: Likewise.
30235 * math/w_j1l.c: Likewise.
30236 * math/w_jn.c: Likewise.
30237 * math/w_jnf.c: Likewise.
30238 * math/w_log.c: Likewise.
30239 * math/w_log10.c: Likewise.
30240 * math/w_log10f.c: Likewise.
30241 * math/w_log10l.c: Likewise.
30242 * math/w_log2.c: Likewise.
30243 * math/w_log2f.c: Likewise.
30244 * math/w_log2l.c: Likewise.
30245 * math/w_logf.c: Likewise.
30246 * math/w_logl.c: Likewise.
30247 * math/w_sqrt.c: Likewise.
30248 * math/w_sqrtf.c: Likewise.
30249 * math/w_sqrtl.c: Likewise.
30250 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30251 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30253 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30254 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30255
ebaf36eb
JM
302562012-02-19 Joseph Myers <joseph@codesourcery.com>
30257
30258 [BZ #9739]
30259 * manual/string.texi (strnlen): Use correct parameter name in
30260 equivalent expression.
30261
71c254a6
JM
302622012-02-19 Joseph Myers <joseph@codesourcery.com>
30263
30264 [BZ #11174]
30265 * manual/users.texi (seteuid): Consistently use neweuid for
30266 argument name.
30267
16d2c631
JM
302682012-02-19 Joseph Myers <joseph@codesourcery.com>
30269
30270 [BZ #13704]
30271 * manual/nss.texi (Services in the NSS configuration): Correct
30272 list of services in example configuration file.
30273
cd837b09
NB
302742012-02-19 Nick Bowler <nbowler@draconx.ca>
30275
30276 [BZ #11322]
30277 * manual/arith.texi: Remove statements about negative zero
30278 behaving identically to zero.
30279
02c4bbad
JM
302802012-02-18 Joseph Myers <joseph@codesourcery.com>
30281
30282 [BZ #5993]
30283 * manual/install.texi: Do not document upgrading from libc5.
30284
366842e7
JM
302852012-02-18 Joseph Myers <joseph@codesourcery.com>
30286
30287 [BZ #4596]
30288 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30289
dd54084d
DM
302902012-02-18 David S. Miller <davem@davemloft.net>
30291
30292 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30293 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30294 %o7 across the call.
30295 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30296 instead.
30297 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30298 SETUP_PIC_REG_LEAF.
30299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30300 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30301 * sysdeps/sparc/crtn.S: Likewise.
30302
2bcc53a3
UD
303032012-02-17 Ulrich Drepper <drepper@gmail.com>
30304
30305 * aout/Makefile: Remove.
30306
09c093b5
RK
303072012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30308
30309 [BZ #13058]
30310 * manual/examples/argp-ex1.c (main): Format definition in GNU
30311 style.
30312 * manual/examples/argp-ex2.c (main): Likewise.
30313 * manual/examples/argp-ex3.c (main): Likewise.
30314 * manual/examples/argp-ex4.c (main): Likewise.
30315 * manual/examples/longopt.c (main): Use new-style prototype
30316 definition.
30317 * manual/examples/strncat.c (main): Specify return type and use
30318 (void) for arguments.
30319 * manual/examples/subopt.c (main): Use char **argv argument.
30320
2ee633a2
JM
303212012-02-17 Joseph Myers <joseph@codesourcery.com>
30322
30323 [BZ #5077]
30324 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30325 rounding modes.
30326
0520adde
FB
303272012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30328
30329 [BZ #6907]
30330 * manual/string.texi (strchr): Change when strchrnul is
30331 recommended.
30332
3f4081cd
DGM
303332012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30334
30335 [BZ #174]
30336 * manual/locale.texi (setlocale): Document LOCPATH.
30337
d1b10e78
JM
303382012-02-17 Joseph Myers <joseph@codesourcery.com>
30339
30340 [BZ #10210]
30341 * manual/process.texi (execle): Move @dots{} before last argument.
30342
79c6869c
PB
303432012-02-17 Paul Bolle <pebolle@tiscali.nl>
30344
30345 [BZ #12047]
30346 * manual/charset.texi (Generic Charset Conversion): Fix typo
30347 (LC_TYPE -> LC_CTYPE).
30348
cc6e48bc
NB
303492012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30350
30351 [BZ #5805]
30352 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30353 (scalbnf): Likewise.
30354 (scalbnl): Likewise.
30355 (scalbln): Likewise.
30356 (scalblnf): Likewise.
30357 (scalblnl): Likewise.
30358 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30359 (vwarnx): Likewise.
30360 (verr): Likewise.
30361 (verrx): Likewise.
30362 * manual/filesys.texi (telldir): Use braces around return type.
30363 * manual/llio.texi (mmap): Add space after comma.
30364 (mmap64): Likewise.
30365 * manual/math.texi (jn): Use @var{} on parameter names.
30366 (jnf): Likewise.
30367 (jnl): Likewise.
30368 (yn): Likewise.
30369 (ynf): Likewise.
30370 (ynl): Likewise.
30371 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30372 line.
30373 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30374 "...".
30375 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30376 (sched_get_priority_max): Likewise.
30377 * manual/signal.texi (sigvec): Add space after comma.
30378 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30379 names.
30380 (if_indextoname): Likewise.
30381 (if_freenameindex): Likewise.
30382 (sendto): Use ',' instead of '.' in prototype.
30383 * manual/startup.texi (syscall): Use @dots{} instead of literal
30384 "...".
30385 * manual/stdio.texi (__fpending): Separate initial words of
30386 paragraph from @deftypefun line.
30387 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30388 "...".
30389 (vsyslog): Use @var{} on parameter names.
30390 * manual/terminal.texi (stty): Use @var{} on parameter names.
30391 * manual/users.texi (getutmp): Use @var{} on parameter names.
30392 (getutmpx): Likewise.
30393
5b23062f
JM
303942012-02-17 Joseph Myers <joseph@codesourcery.com>
30395
30396 [BZ #6884]
30397 * manual/stdio.texi (fopen): Fix typos in description of
30398 ",ccs=STRING".
30399
8dee4833
AJ
304002012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30401
30402 [BZ #4026]
30403 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30404 get clock_id definition.
30405
9078ce93
TS
304062012-02-17 Thomas Schwinge <thomas@schwinge.name>
30407
30408 [BZ #4822]
30409 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30410 (madvise): Cast every argument to void on its own.
30411
3835c55f
JM
304122012-02-17 Joseph Myers <joseph@codesourcery.com>
30413
30414 [BZ #9902]
30415 * manual/startup.texi (Exit Status): Fix typo.
30416
35c47e37
JM
304172012-02-17 Joseph Myers <joseph@codesourcery.com>
30418
30419 [BZ #10140]
30420 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30421 * manual/examples/argp-ex2.c: Likewise.
30422 * manual/examples/argp-ex3.c: Likewise.
30423
e3b69ca7
RH
304242012-02-16 Richard Henderson <rth@redhat.com>
30425
30426 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30427 * sysdeps/s390/s390-32/initfini.c: Remove.
30428 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30429 * sysdeps/s390/s390-64/initfini.c: Remove.
30430
df83af67
KK
304312012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30432
30433 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30434 compiler output for sysdeps/generic/initfini.c.
30435 * sysdeps/sh/elf/initfini.c: Remove file.
30436
f63f3380
DM
304372012-02-16 David S. Miller <davem@davemloft.net>
30438
fb59b3a4
DM
30439 [BZ #11494]
30440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30441
f63f3380
DM
30442 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30443 * sysdeps/sparc/crti.S: New file.
30444 * sysdeps/sparc/crtn.S: New file.
30445 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30446 * sysdeps/sparc/sparc64/Makefile: Likewise.
30447
df6a4a4a
MF
304482012-02-15 Mike Frysinger <vapier@gentoo.org>
30449
6dd8f3dc 30450 [BZ #3335]
df6a4a4a
MF
30451 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30452
1cac7236
RM
304532012-02-15 Roland McGrath <roland@hack.frob.com>
30454
d2c736f8
RM
30455 [BZ #4822]
30456 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30457
1cac7236
RM
30458 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30459 (write, read, close): Likewise.
30460 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30461
8e475601
JM
304622012-02-15 Joseph Myers <joseph@codesourcery.com>
30463
30464 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30465 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30466 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30467 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30468 <bits/signalfd.h>.
30469 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30471 bits/signalfd.h.
30472
ed656b40
MP
304732012-02-14 Marek Polacek <polacek@redhat.com>
30474
30475 * sysdeps/x86_64/crti.S: New file.
30476 * sysdeps/x86_64/crtn.S: New file.
30477 * sysdeps/x86_64/elf/initfini.c: Remove file.
30478
2a979d3a
JM
304792012-02-13 Joseph Myers <joseph@codesourcery.com>
30480
30481 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30482 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30483 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30484 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30485 <bits/inotify.h>.
30486 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30488 bits/inotify.h.
30489
2a418ac3
JM
304902012-02-13 Joseph Myers <joseph@codesourcery.com>
30491
30492 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30493 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30494 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30495 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30496 <bits/eventfd.h>.
30497 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30499 bits/eventfd.h.
30500
fb779be7
TS
305012012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30502
e19e83c5
RM
30503 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30504 __feraiseexcept instead of feraiseexcept.
7c35ffed 30505
fb779be7
TS
30506 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30507 nanosleep invocations.
30508 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30509 strings, and add error checking for a nanosleep invocations.
30510
59ba27a6
PE
305112012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30512
30513 Replace FSF snail mail address with URLs, as per GNU coding standards.
30514 Most of the snail mail addresses were wrong anyway, and omitting
30515 them makes the source code easier to maintain. Almost all of the
30516 changes are to license notices and to locale LC_IDENTIFICATION
30517 addresses, except for this one:
30518 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30519 not its snail mail address.
30520
57b957eb
RH
305212012-02-09 Richard Henderson <rth@twiddle.net>
30522
af850b1c
RH
30523 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30524 of kernel-features.h.
30525
57b957eb
RH
30526 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30527
6b73181a
MP
305282012-02-08 Marek Polacek <polacek@redhat.com>
30529
30530 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30531 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30532 * sysdeps/gnu/_G_config.h: Likewise.
30533 * sysdeps/generic/_G_config.h: Likewise.
30534
26ecc33a
AS
305352012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30536
6c6dbc63
AS
30537 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30538 tests.
30539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30540
e216c012
AS
30541 * sysdeps/powerpc/powerpc32/crti.S: New file.
30542 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30543 * sysdeps/powerpc/powerpc64/crti.S: New file.
30544 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30545
26ecc33a
AS
30546 * Makeconfig (have-initfini): Don't set.
30547 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30548 * configure.in (nopic_initfini): Don't substitute.
30549 * config.h.in (HAVE_INITFINI): Don't #undef.
30550 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30551 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30552
3add8e13
JM
305532012-02-08 Joseph Myers <joseph@codesourcery.com>
30554
30555 Support crti.S and crtn.S provided directly by architectures.
30556 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30557 [crti.S in sysdirs] (omit-deps): Likewise.
30558 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30559 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30560 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30561 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30562 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30563 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30564 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30565 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30566 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30567 compiler output for sysdeps/generic/initfini.c.
30568 * sysdeps/i386/elf/Makefile: Remove file.
30569 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30570
a22f12b4
MP
305712012-02-07 Marek Polacek <polacek@redhat.com>
30572
30573 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30574 * sysdeps/gnu/_G_config.h: Likewise.
30575 * sysdeps/mach/hurd/_G_config.h: Likewise.
30576
148cf100
MP
305772012-02-07 Marek Polacek <polacek@redhat.com>
30578
30579 * math/Makefile (tests): Add tst-CMPLX2.
30580 * math/tst-CMPLX2.c: New file.
30581
cfdc0dd7
AS
305822012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30583
84ba42c4
AS
30584 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30585
cfdc0dd7
AS
30586 * math/libm-test.inc (jn_test): Add missing L suffix.
30587
622c86f4
MP
305882012-02-06 Marek Polacek <polacek@redhat.com>
30589
30590 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30591 * sysdeps/i386/fpu/e_powf.S: Likewise.
30592 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30593 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30594 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30595 * sysdeps/i386/fpu/e_pow.S: Likewise.
30596 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30597 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30598 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30599 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30600 * sysdeps/i386/fpu/e_log2.S: Likewise.
30601 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30602 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30603 * sysdeps/i386/fpu/e_powl.S: Likewise.
30604 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30605 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30606 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30607 * sysdeps/i386/fpu/e_logl.S: Likewise.
30608 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30609 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30610 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30611 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30612 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30613 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30614 * sysdeps/i386/fpu/e_log.S: Likewise.
30615 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30616 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30617 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30618 * sysdeps/i386/fpu/e_logf.S: Likewise.
30619 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30620 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30621 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30622 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30623 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30624 * sysdeps/i386/fpu/e_log10.S: Likewise.
30625 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30626 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30627 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30628 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30629 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30630 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30631 * sysdeps/i386/asm-syntax.h: Likewise.
30632 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30633 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30634 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30635 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30636 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30637 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30638 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30639 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30640 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30641 * sysdeps/powerpc/sysdep.h: Likewise.
30642 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30643 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30644
d4a54ac6
JM
306452012-02-06 Joseph Myers <joseph@codesourcery.com>
30646
30647 [BZ #411]
30648 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30649
314054ea
JM
306502012-02-06 Joseph Myers <joseph@codesourcery.com>
30651
30652 * sysdeps/i386/sysdep.h: Include <features.h>.
30653 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30654 version.
30655
d8e0ca50
JM
306562012-02-05 Joseph Myers <joseph@codesourcery.com>
30657
30658 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30659 Define.
30660 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30661 LOAD_PIC_REG_STR.
30662
b1da7dd9
JM
306632012-02-03 Joseph Myers <joseph@codesourcery.com>
30664
30665 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30666 (SETUP_PIC_REG): Use GET_PC_THUNK.
30667 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30668 macro.
30669
9a1d9254
JM
306702012-02-03 Joseph Myers <joseph@codesourcery.com>
30671
30672 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30673 for non-PIC compilation.
30674 (SETUP_PIC_REG): Add .p2align directive.
30675 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30676 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30677 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30678 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30679 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30680 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30681 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30682 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30683 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30684 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30685 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30686 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30687 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30688 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30689 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30690 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30691 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30692 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30693 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30694 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30695 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30697 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30698 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30699 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30701 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30703 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30704 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30705 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30707 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30708 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30709 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30710 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30711 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30712 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30713 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30714 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30715 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30716
65dc3b75
JM
307172012-02-03 Joseph Myers <joseph@codesourcery.com>
30718
30719 * math/tst-CMPLX.c: Include <stdio.h>.
30720
d55bf177
JM
307212012-01-31 Joseph Myers <joseph@codesourcery.com>
30722
30723 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30724 float.
30725 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30726 * sysdeps/sparc/bits/mathdef.h: Likewise.
30727
69db4f8f
MP
307282012-01-31 Marek Polacek <polacek@redhat.com>
30729
30730 * libio/libio.h: Don't define _PARAMS.
30731 * locale/programs/config.h: Don't define PARAMS.
30732 * stdlib/strtol_l.c: Likewise.
30733 (__strtol_l): Remove PARAMS from the prototype.
30734
41b81892
UD
307352012-01-31 Ulrich Drepper <drepper@gmail.com>
30736
3b49edc0
UD
30737 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30738 names. Just use the correct names. Remove unnecessary wrapper
30739 functions.
30740 * malloc/arena.c: Likewise.
30741 * malloc/hooks.c: Likewise.
30742
41b81892
UD
30743 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30744 ARENA_TEST says not to. Simplify test for creation of a new arena.
30745 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30746
27a25b6e
UD
307472012-01-30 Ulrich Drepper <drepper@gmail.com>
30748
30749 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30750 into tail calls.
30751 (update_get_addr): New function.
30752 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30753 GET_ADDR_MODULE parameter.
30754
c8a89e7d
JM
307552012-01-30 Joseph Myers <joseph@codesourcery.com>
30756
30757 * crypt/cert.c: Remove __STDC__ conditionals.
30758 * crypt/crypt-entry.c: Likewise.
30759 * crypt/crypt_util.c: Likewise.
30760 * libio/filedoalloc.c: Likewise.
30761 * libio/fileops.c: Likewise.
30762 * libio/genops.c: Likewise.
30763 * libio/iofclose.c: Likewise.
30764 * libio/iofdopen.c: Likewise.
30765 * libio/iofopen.c: Likewise.
30766 * libio/iofopen64.c: Likewise.
30767 * libio/iogetdelim.c: Likewise.
30768 * libio/iopopen.c: Likewise.
30769 * libio/obprintf.c: Likewise.
30770 * libio/oldfileops.c: Likewise.
30771 * libio/oldiofclose.c: Likewise.
30772 * libio/oldiofdopen.c: Likewise.
30773 * libio/oldiofopen.c: Likewise.
30774 * libio/oldiopopen.c: Likewise.
30775 * libio/wfiledoalloc.c: Likewise.
30776 * libio/wgenops.c: Likewise.
30777 * locale/programs/xmalloc.c: Likewise.
30778 * misc/syslog.c: Likewise.
30779 * stdio-common/xbug.c: Likewise.
30780 * string/memchr.c: Likewise.
30781 * string/memcmp.c: Likewise.
30782 * string/memrchr.c: Likewise.
30783 * string/rawmemchr.c: Likewise.
30784 * sysdeps/posix/getcwd.c: Likewise.
30785 * time/strftime_l.c: Likewise.
30786
3b100462
JM
307872012-01-30 Joseph Myers <joseph@codesourcery.com>
30788
30789 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30790 * config.make.in (config-cflags-sse2avx): Define.
30791 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30792 Fix typo.
30793
607998af
CM
307942012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30795
30796 * scripts/config.guess: Update from upstream config git repository.
30797 * scripts/config.sub: Likewise.
30798
3601428f
CM
307992012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30800
3ac8b282
CM
30801 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30802 (EM_NUM): Update.
30803 (R_TILEPRO_*, R_TILEGX_*): New macros.
30804
e034841e
CM
30805 * scripts/firstversions.awk: Fix bug in version range handling.
30806
540d7568
CM
30807 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30808
3601428f
CM
30809 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30810
463de862
CM
30811 * include/sys/epoll.h: New file.
30812 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30813 libc_hidden_def.
30814
73139a76
UD
308152012-01-28 Ulrich Drepper <drepper@gmail.com>
30816
96bc5b45
UD
30817 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30818 Avoid unnecessary __WORDSIZE == 64 test.
30819 (fmaxf): Use VEX format if possible.
30820 (fmax): Likewise.
30821 (fminf): Likewise.
30822 (fmin): Likewise.
30823
56f6f6a2
UD
30824 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30825 * math/math_private.h: Remove libc_fegetround* and
30826 libc_fesetround*.
30827 * sysdeps/i386/configure.in: Check for -msse2avx.
30828 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30829 also if SSE2AVX is defined.
30830 Remove libc_fegetround* and libc_fesetround*.
30831 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30832 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30833 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30834 of HAS_YMM_USABLE.
30835 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30836 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30837 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30838 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30839 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30840
73139a76
UD
30841 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30842
d73f93a4
AZ
308432012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30844
30845 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30846 size is not set.
30847 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30848
6ee65ed6
UD
308492012-01-27 Ulrich Drepper <drepper@gmail.com>
30850
30851 [BZ #13618]
30852 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30853 relocation.
30854 * Makeconfig (libm): Define.
30855 * elf/Makefile: Add rules to build and run tst-relsort1.
30856 * elf/tst-relsort1.c: New file.
30857 * elf/tst-relsort1mod1.c: New file.
30858 * elf/tst-relsort1mod2.c: New file.
30859
8db21882
JM
308602012-01-27 Joseph Myers <joseph@codesourcery.com>
30861
30862 * math/s_ldexp.c: Remove __STDC__ conditionals.
30863 * math/s_ldexpf.c: Likewise.
30864 * math/s_ldexpl.c: Likewise.
30865 * math/s_nextafter.c: Likewise.
30866 * math/s_nexttowardf.c: Likewise.
30867 * math/s_significand.c: Likewise.
30868 * math/s_significandf.c: Likewise.
30869 * math/s_significandl.c: Likewise.
30870 * math/w_jnl.c: Likewise.
30871 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30872 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30873 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30874 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30875 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30885 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30886 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30887 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30888 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30890 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30891 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30892 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30893 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30895 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30896 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30898 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30899 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30900 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30901 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30902 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30903 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30904 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30905 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30906 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30907 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30908 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30909 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30910 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30911 * sysdeps/ieee754/k_standard.c: Likewise.
30912 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30913 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30914 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30915 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30916 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30917 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30918 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30919 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30920 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30921 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30922 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30923 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30924 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30925 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30926 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30927 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30928 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30929 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30930 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30931 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30932 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30933 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30934 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30935 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30936 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30937 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30941 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30942 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30944 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30945 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30946 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30947 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30948 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30949 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30950 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30956 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30961 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30965 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30966 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30967 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30968 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30971 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30972 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30973 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30977 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30978 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30979 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30980 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30981 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30982 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30984 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30985 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30986 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30987 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30988 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30991 * sysdeps/ieee754/s_matherr.c: Likewise.
30992 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30993 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30994 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30996
965a54a4
JM
309972012-01-26 Joseph Myers <joseph@codesourcery.com>
30998
30999 * crypt/md5.h: Remove __STDC__ conditionals.
31000 * libio/libioP.h: Likewise.
31001 * locale/programs/config.h: Likewise.
31002 * sysdeps/generic/sysdep.h: Likewise.
31003 * sysdeps/i386/asm-syntax.h: Likewise.
31004 * sysdeps/s390/asm-syntax.h: Likewise.
31005 * sysdeps/unix/sysdep.h: Likewise.
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31008
7071ad79
JM
310092012-01-26 Joseph Myers <joseph@codesourcery.com>
31010
31011 * libio/libio.h: Remove __STDC__ conditionals.
31012 * malloc/obstack.h: Likewise.
31013 * math/complex.h: Likewise.
31014 * math/math.h: Likewise.
31015 * sysdeps/generic/_G_config.h: Likewise.
31016 * sysdeps/gnu/_G_config.h: Likewise.
31017 * sysdeps/mach/hurd/_G_config.h: Likewise.
31018 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31019 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31020 * sysdeps/sparc/bits/mathdef.h: Likewise.
31021
afc5ed09
UD
310222012-01-26 Ulrich Drepper <drepper@gmail.com>
31023
31024 [BZ #13583]
31025 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31026 Clean up HAS_* macros.
afc5ed09 31027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31028 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31029 possible.
31030 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31031 HAS_AVX.
31032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31033 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31035 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31036 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31037
bdb6de1d
JM
310382012-01-25 Joseph Myers <joseph@codesourcery.com>
31039
31040 * elf/tst-unique3.cc (gets): Remove declaration.
31041 * elf/tst-unique3lib.cc (gets): Likewise.
31042 * elf/tst-unique3lib2.cc (gets): Likewise.
31043 * elf/tst-unique4.cc (gets): Likewise.
31044
b15549e6
UD
310452012-01-24 Ulrich Drepper <drepper@gmail.com>
31046
31047 * include/stdio.h: Add C++ protection. Add gets declarations and
31048 definitions.
31049 * debug/tst-chk1.c: Don't declare gets here.
31050 * stdio-common/tst-gets.c: Likewise.
31051
a037381f
JM
310522012-01-24 Joseph Myers <joseph@codesourcery.com>
31053
31054 * posix/glob: Remove directory.
31055
f1d4aa75
JM
310562012-01-24 Joseph Myers <joseph@codesourcery.com>
31057
31058 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31059
81c0c964
PT
310602012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31061
31062 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31063 of the non-standard EPFNOSUPPORT.
31064
0ea698ae
ST
310652011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31066
31067 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31068 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31069 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31070
d220b117
UD
310712012-01-21 Ulrich Drepper <drepper@gmail.com>
31072
31073 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31074
3e1aa84e
UD
310752012-01-20 Ulrich Drepper <drepper@gmail.com>
31076
31077 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31078 transient errors.
31079 * nscd/grpcache.c (cache_addgr): Likewise.
31080 * nscd/hstcache.c (cache_addhst): Likewise.
31081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31082 * nscd/pwdcache.c (cache_addpw): Likewise.
31083 * nscd/servicescache.c (cache_addserv): Likewise.
31084
400aa020
UD
310852012-01-16 Ulrich Drepper <drepper@gmail.com>
31086
d77e7869
UD
31087 * malloc/malloc.c: Various cleanups.
31088 * malloc/hooks.c: Likewise.
31089
400aa020
UD
31090 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31091 * stdlib/bug-fmtmsg1.c: New file.
31092
31093 * stdlib/fmtmsg.c (init): Add missing unlock.
31094 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31095
e0a309cf
MP
310962012-01-12 Marek Polacek <polacek@redhat.com>
31097
31098 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31099 and _GNU_SOURCE.
31100
929d11c7
WS
311012012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31102
31103 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31104 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31105 macro to ensure uniqueness of label name.
31106 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31107 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31108
41d0e869
UD
311092012-01-11 Ulrich Drepper <drepper@gmail.com>
31110
0cc5ed3b
UD
31111 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31112
41d0e869
UD
31113 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31114 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31115 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31117
a47a831a
UD
311182012-01-10 Ulrich Drepper <drepper@gmail.com>
31119
daa891c0
UD
31120 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31121
31122 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31123 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31124 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31125
e58ef0f2
UD
31126 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31127
a47a831a 31128 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31129 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31132
31133 * math/bits/math-finite.h: Add ldexp support.
31134
a0bfc9c7
MP
311352012-01-10 Marek Polacek <polacek@redhat.com>
31136
31137 * locale/programs/localedef.h (show_archive_content): Add noreturn
31138 attribute.
31139
d6e97a1d
UD
311402012-01-09 Ulrich Drepper <drepper@gmail.com>
31141
31142 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31143
d5835c26
UD
311442012-01-08 Ulrich Drepper <drepper@gmail.com>
31145
e5f484c6
UD
31146 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31147
d5835c26
UD
31148 * io/Makefile (headers): Add bits/poll2.h.
31149
d1f741e9
WS
311502011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31151
31152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31153 typo #include statement.
31154
ec09c1c4
UD
311552012-01-08 Ulrich Drepper <drepper@gmail.com>
31156
31157 * include/sys/cdefs.h: Define __attribute_alloc_size.
31158 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31159 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31160 * elf/pldd.c: Likewise.
31161 * iconv/iconv_charmap.c: Likewise.
31162 * iconv/iconvconfig.c: Likewise.
31163 * iconv/strtab.c: Likewise.
31164 * locale/programs/locale.c: Likewise.
31165 * locale/programs/localedef.h: Likewise.
31166 * locale/programs/simple-hash.c: Likewise.
31167 * nscd/nscd.h: Likewise.
31168 * nss/makedb.c: Likewise.
31169 * sysdeps/generic/ldconfig.h: Likewise.
31170 * locale/programs/localedef.c: Remove xmalloc prototype.
31171 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31172
20b38e03
PP
311732012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31174
31175 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31176 appropriate.
31177
a0da5fe1
UD
311782012-01-08 Ulrich Drepper <drepper@gmail.com>
31179
1d5a644a 31180 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31181 * math/tst-CMPLX.c: New file.
1d5a644a 31182
8784a6db
UD
31183 * math/complex.h (CMPLXL): Fix typo.
31184
d9a216c0
UD
31185 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31186 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31187 GLIBC_2.16.
31188 * debug/tst-chk1.c: Add poll and ppoll tests.
31189 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31190 * include/sys/poll.h: Add hidden proto for ppoll.
31191 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31192 * sysdeps/mach/hurd/ppoll.c: Likewise.
31193 * io/ppoll.c: Likewise.
31194 * debug/poll_chk.c: New file.
31195 * debug/ppoll_chk.c: New file.
31196 * include/bits/poll2.h: New file.
31197 * io/bits/poll2.h: New file.
31198
ac097f5c
UD
31199 [BZ #1350]
31200 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31201
2119dcfa
UD
31202 * configure.in: static is always set to yes. Remove.
31203 * config.make.in: Don't set build-static.
31204 * Makeconfig: Remove use of build-static.
31205 * dlfcn/Makefile: Likewise.
31206 * elf/Makefile: Likewise.
31207 * math/Makefile: Likewise.
31208 * misc/Makefile: Likewise.
31209 * nptl/Makefile: Likewise.
31210 * sysdeps/mach/hurd/Makefile: Likewise.
31211
121766a9
UD
31212 * configure.in: PWD_P is not used anymore.
31213 * config.make.in: Remove PWD_P entry.
31214
51a1d39c 31215 * configure.in: Remove last remnants of RANLIB.
8720d066 31216 No need to check for signed size_t anymore.
215f4bdc
UD
31217 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31218 and IA-64.
3857022a 31219 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31220 * aclocal.m4: Likewise.
31221
d3ed7225
UD
31222 * wcsmbs/mbrtoc16.c: Implement using towc function.
31223 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31224 * wcsmbs/wcsmbsload.c: Likewise.
31225 * iconv/gconv_simple.c: Likewise.
31226 * iconv/gconv_int.h: Likewise.
31227 * iconv/gconv_builtin.h: Likewise.
31228 * iconv/iconv_prog.c: Remove CHAR16 handling.
31229
31230 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31231
31232 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31233
a0da5fe1
UD
31234 * configure.in: Remove --with-elf and --enable-bounded options.
31235 Dont set base_machine for ia64. More non-ELF conditions removed.
31236 Remove testing and setting of leading underscore information.
31237 * config.make.in (build-bounded): Set to no.
31238 * config.h.in: Remove NO_UNDERSCORES entry.
31239 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31240 them.
31241 * csu/start.c: Remove !NO_UNDERSCORE code.
31242 * locale/localeinfo.h: Likewise.
31243 * sysdeps/generic/machine-gmon.h: Likewise.
31244 * sysdeps/generic/sysdep.h: Likewise.
31245 * sysdeps/i386/sysdep.h: Likewise.
31246 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31247 * sysdeps/mach/sysdep.h: Likewise.
31248 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31249 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31250 * sysdeps/sh/sysdep.h: Likewise.
31251 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31252 * sysdeps/unix/i386/sysdep.S: Likewise.
31253 * sysdeps/unix/sparc/start.c: Likewise.
31254 * sysdeps/unix/sparc/sysdep.S: Likewise.
31255 * sysdeps/unix/sparc/sysdep.h: Likewise.
31256 * sysdeps/unix/start.c: Likewise.
31257 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31258 * sysdeps/x86_64/sysdep.h: Likewise.
31259
df78418a
UD
312602012-01-07 Ulrich Drepper <drepper@gmail.com>
31261
a784e502
UD
31262 [BZ #13553]
31263 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31264 for non-gcc.
31265 * argp/argp-fmtstream.h: Use const instead __const.
31266 * argp/argp.h: Likewise.
31267 * assert/assert.h: Likewise.
31268 * bits/fenv.h: Likewise.
31269 * bits/sched.h: Likewise.
31270 * bits/sigset.h: Likewise.
31271 * bits/sigthread.h: Likewise.
31272 * catgets/nl_types.h: Likewise.
31273 * conform/data/pthread.h-data: Likewise.
31274 * crypt/crypt-private.h: Likewise.
31275 * crypt/crypt.h: Likewise.
31276 * crypt/crypt_util.c: Likewise.
31277 * ctype/ctype.h: Likewise.
31278 * debug/execinfo.h: Likewise.
31279 * debug/mbsnrtowcs_chk.c: Likewise.
31280 * debug/mbsrtowcs_chk.c: Likewise.
31281 * debug/wcsnrtombs_chk.c: Likewise.
31282 * debug/wcsrtombs_chk.c: Likewise.
31283 * debug/wcstombs_chk.c: Likewise.
31284 * dirent/dirent.h: Likewise.
31285 * dlfcn/dlfcn.h: Likewise.
31286 * elf/neededtest4.c: Likewise.
31287 * grp/grp.h: Likewise.
31288 * gshadow/gshadow.h: Likewise.
31289 * iconv/gconv.h: Likewise.
31290 * iconv/gconv_int.h: Likewise.
31291 * iconv/gconv_simple.c: Likewise.
31292 * iconv/iconv.h: Likewise.
31293 * iconv/loop.c: Likewise.
31294 * iconv/skeleton.c: Likewise.
31295 * include/aio.h: Likewise.
31296 * include/aliases.h: Likewise.
31297 * include/argz.h: Likewise.
31298 * include/arpa/inet.h: Likewise.
31299 * include/assert.h: Likewise.
31300 * include/dirent.h: Likewise.
31301 * include/dlfcn.h: Likewise.
31302 * include/execinfo.h: Likewise.
31303 * include/fcntl.h: Likewise.
31304 * include/fenv.h: Likewise.
31305 * include/glob.h: Likewise.
31306 * include/grp.h: Likewise.
31307 * include/libintl.h: Likewise.
31308 * include/mntent.h: Likewise.
31309 * include/netdb.h: Likewise.
31310 * include/pwd.h: Likewise.
31311 * include/rpc/netdb.h: Likewise.
31312 * include/sched.h: Likewise.
31313 * include/search.h: Likewise.
31314 * include/shadow.h: Likewise.
31315 * include/signal.h: Likewise.
31316 * include/stdio.h: Likewise.
31317 * include/stdlib.h: Likewise.
31318 * include/string.h: Likewise.
31319 * include/sys/socket.h: Likewise.
31320 * include/sys/stat.h: Likewise.
31321 * include/sys/statfs.h: Likewise.
31322 * include/sys/statvfs.h: Likewise.
31323 * include/sys/syslog.h: Likewise.
31324 * include/sys/time.h: Likewise.
31325 * include/sys/uio.h: Likewise.
31326 * include/time.h: Likewise.
31327 * include/unistd.h: Likewise.
31328 * include/utmp.h: Likewise.
31329 * include/wchar.h: Likewise.
31330 * include/wctype.h: Likewise.
31331 * inet/aliases.h: Likewise.
31332 * inet/arpa/inet.h: Likewise.
31333 * inet/netinet/ether.h: Likewise.
31334 * inet/netinet/in.h: Likewise.
31335 * intl/libintl.h: Likewise.
31336 * io/bits/fcntl2.h: Likewise.
31337 * io/fcntl.h: Likewise.
31338 * io/ftw.h: Likewise.
31339 * io/sys/poll.h: Likewise.
31340 * io/sys/stat.h: Likewise.
31341 * io/sys/statfs.h: Likewise.
31342 * io/sys/statvfs.h: Likewise.
31343 * io/utime.h: Likewise.
31344 * libio/bits/stdio.h: Likewise.
31345 * libio/bits/stdio2.h: Likewise.
31346 * libio/libio.h: Likewise.
31347 * libio/libioP.h: Likewise.
31348 * libio/stdio.h: Likewise.
31349 * locale/lc-ctype.c: Likewise.
31350 * locale/locale.h: Likewise.
31351 * login/utmp.h: Likewise.
31352 * malloc/arena.c: Likewise.
31353 * malloc/malloc.c: Likewise.
31354 * malloc/malloc.h: Likewise.
31355 * malloc/mcheck.c: Likewise.
31356 * malloc/mtrace.c: Likewise.
31357 * math/bits/mathcalls.h: Likewise.
31358 * math/fenv.h: Likewise.
31359 * math/math_private.h: Likewise.
31360 * misc/bits/error.h: Likewise.
31361 * misc/bits/syslog.h: Likewise.
31362 * misc/err.h: Likewise.
31363 * misc/error.h: Likewise.
31364 * misc/fstab.h: Likewise.
31365 * misc/mntent.h: Likewise.
31366 * misc/regexp.h: Likewise.
31367 * misc/search.h: Likewise.
31368 * misc/sgtty.h: Likewise.
31369 * misc/sys/mman.h: Likewise.
31370 * misc/sys/syslog.h: Likewise.
31371 * misc/sys/uio.h: Likewise.
31372 * misc/sys/xattr.h: Likewise.
31373 * misc/ttyent.h: Likewise.
31374 * nis/rpcsvc/ypclnt.h: Likewise.
31375 * nss/nss.h: Likewise.
31376 * posix/bits/unistd.h: Likewise.
31377 * posix/fnmatch.h: Likewise.
31378 * posix/glob.h: Likewise.
31379 * posix/sched.h: Likewise.
31380 * posix/spawn.h: Likewise.
31381 * posix/sys/wait.h: Likewise.
31382 * posix/unistd.h: Likewise.
31383 * posix/wordexp.h: Likewise.
31384 * pwd/pwd.h: Likewise.
31385 * resolv/netdb.h: Likewise.
31386 * resource/sys/resource.h: Likewise.
31387 * rt/aio.h: Likewise.
31388 * rt/bits/mqueue2.h: Likewise.
31389 * rt/mqueue.h: Likewise.
31390 * shadow/shadow.h: Likewise.
31391 * signal/signal.h: Likewise.
31392 * socket/send.c: Likewise.
31393 * socket/sendto.c: Likewise.
31394 * socket/sys/socket.h: Likewise.
31395 * stdio-common/printf.h: Likewise.
31396 * stdlib/bits/stdlib.h: Likewise.
31397 * stdlib/fmtmsg.h: Likewise.
31398 * stdlib/monetary.h: Likewise.
31399 * stdlib/stdlib.h: Likewise.
31400 * stdlib/ucontext.h: Likewise.
31401 * streams/stropts.h: Likewise.
31402 * string/argz.h: Likewise.
31403 * string/bits/string2.h: Likewise.
31404 * string/string.h: Likewise.
31405 * string/strings.h: Likewise.
31406 * sunrpc/rpc/auth.h: Likewise.
31407 * sunrpc/rpc/auth_des.h: Likewise.
31408 * sunrpc/rpc/clnt.h: Likewise.
31409 * sunrpc/rpc/netdb.h: Likewise.
31410 * sunrpc/rpc/pmap_clnt.h: Likewise.
31411 * sunrpc/rpc/xdr.h: Likewise.
31412 * sysdeps/generic/inttypes.h: Likewise.
31413 * sysdeps/generic/net/if.h: Likewise.
31414 * sysdeps/generic/sys/swap.h: Likewise.
31415 * sysdeps/gnu/net/if.h: Likewise.
31416 * sysdeps/gnu/utmpx.h: Likewise.
31417 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31418 * sysdeps/i386/i486/bits/string.h: Likewise.
31419 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31420 * sysdeps/s390/bits/string.h: Likewise.
31421 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31422 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31423 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31424 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31425 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31426 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31427 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31428 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31429 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31430 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31431 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31432 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31433 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31434 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31435 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31436 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31437 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31439 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31440 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31441 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31442 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31443 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31444 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31445 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31446 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31447 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31448 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31449 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31450 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31451 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31452 * sysvipc/sys/ipc.h: Likewise.
31453 * sysvipc/sys/msg.h: Likewise.
31454 * sysvipc/sys/sem.h: Likewise.
31455 * sysvipc/sys/shm.h: Likewise.
31456 * termios/termios.h: Likewise.
31457 * time/sys/time.h: Likewise.
31458 * time/time.h: Likewise.
31459 * wcsmbs/bits/wchar2.h: Likewise.
31460 * wcsmbs/uchar.h: Likewise.
31461 * wcsmbs/wchar.h: Likewise.
31462 * wctype/wctype.h: Likewise.
31463
0269750c
UD
31464 [BZ #13551]
31465 * Makeconfig: Remove all but ELF support including AIX support.
31466 * Makerules: Likewise.
31467 * config.h.in: Likewise.
31468 * config.make.in: Likewise.
31469 * configure: Likewise.
31470 * configure.in: Likewise.
31471 * csu/Makefile: Likewise.
31472 * csu/version.c: Likewise.
31473 * debug/Makefile: Likewise.
31474 * dlfcn/Makefile: Likewise.
31475 * elf/Makefile: Likewise.
31476 * extra-lib.mk: Likewise.
31477 * iconv/Makefile: Likewise.
31478 * include/libc-symbols.h: Likewise.
31479 * include/shlib-compat.h: Likewise.
31480 * resolv/Makefile: Likewise.
31481 * resolv/res_libc.c: Likewise.
31482 * rt/Makefile: Likewise.
31483 * sysdeps/i386/asm-syntax.h: Likewise.
31484 * sysdeps/i386/sysdep.h: Likewise.
31485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31486 * sysdeps/mach/sysdep.h: Likewise.
31487 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31488 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31489 * sysdeps/s390/asm-syntax.h: Likewise.
31490 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31492 * sysdeps/sh/sysdep.h: Likewise.
31493 * sysdeps/unix/sparc/sysdep.h: Likewise.
31494 * sysdeps/wordsize-32/divdi3.c: Likewise.
31495 * sysdeps/x86_64/sysdep.h: Likewise.
31496
00bbd29b
UD
31497 * argp/Versions: Remove _argp_unlock_xxx.
31498
31499 [BZ #13559]
31500 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31501 * abilist/libBrokenLocale.abilist: Likewise.
31502 * abilist/libanl.abilist: Likewise.
31503 * abilist/libc.abilist: Likewise.
31504 * abilist/libcrypt.abilist: Likewise.
31505 * abilist/libdl.abilist: Likewise.
31506 * abilist/libm.abilist: Likewise.
31507 * abilist/libnsl.abilist: Likewise.
31508 * abilist/libpthread.abilist: Likewise.
31509 * abilist/libresolv.abilist: Likewise.
31510 * abilist/librt.abilist: Likewise.
31511 * abilist/libthread_db.abilist: Likewise.
31512 * abilist/libutil.abilist: Likewise.
31513 * abilist/libnss_db.abilist: New file.
31514
31515 * scripts/abilist.awk: Add support for indirect functions.
31516
a2693a0e
UD
31517 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31518
3f05895f
UD
31519 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31520
ecb6fb48
UD
31521 * shlib-versions: Remove entries for ports architectures.
31522
664f8cb9
UD
31523 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31524 files in ports.
31525 * elf/stackguard-macros.h: Remove support for IA-64.
31526 * elf/tst-auditmod1.c: Likewise.
31527 * sysdeps/generic/ldsodefs.h: Likewise.
31528
7ae81d88
UD
31529 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31530 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31531 configure files.
31532
bdeba135
UD
31533 [BZ #13552]
31534 * configure.in: Remove --enable-omitfp support.
31535 * FAQ.in: Adjust.
31536 * config.make.in: Likewise.
31537 * Makeconfig: Likewise.
31538 * manual/install.texi: Likewise.
31539
d75a0a62
UD
31540 In case anyone cares, the IA-64 architecture could move to ports.
31541 * sysdeps/ia64/*: Removed.
31542 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31543 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31544
dcc9756b
UD
31545 [BZ #13555]
31546 * configure.in: Remove entries for unsupported architectures.
31547
d3761ebc 31548 [BZ #13533]
9954432e
UD
31549 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31550 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31551 routines.
31552 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31553 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31554 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31555 fall back to using wcrtomb.
31556 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31557 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31558 renaming.
31559 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31560 * wcsmbs/tst-c16c32-1.c: New file.
31561
31562 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31563 local variable.
31564
c3a87236
UD
31565 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31566
28926a1b
UD
31567 * elf/tst-unique3.cc: Add explicit declaration of gets.
31568 * elf/tst-unique3lib.cc: Likewise.
31569 * elf/tst-unique3lib2.cc: Likewise.
31570 * elf/tst-unique4.cc: Likewise.
31571
df78418a
UD
31572 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31573
8ecd6b2a
JM
315742012-01-06 Joseph Myers <joseph@codesourcery.com>
31575
31576 [BZ #13566]
31577 * assert/assert.h (static_assert): Don't define for C++.
31578 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31579 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31580
9f115170
UD
315812012-01-03 Ulrich Drepper <drepper@gmail.com>
31582
5e0d0300
UD
31583 * iconv/loop.c (single loop): Fix assertion in storing of
31584 remaining bytes.
31585
9f115170
UD
31586 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31587
81fb02b0
UD
315882012-01-01 Ulrich Drepper <drepper@gmail.com>
31589
31590 * posix/getconf.c: Update copyright year.
31591 * nss/getent.c: Likewise.
a316c1f6 31592 * nss/makedb.c: Likewise.
81fb02b0
UD
31593 * iconv/iconvconfig.c: Likewise.
31594 * iconv/iconv_prog.c: Likewise.
31595 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31596 * elf/pldd.c: Likewise.
31597 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31598 * catgets/gencat.c: Likewise.
31599 * csu/version.c: Likewise.
31600 * elf/ldd.bash.in: Likewise.
31601 * elf/sprof.c (print_version): Likewise.
31602 * locale/programs/locale.c: Likewise.
31603 * locale/programs/localedef.c: Likewise.
a316c1f6 31604 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31605 * nscd/nscd.c (print_version): Likewise.
31606 * debug/xtrace.sh: Likewise.
31607 * malloc/memusage.sh: Likewise.
31608 * malloc/mtrace.pl: Likewise.
31609 * debug/catchsegv.sh: Likewise.
31610
2ba92745
JJ
316112011-12-30 Jakub Jelinek <jakub@redhat.com>
31612
31613 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31614 pure attribute.
31615
dadebdae
UD
316162011-12-24 Ulrich Drepper <drepper@gmail.com>
31617
d3761ebc 31618 [BZ #13533]
db6af3eb
UD
31619 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31620 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31621 transformations.
31622 * iconv/gconv_int.h: Likewise.
31623 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31624 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31625 from libc for GLIBC_2.16.
31626 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31627 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31628 * wcsmbs/uchar.h: Really define mbstate_t.
31629 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31630 * wcsmbs/c16rtomb.c: New file.
31631 * wcsmbs/mbrtoc16.c: New file.
31632 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31633 for C/POSIX locale.
31634 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31635 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31636
dadebdae
UD
31637 * wcsmbs/wchar.h: Add missing __restrict.
31638
67371b56
UD
316392011-12-23 Ulrich Drepper <drepper@gmail.com>
31640
74033a25
UD
31641 [BZ #13532]
31642 * time/Makefile (routines): Add timespec_get.
31643 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31644 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31645 timespec for ISO C11.
31646 * time/timespec_get.c: New file.
31647 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31648 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31649
380d7e87
UD
31650 [BZ #13531]
31651 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31652 * stdlib/stdlib.h: Declare aligned_alloc.
31653 * Versions.def: Add GLIBC_2.16 for libc.
31654 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31655
4e9e7a35
UD
31656 [BZ 13527]
31657 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31658 ISO C11.
31659
380d7e87 31660 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31661 code.
31662
03a71829
UD
31663 [BZ #13528]
31664 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31665
839e283e
UD
31666 [BZ #13529]
31667 * assert/assert.h (static_assert): Define.
31668
ce5294e2 31669 * version.h: Update for 2.16 development version.
90fa7312 31670
8d44e150 31671 [BZ #13526]
d7809905
UD
31672 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31673 _ISOC11_SOURCE.
31674
c0da14cd
UD
31675 * version.h (RELEASE): Bump for 2.15 release.
31676 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31677
530a3249
MP
31678 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31679 Patch by Marek Polacek <mpolacek@redhat.com>.
31680
67371b56
UD
31681 * bits/byteswap.h: Protect long long constants with __extension__.
31682 * sysdeps/i386/bits/byteswap.h: Likewise.
31683 * sysdeps/ia64/bits/byteswap.h: Likewise.
31684 * sysdeps/s390/bits/byteswap.h: Likewise.
31685 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31686
15db4de1
LD
316872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31688
31689 [BZ #13540]
bbe315ea
LD
31690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31691 destination buffer.
15db4de1
LD
31692 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31693
2b2596b1
MP
316942011-12-23 Marek Polacek <polacek@redhat.com>
31695
31696 * elf/dl-addr.c (determine_info): Add inline keyword.
31697 * elf/tst-auditmod4b.c (check_avx): Likewise.
31698 * elf/tst-auditmod6b.c (check_avx): Likewise.
31699 * elf/tst-auditmod6c.c (check_avx): Likewise.
31700 * elf/tst-auditmod7b.c (check_avx): Likewise.
31701
70c6c246
UD
317022011-12-23 Ulrich Drepper <drepper@gmail.com>
31703
31704 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31705 !__SSE_MATH__.
31706
c044cf14
LD
317072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31708
15db4de1 31709 [BZ #13540]
c044cf14
LD
31710 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31711 processing for last bytes.
31712
6b13d9d9
BH
317132011-08-06 Bruno Haible <bruno@clisp.org>
31714
d455f537
BH
31715 [BZ #13061]
31716 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31717 U+0385, not to U+1FEE.
31718
6b13d9d9
BH
31719 [BZ #13062]
31720 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31721 entry for U+00A5 U+0301.
31722
db910efd
UD
317232011-12-22 Ulrich Drepper <drepper@gmail.com>
31724
27deeafc
UD
31725 [BZ #13166]
31726 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31727 buffer for the output is too small.
31728
aed9d171
UD
31729 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31730 optimization.
31731
db910efd
UD
31732 [BZ #13185]
31733 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31734 SSE flags if possible.
31735
2bd779ae
LD
317362011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31737
e7f9dac3 31738 [BZ #13540]
2bd779ae
LD
31739 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31740 processing for last bytes.
31741
154bfc16
JM
317422011-12-22 Joseph Myers <joseph@codesourcery.com>
31743
31744 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31745 (syscall-list-default-options, syscall-list-default-condition)
31746 (syscall-list-includes): Define.
31747 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31748 list of ABIs and options and #if conditions for each ABI. Do not
31749 handle common syscalls between ABIs specially.
31750 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31751 Remove.
31752 (syscall-list-variants, syscall-list-32bit-options)
31753 (syscall-list-32bit-condition, syscall-list-64bit-options)
31754 (syscall-list-64bit-condition): Define.
31755 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31756 (syscall-list-variants, syscall-list-32bit-options)
31757 (syscall-list-32bit-condition, syscall-list-64bit-options)
31758 (syscall-list-64bit-condition): Define.
31759 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31760 Remove.
31761 (syscall-list-variants, syscall-list-32bit-options)
31762 (syscall-list-32bit-condition, syscall-list-64bit-options)
31763 (syscall-list-64bit-condition): Define.
31764 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31765 Remove.
31766 (syscall-list-variants, syscall-list-32bit-options)
31767 (syscall-list-32bit-condition, syscall-list-64bit-options)
31768 (syscall-list-64bit-condition): Define.
31769
21eaf3a5
UD
317702011-12-22 Ulrich Drepper <drepper@gmail.com>
31771
16c6f992
UD
31772 * locale/iso-639.def: Add brx entry.
31773
41043168
UD
31774 [BZ #13328]
31775 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31776 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31777
21eaf3a5
UD
31778 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31779 __feraiseexcept_renamed.
31780
e3a851a2
UD
317812011-12-21 Ulrich Drepper <drepper@gmail.com>
31782
4920765e
UD
31783 [BZ #13538]
31784 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31785 EPOLLET with unsigned values.
31786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31787 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31788
e3a851a2
UD
31789 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31790 to large cancellation.
31791 * math/s_cacoshf.c: Likewise.
31792 * math/s_cacoshl.c: Likewise.
31793
b27e24b8
RK
317942011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31795
31796 [BZ #13305]
aebefeee 31797 [BZ #12786]
b27e24b8
RK
31798 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31799 * math/s_cacoshf.c: Likewise.
31800 * math/s_cacoshl.c: Likewise.
31801
ee190f67
UD
318022011-12-21 Ulrich Drepper <drepper@gmail.com>
31803
31804 [BZ #13439]
31805 * iconv/gconv.h: Define __GCONV_SWAP.
31806 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31807 * iconvdata/utf-16.c: Likewise.
31808 * iconvdata/utf-32.c: Likewise.
31809
707f25df
AS
318102011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31811
31812 [BZ #13524]
31813 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31814 numerator after shifting it by one limb.
31815
d2daaa1e
RÁE
318162011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31817
31818 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31819 under [__USE_EXTERN_INLINES].
31820
a4647e72
UD
318212011-12-17 Ulrich Drepper <drepper@gmail.com>
31822
31823 [BZ #13446]
31824 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31825
f0b264f1
AZ
318262011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31827
31828 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31829 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31830 optimized code.
31831 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31832 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31833 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31834 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31835 for strncasecmp/strncasecmp_l compilation.
31836 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31837 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31838
8ef4f244
MP
318392011-12-08 Marek Polacek <mpolacek@redhat.com>
31840
31841 [BZ #13484]
31842 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31843 of __asm__.
31844
97ac2654
UD
318452011-12-17 Ulrich Drepper <drepper@gmail.com>
31846
31847 [BZ #13506]
31848 * time/tzfile.c (__tzfile_read): Check values from file header.
31849
91d2a845
WS
318502011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31851
31852 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31853 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31854 * powerpc/powerpc32/dl-start.S: Likewise.
31855 * powerpc/powerpc32/elf/start.S: Likewise.
31856 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31857 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31858 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31859 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31860 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31861 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31862 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31863 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31864 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31865 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31866 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31867 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31868 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31869 * powerpc/powerpc32/memset.S: Likewise.
31870 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31871 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31872 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31873 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31874 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31875 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31876 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31877 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31878 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31879 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31880 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31881 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31882 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31883
a1267ba1
AZ
318842011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31885
31886 * math/libm-test.inc: Added more nearbyint tests.
31887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31888 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31889 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31890 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31891
ad8ac1bd
RL
318922011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31893
31894 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31895 FD_CLOEXEC.
31896
1d3e4b61
UD
318972011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31898
31899 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31900 Add wcscpy-ssse3 wcscpy-c.
31901 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31902 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31903 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31904 * sysdeps/x86_64/wcschr.S: New file.
31905 * sysdeps/x86_64/wcsrchr.S: New file.
31906 * string/test-strcmp.c: Remove checking of wcscmp function for
31907 wrong alignments.
31908 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31909 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31910 wcsrchr-sse2 wcsrchr-c.
31911 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31912 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31913 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31914 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31915 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31916 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31917 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31918 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31919 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31920 * wcsmbc/wcschr.c (WCSCHR): New macro.
31921
5b330a2d
UD
319222011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31923
31924 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31925 * wcsmbs/test-wcsrchr.c: New file.
31926 * string/test-strrchr.c: Add wcsrchr support.
31927 (WIDE): New macro.
31928 * wcsmbs/test-wcscpy.c: New file.
31929 * string/test-strcpy.c: Add wcscpy support.
31930 (WIDE): New macro.
26428b7c 31931
f039c043
UD
319322011-12-10 Ulrich Drepper <drepper@gmail.com>
31933
31934 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31935 the inner loop.
31936
850fb039
AS
319372011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31938
31939 [BZ #13472]
31940 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31941
4efbd5cb
UD
319422011-12-04 Ulrich Drepper <drepper@gmail.com>
31943
52ff5dd0 31944 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31945 Minor optimizations.
52ff5dd0 31946
4efbd5cb
UD
31947 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31948 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31949 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31950
8a426e12
UD
319512011-12-03 Ulrich Drepper <drepper@gmail.com>
31952
aff2453d
UD
31953 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31954 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31955 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31956 for gcc to avoid warnings.
31957 * inet/Makefile (tests): Add tst-checks.
31958 * inet/tst-checks.c: New file.
31959
31960 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31961 warning.
31962
31963 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31964 __wmemcmp_sse2.
31965
31966 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31967 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31968
8a426e12
UD
31969 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31970
9bea3473
UD
319712011-12-02 Ulrich Drepper <drepper@gmail.com>
31972
3a965496
UD
31973 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31974 problem.
31975
9bea3473
UD
31976 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31977
f101631b
UD
319782011-11-29 Joseph Myers <joseph@codesourcery.com>
31979
31980 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31981 conditional on GCC version.
31982 (__arch_compare_and_exchange_val_8_acq)
31983 (__arch_compare_and_exchange_val_16_acq)
31984 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31985 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31986 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31987
a98275aa
UD
319882011-12-02 Joseph Myers <joseph@codesourcery.com>
31989
31990 * sysdeps/sh/backtrace.c: New file.
31991
d4cc29a2
AS
319922011-12-02 Andreas Schwab <schwab@redhat.com>
31993
31994 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31995 parenthesis.
31996
6257af2d
AS
319972011-12-01 Andreas Schwab <schwab@redhat.com>
31998
31999 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32000 falling back to utime.
32001
b5f44c1a
AS
320022011-11-30 Andreas Schwab <schwab@redhat.com>
32003
32004 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32005 expectations for float.
32006
f3a6cc0a
AS
320072011-11-29 Andreas Schwab <schwab@redhat.com>
32008
32009 * locale/weight.h (findidx): Add parameter len.
32010 * locale/weightwc.h (findidx): Likewise.
32011 * posix/fnmatch_loop.c (FCT): Adjust caller.
32012 * posix/regcomp.c (build_equiv_class): Likewise.
32013 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32014 * posix/regexec.c (check_node_accept_bytes): Likewise.
32015 * string/strcoll_l.c (STRCOLL): Likewise.
32016 * string/strxfrm_l.c (STRXFRM): Likewise.
32017
9d65ea3a
UD
320182011-11-17 Ulrich Drepper <drepper@gmail.com>
32019
32020 * Makefile.in: Remove CVSOPT handling.
32021 * configure.in: Remove use of AC_REVISION.
32022 * iconvdata/Makefile (distribute): No need to filter out CVS.
32023 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32024 handling.
32025
5583a086
AS
320262011-11-16 Andreas Schwab <schwab@redhat.com>
32027
32028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32029 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32030 [USE_AS_STRNCASECMP_L]: Likewise.
32031 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32032 NO_TLS_DIRECT_SEG_REFS.
32033 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32034 Fix argument offsets for non-PIC.
32035 [USE_AS_STRNCASECMP_L]: Likewise.
32036 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32037 NO_TLS_DIRECT_SEG_REFS.
32038
d62a8200
UD
320392011-11-15 Ulrich Drepper <drepper@gmail.com>
32040
9d65ea3a 32041 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32042 O_CLOEXEC.
32043 * locale/loadlocale.c (_nl_load_locale): Likewise.
32044
09f93bd3
AS
320452011-11-15 Andreas Schwab <schwab@redhat.com>
32046
446514f9
AS
32047 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32048 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32050 (SYSCALL_GETTIME): Set errno on error.
32051
09f93bd3
AS
32052 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32053 count references to noai6ai_cached.
32054
312be3f9
UD
320552011-11-15 Ulrich Drepper <drepper@gmail.com>
32056
32057 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32058
32059 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32060 FD_CLOEXEC for /proc/self/maps.
32061
32062 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32063 FD_CLOEXEC for /proc/meminfo.
32064
32065 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32066 gai.conf.
32067
32068 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32069 FD_CLOEXEC for given file.
32070
32071 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32072
32073 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32074 FD_CLOEXEC for /etc/hosts.
32075 (_gethtent): Likewise.
32076
32077 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32078
32079 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32080 cancellation and set FD_CLOEXEC for /etc/netgroup.
32081
32082 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32083 reading /etc/publickey.
32084
32085 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32086 allow cancellation when reading /etc/group.
32087
32088 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32089 cancellation.
32090 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32091
32092 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32093 when using data file.
32094
32095 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32096
32097 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32098 (write_nis_obj): Use "c" and "e" in fopen.
32099
32100 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32101
32102 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32103
32104 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32105
32106 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32107
32108 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32109 locale.alias.
32110
32111 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32112
32113 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32114
32115 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32116
32117 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32118 file parsing and set FD_CLOEXEC.
32119
82af0fa8
UD
321202011-11-14 Ulrich Drepper <drepper@gmail.com>
32121
32122 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32123
a5fb313c
AS
321242011-11-14 Andreas Schwab <schwab@redhat.com>
32125
32126 * malloc/arena.c (arena_get2): Don't call reused_arena when
32127 _int_new_arena failed.
32128
6abf3465
UD
321292011-11-14 Ulrich Drepper <drepper@gmail.com>
32130
32131 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32132 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32133 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32134 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32136 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32137 to compile strcasecmp and strncasecmp.
32138 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32139 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32140
32141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32142
76e3966e
UD
321432011-11-13 Ulrich Drepper <drepper@gmail.com>
32144
32145 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32146 locale-defines.sym to gen-as-const-headers.
32147 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32148 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32150 to compile strcasecmp and strncasecmp.
32151 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32152 strcasecmp_l and strncasecmp_l.
32153 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32154 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32155 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32156 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32157 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32158 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32159 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32160 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32161 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32162 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32163 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32164
ab26144e
UD
321652011-11-12 Ulrich Drepper <drepper@gmail.com>
32166
7edb22ef
UD
32167 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32168 result of SYSDEP_GETTIME_CPU to retval.
32169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32170 parameter list to macro. Remove trailing semicolon. Adjust users.
32171
9694fc44
UD
32172 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32173 variable.
32174
8ad89ef8
UD
32175 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32176 mantissa words.
32177 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32178
0c822ef9
UD
32179 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32180 from unused variable.
32181
874e0564
UD
32182 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32183 DWARF definitions.
32184 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32185 for assembling.
32186
3a2edc79
UD
32187 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32188 over namespaces.
32189
f3c2577f
UD
32190 * sunrpc/rpc_prot.c (rejected): Fix case value.
32191
294ce126
UD
32192 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32193 unsigned long long int to avoid warnings in shift.
32194
5e2b63c6
UD
32195 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32196 of use of trans.
32197 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32198 variable tmp.
32199
e7f4b08e
UD
32200 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32201 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32202 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32203
ab26144e
UD
32204 * nis/nis_table.c (nis_list): Use variable of correct type for
32205 result of __follow_path call.
32206
8a6d5255
AZ
322072011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32208
32209 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32210 of math functions ceil, trunc, floor, round, and sqrt, when
32211 avaliable on the platform.
32212 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32213 name clash.
32214 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32215 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32216 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32217
aaddc98c
MP
322182011-10-30 Marek Polacek <mpolacek@redhat.com>
32219
32220 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32221 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32222
95b7042b
RM
322232011-11-11 Roland McGrath <roland@hack.frob.com>
32224
32225 * include/unistd.h: Fix __readlink return type.
32226 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32227
57769839
UD
322282011-11-11 Ulrich Drepper <drepper@gmail.com>
32229
32230 * stdlib/ucontext.h: Undo last change for makecontext.
32231
edc5984d
AS
322322011-11-11 Andreas Schwab <schwab@redhat.com>
32233
98591e58
AS
32234 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32235
edc5984d
AS
32236 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32237 * setjmp/setjmp.h: Mark functions as non-leaf.
32238 * setjmp/bits/setjmp2.h: Likewise.
32239 * stdlib/ucontext.h: Likewise.
32240
77cdc054
AS
322412011-11-10 Andreas Schwab <schwab@redhat.com>
32242
32243 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32244 (reused_arena): Don't check arena limit.
32245 (arena_get2): Atomically check arena limit.
32246
fe72eebd
UD
322472011-11-08 Ulrich Drepper <drepper@gmail.com>
32248
5f078c32
UD
32249 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32250 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32251
fe72eebd
UD
32252 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32253 instructions.
32254
ae1bc2fa
AS
322552011-11-07 Andreas Schwab <schwab@redhat.com>
32256
7583a88d
AS
32257 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32258 handler when locking.
32259
ae1bc2fa
AS
32260 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32261 Fix size of allocated buffer.
32262
10fb0bfa
AS
322632011-11-04 Andreas Schwab <schwab@redhat.com>
32264
998832a4
AS
32265 [BZ #10103]
32266 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32267 declarations for long double functions.
32268 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32269
10fb0bfa
AS
32270 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32271
3d7ba52b
AS
322722011-11-03 Andreas Schwab <schwab@redhat.com>
32273
a9ae54a1
AS
32274 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32275 installed.
32276
3d7ba52b
AS
32277 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32278 is disabled.
32279
bc8db248
ST
322802011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32281
32282 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32283
45b96dd6
AS
322842011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32285
647776f6
AS
32286 * include/alloca.h (stackinfo_alloca_round): Define.
32287 (extend_alloca): Use it.
32288 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32289 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32290 here.
32291
d91a8b93
AS
32292 * scripts/check-local-headers.sh: Ignore libaudit.h.
32293
45b96dd6
AS
32294 * nscd/Makefile (extra-objs): Make recursively expanded.
32295
432d41ce
UD
322962011-11-01 Ulrich Drepper <drepper@gmail.com>
32297
34372fc6
UD
32298 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32299 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32300
fadb59f8
UD
32301 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32302 * posix/tst-rfc3484-2.c: Likewise.
32303 * posix/tst-rfc3484-3.c: Likewise.
32304
78239589
UD
32305 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32306 process_vm_writev.
32307 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32308 process_vm_writev.
32309 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32310 process_vm_writev from libc using GLIBC_2.15 version.
32311
432d41ce
UD
32312 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32313
02f9c6cf
PP
323142011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32315
32316 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32317 stack usage.
32318
3a2c0242
UD
323192011-10-31 Ulrich Drepper <drepper@gmail.com>
32320
f4ec4833
UD
32321 [BZ #13367]
32322 * nss/getent.c (initgroups_keys): Show error message in case no group
32323 names are given.
32324
3a2c0242
UD
32325 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32326 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32327 __bump_nl_timestamp.
32328 * nscd/connections (nscd_init): When host database is served open
32329 netlink socket and request notification about configuration changes.
32330 (main_loop_poll): Track netlink file descriptor and bump timestamp
32331 in case data becomes available.
32332 (main_loop_epoll): Likewise.
32333 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32334 (database_pers_head): Add extra_data fileds.
32335 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32336 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32337 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32338 Adjust caller.
32339 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32340 in6ai data, call __free_in6ai.
32341 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32342 Add -DHAVE_NETLINK.
32343 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32344 interface information. Reuse previous data if netlink timestamp
32345 is not changed.
32346 (__bump_nl_timestamp): New function.
32347 (__free_in6ai): New function.
32348
636064eb
UD
323492011-10-30 Ulrich Drepper <drepper@gmail.com>
32350
32351 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32352 close_not_cancel_no_status here.
32353 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32354
9beb2334
UD
323552011-10-29 Ulrich Drepper <drepper@gmail.com>
32356
6ef76f3b
UD
32357 [BZ #13276]
32358 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32359 return value.
32360
0ffc4f3e 32361 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32362 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32363 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32364
cb95113e
UD
323652011-07-03 Andreas Jaeger <aj@suse.de>
32366
32367 [BZ #10709]
32368 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32369 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32370 * math/libm-test.inc (sin_test): Add test case.
32371
a1b560ff
UD
323722011-10-29 Ulrich Drepper <drepper@gmail.com>
32373
c9aaface
UD
32374 [BZ #13337]
32375 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32376 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32377
d272e7f1
UD
32378 * elf/chroot_canon.c (chroot_canon): Cleanups.
32379
1bc33071
UD
32380 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32381
1760874d
TJ
32382 [BZ #13335]
32383 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32384 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32385
51d91b18
UD
32386 * string/test-strchr.c: Make usable for strchrnul testing.
32387 * string/test-strchrnul.c: New file.
32388 * string/Makefile (strop-tests): Add strchrnul.
32389
a1b560ff 32390 * po/it.po: Update from translation team.
b611fb81 32391 * po/es.po: Likewise.
a1b560ff 32392
a5b81e1f
UD
323932011-10-28 Ulrich Drepper <drepper@gmail.com>
32394
fd52bc6d
UD
32395 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32396 the three constants needed as parameters. Drop the others.
32397 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32398 __m128i_strloadu_tolower.
52e4b9eb
UD
32399 Create and initialize variable zero and use it in all the places
32400 where _mm_setzero_si128 was used.
fd52bc6d 32401
a5b81e1f
UD
32402 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32403 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32404 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32405 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32406 anymore.
32407 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32408 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32409 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32410 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32411 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32412 __mpranred, __mptan.
32413 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32414 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32415 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32416 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32417 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32418 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32419 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32420 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32421 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32422
b4343346
AS
324232011-10-28 Andreas Schwab <schwab@redhat.com>
32424
0c92d8a8
AS
32425 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32426 redefine if SHARED.
32427 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32428
b4343346
AS
32429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32430 wide char related routines to wcsmbs subdir.
32431
3871f58f
AS
324322011-10-27 Andreas Schwab <schwab@redhat.com>
32433
32434 [BZ #13344]
32435 * misc/sys/cdefs.h (__THROWNL): Define.
32436 * posix/unistd.h: Use __THREADNL instead of __THREAD
32437 for memory synchronization functions.
32438
94d44d9f
RM
324392011-10-26 Roland McGrath <roland@hack.frob.com>
32440
21b64b15 32441 [BZ #13349]
94d44d9f
RM
32442 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32443 doesn't exist.
32444 * manual/stdio.texi (Obstack Streams): Node removed.
32445
f6ce9294
AS
324462011-10-26 Andreas Schwab <schwab@redhat.com>
32447
80479147
AS
32448 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32449 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32450 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32451
f6ce9294
AS
32452 * math/math_private.h (math_force_eval): Allow non-addressable
32453 arguments.
32454 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32455
618280a1
UD
324562011-10-25 Ulrich Drepper <drepper@gmail.com>
32457
e0016b11
UD
32458 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32459 file is not needed.
32460
32461 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32462 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32463 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32464 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32465 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32466 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32467 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32468 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32469 Add AVX variants.
32470 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32471 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32472 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32473 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32474 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32475 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32476 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32477 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32478 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32479 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32480 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32481 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32482 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32483 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32484 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32485 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32486 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32487 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32488 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32489
32490 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32491 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32492
618280a1
UD
32493 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32494 place. Use VEX encoding when compiling for AVX.
32495
37822576
AS
324962011-10-25 Andreas Schwab <schwab@redhat.com>
32497
1f1e1947
AS
32498 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32499 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32500
37822576
AS
32501 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32502
31ea014d
UD
325032011-10-25 Ulrich Drepper <drepper@gmail.com>
32504
d7826aa1 32505 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32506 useless if() expression.
d7826aa1
UD
32507 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32516 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32517 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32518 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32519 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32520 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32521 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32522 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32523 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32524 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32525 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32526
31ea014d
UD
32527 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32528
16437fec
AS
325292011-10-25 Andreas Schwab <schwab@redhat.com>
32530
32531 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32532 condition.
32533 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32534
31d3cc00
UD
325352011-10-25 Ulrich Drepper <drepper@gmail.com>
32536
32537 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32538 .text section. Avoid duplicate constants.
32539 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32549 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32551 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32554 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32556 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32562 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32563 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32564 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32565 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32566 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32567 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32568 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32569 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32570 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32571 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32572 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32573 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32574 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32575 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32577 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32578 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32579 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32580 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32581 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32582 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32583 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32584
58985aa9
UD
325852011-10-24 Ulrich Drepper <drepper@gmail.com>
32586
202c9deb
UD
32587 * sysdeps/x86_64/dla.h: Move to ...
32588 * sysdeps/x86_64/fpu/dla.h: ...here.
32589 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32590 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32591
af968f62
UD
32592 * config.make.in: Add have-mfma4 entry.
32593 * configure.in: Substitute libc_cv_cc_fma4.
32594 * math/Makefile (dbl-only-routines): Add sincostab.
32595 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32596 Use __sincostab not sincos.
32597 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32598 name is a macro.
32599 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32603 using __copysign.
32604 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32605 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32606 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32607 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32608 and __inv.
32609 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32610 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32611 __copysign.
32612 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32613 define aliases when function name is a macro.
32614 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32615 sysdeps/ieee754/dbl-64/sincos.tbl.
32616 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32617 fma4-enabled routines.
32618 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32619 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32620 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32621 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32623 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32624 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32625 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32626 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32627 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32628 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32629 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32630 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32631 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32632 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32633 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32634 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32635 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32636 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32638 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32639 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32640 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32641 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32642 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32643 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32644 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32645 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32646 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32647 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32648
58985aa9
UD
32649 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32650 rename.
32651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32657 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32658 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32659
a201fbcf
AS
326602011-10-24 Andreas Schwab <schwab@redhat.com>
32661
32662 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32663
fc2ee42a
LD
326642011-10-23 Ulrich Drepper <drepper@gmail.com>
32665
bb3129bd
UD
32666 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32667
0275fff8
UD
32668 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32669 prediction.
32670 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32671
2fa2ae85
UD
32672 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32673 Remove unused variable magic_bits.
32674 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32675
fc2ee42a
LD
32676 * string/strnlen.c: Define and use STRNLEN macro.
32677 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32678 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32679 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32680 * wcsmbs/wcslen.c: Define and use WCSLEN.
32681 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32682 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32683 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32684 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32685 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32686 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32687 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32688
ce7dd29f
LD
326892011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32690
32691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32692 strnlen-sse2-no-bsf.
32693 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32694 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32695 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32696 Add strnlen support.
32697 (USE_AS_STRNLEN): New macro.
32698 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32699 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32700 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32701 * sysdeps/x86_64/wcslen.S: New file.
32702
979c70a3
MZ
327032011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32704
32705 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32706 XMM-moves are used for copying on small sizes.
32707
2d09f82f
LD
327082011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32709
32710 * wcsmbs/Makefile (strop-tests): Add wcschr.
32711 * wcsmbs/test-wcschr.c: New file.
32712 * string/test-strchr.c: Update.
32713 Add wcschr support.
32714 (WIDE): New macro.
32715
619fccca
LD
327162011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32717
2d09f82f 32718 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32719 * wcsmbs/test-wcslen.c: New file.
32720 * string/test-strlen.c: Update.
32721 Add wcslen support.
32722 (WIDE): New macro.
32723
09f699ea
UD
327242011-10-23 Ulrich Drepper <drepper@gmail.com>
32725
32726 * po/it.po: Update from translation team.
32727
95584d3b
LD
327282011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32729
32730 * sysdeps/x86_64/wcscmp.S: Update.
32731 Fix wrong comparison semantics.
32732 wcscmp shall use signed comparison not unsigned.
32733 Don't use substraction to avoid overflow bug.
32734 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32735 * wcsmbc/wcscmp.c: Likewise.
32736 * string/test-strcmp.c: Likewise.
32737 Add new tests to check cases with negative values.
32738
c8b3296b
UD
327392011-10-23 Ulrich Drepper <drepper@gmail.com>
32740
32741 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32742 * sysdeps/x86_64/dla.h: ...here. New file.
32743 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32746 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32748 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32750 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32752
246ad57a
AS
327532011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32754
32755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32756 __ynl_finite aliases.
32757
a1a87169
UD
327582011-10-22 Ulrich Drepper <drepper@gmail.com>
32759
0d355eb7
UD
32760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32761
a1a87169
UD
32762 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32763 define DLA_FMA.
32764 [DLA_FMA] (EMULV): Use DLA_FMA.
32765 [DLA_FMA] (MUL12): Use EMULV.
32766 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32767 that are not needed.
32768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32773 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32775
ee2aafe0
AS
327762011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32777
32778 * math/s_nan.c: Undef __nan.
32779 * math/s_nanf.c: Undef __nanf.
32780 * math/s_nanl.c: Undef __nanl.
32781 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32782 "math_private.h".
32783
bc62c2fb
UD
327842011-10-22 Ulrich Drepper <drepper@gmail.com>
32785
77425c63
UD
32786 * math/s_catan.c: Add branch predictions.
32787 * math/s_catanf.c: Likewise.
32788 * math/s_catanh.c: Likewise.
32789 * math/s_catanhf.c: Likewise.
32790 * math/s_catanhl.c: Likewise.
32791 * math/s_catanl.c: Likewise.
32792 * math/s_cexp.c: Likewise.
32793 * math/s_cexpf.c: Likewise.
32794 * math/s_cexpl.c: Likewise.
32795 * math/s_clog.c: Likewise.
32796 * math/s_clog10.c: Likewise.
32797 * math/s_clog10f.c: Likewise.
32798 * math/s_clog10l.c: Likewise.
32799 * math/s_clogf.c: Likewise.
32800 * math/s_clogl.c: Likewise.
32801 * math/s_csqrt.c: Likewise.
32802 * math/s_csqrtf.c: Likewise.
32803 * math/s_csqrtl.c: Likewise.
32804 * math/s_ctanf.c: Likewise.
32805 * math/s_ctanh.c: Likewise.
32806 * math/s_ctanhf.c: Likewise.
32807 * math/s_ctanhl.c: Likewise.
32808 * math/s_ctanl.c: Likewise.
32809
bc62c2fb
UD
32810 * math/math_private.h: Define __nan, __nanf, __nanl.
32811 * math/s_cacosh.c: Include <math_private.h>.
32812 * math/s_cacoshl.c: Likewise.
32813 * math/s_casinh.c: Likewise.
32814 * math/s_casinhf.c: Likewise.
32815 * math/s_casinhl.c: Likewise.
32816 * math/s_ccos.c: Rely entire on ccosh.
32817 * math/s_ccosf.c: Rely entire on ccoshf.
32818 * math/s_ccosl.c: Rely entirely on ccoshl.
32819 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32820 Remove tests for FE_INVALID.
32821 * math/s_ccoshf.c: Likewise.
32822 * math/s_ccoshl.c: Likewise.
32823 * math/s_csin.c: Likewise.
32824 * math/s_csinf.c: Likewise.
32825 * math/s_csinh.c Likewise.
32826 * math/s_csinhf.c: Likewise.
32827 * math/s_csinhl.c: Likewise.
32828 * math/s_csinl.c: Likewise.
32829 * math/s_ctan.c: Likewise.
32830 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32831 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32832 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32833
8ec250a4
UD
328342011-10-21 Ulrich Drepper <drepper@gmail.com>
32835
c196fed8
UD
32836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32837 compilation problems.
32838
8ec250a4
UD
32839 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32840 __builtin_expect.
32841
8d4f46c6
UD
328422011-10-20 Ulrich Drepper <drepper@gmail.com>
32843
ed72b654
UD
32844 * sysdeps/i386/configure.in: Test for -mfma4 option.
32845 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32846 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32847 COMMON_CPUID_INDEX_80000001.
32848 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32849 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32850 use it if FMA3 is not supported.
32851 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32852
8d4f46c6
UD
32853 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32854 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32855
d45c60c2
AS
328562011-10-20 Andreas Schwab <schwab@redhat.com>
32857
32858 [BZ #12892]
32859 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32860 it would create a cycle with a link time dependency.
32861
d9a4d2ab
UD
328622011-10-19 Ulrich Drepper <drepper@gmail.com>
32863
855d1560
UD
32864 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32865 instruction.
32866 * string/Makefile (strop-tests): Add rawmemchr.
32867 * string/test-rawmemchr.c: New file.
32868
d9a4d2ab
UD
32869 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32871 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32872 when compiling str{,n}casecmp and when AVX is available. Hook up
32873 new optimized code in initializers.
32874
8f3b1ffe
AS
328752011-10-19 Andreas Schwab <schwab@redhat.com>
32876
32877 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32878 __feraiseexcept instead of feraiseexcept.
32879
d38f1dba
UD
328802011-10-18 Ulrich Drepper <drepper@gmail.com>
32881
d9a8d0ab
UD
32882 * math/math_private.h: Define defaults for libc_fetestexcept and
32883 libc_feupdateenv.
32884 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32885 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32886 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32887 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32888 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32889 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32890 libc_fetestexcept and libc_feupdateenv.
32891
4855e3dd
UD
32892 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32893 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32894 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32895 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32896 libc_feholdexcept_setround.
32897
581d30e3
UD
32898 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32899 Add s_nearbyint-c and s_nearbyintf-c.
32900 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32901 nearbyintf inlines.
32902 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32903 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32904 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32905 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32906
d38f1dba
UD
32907 * math/math_private.h: Define defaults for libc_fegetround,
32908 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32909 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32910 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32911 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32912 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32913 standard functions.
32914 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32915 Remove comments and hacks for old compiler versions.
32916 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32917 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32918 libc_feholdexceptl.
32919
caa6c9d8
AS
329202011-10-18 Andreas Schwab <schwab@redhat.com>
32921
32922 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32923 (__feraiseexcept_renamed): Add __NTH.
32924 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32925 namespace violations.
32926
97c066e6
UD
329272011-10-17 Ulrich Drepper <drepper@gmail.com>
32928
99ce7b04
UD
32929 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32930
1004d182
UD
32931 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32932
228a984d
UD
32933 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32934 recently added interfaces.
32935 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32936
c8553a6a
UD
32937 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32938 about macro parameter expansion.
32939
ed22dcf6
UD
32940 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32941 __NO_MATH_INLINES is defined. Cleanups.
32942
32943 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32944 and __floorf is target has SSE4.1.
32945 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32946 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32947 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32948 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32949
b171c137
UD
32950 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32951 name.
32952 (floorf): Likewise.
32953
97c066e6
UD
32954 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32955
629f62ef
AS
329562011-10-17 Andreas Schwab <schwab@redhat.com>
32957
49a43d80
AS
32958 * misc/sys/cdefs.h: Fix last change.
32959
629f62ef
AS
32960 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32961 database lookup.
32962
e453f6cd
UD
329632011-10-16 Ulrich Drepper <drepper@gmail.com>
32964
aa78043a
UD
32965 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32966
ad0f5cad
UD
32967 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32968 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32969 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32970 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32973 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32974 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32975 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32976 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32977 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32978 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32979 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32980 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32981 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32982 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32983 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32984 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32985 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32986 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32987 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32988 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32989
32990 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32991 ceil, ceilf, floor, floorf.
32992
32993 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32994 Perform IRELATIVE relocations last.
32995
e453f6cd
UD
32996 * elf/do-rel.h: Add another parameter nrelative, replacing the
32997 local variable with the same name. Change name of the function
32998 to end in Rel or Rela (uppercase).
32999 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33000 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33001 elf_dynamic_do_##reloc function.
33002
fd5bdc09
UD
330032011-10-15 Ulrich Drepper <drepper@gmail.com>
33004
79b195b5
UD
33005 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33006 is sufficient, at least on modern CPUs.
33007
d4a28569
UD
33008 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33009
b61099b5
UD
33010 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33011 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33012
bcf01e6d
UD
33013 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33014 __expl_finite.
33015 * math/bits/math-finite.h: Add entries for exp.
33016 * math/e_expl.c: Add __*_finite alias.
33017 * sysdeps/i386/fpu/e_exp.S: Likewise.
33018 * sysdeps/i386/fpu/e_expf.S: Likewise.
33019 * sysdeps/i386/fpu/e_expl.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33021 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33022 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33023 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33025 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33026 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33027
ba1a0d59
UD
33028 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33029 is sufficient, at least on modern CPUs.
33030
fd5bdc09
UD
33031 * ctype/ctype-info.c (__ctype_init): Define.
33032 * include/ctype.h (__ctype_init): Declare.
33033 (__ctype_b_loc): The variable is always initialized.
33034 (__ctype_toupper_loc): Likewise.
33035 (__ctype_tolower_loc): Likewise.
33036 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33037 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33038
7872cfb0
AS
330392011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33040
b468825a
AS
33041 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33042
7872cfb0
AS
33043 * configure.in: Also look in $cxxmachine/include for C++ system
33044 headers.
33045
be13f7bf
LD
330462011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33047
33048 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33049 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33050 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33051 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33052 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33053 (USE_AS_WMEMCMP): New macro.
33054 Fixing indents.
33055 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33056 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33057 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33058 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33060 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33061 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33062 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33063 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33064 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33065 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33066 (USE_AS_WMEMCMP): New macro.
33067 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33068 * sysdeps/string/test-memcmp.c: Update.
33069 Fix simple_wmemcmp.
33070 Add new tests.
33071 * wcsmbs/wmemcmp.c: Update.
33072 (WMEMCMP): New macro.
33073 Fix overflow bug.
33074
556a2007
AJ
330752011-10-12 Andreas Jaeger <aj@suse.de>
33076
33077 [BZ #13268]
33078 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33079
538faaa7
UD
330802011-10-15 Ulrich Drepper <drepper@gmail.com>
33081
ab6737ff
UD
33082 * libio/iofwide.c (do_length): Avoid warning.
33083
538faaa7
UD
33084 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33085
396a21b1
UD
330862011-10-14 Ulrich Drepper <drepper@gmail.com>
33087
cdf2901f
UD
33088 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33089
38ad40ce
UD
33090 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33091 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33092 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33093 * sysdeps/i386/i686/fpu/e_log.S: New file.
33094 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33095 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33096
396a21b1
UD
33097 * ctype/ctype.h: Add support for inlined isXXX functions when
33098 compiling C++ code.
33099
6b1f68c9
AS
331002011-10-14 Andreas Schwab <schwab@redhat.com>
33101
349290c0
AS
33102 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33103
6b1f68c9
AS
33104 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33105
f2282d42
RM
331062011-10-13 Roland McGrath <roland@hack.frob.com>
33107
33108 [BZ #13291]
33109 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33110
5298ffa8
AS
331112011-10-13 Andreas Schwab <schwab@redhat.com>
33112
714fad23
AS
33113 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33114 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33115 feraiseexcept.
33116
81dcc7fb
AS
33117 * sysdeps/x86_64/memrchr.S: Check for zero size.
33118
5298ffa8
AS
33119 * string/stratcliff.c: Add memrchr tests.
33120
951fbcec
LD
331212011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33122
33123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33124 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33125 rawmemchr-sse2 rawmemchr-sse2-bsf.
33126 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33127 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33128 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33129 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33130 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33131 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33132 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33133 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33134 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33135 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33136 * string/memrchr.c (MEMRCHR): New macro.
33137
0ac5ae23
UD
331382011-10-12 Ulrich Drepper <drepper@gmail.com>
33139
33140 Add integration with gcc's -ffinite-math-only and optimize wrapper
33141 functions in libm.
33142 * Versions.def: Define GLIBC_2.15 version for libm.
33143 * math/Makefile (headers): Add bits/math-finite.h.
33144 * math/bits/math-finite.h: New file.
33145 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33146 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33147 * math/e_acoshl.c: Add __*_finite alias.
33148 * math/e_acosl.c: Likewise.
33149 * math/e_asinl.c: Likewise.
33150 * math/e_atan2l.c: Likewise.
33151 * math/e_atanhl.c: Likewise.
33152 * math/e_coshl.c: Likewise.
33153 * math/e_exp10.c: Likewise.
33154 * math/e_exp10f.c: Likewise.
33155 * math/e_exp10l.c: Likewise.
33156 * math/e_exp2l.c: Likewise.
33157 * math/e_fmodl.c: Likewise.
33158 * math/e_gammal_r.c: Likewise.
33159 * math/e_hypotl.c: Likewise.
33160 * math/e_j0l.c: Likewise.
33161 * math/e_j1l.c: Likewise.
33162 * math/e_jnl.c: Likewise.
33163 * math/e_lgammal_r.c: Likewise.
33164 * math/e_log10l.c: Likewise.
33165 * math/e_log2l.c: Likewise.
33166 * math/e_logl.c: Likewise.
33167 * math/e_powl.c: Likewise.
33168 * math/e_sinhl.c: Likewise.
33169 * math/e_sqrtl.c: Likewise.
33170 * math/e_scalb.c: Completely rewritten and optimized.
33171 * math/e_scalbf.c: Likewise.
33172 * math/e_scalbl.c: Likewise.
33173 * math/w_acos.c: Likewise.
33174 * math/w_acosf.c: Likewise.
33175 * math/w_acosl.c: Likewise.
33176 * math/w_acosh.c: Likewise.
33177 * math/w_acoshf.c: Likewise.
33178 * math/w_acoshl.c: Likewise.
33179 * math/w_asin.c: Likewise.
33180 * math/w_asinf.c: Likewise.
33181 * math/w_asinl.c: Likewise.
33182 * math/w_atan2.c: Likewise.
33183 * math/w_atan2f.c: Likewise.
33184 * math/w_atan2l.c: Likewise.
33185 * math/w_atanh.c: Likewise.
33186 * math/w_atanhf.c: Likewise.
33187 * math/w_atanhl.c: Likewise.
33188 * math/w_exp10.c: Likewise.
33189 * math/w_exp10f.c: Likewise.
33190 * math/w_exp10l.c: Likewise.
33191 * math/w_fmod.c: Likewise.
33192 * math/w_fmodf.c: Likewise.
33193 * math/w_fmodl.c: Likewise.
33194 * math/w_j0.c: Likewise.
33195 * math/w_j0f.c: Likewise.
33196 * math/w_j0l.c: Likewise.
33197 * math/w_j1.c: Likewise.
33198 * math/w_j1f.c: Likewise.
33199 * math/w_j1l.c: Likewise.
33200 * math/w_jn.c: Likewise.
33201 * math/w_jnf.c: Likewise.
33202 * math/w_log.c: Likewise.
33203 * math/w_logf.c: Likewise.
33204 * math/w_logl.c: Likewise.
33205 * math/w_log10.c: Likewise.
33206 * math/w_log10f.c: Likewise.
33207 * math/w_log10l.c: Likewise.
33208 * math/w_log2.c: Likewise.
33209 * math/w_log2f.c: Likewise.
33210 * math/w_log2l.c: Likewise.
33211 * math/w_pow.c: Likewise.
33212 * math/w_powf.c: Likewise.
33213 * math/w_powl.c: Likewise.
33214 * math/w_remainder.c: Likewise.
33215 * math/w_remainderf.c: Likewise.
33216 * math/w_remainderl.c: Likewise.
33217 * math/w_scalb.c: Likewise.
33218 * math/w_scalbf.c: Likewise.
33219 * math/w_scalbl.c: Likewise.
33220 * math/w_sqrt.c: Likewise.
33221 * math/w_sqrtf.c: Likewise.
33222 * math/w_sqrtl.c: Likewise.
33223 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33224 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33225 used.
33226 * math/math_private.h: Declare __kernel_standard_f.
33227 * math/w_cosh.c: Remove cruft and optimize a bit.
33228 * math/w_coshf.c: Likewise.
33229 * math/w_coshl.c: Likewise.
33230 * math/w_exp2.c: Likewise.
33231 * math/w_exp2f.c: Likewise.
33232 * math/w_exp2l.c: Likewise.
33233 * math/w_hypot.c: Likewise.
33234 * math/w_hypotf.c: Likewise.
33235 * math/w_hypotl.c: Likewise.
33236 * math/w_lgamma.c: Likewise.
33237 * math/w_lgamma_r.c: Likewise.
33238 * math/w_lgammaf.c: Likewise.
33239 * math/w_lgammaf_r.c: Likewise.
33240 * math/w_lgammal.c: Likewise.
33241 * math/w_lgammal_r.c: Likewise.
33242 * math/w_sinh.c: Likewise.
33243 * math/w_sinhf.c: Likewise.
33244 * math/w_sinhl.c: Likewise.
33245 * math/w_tgamma.c: Likewise.
33246 * math/w_tgammaf.c: Likewise.
33247 * math/w_tgammal.c: Likewise.
33248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33250 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33251 Minor optimizations. Pretty printing. Remove cruft.
33252 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33253 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33254 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33255 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33256 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33257 * sysdeps/i386/fpu/e_asin.S: Likewise.
33258 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33259 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33260 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33261 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33262 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33263 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33264 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33265 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33266 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33267 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33268 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33269 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33270 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33271 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33272 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33273 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33274 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33275 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33276 * sysdeps/i386/fpu/e_log.S: Likewise.
33277 * sysdeps/i386/fpu/e_log10.S: Likewise.
33278 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33279 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33280 * sysdeps/i386/fpu/e_log2.S: Likewise.
33281 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33282 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33283 * sysdeps/i386/fpu/e_logf.S: Likewise.
33284 * sysdeps/i386/fpu/e_logl.S: Likewise.
33285 * sysdeps/i386/fpu/e_pow.S: Likewise.
33286 * sysdeps/i386/fpu/e_powf.S: Likewise.
33287 * sysdeps/i386/fpu/e_powl.S: Likewise.
33288 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33289 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33290 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33292 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33293 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33294 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33295 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33296 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33300 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33301 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33302 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33303 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33304 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33305 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33306 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33307 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33308 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33310 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33311 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33314 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33315 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33317 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33318 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33319 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33320 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33321 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33322 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33323 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33324 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33325 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33326 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33327 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33328 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33329 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33331 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33332 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33333 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33334 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33335 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33336 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33337 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33338 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33339 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33340 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33341 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33342 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33343 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33344 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33345 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33346 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33347 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33348 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33349 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33350 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33351 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33352 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33353 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33354 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33355 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33356 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33357 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33358 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33359 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33360 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33361 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33365 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33366 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33367 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33368 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33369 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33371 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33372 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33373 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33374 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33376 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33378 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33379 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33381 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33382 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33384 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33385 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33386 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33387 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33388 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33389 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33390 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33391 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33392 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33393 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33394 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33395 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33396 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33397 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33398 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33399 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33400 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33401 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33402 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33403 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33404 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33405 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33406 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33407 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33408 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33409 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33410 (__isnanf): Likewise.
33411 (__isinf_ns): Likewise.
33412 (__isinf_nsf): Likewise.
33413 (__finite): Likewise.
33414 (__finitef): Likewise.
33415 (__ieee754_sqrt): Define as macro.
33416 (__ieee754_sqrtf): Define as macro.
33417 (__ieee754_sqrtl): Define as macro.
33418 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33419 inlined copy.
33420 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33421 __FINITE_MATH_ONLY__ consistent.
33422 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33423
12cc2fcd
AS
334242011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33425
a843a204
AS
33426 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33427 of rawmemchr.
33428
12cc2fcd
AS
33429 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33430
c853acd5
UD
334312011-10-09 Ulrich Drepper <drepper@gmail.com>
33432
33433 * po/ja.po: Update from translation team.
33434
c658d255
RM
334352011-10-08 Roland McGrath <roland@hack.frob.com>
33436
110946e4
RM
33437 * locale/programs/locarchive.c (prepare_address_space): New function.
33438 (create_archive, enlarge_archive, open_archive): Use it.
33439
50604220
RM
33440 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33441 inside [SHARED], where it is used.
33442
c658d255
RM
33443 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33444
33445 * nss/getent.c (netgroup_keys): Remove unused variable.
33446 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33447
6a621eb7
UD
334482011-10-08 Ulrich Drepper <drepper@gmail.com>
33449
7edb55ce
UD
33450 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33451 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33452 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33453 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33454 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33455 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33456 * math/Makefile (libm-calls): Add s_isinf_ns.
33457 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33458 * math/multc3.c: Likewise.
33459 * math/s_casin.c: Likewise.
33460 * math/s_casinf.c: Likewise.
33461 * math/s_casinl.c: Likewise.
33462 * math/s_ccos.c: Likewise.
33463 * math/s_ccosf.c: Likewise.
33464 * math/s_ccosl.c: Likewise.
33465 * math/s_ctan.c: Likewise.
33466 * math/s_ctanf.c: Likewise.
33467 * math/s_ctanh.c: Likewise.
33468 * math/s_ctanhf.c: Likewise.
33469 * math/s_ctanhl.c: Likewise.
33470 * math/s_ctanl.c: Likewise.
33471 * math/w_fmod.c: Likewise.
33472 * math/w_fmodf.c: Likewise.
33473 * math/w_fmodl.c: Likewise.
33474 * math/w_remainder.c: Likewise.
33475 * math/w_remainderf.c: Likewise.
33476 * math/w_remainderl.c: Likewise.
33477 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33478 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33481 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33482 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33483 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33484 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33485
187da0ae
UD
33486 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33487 of the number.
33488 * stdio-common/printf_fphex.c: Likewise.
33489 * stdio-common/printf_size.c: Likewise.
33490
9277c064
UD
33491 * math/e_exp10.c: Include math_private.h using <...> not "...".
33492 * math/e_exp10f.c: Likewise.
33493 * math/e_exp10l.c: Likewise.
33494 * math/e_exp2l.c: Likewise.
33495 * math/e_j0l.c: Likewise.
33496 * math/e_j1l.c: Likewise.
33497 * math/e_jnl.c: Likewise.
33498 * math/e_lgammal_r.c: Likewise.
33499 * math/e_rem_pio2l.c: Likewise.
33500 * math/e_scalb.c: Likewise.
33501 * math/e_scalbf.c: Likewise.
33502 * math/e_scalbl.c: Likewise.
33503 * math/k_cosl.c: Likewise.
33504 * math/k_sinl.c: Likewise.
33505 * math/k_tanl.c: Likewise.
33506 * math/s_cacoshf.c: Likewise.
33507 * math/s_catan.c: Likewise.
33508 * math/s_catanf.c: Likewise.
33509 * math/s_catanh.c: Likewise.
33510 * math/s_catanhf.c: Likewise.
33511 * math/s_catanhl.c: Likewise.
33512 * math/s_catanl.c: Likewise.
33513 * math/s_ccosh.c: Likewise.
33514 * math/s_ccoshf.c: Likewise.
33515 * math/s_ccoshl.c: Likewise.
33516 * math/s_cexp.c: Likewise.
33517 * math/s_cexpf.c: Likewise.
33518 * math/s_cexpl.c: Likewise.
33519 * math/s_clog.c: Likewise.
33520 * math/s_clog10.c: Likewise.
33521 * math/s_clog10f.c: Likewise.
33522 * math/s_clog10l.c: Likewise.
33523 * math/s_clogf.c: Likewise.
33524 * math/s_clogl.c: Likewise.
33525 * math/s_csin.c: Likewise.
33526 * math/s_csinf.c: Likewise.
33527 * math/s_csinh.c: Likewise.
33528 * math/s_csinhf.c: Likewise.
33529 * math/s_csinhl.c: Likewise.
33530 * math/s_csinl.c: Likewise.
33531 * math/s_csqrt.c: Likewise.
33532 * math/s_csqrtf.c: Likewise.
33533 * math/s_csqrtl.c: Likewise.
33534 * math/s_ctan.c: Likewise.
33535 * math/s_ctanf.c: Likewise.
33536 * math/s_ctanh.c: Likewise.
33537 * math/s_ctanhf.c: Likewise.
33538 * math/s_ctanhl.c: Likewise.
33539 * math/s_ctanl.c: Likewise.
33540 * math/s_ldexp.c: Likewise.
33541 * math/s_ldexpf.c: Likewise.
33542 * math/s_ldexpl.c: Likewise.
33543 * math/s_significand.c: Likewise.
33544 * math/s_significandf.c: Likewise.
33545 * math/s_significandl.c: Likewise.
33546 * math/w_acos.c: Likewise.
33547 * math/w_acosf.c: Likewise.
33548 * math/w_acosh.c: Likewise.
33549 * math/w_acoshf.c: Likewise.
33550 * math/w_acoshl.c: Likewise.
33551 * math/w_acosl.c: Likewise.
33552 * math/w_asin.c: Likewise.
33553 * math/w_asinf.c: Likewise.
33554 * math/w_asinl.c: Likewise.
33555 * math/w_atan2.c: Likewise.
33556 * math/w_atan2f.c: Likewise.
33557 * math/w_atan2l.c: Likewise.
33558 * math/w_atanh.c: Likewise.
33559 * math/w_atanhf.c: Likewise.
33560 * math/w_atanhl.c: Likewise.
33561 * math/w_cosh.c: Likewise.
33562 * math/w_coshf.c: Likewise.
33563 * math/w_coshl.c: Likewise.
33564 * math/w_dremf.c: Likewise.
33565 * math/w_exp10.c: Likewise.
33566 * math/w_exp10f.c: Likewise.
33567 * math/w_exp10l.c: Likewise.
33568 * math/w_exp2.c: Likewise.
33569 * math/w_exp2f.c: Likewise.
33570 * math/w_fmod.c: Likewise.
33571 * math/w_fmodf.c: Likewise.
33572 * math/w_fmodl.c: Likewise.
33573 * math/w_hypot.c: Likewise.
33574 * math/w_hypotf.c: Likewise.
33575 * math/w_hypotl.c: Likewise.
33576 * math/w_j0.c: Likewise.
33577 * math/w_j0f.c: Likewise.
33578 * math/w_j0l.c: Likewise.
33579 * math/w_j1.c: Likewise.
33580 * math/w_j1f.c: Likewise.
33581 * math/w_j1l.c: Likewise.
33582 * math/w_jn.c: Likewise.
33583 * math/w_jnf.c: Likewise.
33584 * math/w_jnl.c: Likewise.
33585 * math/w_lgamma.c: Likewise.
33586 * math/w_lgamma_r.c: Likewise.
33587 * math/w_lgammaf.c: Likewise.
33588 * math/w_lgammaf_r.c: Likewise.
33589 * math/w_lgammal.c: Likewise.
33590 * math/w_lgammal_r.c: Likewise.
33591 * math/w_log.c: Likewise.
33592 * math/w_log10.c: Likewise.
33593 * math/w_log10f.c: Likewise.
33594 * math/w_log10l.c: Likewise.
33595 * math/w_log2.c: Likewise.
33596 * math/w_log2f.c: Likewise.
33597 * math/w_log2l.c: Likewise.
33598 * math/w_logf.c: Likewise.
33599 * math/w_logl.c: Likewise.
33600 * math/w_pow.c: Likewise.
33601 * math/w_powf.c: Likewise.
33602 * math/w_powl.c: Likewise.
33603 * math/w_remainder.c: Likewise.
33604 * math/w_remainderf.c: Likewise.
33605 * math/w_remainderl.c: Likewise.
33606 * math/w_scalb.c: Likewise.
33607 * math/w_scalbf.c: Likewise.
33608 * math/w_scalbl.c: Likewise.
33609 * math/w_sinh.c: Likewise.
33610 * math/w_sinhf.c: Likewise.
33611 * math/w_sinhl.c: Likewise.
33612 * math/w_sqrt.c: Likewise.
33613 * math/w_sqrtf.c: Likewise.
33614 * math/w_sqrtl.c: Likewise.
33615 * math/w_tgamma.c: Likewise.
33616 * math/w_tgammaf.c: Likewise.
33617 * math/w_tgammal.c: Likewise.
33618
6a621eb7
UD
33619 * po/ja.po: Update from translation team.
33620
bf582445
AJ
336212011-09-29 Andreas Jaeger <aj@suse.de>
33622
f9efbf3a
AJ
33623 [BZ #13179]
33624 * sunrpc/netname.c (netname2host): Fix logic.
33625
bf582445
AJ
33626 [BZ #6779]
33627 [BZ #6783]
33628 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33629 correctly.
33630 * math/w_remainder.c (__remainder): Likewise.
33631 * math/w_remainderf.c (__remainderf): Likewise.
33632 * math/libm-test.inc (remainder_test): Add test cases.
33633
48693bea
AK
336342011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33635
33636 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33637 sdiv_qrnnd.
33638
42622229
LD
336392011-10-07 Ulrich Drepper <drepper@gmail.com>
33640
33641 * string/test-memcmp.c: Avoid unncessary #defines.
33642 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33643
093ecf92
LD
336442011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33645
33646 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33647 Use new sse2 version for core i3 - i7 as it's faster
33648 than sse42 version.
33649 (bit_Prefer_PMINUB_for_stringop): New.
33650 * sysdeps/x86_64/rawmemchr.S: Update.
33651 Replace with faster SSE2 version.
33652 * sysdeps/x86_64/memrchr.S: New file.
33653 * sysdeps/x86_64/memchr.S: Update.
33654 Replace with faster SSE2 version.
33655
fde56e5c
MP
336562011-09-12 Marek Polacek <mpolacek@redhat.com>
33657
33658 * elf/dl-load.c (lose): Add cast to avoid warning.
33659
21fd49a9
UD
336602011-10-07 Ulrich Drepper <drepper@gmail.com>
33661
5a06e643
UD
33662 * po/ca.po: Update from translation team.
33663
684ae515
UD
33664 * inet/getnetgrent_r.c: Hook up nscd.
33665 * nscd/Makefile (routines): Add nscd_netgroup.
33666 (nscd-modules): Add netgroupcache.
33667 (CFLAGS-netgroupcache.c): Define.
33668 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33669 (cache_search): Add const to second parameter.
33670 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33671 INNETGR.
33672 (dbs): Add netgrdb entry.
33673 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33674 (verify_persistent_db): Handle netgrdb.
33675 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33676 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33677 GETFDNETGR.
33678 (netgroup_response_header): Define.
33679 (innetgroup_response_header): Define.
33680 (datahead): Add netgroup_response_header and innetgroup_response_header
33681 elements.
33682 * nscd/nscd.conf: Add entries for netgroup cache.
33683 * nscd/nscd.h (dbtype): Add netgrdb.
33684 (_PATH_NSCD_NETGROUP_DB): Define.
33685 (netgroup_iov_disabled): Declare.
33686 (xmalloc, xcalloc, xrealloc): Move declarations here.
33687 (cache_search): Adjust prototype.
33688 Add netgroup-related prototypes.
33689 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33690 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33691 (__nscd_innetgr): Declare.
33692 * nscd/selinux.c (perms): Use access_vector_t as element type and
33693 add netgroup-related initializers.
33694 * nscd/netgroupcache.c: New file.
33695 * nscd/nscd_netgroup.c: New file.
33696 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33697 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33698 For four parameters use innetgr.
33699 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33700 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33701 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33702 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33703
21fd49a9
UD
33704 * nscd/connections.c (register_traced_file): Don't register file
33705 for disabled databases.
33706
054c0457
UD
337072011-10-06 Ulrich Drepper <drepper@gmail.com>
33708
32b63198
UD
33709 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33710
054c0457
UD
33711 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33712 from tree and freeing node.
33713
64031225
JO
337142011-09-25 Jiri Olsa <jolsa@redhat.com>
33715
33716 * nss/nsswitch.c (__nss_database_lookup): Handle
33717 nss_parse_service_list out of memory case.
33718
0490345c
JO
337192011-09-15 Jiri Olsa <jolsa@redhat.com>
33720
33721 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33722 out of memory case.
33723
3a62d00d
AS
337242011-10-04 Andreas Schwab <schwab@redhat.com>
33725
33726 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33727 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33728 pass it down.
33729 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33730 elf_machine_rela, elf_machine_lazy_rel.
33731 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33732 (ELF_DYNAMIC_DO_REL): Likewise.
33733 (ELF_DYNAMIC_DO_RELA): Likewise.
33734 (ELF_DYNAMIC_RELOCATE): Likewise.
33735 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33736 to ELF_DYNAMIC_DO_REL.
33737 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33738 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33739 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33740 elf_machine_rela.
33741 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33742 skip_ifunc, don't call ifunc function if non-zero.
33743 (elf_machine_rela): Likewise.
33744 (elf_machine_lazy_rel): Likewise.
33745 (elf_machine_lazy_rela): Likewise.
33746 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33747 (elf_machine_lazy_rel): Likewise.
33748 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33749 Likewise.
33750 (elf_machine_lazy_rel): Likewise.
33751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33752 Likewise.
33753 (elf_machine_lazy_rel): Likewise.
33754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33755 (elf_machine_lazy_rel): Likewise.
33756 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33757 (elf_machine_lazy_rel): Likewise.
33758 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33759 (elf_machine_lazy_rel): Likewise.
33760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33761 (elf_machine_lazy_rel): Likewise.
33762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33763 (elf_machine_lazy_rel): Likewise.
33764 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33765 (elf_machine_lazy_rel): Likewise.
33766
68577918
UD
337672011-09-28 Ulrich Drepper <drepper@gmail.com>
33768
33769 * nss/nss_files/files-init.c (_nss_files_init): Use static
33770 initialization for all the *_traced_file variables.
33771
68822d74
AS
337722011-09-28 Andreas Schwab <schwab@redhat.com>
33773
33774 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33775
2056100b
RM
337762011-09-27 Roland McGrath <roland@hack.frob.com>
33777
33778 [BZ #13226]
33779 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33780
32c76b63
AS
337812011-09-27 Andreas Schwab <schwab@redhat.com>
33782
33783 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33784 Reread the line before reparsing it.
33785
bf972c9d
AS
337862011-09-26 Andreas Schwab <schwab@redhat.com>
33787
33788 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33789
e057a1b5
JM
337902011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33791 Maxim Kuvyrkov <maxim@codesourcery.com>
33792 Joseph Myers <joseph@codesourcery.com>
33793
33794 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33795 if needed for __stack_chk_guard.
33796
bc7e1c36
RM
337972011-09-19 Roland McGrath <roland@hack.frob.com>
33798
ecb1482f
RM
33799 * sysdeps/posix/spawni.c (script_execute): Always define it.
33800 It will be optimized away if unused.
33801 (maybe_script_execute): New function.
33802 (__spawni): Call it.
33803
bc7e1c36
RM
33804 * Makerules: Don't include tls.make.
33805 (config-tls): Always set to thread.
33806 * tls.make.c: File removed.
33807
1c3b002b
MF
338082011-09-19 Mike Frysinger <vapier@gentoo.org>
33809
33810 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33811 * config.make.in (CPPFLAGS-config): New substituted variable.
33812
2840865d
UD
338132011-09-15 Ulrich Drepper <drepper@gmail.com>
33814
88738eb6
UD
33815 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33816
cbf645a6 33817 [BZ #13192]
2840865d
UD
33818 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33819 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33820
b402e91a
RM
338212011-09-15 Roland McGrath <roland@hack.frob.com>
33822
33823 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33824 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33826 (CALL_FAIL): Likewise.
33827 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33828 (CALL_FAIL): Macro removed.
33829 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33830
4c1a1f71
UD
338312011-09-15 Ulrich Drepper <drepper@gmail.com>
33832
33833 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33834 for __FINITE_MATH_ONLY__ == 1.
33835
edc121be
AS
338362011-09-15 Andreas Schwab <schwab@redhat.com>
33837
33838 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33839 __ieee754_sqrt instead of sqrt.
33840 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33841 __ieee754_sqrtf instead of sqrtf.
33842 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33843 __floorf instead of floorf.
33844 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33845 __floorf, __truncf instead of floorf, truncf.
33846
cd205654
UD
338472011-09-14 Ulrich Drepper <drepper@gmail.com>
33848
ee4d0315
UD
33849 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33850
cd205654
UD
33851 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33852 __extern_always_inline.
33853 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33854 32-bit.
33855
48b67d71
AS
338562011-09-14 Andreas Schwab <schwab@redhat.com>
33857
33858 * elf/rtld.c (dl_main): Also relocate in dependency order when
33859 doing symbol dependency testing.
33860
1ae12c75
AS
338612011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33862
33863 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33864 Always define `refsym'.
33865
995a80df
AS
338662011-09-13 Andreas Schwab <schwab@redhat.com>
33867
e529793b
AS
33868 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33869 (__FD_ELT): Renamed from __FDELT.
33870 * misc/bits/select2.h (__FD_ELT): Likewise.
33871 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33872 __FD_MASK instead of __FDELT, __FDMASK.
33873 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33874 Likewise.
33875 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33876 Likewise.
33877
52d4fef8
AS
33878 * elf/Makefile (gen-ldd): Fix pattern.
33879
995a80df
AS
33880 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33881 (init_tls): Likewise.
33882
8682f8b0
UD
338832011-09-12 Ulrich Drepper <drepper@gmail.com>
33884
33885 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33886
de82006d
AS
338872011-09-12 Andreas Schwab <schwab@redhat.com>
33888
a7c8e6a1
AS
33889 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33890 `struct cmsghdr *' instead of `void *'.
33891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33892 Likewise.
33893
0f31fe77
AS
338942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33895
33896 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33897 if non-absolute.
33898 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33899 ldd_rewrite_script.
0f31fe77 33900
32b4c839
UD
339012011-09-11 Ulrich Drepper <drepper@gmail.com>
33902
83cd1420
UD
33903 * configure.in: Remove --with-tls option.
33904 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33905 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33906 out in case it is missing.
33907 * sysdeps/ia64/elf/configure.in: Likewise.
33908 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33909 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33910 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33911 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33912 * sysdeps/sh/elf/configure.in: Likewise.
33913 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33914 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33915 * sysdeps/x86_64/elf/configure.in: Likewise.
33916 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33917 * sysdeps/mach/hurd/tls.h: Likewise.
33918
633f745d
UD
33919 [BZ #13067]
33920 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33921
f318beb8
UD
33922 [BZ #13090]
33923 * configure.in: Fix use of AC_INIT.
33924
32b4c839
UD
33925 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33926
3ce1f295
UD
339272011-09-10 Ulrich Drepper <drepper@gmail.com>
33928
bb016596
UD
33929 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33930 __set_errno.
8e58439c
UD
33931 * malloc/hooks.c: Likewise.
33932
aebae053 33933 [BZ #11929]
02d46fc4
UD
33934 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33935 variables statically.
33936 (narenas): Initialize.
33937 (list_lock): Initialize.
bb016596
UD
33938 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33939 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33940 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33941 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33942 Add initializers to main_arena and mp_.
33943 (malloc_state): Remove pagesize member. Change all users to use
33944 GLRO(dl_pagesize).
33945
33946 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33947 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33948 is always initialized.
33949
22a89187
UD
33950 * malloc/malloc.c: Removed unused configurations and dead code.
33951 * malloc/arena.c: Likewise.
33952 * malloc/hooks.c: Likewise.
02d46fc4 33953 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33954
d063d164
UD
33955 * include/tls.h: Removed. USE___THREAD must always be defined.
33956 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33957 * elf/dl-libc.c: Likewise.
33958 * elf/dl-tsd.c: Likewise.
33959 * include/errno.h: Likewise.
33960 * include/netdb.h: Likewise.
33961 * include/resolv.h: Likewise.
33962 * inet/herrno-loc.c: Likewise.
33963 * inet/herrno.c: Likewise.
33964 * malloc/arena.c: Likewise.
33965 * malloc/hooks.c: Likewise.
33966 * malloc/malloc.c: Likewise.
33967 * resolv/res-state.c: Likewise.
33968 * resolv/res_libc.c: Likewise.
33969 * sysdeps/i386/dl-machine.h: Likewise.
33970 * sysdeps/ia64/dl-machine.h: Likewise.
33971 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33972 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33973 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33974 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33975 * sysdeps/sh/dl-machine.h: Likewise.
33976 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33977 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33978 * sysdeps/unix/i386/sysdep.S: Likewise.
33979 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33980 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33982 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33983 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33985 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33989 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33990 * sysdeps/x86_64/dl-machine.h: Likewise.
33991 * tls.make.c: Likewise.
33992
3ce1f295
UD
33993 * configure.in: Remove --with-__thread option. Make tests for
33994 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33995 tls_model attribute fail if no support is available. Remove
33996 USE_IN_LIBIO.
33997 * Makeconfig: Adjust for dropped configure option. All features are
33998 now mandatory.
33999 * Makerules: Likewise.
34000 * Versions.def: Likewise.
34001 * argp/argp-fmtstream.c: Likewise.
34002 * argp/argp-fmtstream.h: Likewise.
34003 * argp/argp-help.c: Likewise.
34004 * assert/assert.c: Likewise.
34005 * config.h.in: Likewise.
34006 * config.make.in: Likewise.
34007 * configure: Likewise.
34008 * configure.in: Likewise.
34009 * csu/Versions: Likewise.
34010 * csu/init.c: Likewise.
34011 * elf/tst-audit2.c: Likewise.
34012 * elf/tst-tls10.c: Likewise.
34013 * elf/tst-tls10.h: Likewise.
34014 * elf/tst-tls11.c: Likewise.
34015 * elf/tst-tls12.c: Likewise.
34016 * elf/tst-tls14.c: Likewise.
34017 * elf/tst-tlsmod11.c: Likewise.
34018 * elf/tst-tlsmod12.c: Likewise.
34019 * elf/tst-tlsmod13.c: Likewise.
34020 * elf/tst-tlsmod13a.c: Likewise.
34021 * elf/tst-tlsmod14a.c: Likewise.
34022 * elf/tst-tlsmod15b.c: Likewise.
34023 * elf/tst-tlsmod16a.c: Likewise.
34024 * elf/tst-tlsmod16b.c: Likewise.
34025 * elf/tst-tlsmod7.c: Likewise.
34026 * elf/tst-tlsmod8.c: Likewise.
34027 * elf/tst-tlsmod9.c: Likewise.
34028 * gmon/gmon.c: Likewise.
34029 * grp/fgetgrent_r.c: Likewise.
34030 * grp/putgrent.c: Likewise.
34031 * hurd/fopenport.c: Likewise.
34032 * include/libc-symbols.h: Likewise.
34033 * include/tls.h: Likewise.
34034 * intl/gettextP.h: Likewise.
34035 * intl/loadinfo.h: Likewise.
34036 * locale/global-locale.c: Likewise.
34037 * locale/localeinfo.h: Likewise.
34038 * mach/devstream.c: Likewise.
34039 * malloc/arena.c: Likewise.
34040 * malloc/set-freeres.c: Likewise.
34041 * misc/err.c: Likewise.
34042 * misc/getttyent.c: Likewise.
34043 * misc/mntent_r.c: Likewise.
34044 * posix/getopt.c: Likewise.
34045 * posix/wordexp.c: Likewise.
34046 * pwd/fgetpwent_r.c: Likewise.
34047 * resolv/Versions: Likewise.
34048 * resolv/res_hconf.c: Likewise.
34049 * shadow/fgetspent_r.c: Likewise.
34050 * shadow/putspent.c: Likewise.
34051 * stdio-common/printf_fphex.c: Likewise.
34052 * stdio-common/tmpfile.c: Likewise.
34053 * stdlib/abort.c: Likewise.
34054 * stdlib/fmtmsg.c: Likewise.
34055 * sunrpc/auth_unix.c: Likewise.
34056 * sunrpc/clnt_perr.c: Likewise.
34057 * sunrpc/clnt_tcp.c: Likewise.
34058 * sunrpc/clnt_udp.c: Likewise.
34059 * sunrpc/clnt_unix.c: Likewise.
34060 * sunrpc/openchild.c: Likewise.
34061 * sunrpc/svc_simple.c: Likewise.
34062 * sunrpc/svc_tcp.c: Likewise.
34063 * sunrpc/svc_udp.c: Likewise.
34064 * sunrpc/svc_unix.c: Likewise.
34065 * sunrpc/xdr.c: Likewise.
34066 * sunrpc/xdr_array.c: Likewise.
34067 * sunrpc/xdr_rec.c: Likewise.
34068 * sunrpc/xdr_ref.c: Likewise.
34069 * sunrpc/xdr_stdio.c: Likewise.
34070
1248c1c4
PB
340712011-09-09 Ulrich Drepper <drepper@gmail.com>
34072
34073 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34074
340752011-07-03 Andreas Jaeger <aj@suse.de>
34076
34077 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34078 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34079 regenerate with gen-libm-tests.pl.
34080
340812010-05-12 Petr Baudis <pasky@suse.cz>
34082
34083 [BZ #11589]
34084 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34085 around j0() zero points by switching to j1().
34086 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34090
f22e1074
UD
340912011-09-09 Ulrich Drepper <drepper@gmail.com>
34092
f19009c1
UD
34093 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34094 instead of 0.
34095 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34096 instead of 0.
f19009c1
UD
34097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34098 Patch in part by Pavel Roskin <proski@gnu.org>.
34099
3f8cc204
UD
34100 [BZ #13138]
34101 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34102 realloc.
34103 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34104 Free memory block if necessary.
34105
f22e1074
UD
34106 [BZ #12847]
34107 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34108 be NULL. Don't lock in this case.
34109
0a2349f9
RM
341102011-09-09 Roland McGrath <roland@hack.frob.com>
34111
34112 * elf/elf.h (ELFOSABI_GNU): New macro.
34113 (ELFOSABI_LINUX): Define to that.
34114
f3cdd467
DZ
341152011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34116
34117 * string/strncat.c (strncat): Undef the symbol in case it has been
34118 defined in bits/string.h.
34119
74718d13
UD
341202011-09-09 Ulrich Drepper <drepper@gmail.com>
34121
633e9e0f
UD
34122 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34123
0a2349f9 34124 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34125 link map.
34126
f9924780
AJ
341272011-08-17 Andreas Jaeger <aj@suse.de>
34128
34129 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34130
7f5517aa
PP
341312011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34132 Ian Lance Taylor <iant@google.com>
34133
34134 * math/libm-test.inc (lround_test): New testcase.
34135 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34136
762011fe
UD
341372011-09-08 Ulrich Drepper <drepper@gmail.com>
34138
92963737
UD
34139 * Makefile: Remove support for automatic cvs check-ins.
34140 * Makerules: Likewise.
34141 * config.make.in: Likewise.
34142 * configure.in: Likewise.
34143 * intl/Makefile: Likewise.
34144 * locale/Makefile: Likewise.
34145 * po/Makefile: Likewise.
34146 * posix/Makefile: Likewise.
34147 * sysdeps/gnu/Makefile: Likewise.
34148 * sysdeps/mach/hurd/Makefile: Likewise.
34149 * sysdeps/sparc/sparc32/Makefile: Likewise.
34150
b0727fd8
JS
34151 [BZ #13118]
34152 * posix/Makefile (bug-regex32-ENV): Define.
34153 Patch by John Stanley <jpsinthemix@verizon.net>.
34154
a0f33f99
UD
34155 * misc/Makefile (headers): Add bits/select2.h.
34156 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34157 * misc/bits/select2.h: New file.
34158 * include/bits/select2.h: New file.
34159 * debug/Makefile (routines): Add fdelt_chk.
34160 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34161 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34162 FD_ISSET.
34163 * debug/fdelt_chk.c: New file.
34164
762011fe
UD
34165 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34166 * wcsmbs/test-wmemcmp.c: Likewise.
34167 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34168 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34169
341702011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34171
34172 * string/Makefile (strop-tests): Add memcmp.
34173 * string/test-wmemcmp.c: New file.
34174 * string/test-memcmp.c: Add wmemcmp support.
34175
7f513ec8
RM
341762011-09-08 Roland McGrath <roland@hack.frob.com>
34177
0442afb4
RM
34178 [BZ #13153]
34179 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34180 2011-07-19 change.
34181
7f513ec8
RM
34182 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34183 garbage value in a __mach_port_mod_refs call in the cases of the
34184 task-self and thread-self ports.
34185
a12b2239
ST
341862011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34187
34188 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34189
610f9ab4
AS
341902011-09-08 Andreas Schwab <schwab@redhat.com>
34191
7f513ec8 34192 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34193
48882a1a
LD
341942011-09-07 Ulrich Drepper <drepper@gmail.com>
34195
b49865be
UD
34196 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34197
fdc86bc9
UD
34198 * elf/dl-libc.c (dlerror_run): Pass back error code from
34199 dl_catch_error.
34200
c966526a
UD
34201 [BZ #13123]
34202 * elf/dl-load.c (lose): Free l_origin if it is valid.
34203
48882a1a
LD
34204 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34205 names.
34206 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34207 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34208 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34209 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34210 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34211 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34212
77a2a8b4
AZ
342132011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34214
34215 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34216 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34217 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34218 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34219 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34220 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34221 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34222 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34223 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34224 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34225
24f579d8
AM
342262011-08-15 Alan Modra <amodra@gmail.com>
34227
34228 [BZ #13092]
34229 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34230 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34231 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34232 ppc_mcount to static-only-routines.
34233 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34234 __mcount_internal.
34235 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34236 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34237
3d4837df
UD
342382011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34239
34240 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34241 for finite and infinity parameters.
34242
22700377
WS
342432011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34244
34245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34246 and add nop instructions for throughput optimization.
34247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34248
5025581e
WS
342492011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34250
34251 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34252 aligned copy for power7 with vector-scalar instructions.
34253 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34254
08a300c9
L
342552011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34256
34257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34258 AVX check.
34259
59178ef9
AS
342602011-09-07 Andreas Schwab <schwab@redhat.com>
34261
34262 [BZ #13144]
34263 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34264 last change.
34265
e38ba7ab
UD
342662011-09-07 Ulrich Drepper <drepper@gmail.com>
34267
34268 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34269 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34270 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34271 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34272 clock_gettime.
34273
d53a73ac
UD
342742011-09-06 Ulrich Drepper <drepper@gmail.com>
34275
fc8bffcc
UD
34276 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34277 Forgot to demangle the pointer.
34278
ceaa0c5d
UD
34279 * sysdeps/i386/sysdep.h: Define atom_text_section.
34280 * sysdeps/x86_64/sysdep.h: Likewise.
34281 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34282 section with atom_text_section.
34283 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34284 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34285 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34287 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34288
a77d3c17
UD
34289 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34290 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34291 already be defined. Change to take two parameters and don't assign
34292 result to variable. Adjust all users.
34293 Define INTERNAL_GETTIME if not already defined.
34294 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34295 call.
34296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34297 HAVE_CLOCK_GETTIME_VSYSCALL.
34298 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34299
d53a73ac
UD
34300 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34301 gettimeofday vsyscall, just use time.
34302
a8f84144
AS
343032011-09-06 Andreas Schwab <schwab@redhat.com>
34304
34305 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34306 <errno.h>.
34307
ef606249
UD
343082011-09-06 Ulrich Drepper <drepper@gmail.com>
34309
34310 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34311 syscall on x86-64.
34312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34313 syscall.
34314 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34315 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34316 syscall if possible.
34317
6585cb60
UD
343182011-09-05 Ulrich Drepper <drepper@gmail.com>
34319
34320 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34321 e_ident. Don't pass to find_mapsXX.
34322 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34323
a5f524e4
LD
343242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34325
34326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34327 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34328 * sysdeps/x86_64/multiarch/strchr.S: Update.
34329 Check bit_slow_BSF bit.
34330 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34331 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34332 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34333
554881ef
UD
343342011-09-05 Ulrich Drepper <drepper@gmail.com>
34335
d96de963
UD
34336 [BZ #13134]
34337 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34338 before glibc 2.15.
34339 (tryshell): Define.
34340 (__spawni): Change last parameter to be flag. Test
34341 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34342 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34343 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34344 * posix/spawni.c: Likewise.
34345 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34346 * posix/spawnp.c: Likewise. Change normal version to use
34347 SPAWN_XFLAGS_USE_PATH.
34348 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34349 SPAWN_XFLAGS_TRY_SHELL.
34350
d48e5868
UD
34351 [BZ #13150]
34352 * posix/glob.h: Remove gcc 1.x support.
34353
554881ef
UD
34354 [BZ #13068]
34355 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34356
693fb948
LD
343572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34358
34359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34360 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34361 strrchr-sse2-bsf
34362 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34363 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34364 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34365 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34366 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34367 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34368
1b48c537
UD
343692011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34370
49d42c37
UD
34371 * sysdeps/x86_64/wcscmp.S: New file.
34372
1b48c537
UD
34373 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34374 wcscmp-c wcscmp-sse2
34375 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34376 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34377 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34378 * wcsmbs/wcscmp.c: Allow renaming.
34379
15c95c5d
DM
343802011-09-05 David S. Miller <davem@davemloft.net>
34381
34382 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34383 stack slot, rather than the struct return pointer slot.
34384 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34385 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34387 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34388
2f0ad8f3
UD
343892011-09-05 Ulrich Drepper <drepper@gmail.com>
34390
d88ae418
UD
34391 * po/ja.po: Update from translation team.
34392
2f0ad8f3
UD
34393 [BZ #13144]
34394 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34395 kernel in 64-bit binaries.
34396
5f4318d1
DM
343972011-09-01 David S. Miller <davem@davemloft.net>
34398
34399 * elf/elf.h (HWCAP_SPARC_*): Move to..
34400 * sysdeps/sparc/sysdep.h: this new file and add new values.
34401 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34402 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34403 _DL_HWCAP_COUNT to 24.
34404 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34405 entries.
34406 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34407 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34408 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34410 instead of magic constants.
34411 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34412
3ba57516
DM
344132011-08-31 David S. Miller <davem@davemloft.net>
34414
34415 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34417 Reimplement to do errno handling inline.
34418 (SYSCALL_ERROR_HANDLER): New macro.
34419 (__SYSCALL_STRING): Do not do errno handling in asm.
34420 (__CLONE_SYSCALL_STRING): Delete.
34421 (__INTERNAL_SYSCALL_STRING): Delete.
34422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34423 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34424 (PSEUDO): Reimplement to do errno handling inline.
34425 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34426 (SYSCALL_ERROR_HANDLER): New macro.
34427 (__SYSCALL_STRING): Do not do errno handling in asm.
34428 (__CLONE_SYSCALL_STRING): Delete.
34429 (__INTERNAL_SYSCALL_STRING): Delete.
34430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34431 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34432 i386.
34433 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34434 (inline_syscall*): Add 'err' argument.
34435 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34436 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34437 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34438 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34439
34440 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34441 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34442
2bc17433
AS
344432011-08-30 Andreas Schwab <schwab@redhat.com>
34444
34445 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34446
fbeb5f4d
JO
344472011-08-29 Jiri Olsa <jolsa@redhat.com>
34448
34449 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34450 directive.
34451
ad69cc26
DM
344522011-08-24 David S. Miller <davem@davemloft.net>
34453
34454 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34455
39dd69df
AS
344562011-08-24 Andreas Schwab <schwab@redhat.com>
34457
34458 * elf/Makefile: Add rules to build and run unload8 test.
34459 * elf/unload8.c: New file.
34460 * elf/unload8mod1.c: New file.
34461 * elf/unload8mod1x.c: New file.
34462 * elf/unload8mod2.c: New file.
34463 * elf/unload8mod3.c: New file.
34464
34465 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34466 it wasn't used.
34467
2c0b250a
DM
344682011-08-23 David S. Miller <davem@davemloft.net>
34469
34470 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34471 subtract stack bias.
34472 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34473 %sp not %fp in calculations.
34474 (_JMPBUF_UNWINDS_ADJ): Likewise.
34475
22044b48
DM
34476 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34477 (aio_suspend): Call it to force an exception region around the
34478 AIO_MISC_WAIT() invocation.
34479
2cae4995
AS
344802011-08-23 Andreas Schwab <schwab@redhat.com>
34481
34482 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34483 backslash.
34484
873a772e
AJ
344852011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34486
34487 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34488 protection macro.
34489 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34490 and <dl-machine.h>.
34491 (Elf64_FuncDesc): Remove.
34492
25ad0df1
DM
344932011-08-22 David S. Miller <davem@davemloft.net>
34494
34495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34496 sigaltstack check, add missing cfi directives.
34497 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34498 missing cfi directives, and sigaltstack handling.
34499
e888bcbe
AS
345002011-08-16 Andreas Schwab <schwab@redhat.com>
34501
34502 [BZ #11724]
34503 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34504 object is seen twice.
34505 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34506
34507 * elf/Makefile (distribute): Add tst-initorder2.c.
34508 (tests): Add tst-initorder2.
34509 (modules-names): Add tst-initorder2a tst-initorder2b
34510 tst-initorder2c tst-initorder2d. Add rules to build them.
34511 ($(objpfx)tst-initorder2.out): New rule.
34512 * elf/tst-initorder2.c: New file.
34513 * elf/tst-initorder2.exp: New file.
34514
87162f46
AS
345152011-08-22 Andreas Schwab <schwab@redhat.com>
34516
70538b7f
AS
34517 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34518
f55ffe58
AS
34519 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34520 dependencies back to end of function.
34521
87162f46
AS
34522 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34523 $(elfobjdir)/ld.so.
34524
91b392a4
UD
345252011-08-21 Ulrich Drepper <drepper@gmail.com>
34526
34527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34528 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34530 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34531 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34532 of __vdso_gettimeofday.
34533 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34534 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34535 attribute_hidden.
34536 (_libc_vdso_platform_setup): Remove initialization of
34537 __vdso_gettimeofday and __vdso_time.
34538
5c43483f
UD
345392011-08-20 Ulrich Drepper <drepper@gmail.com>
34540
775a77e7
UD
34541 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34542 and fgetc_unlocked.
34543 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34544 getc_unlocked.
89f447ed 34545
49c74ba9
UD
34546 * elf/dl-open.c (add_to_global): Report additions to the global scope
34547 for LD_DEBUG=scopes.
34548 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34549 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34550
5c43483f
UD
34551 [BZ #13114]
34552 * stdio-common/Makefile (tests): Add bug24.
34553 * stdio-common/bug24.c: New file.
34554
a101b025
AJ
345552011-08-19 Andreas Jaeger <aj@suse.de>
34556
34557 [BZ #13114]
34558 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34559 non-existant file when using close-on-exec mode.
34560
c88f1766
UD
345612011-08-20 Ulrich Drepper <drepper@gmail.com>
34562
0276a718
UD
34563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34564 the very first instruction.
34565
c88f1766
UD
34566 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34567 the CFI state in the end.
34568 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34569 inclusion of dl-trampoline.h.
34570 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34571
51ccffa0
AS
345722011-08-19 Andreas Schwab <schwab@redhat.com>
34573
94d7165f
AS
34574 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34575 expectations for long double.
34576
51ccffa0
AS
34577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34578 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34579
fd708658 345802011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34581
34582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34583 artificual limit depends upon the system page size.
34584
44f0a71e
UD
345852011-08-17 Ulrich Drepper <drepper@gmail.com>
34586
34587 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34588 * resolv/Makefile: Define CFLAGS-libresolv.
34589
8de79a24
AS
345902011-08-17 Andreas Schwab <schwab@redhat.com>
34591
34592 * nss/makedb.c (compute_tables): Make variables used in nested
34593 function static.
34594
27724598
UD
345952011-08-17 Ulrich Drepper <drepper@gmail.com>
34596
c5305d88
UD
34597 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34598 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34599 if buffer was too small.
34600
27724598
UD
34601 * elf/pldd.c (main): Attach to all threads in the process.
34602 Rewrite /proc handling to use *at functions.
34603
076fe015
UD
346042011-08-16 Ulrich Drepper <drepper@gmail.com>
34605
174baab3
UD
34606 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34607 specifies first scope to show.
34608 (dl_open_worker): Update callers. Move printing scope of new
34609 object to before the relocation.
44f0a71e 34610 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34611 * sysdeps/generic/ldsodefs.h: Update declaration.
34612
076fe015
UD
34613 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34614 string for the scope number.
34615
a60df2c3
UD
346162011-08-14 Ulrich Drepper <drepper@gmail.com>
34617
34618 * nscd/servicescache.c (cache_addserv): Make sure written is always
34619 initialized.
34620
5e4287d1
RM
346212011-08-14 Roland McGrath <roland@hack.frob.com>
34622
85ae0589
RM
34623 * sysdeps/i386/i486/bits/atomic.h
34624 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34625 statement expression, so as to suppress "set but not used" warning.
34626 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34627
69f63097
RM
34628 * string/strncat.c (STRNCAT): Use prototype definition.
34629
675456ef
RM
34630 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34631 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34632 -Iprograms here.
34633 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34634 (localedef-modules): Add localedef.
34635 (locale-modules): Add locale.
34636
5e4287d1
RM
34637 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34638 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34639 to avoid a warning.
34640
9c96ff23
DM
346412011-08-14 David S. Miller <davem@davemloft.net>
34642
34643 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34644 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34645
f9ddf089
UD
346462011-08-13 Ulrich Drepper <drepper@gmail.com>
34647
44f0a71e 34648 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34649 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34650 * elf/rtld.c (dl_main): Set l_name of vDSO.
34651 Call _dl_show_scope when DL_DEBUG_SCOPES.
34652 (process_dl_debug): Recognize scopes flag and also set it for all.
34653 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34654 Declare _dl_show_scope.
34655
1dc27704
UD
34656 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34657 (do_dlopen): Pass caller_dlopen to dl_open.
34658 (__libc_dlopen_mode): Initialize caller_dlopen.
34659
f9ddf089
UD
34660 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34661 of libc. Make tolower call locale-independent. Optimize a bit by
34662 using isdigit instead of isalnum.
34663 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34664
9ac533d3
UD
346652011-08-12 Ulrich Drepper <drepper@gmail.com>
34666
34667 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34668 was a dependency or dynamically loaded.
34669
89edf2e9
UD
346702011-08-11 Ulrich Drepper <drepper@gmail.com>
34671
8e999d29
UD
34672 * intl/l10nflist.c: Allow architecture-specific pop function.
34673 * sysdeps/x86_64/l10nflist.c: New file.
34674
89edf2e9
UD
34675 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34676 classification.
34677
14d96785
AS
346782011-08-10 Andreas Schwab <schwab@redhat.com>
34679
34680 * include/dirent.h: Add libc_hidden_proto for scandirat and
34681 scandirat64. Don't declare __scandirat64.
34682 * dirent/scandirat.c: Add libc_hidden_def.
34683 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34684 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34685
6761ac04
DM
346862011-08-10 David S. Miller <davem@davemloft.net>
34687
34688 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34689 enum.
34690 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34691 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34692 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34693
c55fbd1e
UD
346942011-08-09 Ulrich Drepper <drepper@gmail.com>
34695
34696 * Versions.def [libc]: Add GLIBC_2.15.
34697 * dirent/Makefile (routines): Add scandirat and scandirat64.
34698 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34699 GLIBC_2.15.
34700 * dirent/dirent.h: Declare scandirat and scandirat64.
34701 * dirent/scandirat.c: New file.
34702 * dirent/scandirat64.c: New file.
34703 * sysdeps/wordsize-64/scandirat.c: New file.
34704 * sysdeps/wordsize-64/scandirat64.c: New file.
34705 * dirent/opendir.c: Define opendirat.
34706 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34707 using scandirat.
34708 * dirent/scandir64.c: Adjust for scandir.c change.
34709 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34710 __scandirat64, and __scandir_cancel_handler.
34711 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34712 additional parameter and use openat instead of open (outside of ld.so).
34713 Add new __opendir as wrapper around __opendirat.
34714 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34715 here without requiring old scandirat implementation.
34716
879165f2
UD
347172011-08-08 Ulrich Drepper <drepper@gmail.com>
34718
34719 * dirent/scandir.c (cancel_handler): Renamed to
34720 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34721 defined. Adjust users.
34722 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34723 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34724
cb7e923b
UD
347252011-08-04 Ulrich Drepper <drepper@gmail.com>
34726
16292edd
UD
34727 * string/test-string.h (IMPL): Use __STRING to expand name and then
34728 stringify it.
34729
cb7e923b
UD
34730 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34731 of cleanups.
34732
cff82933
LD
347332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34734
34735 * string/Makefile: Update.
34736 (strop-tests): Append strncat.
34737 * string/test-wcscmp.c: New file.
34738 New comprehensive test for wcscmp.
34739 * string/test-strcmp.c: Update.
34740 (WIDE): New define.
34741
9be9bfcc
AS
347422011-07-22 Andreas Schwab <schwab@redhat.com>
34743
34744 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34745 line.
34746
2e96f1c7
AS
347472011-07-26 Andreas Schwab <schwab@redhat.com>
34748
34749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34750 encoding to ACE if AI_IDN.
34751
85188888
JJ
347522011-08-01 Jakub Jelinek <jakub@redhat.com>
34753
34754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34755 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34756
5fa16e9b
LD
347572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34758
34759 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34760 Fix overflow bug in strncat.
34761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34762
34763 * string/test-strncat.c: Update.
34764 Add new tests for checking overflow bugs.
34765
347662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34767
34768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34769 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34770 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34771 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34772 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34773 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34774 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34775 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34776 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34777
34778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34779 (USE_AS_STRCAT): Define.
34780 Add strcat and strncat support.
34781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34782
8c1a459f
AS
347832011-07-25 Andreas Schwab <schwab@redhat.com>
34784
34785 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34786 __n bigger than INT_MAX+1.
34787 (__strncmp_g): Likewise.
34788
bba33c28
UD
347892011-07-23 Ulrich Drepper <drepper@gmail.com>
34790
798be72d
UD
34791 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34792 * libio/stido.h: Likewise.
34793
8accd4dc
UD
34794 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34795 (AF_NFC): Define.
34796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34797 (AF_NFC): Define.
34798
cbff0d96
UD
34799 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34800 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34801 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34802 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34803 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34804
9191c04a
UD
34805 [BZ #13021]
34806 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34807 installed.
34808
bba33c28
UD
34809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34810 typo.
34811 (_dl_x86_64_save_sse): Likewise.
34812
90f139dd
UD
348132011-07-22 Ulrich Drepper <drepper@gmail.com>
34814
1aae088a
UD
34815 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34816 OSXSAVE.
34817 (_dl_x86_64_save_sse): Likewise.
34818
8e2045f5
UD
34819 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34820
90f139dd
UD
34821 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34822
1d002f25
AS
348232011-07-21 Andreas Schwab <schwab@redhat.com>
34824
34825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34826 change.
34827 (_dl_x86_64_save_sse): Use correct AVX check.
34828
21137f89
UD
348292011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34830
34831 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34832 bug in strncpy/strncat.
34833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34834
a65c0b7a
UD
348352011-07-21 Ulrich Drepper <drepper@gmail.com>
34836
34837 * string/tester.c (test_strcat): Add tests for different alignments
34838 of source and destination.
34839 (test_strncat): Likewise.
34840
6986b98a
UD
348412011-07-20 Ulrich Drepper <drepper@gmail.com>
34842
90bb2039
UD
34843 [BZ #12852]
34844 * posix/glob.c (glob): Check passed in values before using them in
34845 expressions to avoid some overflows.
34846 (glob_in_dir): Likewise.
34847
5644ef54
UD
34848 [BZ #13007]
34849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34850 check for AVX enablement so that we don't crash with old kernels and
34851 new hardware.
34852 * elf/tst-audit4.c: Add same checks here.
34853 * elf/tst-audit6.c: Likewise.
34854
34855 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34856
bfc9dc9b
AS
348572011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34858
34859 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34860
702e64bb
UD
348612011-07-20 Ulrich Drepper <drepper@gmail.com>
34862
34863 * po/cs.po: Update from translation team.
34864 * po/bg.po: Likewise.
34865
295e904f
MP
348662011-07-12 Marek Polacek <mpolacek@redhat.com>
34867
34868 * misc/sys/cdefs.h: Add support for const attribute.
34869 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34870 to gnu_dev_{major,minor,makedev} functions.
34871
3ff94596
MP
348722011-07-20 Marek Polacek <mpolacek@redhat.com>
34873
34874 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34875
28b59fca
AS
348762011-07-20 Andreas Schwab <schwab@redhat.com>
34877
34878 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34879 strlen results.
34880
19df733e
AK
348812011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34882
34883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34884 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34885 register in order to avoid conflicts with the soft frame pointer
34886 being held in r11 when necessary.
34887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34888 (INTERNAL_VSYSCALL_NCS): Likewise.
34889
c8835729
MP
348902011-07-14 Marek Polacek <mpolacek@redhat.com>
34891
34892 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34893 * elf/dl-fini.c (_dl_fini): Adjust caller.
34894 * elf/dl-close.c (_dl_close_worker): Likewise.
34895 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34896
b902330c
MP
348972011-07-15 Marek Polacek <mpolacek@redhat.com>
34898
8991e135
MP
34899 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34900 "aux_cache->nlibs < 0".
34901
b902330c
MP
34902 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34903 in the reload-count case.
34904
99710781
LD
349052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34906
34907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34908 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34909 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34910 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34911 * sysdeps/x86_64/multiarch/strcat.S: New file.
34912 * sysdeps/x86_64/multiarch/strncat.S: New file.
34913 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34914 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34915 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34916 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34917 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34918 (USE_AS_STRCAT): Define.
34919 Add strcat and strncat support.
34920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34922 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34923 * string/strncat.c: Update.
34924 (USE_AS_STRNCAT): Define.
34925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34926 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34927 and i7.
34928 * sysdeps/x86_64/multiarch/init-arch.h
34929 (bit_Prefer_PMINUB_for_stringop): New.
34930 (index_Prefer_PMINUB_for_stringop): Likewise.
34931 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34932 bit_Prefer_PMINUB_for_stringop.
34933
7dc6bd90
UD
349342011-07-19 Ulrich Drepper <drepper@gmail.com>
34935
34936 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34937 buffer64.
34938 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34939 of casting of buffer.
34940 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34941 buffer32 and buffer64.
34942 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34943 writes instead of casting of buffer.
34944 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34945 buffer32.
34946 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34947 casting of buffer.
34948
e0e72284
AS
349492011-07-19 Andreas Schwab <schwab@redhat.com>
34950
34951 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34952
feb1eb0b
UD
349532011-07-19 Ulrich Drepper <drepper@gmail.com>
34954
34955 * nscd/nscd.c (termination_handler): Don't do anything for a database
34956 if it has not yet been initialized.
34957
298711ff
UD
349582011-07-18 Ulrich Drepper <drepper@gmail.com>
34959
34960 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34961
349622011-07-15 Marek Polacek <mpolacek@redhat.com>
34963
34964 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34965
f9d68389
UD
349662011-07-18 Ulrich Drepper <drepper@gmail.com>
34967
34968 * po/nl.po: Update from translation team.
34969 * po/sv.po: Likewise.
34970
db290cf5
RM
349712011-07-16 Roland McGrath <roland@hack.frob.com>
34972
34973 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34974 now disallowed by GCC.
5c550700 34975
fd5e21c7
RM
34976 * configure.in (use-default-link): Default to yes if a test -shared
34977 link meets our qualifications.
34978 * configure: Regenerated.
34979
5c550700
RM
34980 * config.make.in (output-format): New variable.
34981 * configure.in: Check for ld --print-output-format support.
34982 * configure: Regenerated.
34983 * Makerules ($(common-objpfx)format.lds)
34984 [$(output-format) != unknown]: Just use $(output-format),
34985 instead of the linker-script munging.
34986
9fa2c032
RM
349872011-07-14 Roland McGrath <roland@hack.frob.com>
34988
a6928d51
RM
34989 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34990 of $(common-objpfx)shlib.lds.
34991 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34992
661607b3
RM
34993 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34994 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34995
9fa2c032
RM
34996 * configure.in (-z relro check): Adjust test code to add a large
34997 writable data section after it.
34998 * configure: Regenerated.
34999
defe9061
RM
350002011-07-11 Roland McGrath <roland@hack.frob.com>
35001
35002 * configure.in (-z relro check): Fix test code to make the variable
35003 truly const.
35004 * configure: Regenerated.
35005
319b9ad4
UD
350062011-07-11 Ulrich Drepper <drepper@gmail.com>
35007
35008 * nscd/nscd.h (struct traced_file): Define.
35009 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35010 elements. Add traced_files.
35011 (inotify_fd): Declare.
35012 (register_traced_file): Declare.
35013 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35014 (inotify_fd): Export.
35015 (resolv_conf_descr): Remove.
35016 (nscd_init): Move inotify descriptor creation to main.
35017 Don't register files for notification here.
35018 (register_traced_file): New function.
35019 (invalidate_cache): Don't use reset_res to determine whether to call
35020 res_init, go through the list of registered files.
35021 (main_loop_poll): The inotify descriptors are now stored in the
35022 structures for the traced files.
35023 (main_loop_epoll): Likewise
35024 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35025 to __nss_disable_nscd.
35026 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35027 for a database anymore. Check the records for all the registered
35028 files instead.
35029 * nss/Makefile (libnss_files-routines): Add files-init.
35030 (libnss_db-routines): Add db-init.
35031 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35032 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35033 * nss/nss_db/db-init.c: New file.
35034 * nss/nss_files/files-init.c: New file.
35035 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35036 __nss_lookup_function.
35037 (__nss_lookup_function): Call nss_load_library.
35038 (nss_load_all_libraries): New function.
35039 (__nss_disable_nscd): Take parameter with callback function for files
35040 to register. Set is_nscd. Load all the DSOs for the NSS modules
35041 used for the cached services.
35042 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35043 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35044 options for features to all the files in nscd.
35045
35046 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35047
23bee3e8
RM
350482011-07-10 Roland McGrath <roland@hack.frob.com>
35049
35050 * csu/elf-init.c (__libc_csu_init): Comment typo.
35051
46a5b7f0
UD
350522011-07-09 Ulrich Drepper <drepper@gmail.com>
35053
35054 * po/pl.po: Update from translation team.
35055 * po/ja.po: Likewise.
35056 * po/ru.po: Likewise.
35057 * po/ko.po: Likewise.
35058 * po/fr.po: Likewise.
35059
d30cf5bb
RM
350602011-07-09 Roland McGrath <roland@hack.frob.com>
35061
113ddea4
RM
35062 * configure.in (.ctors/.dtors header and trailer check):
35063 Use an empirical test on a built program.
35064 * configure: Regenerated.
35065
574920b4
RM
35066 * configure.in (-z relro check): Use an empirical test on a built DSO.
35067 Detect, but do not require, on ia64.
35068 * configure: Regenerated.
35069
d30cf5bb
RM
35070 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35071 Update tests that use readelf to use $READELF instead.
35072 * configure: Regenerated.
35073
8538fdb3
UD
350742011-07-08 Ulrich Drepper <drepper@gmail.com>
35075
35076 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35077 if the result is not used.
35078
04d08991
AJ
350792011-07-05 Andreas Jaeger <aj@suse.de>
35080
35081 [BZ#9696]
35082 * stdlib/tst-strtod.c: Add testcase.
35083
de283087
AD
350842011-07-07 Ulrich Drepper <drepper@gmail.com>
35085
4e5f31c8 35086 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35087 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35088 The latter has a higher limit. Take additional parameter to pass to
35089 the new function.
35090 (__pathconf): Pass file to __statfs_link_max.
35091 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35092 __statfs_link_max.
35093 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35094 __statfs_link_max.
35095
de283087
AD
35096 [BZ #12868]
35097 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35099 Handle Lustre.
35100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35101 (__statfs_filesize_max): Likewise.
35102 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35103
c75fa153
AJ
351042011-07-05 Andreas Jaeger <aj@suse.de>
35105
35106 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35107
1a544854
UD
351082011-07-06 Marek Polacek <mpolacek@redhat.com>
35109
35110 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35111 `status' variable.
35112 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35113 Likewise.
35114
6f0eec67
UD
351152011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35116
35117 * Makefile (strop-tests): Add strncat.
35118 * string/test-strncat.c: New file.
35119
aae30307
UD
351202011-06-30 Marek Polacek <mpolacek@redhat.com>
35121
35122 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35123
c0cfb5eb
UD
351242011-06-21 Andreas Jaeger <aj@suse.de>
35125
35126 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35127 Copy rule from iconvdata/Makefile.
35128
01636b21
UD
351292011-07-06 Ulrich Drepper <drepper@gmail.com>
35130
35131 [BZ #12922]
35132 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35133 but no long options are defined, just return 'W'.
35134
9895c8bc
UD
351352011-06-22 Marek Polacek <mpolacek@redhat.com>
35136
35137 [BZ #9696]
35138 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35139
5d4cf042
UD
351402011-07-06 Ulrich Drepper <drepper@gmail.com>
35141
35142 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35143 netgroups to read.
960e5535 35144 (innetgr): Likewise.
5d4cf042 35145
751eb97e
RM
351462011-07-05 Roland McGrath <roland@hack.frob.com>
35147
35148 * config.make.in (install_root): Default to $(DESTDIR).
35149
f15f1e45
UD
351502011-07-05 Ulrich Drepper <drepper@gmail.com>
35151
35152 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35153
4e34ac6a
RM
351542011-07-02 Roland McGrath <roland@hack.frob.com>
35155
5e9b6af4
RM
35156 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35157
84f9ea0f
RM
35158 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35159 containing directory rather than embedding absolute directory names.
35160
ea5ee9f7
RM
35161 * scripts/check-local-headers.sh: Rewritten using awk.
35162 Match by word, not by line. Print error messages for matches.
35163 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35164
1b74661a
RM
35165 * Makerules [shlib-lds-flags empty]:
35166 ($(common-objpfx)libc_pic.opts): New target.
35167 ($(common-objpfx)libc_pic.os.clean): New target.
35168 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35169
35170 * config.make.in (OBJCOPY): New variable.
35171 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35172 * configure: Regenerated.
35173
f781ef40
RM
35174 * config.make.in (use-default-link): New variable.
35175 * configure.in (use_default_link): Grok --with-default-link to set it.
35176 * configure: Regenerated.
35177 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35178 (shlib-lds, shlib-lds-flags): Define to empty.
35179
2d4fa81e
RM
35180 * Makerules (shlib-lds): New variable.
35181 (shlib-lds-flags): New variable.
35182 (build-shlib, build-moduile, build-module-asneeded): Use it.
35183 ($(common-objpfx)libc.so): Use $(shlib-lds).
35184 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35185 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35186
31fffa6b
RM
35187 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35188 DT_FLAGS/DT_FLAGS_1 with zero flags.
35189
4e34ac6a
RM
35190 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35191 linker script munging.
35192
fcfc776b
UD
351932011-07-02 Ulrich Drepper <drepper@gmail.com>
35194
35195 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35196 as 128-bit value.
35197 * crypt/sha512.c (sha512_process_block): Perform total addition using
35198 128-bit if possible.
35199 (__sha512_finish_ctx): Likewise.
35200 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35201 as 64-bit value.
35202 * crypt/sha256.c (SWAP64): Define.
35203 (sha256_process_block): Perform total addition using 64-bit if
35204 possible.
35205 (__sha256_finish_ctx): Likewise.
35206
99231d9a
UD
352072011-07-01 Ulrich Drepper <drepper@gmail.com>
35208
35209 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35211 * nscd/hstcache.c (cache_addhst): Likewise.
35212 * nscd/grpcache.c (cache_addgr): Likewise.
35213 * nscd/aicache.c (addhstaiX): Likewise
35214 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35215
445b4a53
TK
352162011-07-01 Thorsten Kukuk <kukuk@suse.de>
35217
35218 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35219 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35220 * nscd/hstcache.c (cache_addhst): Likewise.
35221 * nscd/grpcache.c (cache_addgr): Likewise.
35222 * nscd/aicache.c (addhstaiX): Likewise
35223
6d4d8e8e
AS
352242011-07-01 Andreas Schwab <schwab@redhat.com>
35225
35226 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35227 domain only when needed.
35228
89f654c5
AS
352292011-06-30 Andreas Schwab <schwab@redhat.com>
35230
35231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35232 is always restored.
35233
cf3b23ff
UD
352342011-06-29 Ulrich Drepper <drepper@gmail.com>
35235
35236 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35237 are re-adding the entry.
35238 * nscd/servicescache.c (cache_addserv): Likewise.
35239
751626f9
AJ
352402011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35241
35242 * sysdeps/generic/dl-irel.h: fix protection against multiple
35243 inclusions.
35244 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35245
9113ea1f
UD
352462011-06-28 Ulrich Drepper <drepper@gmail.com>
35247
5c0b8d90
UD
35248 [BZ #12935]
35249 * malloc/memusage.sh: Fix quoting in message.
35250 * debug/xtrace.sh: Likewise.
35251
9113ea1f
UD
35252 * configure.in: Remove support for --experimental-malloc option, make
35253 it the default.
35254 * config.make.in: Likewise.
35255 * malloc/Makefile: Likewise.
35256
a4172181
AS
352572011-06-27 Andreas Schwab <schwab@redhat.com>
35258
35259 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35260 two-byte characters.
35261
78a7eee7
RM
352622011-06-27 Roland McGrath <roland@hack.frob.com>
35263
62bede13
RM
35264 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35265 AC_CACHE_CHECK invocation.
35266 * configure: Regenerated.
35267
78a7eee7
RM
35268 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35269
5ce33a62
UD
352702011-06-27 Ulrich Drepper <drepper@gmail.com>
35271
034807a9
UD
35272 [BZ #12350]
35273 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35274 bit from old_res_options.
35275
4902da17
UD
35276 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35277
5ce33a62
UD
35278 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35279 value type for setfct.
35280
c2344f56
L
352812011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35282
35283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35284 __gettimeofday instead of gettimeofday.
35285
68468076
UD
352862011-06-26 Ulrich Drepper <drepper@gmail.com>
35287
35288 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35289
acb0d739
L
352902011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35291
35292 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35293
35294 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35295 info.
35296
8912479f
L
352972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35298
35299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35300 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35301 strcpy-sse2-unaligned strncpy-sse2-unaligned
35302 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35303 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35304 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35305 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35306 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35307 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35309 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35310 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35311 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35312 (STRCPY): Support SSE2 and SSSE3 versions.
35313
d5495a11
UD
353142011-06-24 Ulrich Drepper <drepper@gmail.com>
35315
35316 [BZ #12874]
35317 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35318 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35319 kernels which artificially limit size of requests.
35320
0b1cbaae
L
353212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35322
35323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35324 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35325 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35326 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35327 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35328 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35329 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35330 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35331 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35333 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35334 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35335 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35336 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35337 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35339 Enable unaligned load optimization for Intel Core i3, i5 and i7
35340 processors.
35341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35342 Define.
35343 (index_Fast_Unaligned_Load): Define.
35344 (HAS_FAST_UNALIGNED_LOAD): Define.
35345
07f494a0
MP
353462011-06-23 Marek Polacek <mpolacek@redhat.com>
35347
35348 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35349
fa3fc0fe
UD
353502011-06-22 Ulrich Drepper <drepper@gmail.com>
35351
35352 [BZ #12907]
35353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35354 until it is clear that the information is realy needed.
35355 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35356
e12df166
AS
353572011-06-22 Andreas Schwab <schwab@redhat.com>
35358
35359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35360
852eb34d
UD
353612011-06-22 Ulrich Drepper <drepper@gmail.com>
35362
84e2a551
UD
35363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35364 /sys/devices/system/cpu/online if it is usable.
35365
852eb34d
UD
35366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35367 reading the information from the /proc filesystem to once a second.
35368
6e502e19
UD
353692011-06-21 Andreas Jaeger <aj@suse.de>
35370
35371 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35372 NULL after inclusion of kernel headers.
35373
75d39ff2
UD
353742011-06-21 Ulrich Drepper <drepper@gmail.com>
35375
51f9aa6a
UD
35376 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35377 calls to internal_setent.
35378
c0244a9d
UD
35379 [BZ #12885]
35380 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35381 addresses using gethostbyname4_r ignore IPv4 addresses.
35382
c5e3c2ae
UD
35383 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35384 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35385
75d39ff2
UD
35386 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35387
42675c6f
DM
353882011-06-20 David S. Miller <davem@davemloft.net>
35389
35390 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35391 inclusions.
35392 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35393
35394 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35395 (elf_irel): Use it.
35396 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35397 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35398 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35399 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35400 * sysdeps/x86_64/dl-irel.h: Likewise.
35401
35402 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35403 * elf/dl-sym.c: Likewise.
35404
57912a71
UD
354052011-06-15 Ulrich Drepper <drepper@gmail.com>
35406
35407 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35408 need to dereference resplen2.
35409
ee22793d
AS
354102011-06-14 Andreas Schwab <schwab@redhat.com>
35411
35412 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35413
a9e836b0
UD
354142011-06-15 Ulrich Drepper <drepper@gmail.com>
35415
77fb9117
UD
35416 * Makeconfig: Define vardbdir and inst_vardbdir.
35417 * nss/Makefile: Add rules to install db-Makefile.
35418
40c1b22c
UD
35419 * nss/nss_db/db-XXX.c: Cleanup.
35420
9f2da732
UD
35421 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35422 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35423 GLIBC_PRIVATE.
35424 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35425 * nss/makedb.c: Implement -g option to specify that value strings
35426 are generated and should not be added to table iterated over for
35427 get*ent calls.
35428 * nss/nss_db/db-initgroups.c: New file.
35429
82e9a1f7
UD
35430 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35431 interface.
35432
c41af17e
UD
35433 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35434 (internal_getgrouplist): Adjust to name change.
35435 Update use_initgroups_entry if this is not the first call.
35436 * nss/databases.def: Add initgroups entry.
35437
a9e836b0
UD
35438 * nss/makedb.c (compute_tables): Check result of multiple hash table
35439 sizes to minimize maximum chain length.
35440
2666d441
UD
354412011-06-14 Ulrich Drepper <drepper@gmail.com>
35442
35443 * Versions.def: Add entry for libnss_db.
35444 * shlib-versions: Likewise.
35445 * nss/Makefile: Add rules to build libnss_db.
35446 * nss/Versions: Add libnss_db information. Organize libnss_files
35447 entries better.
35448 * nss/db-Makefile: Add gshadow support. Change rules for the new
35449 makedb progra. Some minor improvements to generate smaller files.
35450 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35451 here from...
35452 * nss/makedb.c: ...here.
35453 Improve database format to be smaller and require less memory at
35454 runtime.
35455 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35456 db anymore.
35457 * nss/nss_db/db-netgrp.c: Likewise.
35458 * nss/nss_db/db-open.c: Likewise.
35459 * nss/nss_files/flies-XXX.x: Adjust comments.
35460 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35461 * nss/nss_files/files-grp.c: Likewise.
35462 * nss/nss_files/files-hosts.c: Likewise.
35463 * nss/nss_files/files-network.c: Likewise.
35464 * nss/nss_files/files-proto.c: Likewise.
35465 * nss/nss_files/files-pwd.c: Likewise.
35466 * nss/nss_files/files-rpc.c: Likewise.
35467 * nss/nss_files/files-service.c: Likewise.
35468 * nss/nss_files/files-sgrp.c: Likewise.
35469 * nss/nss_files/files-spwd.c: Likewise.
35470 * nss/nss_db/db-alias.c: Removed.
35471 * nss/nss_db/dummy-db.h: Removed.
35472
9ee76b5a
UD
354732011-06-02 Ulrich Drepper <drepper@gmail.com>
35474
35475 * nss/makedb.c: Rewritten to not use database library.
35476 * nss/Makefile: Update to build new makedb program.
35477
c71ca1f8
AJ
354782011-06-14 Andreas Jaeger <aj@suse.de>
35479
35480 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35481 memset declaration.
35482
3154bfb8
UD
354832011-06-10 Andreas Schwab <schwab@redhat.com>
35484
35485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35486 tmpbuf.
35487
b350afab
RM
354882011-06-10 Roland McGrath <roland@hack.frob.com>
35489
decd4e50
RM
35490 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35491 * elf/Makefile ($(objpfx)ld.so): Likewise.
35492
5615eaf2
RM
35493 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35494 Don't list ld.so twice in dependencies.
35495
35496 * posix/bug-regex31.c: Include <stdlib.h>.
35497
35498 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35499
35500 * nis/nss_compat/compat-spwd.c
35501 (getspent_next_nss_netgr): Remove unused variable.
35502 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35503
35504 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35505 nonmembers" output to use the right array.
35506
35507 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35508
35509 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35510
35511 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35512 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35513 * catgets/gencat.c (read_input_file): Likewise.
35514 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35515
35516 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35517 variable definition inside #if's controlling its use.
35518
35519 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35520
35521 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35522
35523 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35524
35525 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35526 unreachable code.
35527
35528 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35529
b68e08db
RM
35530 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35531 * configure: Regenerated.
35532
b350afab
RM
35533 * Makerules: Revert last change.
35534 * elf/Makefile: Likewise.
35535
28368601
RM
355362011-06-09 Roland McGrath <roland@hack.frob.com>
35537
35538 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35539 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35540 (reloc-link): Likewise.
35541
11988f8f
UD
355422011-06-09 Ulrich Drepper <drepper@gmail.com>
35543
35544 * elf/Makefile: Add rules to build pldd.
35545 * elf/pldd.c: New file.
35546 * elf/pldd-xx.c: New file.
35547
e80fab37
UD
355482011-06-07 Ulrich Drepper <drepper@gmail.com>
35549
35550 * version.h: Update for 2.15 development version.
35551
9b849836
DM
355522011-06-07 David S. Miller <davem@davemloft.net>
35553
35554 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35555 ifuncs.
35556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35557 elf_machine_lazy_rel): Likewise.
35558 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35560 elf_machine_lazy_rel): Likewise.
35561 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35562 dl_hwcap via passed in argument.
35563 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35564 Likewise.
35565
5a31b283
AK
355662011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35567
35568 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35569
069e52f8
RM
355702011-06-06 Roland McGrath <roland@hack.frob.com>
35571
35572 [BZ #12849]
35573 * manual/fdl-1.1.texi: New file, verbatim from:
35574 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35575 * manual/lgpl-2.1.texi: New file, verbatim from:
35576 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35577 * manual/Makefile (licenses): New variable, list those new file names.
35578 (texis): Use it.
35579 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35580
35581 * manual/fdl.texi: File removed.
35582 * manual/lesser.texi: File removed.
35583 * manual/libc.texinfo (Copying, Documentation License):
35584 Use new @include file names, put @appendix directive before @include.
35585
f16846a5
JJ
355862011-06-04 Jakub Jelinek <jakub@redhat.com>
35587
35588 [BZ #12841]
35589 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35590 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35591 (mq_open): Add __NTH.
35592
3d29045b
L
355932011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35594
35595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35596 Assume Intel Core i3/i5/i7 processor if AVX is available.
35597
8c297311
UD
355982011-05-31 Ulrich Drepper <drepper@gmail.com>
35599
35600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35601 typo.
35602
c8fc0c91
UD
356032011-05-31 Andreas Schwab <schwab@redhat.com>
35604
35605 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35606 memory. Use alloca_account. Fix memory leak when retrying.
35607
5b27a807
UD
356082011-05-31 Ulrich Drepper <drepper@gmail.com>
35609
356f8bc6
UD
35610 * version.h (RELEASE): Bump for 2.14 release.
35611 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35612
5b27a807
UD
35613 * config.make.in (RANLIB): Remove entry.
35614
01f16ab0
UD
356152011-05-30 Ulrich Drepper <drepper@gmail.com>
35616
41fce8bd
UD
35617 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35618 (libc.pot): Work around missing support for .ksh extension in xgettext.
35619
4769ae77
UD
35620 [BZ #12684]
35621 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35622 if both request failed.
35623 (send_dg): In case of server errors clear resplen or *resplen2.
35624
6b1e7d19
UD
35625 [BZ #12454]
35626 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35627 when there are multiple maps.
35628 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35629 (_dl_fini): Remove test here.
35630
01f16ab0
UD
35631 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35632
b1ebd700
UD
356332011-05-29 Ulrich Drepper <drepper@gmail.com>
35634
7ae22829
UD
35635 [BZ #12350]
35636 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35637 bit from old_res_options.
35638 (gaih_inet): Likewise.
35639
553149f6 35640 [BZ #11099]
18a84741 35641 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35642 as signed.
35643
652ffab1
UD
35644 * resolv/res_init.c (res_setoptions): Make the code more compact.
35645
16985fd0
UD
35646 [BZ #11558]
35647 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35648 set RES_USEVC.
35649
0464f746
UD
35650 [BZ #11634]
35651 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35652
7d17596c
UD
35653 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35654
cf6bbbd7
UD
35655 [BZ #11781]
35656 * malloc/malloc.h: Declare malloc hook variables as volatile.
35657
13f1ab36
UD
35658 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35659 in last patch.
35660
b1ebd700
UD
35661 [BZ #11799]
35662 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35663 raise in the comment.
80e2212d
UD
35664 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35666 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35667
ce67228d
UD
356682011-05-28 Ulrich Drepper <drepper@gmail.com>
35669
8887a920
UD
35670 [BZ #12811]
35671 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35672 grow the buffers more if it already has to be sufficient.
35673 (build_wcs_upper_buffer): Likewise.
35674 * posix/regexec.c (check_matching): Likewise.
35675 (clean_state_log_if_needed): Likewise.
35676 (extend_buffers): Don't enlarge buffers beyond size of the input
35677 buffer.
35678 Patches mostly by Emil Wojak <emil@wojak.eu>.
35679 * posix/bug-regex32.c: New file.
35680 * posix/Makefile (tests): Add bug-regex32.
35681
4f031072
UD
35682 * locale/findlocale.c (_nl_find_locale): Return right away if
35683 _nl_explode_name failed.
35684 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35685
d0478f0c
UD
35686 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35687
de81b246
UD
35688 * debug/xtrace.sh: Unify messages.
35689 * malloc/memusage.sh: Likewise.
35690
c738465a
UD
35691 [BZ #12813]
35692 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35693 time symbol from vDSO. Substitute with vsyscall if not available.
35694 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35695 __vdso_time.
35696
f1f929d7
UD
35697 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35698 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35699 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35700 Add sendmmsg and internal_sendmmsg.
35701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35702 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35703 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35704
ce67228d
UD
35705 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35706 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35707 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35708
e57420c6
UD
357092011-05-27 Ulrich Drepper <drepper@gmail.com>
35710
a8509ca5
UD
35711 [BZ #12813]
35712 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35713 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35714 available.
35715 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35716 __vdso_getcpu.
35717
e57420c6
UD
35718 [BZ #12814]
35719 * iconvdata/Makefile (tests): Add bug-iconv9.
35720 * iconvdata/bug-iconv9.c: New file.
35721
4d07db15
AS
357222011-05-27 Andreas Schwab <schwab@redhat.com>
35723
35724 [BZ #12814]
35725 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35726
ea486f69
JJ
357272011-05-25 Jakub Jelinek <jakub@redhat.com>
35728
35729 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35730 (struct user_regs_struct): Change intcs field back to cs.
35731
6f038433
UD
357322011-05-25 Ulrich Drepper <drepper@gmail.com>
35733
35734 * po/ja.po: Update from translation team.
35735
67f86a25
UD
357362011-05-23 Ulrich Drepper <drepper@gmail.com>
35737
35738 [BZ #12795]
35739 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35740 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35741
def7fbd6
AS
357422011-05-20 Andreas Schwab <schwab@redhat.com>
35743
35744 * stdlib/longlong.h: Update from GCC.
35745
f50ef8f1
AS
357462011-05-23 Andreas Schwab <schwab@redhat.com>
35747
35748 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35749 parameter name.
35750 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35751 Add parameter name.
35752 (__sysconf): Pass it down.
35753
de7ce8f1
UD
357542011-05-22 Ulrich Drepper <drepper@gmail.com>
35755
f2962a71
UD
35756 [BZ #12671]
35757 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35758 some situations.
35759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35760 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35761 add in in __libc_use_alloca calls. Adjust callers.
35762 (glob): Use malloc in some situations.
35763
de7ce8f1
UD
35764 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35765 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35766 pltexit.
35767
aec84f53
UD
357682011-05-21 Ulrich Drepper <drepper@gmail.com>
35769
05bb4a68
UD
35770 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35771 and CLOCK_BOOTTIME_ALARM.
35772
7ea72f99
UD
35773 [BZ #12782]
35774 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35775 is returned.
35776
7e4afad5
UD
35777 * string/_strerror.c (__strerror_r): Print negative errors as signed
35778 numbers.
35779
8e211fec
UD
35780 [BZ #12777]
35781 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35782 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35783 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35784
f7d82dc9
UD
35785 * configure.in: Fix typo in redirection and correct removal of test
35786 files in two cases.
35787
cc9e536d
UD
35788 [BZ #12788]
35789 * locale/setlocale.c (new_composite_name): Fix test to check for
35790 identical name of all categories.
35791
aec84f53
UD
35792 [BZ #12792]
35793 * libio/filedoalloc.c (local_isatty): New function.
35794 (_IO_file_doallocate): Use local_isatty.
35795 * stdio-common/perror.c (perror): In case a new stream is used
35796 forward the stream error.
35797 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35798 error flag.
35799
78e64fdc
RT
358002011-05-20 Ulrich Drepper <drepper@gmail.com>
35801
34a9094f
UD
35802 [BZ #11869]
35803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35804 alloca.
35805 * include/alloca.h (extend_alloca_account): Define.
35806
78e64fdc
RT
35807 [BZ #11857]
35808 * posix/regex.h: Fix comments with documentation of user-accessible
35809 fields after compilation and describe correct free'ing of pattern
35810 after re_compile_pattern.
35811 Patch by Reuben Thomas <rrt@sc3d.org>.
35812
457bddfc
RA
358132011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35814
35815 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35816 and -mno-altivec to prevent the compiler from using Altivec and/or
35817 VSX instructions when the corresponding registers are not available.
35818
a4527b51
AS
358192011-05-19 Andreas Schwab <schwab@redhat.com>
35820
35821 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35822
ed690b2f
UD
358232011-05-19 Ulrich Drepper <drepper@gmail.com>
35824
35825 * libio/freopen.c (freopen): Use __dup2, not dup2.
35826 * libio/freopen64.c (freopen64): Likewise.
35827
8db73634
L
358282011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35829
35830 [BZ #12775]
35831 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35832 * math/Makefile (tests): Add test-powl.
35833 (CFLAGS-test-powl.c): Define.
35834 * math/test-powl.c: New file.
35835
0a197a9d
L
358362011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35837
35838 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35839
ee30c380
UD
358402011-05-17 Ulrich Drepper <drepper@gmail.com>
35841
35842 [BZ #11837]
35843 * iconvdata/gb18030.c: Update to GB18020-2005.
35844
6ce75379
UD
358452011-05-16 Ulrich Drepper <drepper@gmail.com>
35846
a4b89fd8
AR
35847 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35848 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35849 Patch by Aharon Robbins <arnold@skeeve.com>.
35850
ea389b12
UD
35851 [BZ #11892]
35852 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35853 on the stack.
35854
68a3f91f
UD
35855 [BZ #11895]
35856 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35857 through underflows.
35858
15cc7dd1
UD
35859 [BZ #12766]
35860 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35861 point to strings before performing equality test for error_one_per_line
35862 mode.
35863
f3799213
UD
35864 [BZ #11697]
35865 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35866
d79a9c94
UD
35867 [BZ #11820]
35868 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35869 (struct user_fpregs_struct): Avoid __uint*_t types.
35870
56e5eb46
UD
35871 [BZ #6420]
35872 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35873 symbol info. Use it instead of calling _dl_addr locally.
35874 (lock_and_info): New function.
35875 (tr_freehook): Call lock_and_info and pass symbol info as additional
35876 parameter to tr_where.
35877 (tr_mallochook): Likewise.
35878 (tr_reallochook): Likewise.
35879 (tr_memalignhook): Likewise.
35880
6ce75379
UD
35881 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35882 used and couldn't be at all thread-safe.
35883
f8a3b5bf
UD
358842011-05-15 Ulrich Drepper <drepper@gmail.com>
35885
94b7cc37
UD
35886 * libio/freopen.c (freopen): Don't close old file descriptor
35887 before the new one is opened. Instead dup the new file descriptor
35888 to the old one after the new stream is created.
35889 * libio/freopen64.c (freopen64): Likewise.
35890 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35891 * libio/fileops.c (_IO_new_file_close_it): Handle new
35892 _IO_FLAGS2_NOCLOSE flag.
35893 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35894 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35895 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35896 _IO_FLAGS2_NOCLOSE flag.
35897 * include/unistd.h: Add hidden_proto for dup3.
35898 Define __have_dup3.
35899 * io/dup3.c: Define hidden symbol.
35900 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35901
bd25564e
UD
35902 [BZ #7101]
35903 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35904 when an incomplete long option is used.
35905 * posix/tst-getopt_long1.c: New file.
35906 * posix/Makefile (tests): Add tst-getopt_long1.
35907
c84cfef4
UD
35908 [BZ #10138]
35909 * scripts/config.guess: Update from autoconf-2.68.
35910 * scripts/config.sub: Likewise.
35911
3b85df27
UD
35912 [BZ #10157]
35913 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35914 tests into ...
35915 (has_cpuclock): ...this. New function.
35916 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35917 macro here based on has_cpuclock code.
35918
15a856b1
UD
35919 [BZ #10149]
35920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35921 First byte (not low byte) is now always NUL.
35922 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35923
05f399e6
UD
35924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35925 Use non-cancelable interfaces.
35926
10a52685 35927 [BZ #9809]
94ecc67d
UD
35928 * locale/iso-639.def: Add entry for Sorani.
35929
f8a3b5bf
UD
35930 [BZ #11901]
35931 * include/stdlib.h: Move include protection to the right place.
35932 Define abort_msg_s. Declare __abort_msg with it.
35933 * stdlib/abort.c (__abort_msg): Adjust type.
35934 * assert/assert.c (__assert_fail_base): New function. Majority
35935 of code from __assert_fail. Allocate memory for __abort_msg with
35936 mmap.
35937 (__assert_fail): Now call __assert_fail_base.
35938 * assert/assert-perr.c: Remove bulk of implementation. Use
35939 __assert_fail_base.
35940 * include/assert.hL Declare __assert_fail_base.
35941 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35942 mmap.
35943 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35944
1af4e298
UD
359452011-05-14 Ulrich Drepper <drepper@gmail.com>
35946
f8a3b5bf 35947 [BZ #11952]
d26dfc60
MG
35948 [BZ #12453]
35949 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35950 until all modules are registered in the DTV.
35951 * elf/Makefile: Add rules to build and run tst-tls19.
35952 * elf/tst-tls19.c: New file.
35953 * elf/tst-tls19mod1.c: New file.
35954 * elf/tst-tls19mod2.c: New file.
35955 * elf/tst-tls19mod3.c: New file.
35956 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35957
2fc54d6f
UD
35958 [BZ #12083]
35959 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35960 correctly.
35961
98d76b46
UD
35962 [BZ #12601]
35963 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35964 two-byte sequence errors.
35965 * iconvdata/Makefile (tests): Add bug-iconv8.
35966 * iconvdata/bug-iconv8.c: New file.
35967
da3c19ef
UD
35968 [BZ #12626]
35969 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35970 buf2 definition.
35971
ca408c15
UD
35972 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35973
d6f67f7d
UD
35974 [BZ #12432]
35975 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35976 (dummy_getcfa): New function.
35977 (init): Get _Unwind_GetCFA address, use dummy if not found.
35978 (backtrace_helper): In recursion check, also check whether CFA changes.
35979 (__backtrace): Completely initialize arg.
35980
1af4e298 35981 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35982 storing incomplete byte sequence in state object. Avoid testing for
35983 guaranteed too small input if we know there is enough data available.
1af4e298 35984
da62f81b
AS
359852011-05-11 Andreas Schwab <schwab@redhat.com>
35986
35987 * Makeconfig (+link-pie): Indent.
35988 * Rules (binaries-pie): Define if $(have-fpie) and
35989 $(build-shared).
35990 (binaries-shared): Also filter out $(binaries-pie).
35991 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35992 * nscd/Makefile (others-pie): Add nscd.
35993 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35994 ($(objpfx)nscd): Remove command override.
35995 * login/Makefile (others-pie): Add pt_chown.
35996 ($(objpfx)pt_chown): Remove command override.
35997 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35998 remove command overrides.
35999
fcabc0f8
UD
360002011-05-13 Ulrich Drepper <drepper@gmail.com>
36001
20030ae6
UD
36002 * libio/tst_putwc.c: Fix error messages.
36003
fcabc0f8
UD
36004 [BZ #12724]
36005 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36006 currently writing and seek to current position when not.
36007 * libio/Makefile (tests): Add bug-fclose1.
36008 * libio/bug-fclose1.c: New file.
36009
320a5dc0
PB
360102011-05-12 Ulrich Drepper <drepper@gmail.com>
36011
36012 [BZ #12511]
36013 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36014 don't set DF_1_NODELETE here.
36015 (do_lookup_x): When entering new entry test for copy relocation
36016 and if necessary set DF_1_NODELETE flag.
36017 * elf/tst-unique4.cc: New file.
36018 * elf/tst-unique4.h: New file.
36019 * elf/tst-unique4lib.cc: New file.
36020 * elf/Makefile: Add rules to build and run tst-unique4.
36021 Patch by Piotr Bury <pbury@goahead.com>.
36022
22836f52
UD
360232011-05-11 Ulrich Drepper <drepper@gmail.com>
36024
f574184a
UD
36025 [BZ #12052]
36026 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36027
e1fb097f
UD
36028 [BZ #12625]
36029 * misc/mntent_r.c (addmntent): Flush the stream after the output
36030
22836f52
UD
36031 [BZ #12393]
36032 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36033 (is_trusted_path_normalize): Skip initial colon. Append slash
36034 to empty buffer. Duplicate is_trusted_path code but allow
36035 constructed patch to be prefix.
36036 (is_dst): Allow $ORIGIN followed by /.
36037 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36038 Correct testing of result of is_trusted_path_normalize
36039 (decompose_rpath): Fix warning.
36040
7b3b0b2a
UD
360412011-05-10 Ulrich Drepper <drepper@gmail.com>
36042
36043 [BZ #11257]
36044 * grp/initgroups.c (internal_getgrouplist): When we found the service
36045 list through the initgroups entry in nsswitch.conf do not always
36046 continue on a successful lookup. Don't always use the
eac80ce2 36047 __nss_group_database value if it is set.
7b3b0b2a
UD
36048 * nss/nsswitch.conf (initgroups): Change action for successful db
36049 lookup to continue for compatibility.
36050
2a81eaa5
UD
360512011-05-09 Ulrich Drepper <drepper@gmail.com>
36052
be97a69e
UD
36053 [BZ #11532]
36054 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36055 and CP774 modules.
36056 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36057 and CP774 modules.
36058 * iconvdata/tst-tables.sh: Likewise.
36059 * iconvdata/cp770.c: New file.
36060 * iconvdata/cp771.c: New file.
36061 * iconvdata/cp772.c: New file.
36062 * iconvdata/cp773.c: New file.
36063 * iconvdata/cp774.c: New file.
36064 * iconvdata/testdata/CP770: New file.
36065 * iconvdata/testdata/CP770..UTF8: New file.
36066 * iconvdata/testdata/CP771: New file.
36067 * iconvdata/testdata/CP771..UTF8: New file.
36068 * iconvdata/testdata/CP772: New file.
36069 * iconvdata/testdata/CP772..UTF8: New file.
36070 * iconvdata/testdata/CP773: New file.
36071 * iconvdata/testdata/CP773..UTF8: New file.
36072 * iconvdata/testdata/CP774: New file.
36073 * iconvdata/testdata/CP774..UTF8: New file.
36074
36075 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36076 END CHARMAP line.
36077 * iconvdata/gen-8bit-gap.sh: Likewise.
36078 * iconvdata/gen-8bit.sh: Likewise.
36079
c1e9e399
UD
36080 * locale/iso-639.def: Add ary entry.
36081
24c55fb3 36082 [BZ #11258]
96b4b1b0
UD
36083 * locale/C-translit.h.in: Add U20A1 transliteration.
36084
bdc2f971
KB
36085 [BZ #12178]
36086 * locale/iso-639.def: Add wae entry.
36087 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36088
2952b117
UD
36089 [BZ #12545]
36090 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36091 for n.
36092
2a81eaa5
UD
36093 [BZ #12711]
36094 * locale/C-translit.h.in: Add entry for U20B9.
36095 Patch by pravin.d.s@gmail.com.
36096
28377d1b
UD
360972011-05-08 Ulrich Drepper <drepper@gmail.com>
36098
7fb90fb8
UD
36099 [BZ #12713]
36100 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36101 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36102 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36103 in rtld. Use *stat64.
7fb90fb8 36104 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36105 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36106 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36107 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36108 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36109 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36110 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36111 __fstatat64 macros.
7fb90fb8
UD
36112 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36113 * dirent/rewinddir.c: Add libc_hidden_def.
36114 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36115 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36116
28377d1b
UD
36117 * include/dirent.h (__alloc_dir): Add flags parameter.
36118 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36119 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36120 __alloc_dir.
36121 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36122 from fdopendir if O_CLOEXEC is already set.
36123
66bdbaa4
AM
361242011-03-15 Alan Modra <amodra@gmail.com>
36125
36126 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36127 l_tls_firstbyte_offset non-zero. Save padding offset in
36128 l_tls_firstbyte_offset for later use.
36129 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36130 freeing static tls block.
36131
95721191
JN
361322011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36133
36134 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36135 where #ifdef was intended. The intent is to prevent ARG_MAX from
36136 being defined by the kernel headers.
36137
f87dfb1f
UD
361382011-05-07 Ulrich Drepper <drepper@gmail.com>
36139
36140 [BZ #12734]
36141 * resolv/resolv.h: Define RES_NOTLDQUERY.
36142 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36143 no-tld-query and set RES_NOTLDQUERY.
36144 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36145 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36146 modern BIND to search name as TLD unless forbidden.
36147
47c3cd7a
UD
361482011-05-07 Petr Baudis <pasky@suse.cz>
36149 Ulrich Drepper <drepper@gmail.com>
36150
36151 [BZ #12393]
36152 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36153 (is_trusted_path): ...to here.
c1e9ea35 36154 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36155 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36156 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36157
8a35c912
PP
361582011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36159
36160 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36161 __BEGIN/__END_DECLS.
36162
acd41f47
UD
361632011-05-06 Ulrich Drepper <drepper@gmail.com>
36164
36165 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36166 NSS_STATUS_NOTFOUND if no record was found.
36167
597df647
AS
361682011-05-05 Andreas Schwab <schwab@redhat.com>
36169
36170 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36171 (headers-not-in-tirpc): Remove rpc/netdb.h
36172 * resolv/netdb.h: Revert last change.
36173
b9af1301
PP
361742011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36175
36176 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36177 circular dependency between libgcc.a and libc.a.
36178
4e34d5f5
AS
361792011-05-05 Andreas Schwab <schwab@redhat.com>
36180
36181 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36182 * nis/Makefile: Don't install rpcsvc/*.
36183 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36184 instead of <rpc/types.h>.
36185 (MAXHOSTNAMELEN): Define.
36186
00ee369c
AS
361872011-05-03 Andreas Schwab <schwab@redhat.com>
36188
36189 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36190
0b592a30
MB
361912011-04-28 Maciej Babinski <mbabinski@google.com>
36192
36193 [BZ #12714]
36194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36195 gethostbyname4_r when IPv6 results are possible.
36196
6e04cbbe
UD
361972011-05-02 Ulrich Drepper <drepper@gmail.com>
36198
36199 [BZ #12723]
36200 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36201 _PC_PIPE_BUF handling.
36202
e4ecafe0
BH
362032011-04-30 Bruno Haible <bruno@clisp.org>
36204
36205 [BZ #12717]
36206 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36207 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36208 to 'int'.
36209 * inet/getnameinfo.c (getnameinfo): Likewise.
36210
125ee683
UD
362112011-04-29 Ulrich Drepper <drepper@gmail.com>
36212
36213 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36214 to groups setting in database lookup.
36215 * nss/nsswitch.conf: Add initgroups entry.
36216
b722481a
EB
362172011-04-22 Ulrich Drepper <drepper@gmail.com>
36218
36219 [BZ #12685]
36220 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36221 mode string.
36222 Patch by Eric Blake <eblake@redhat.com>.
36223
4df46dbd
L
362242011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36225
36226 * sunrpc/Makefile (need-export-routines): Add svc_run.
36227 (routines): Remove svc_run.
36228 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36229 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36230 * sunrpc/svc_run.c (svc_run): Likewise.
36231 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36232
e84142d2
UD
362332011-04-21 Ulrich Drepper <drepper@gmail.com>
36234
36235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36236 problem in reallocation in last patch.
36237
877175d8
UD
362382011-04-20 Ulrich Drepper <drepper@gmail.com>
36239
36240 * sunrpc/Makefile: Move inclusion of Rules.
36241
ab8eed78
UD
362422011-04-19 Ulrich Drepper <drepper@gmail.com>
36243
36244 * nss/nss_files/files-initgroups.c: New file.
36245 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36246 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36247 _nss_files_initgroups_dyn.
36248
e3d8f584
RS
362492011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36250
36251 * elf/elf.h (R_ARM_IRELATIVE): Define.
36252
af190f45
UD
362532011-04-19 Ulrich Drepper <drepper@gmail.com>
36254
36255 * po/ru.po: Update from translation team.
36256
53cf59ef
UD
362572011-04-17 Ulrich Drepper <drepper@gmail.com>
36258
36259 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36260 dependencies.
36261
4c559bcd
MF
362622011-02-06 Mike Frysinger <vapier@gentoo.org>
36263
36264 [BZ #12653]
36265 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36266 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36267 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36268 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36269 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36270
4420675c
AS
362712011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36272
36273 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36274 differing bytes.
36275 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36278
75ea32ab
UD
362792011-04-17 Ulrich Drepper <drepper@gmail.com>
36280
36281 [BZ #12420]
36282 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36283 storing it.
36284 * stdlib/bug-getcontext.c: New file.
36285 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36286
27390476
AK
362872011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36288
36289 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36290 instructions into .machine "z9-109".
36291 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36292 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36293
10442705
AK
362942011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36295
36296 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36297 between environment variables and auxiliary vector.
36298
7b57bfe5
UD
362992011-04-16 Ulrich Drepper <drepper@gmail.com>
36300
36301 * Makefile: Add rules to build linkobj/libc.so.
36302 * include/libc-symbols.h: Define libc_hidden_nolink.
36303 * include/rpc/auth.h: Mark functions which are to be hidden.
36304 * include/rpc/auth_des.h: Likewise.
36305 * include/rpc/auth_unix.h: Likewise.
36306 * include/rpc/clnt.h: Likewise.
36307 * include/rpc/des_crypt.h: Likewise.
36308 * include/rpc/key_prot.h: Likewise.
36309 * include/rpc/pmap_clnt.h: Likewise.
36310 * include/rpc/pmap_prot.h: Likewise.
36311 * include/rpc/pmap_rmt.h: Likewise.
36312 * include/rpc/rpc_msg.h: Likewise.
36313 * include/rpc/svc.h: Likewise.
36314 * include/rpc/svc_auth.h: Likewise.
36315 * include/rpc/xdr.h: Likewise.
36316 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36317 * nss/Makefile: Likewise.
36318 * sunrpc/Makefile: Don't install headers. Build library with normal
36319 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36320 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36321 for the compat linking library. Remove use of INTDEF/INTUSE.
36322 * sunrpc/auth_none.c: Likewise.
36323 * sunrpc/auth_unix.c: Likewise.
36324 * sunrpc/authdes_prot.c: Likewise.
36325 * sunrpc/authuxprot.c: Likewise.
36326 * sunrpc/clnt_gen.c: Likewise.
36327 * sunrpc/clnt_perr.c: Likewise.
36328 * sunrpc/clnt_raw.c: Likewise.
36329 * sunrpc/clnt_simp.c: Likewise.
36330 * sunrpc/clnt_tcp.c: Likewise.
36331 * sunrpc/clnt_udp.c: Likewise.
36332 * sunrpc/clnt_unix.c: Likewise.
36333 * sunrpc/des_crypt.c: Likewise.
36334 * sunrpc/des_soft.c: Likewise.
36335 * sunrpc/get_myaddr.c: Likewise.
36336 * sunrpc/key_call.c: Likewise.
36337 * sunrpc/key_prot.c: Likewise.
36338 * sunrpc/netname.c: Likewise.
36339 * sunrpc/pm_getmaps.c: Likewise.
36340 * sunrpc/pm_getport.c: Likewise.
36341 * sunrpc/pmap_clnt.c: Likewise.
36342 * sunrpc/pmap_prot.c: Likewise.
36343 * sunrpc/pmap_prot2.c: Likewise.
36344 * sunrpc/pmap_rmt.c: Likewise.
36345 * sunrpc/publickey.c: Likewise.
36346 * sunrpc/rpc_cmsg.c: Likewise.
36347 * sunrpc/rpc_common.c: Likewise.
36348 * sunrpc/rpc_dtable.c: Likewise.
36349 * sunrpc/rpc_prot.c: Likewise.
36350 * sunrpc/rpc_thread.c: Likewise.
36351 * sunrpc/rtime.c: Likewise.
36352 * sunrpc/svc.c: Likewise.
36353 * sunrpc/svc_auth.c: Likewise.
36354 * sunrpc/svc_authux.c: Likewise.
36355 * sunrpc/svc_raw.c: Likewise.
36356 * sunrpc/svc_run.c: Likewise.
36357 * sunrpc/svc_simple.c: Likewise.
36358 * sunrpc/svc_tcp.c: Likewise.
36359 * sunrpc/svc_udp.c: Likewise.
36360 * sunrpc/svc_unix.c: Likewise.
36361 * sunrpc/svcauth_des.c: Likewise.
36362 * sunrpc/xcrypt.c: Likewise.
36363 * sunrpc/xdr.c: Likewise.
36364 * sunrpc/xdr_array.c: Likewise.
36365 * sunrpc/xdr_float.c: Likewise.
36366 * sunrpc/xdr_intXX_t.c: Likewise.
36367 * sunrpc/xdr_mem.c: Likewise.
36368 * sunrpc/xdr_rec.c: Likewise.
36369 * sunrpc/xdr_ref.c: Likewise.
36370 * sunrpc/xdr_sizeof.c: Likewise.
36371 * sunrpc/xdr_stdio.c: Likewise.
36372
e6c61494
UD
363732011-04-10 Ulrich Drepper <drepper@gmail.com>
36374
36375 [BZ #12650]
36376 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36377 * sysdeps/ia64/dl-tls.h: Likewise.
36378 * sysdeps/powerpc/dl-tls.h: Likewise.
36379 * sysdeps/s390/dl-tls.h: Likewise.
36380 * sysdeps/sh/dl-tls.h: Likewise.
36381 * sysdeps/sparc/dl-tls.h: Likewise.
36382 * sysdeps/x86_64/dl-tls.h: Likewise.
36383 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36384
34fe483e
AS
363852011-03-14 Andreas Schwab <schwab@redhat.com>
36386
36387 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36388 rpath element also skip the following colon.
36389 (expand_dynamic_string_token): Add is_path parameter and pass
36390 down to DL_DST_REQUIRED and _dl_dst_substitute.
36391 (decompose_rpath): Call expand_dynamic_string_token with
36392 non-zero is_path. Ignore empty rpaths.
36393 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36394 with zero is_path.
36395
f12a32e6
AS
363962011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36397
36398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36399 Make cancelable.
36400
38a7d692
UD
364012011-04-09 Ulrich Drepper <drepper@gmail.com>
36402
36403 [BZ #12655]
36404 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36405 Patch by Filipe David Manana <fdmanana@apache.org>.
36406
e451d22b
AS
364072011-04-07 Andreas Schwab <schwab@redhat.com>
36408
36409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36410 Maintain aligned stack.
36411 (CHECK_RSP): Remove unused macro.
36412
dedc7c7b
UD
364132011-04-03 Ulrich Drepper <drepper@gmail.com>
36414
36415 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36416 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36417
94521213
UD
364182011-04-02 Ulrich Drepper <drepper@gmail.com>
36419
36420 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36421
8cb700c0 36422 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36423
0354e355
L
364242011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36425
36426 [BZ #12518]
36427 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36428 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36429 * sysdeps/x86_64/memmove.c: New file.
36430 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36431 (memcpy): Renamed to ...
36432 (__new_memcpy): This.
36433 (memcpy): Provide GLIBC_2_14 memcpy.
36434 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36435 (memcpy): Provide GLIBC_2_2_5 memcpy.
36436
8593482f
UD
364372011-04-01 Ulrich Drepper <drepper@gmail.com>
36438
36439 [BZ #12631]
36440 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36441
81a5726b
AS
364422011-03-30 Andreas Schwab <schwab@redhat.com>
36443
36444 * misc/syncfs.c: New file.
36445 * misc/Makefile (routines): Add syncfs.
36446 * posix/unistd.h: Declare syncfs.
36447 * sysdeps/unix/syscalls.list: Add syncfs.
36448
00e5419f
AS
364492011-04-01 Andreas Schwab <schwab@redhat.com>
36450
36451 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36452 open_by_handle_at.
36453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36454 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36456 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36458 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36460
748876bf
UD
364612011-04-01 Ulrich Drepper <drepper@gmail.com>
36462
658e451d
UD
36463 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36464 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36465 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36467 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36469 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36470
748876bf
UD
36471 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36472 sync_file_range.c with -fexceptions.
36473 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36474 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36475 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36476 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36477 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36478 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36480 sync_file_range as cancellation point
36481 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36482 now a wrapper around __call_sync_file_range with cancellation handling.
36483 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36484 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36485 function name to __call_sync_file_range.
36486 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36487 Add call_sync_file_range.
748876bf 36488
6e63d5e1
AS
364892011-04-01 Andreas Schwab <schwab@redhat.com>
36490
36491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36492 bits/timex.h.
6e63d5e1 36493
46998f74
UD
364942011-04-01 Ulrich Drepper <drepper@gmail.com>
36495
4c1423ed
UD
36496 * iconv/iconv.h: Fix typo in comment.
36497 * io/fcntl.h: Likewise.
36498 * libio/stdio.h: Likewise.
36499 * posix/spawn.h: Likewise.
36500 * posix/unistd.h: Likewise.
36501 * stdlib/stdlib.h: Likewise.
36502 * time/time.h: Likewise.
36503 * wcsmbs/wchar.h: Likewise.
36504
158648c0
UD
36505 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36506 open_by_handle): Add.
36507 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36508 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36509 Augment a few comments.
36510 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36512 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36515 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36516 open_by_handle.
36517
46998f74
UD
36518 * io/fcntl.h (AT_EMPTY_PATH): Define.
36519
83fe108b
UD
365202011-03-30 Ulrich Drepper <drepper@gmail.com>
36521
36522 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36523 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36524 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36525 to...
36526 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36527 * Versions.def: Add GLIBC_2.14.
36528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36529 Export.
83fe108b 36530
bb242059
UD
365312011-03-22 Ulrich Drepper <drepper@gmail.com>
36532
36533 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36534 round counter.
36535 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36536
c97a1282
L
365372011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36538
36539 [BZ #12597]
36540 * string/test-strncmp.c (do_page_test): New function.
36541 (check2): Likewise.
36542 (test_main): Call check2.
36543 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36544
2a115601
UD
365452011-03-20 Ulrich Drepper <drepper@gmail.com>
36546
36547 [BZ #12587]
36548 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36549 Handle cache information in CPU leaf 4.
36550 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36551
8126d904
UD
365522011-03-18 Ulrich Drepper <drepper@gmail.com>
36553
042c49c6 36554 [BZ #12583]
8126d904
UD
36555 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36556 character representation.
36557 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36558
ccfe366e
RA
365592011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36560
36561 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36562 END(__isnan) to END(__isnanf) to match function entry point/label
36563 EALIGN(__isnanf,...).
36564
c6e13027
JJ
365652011-03-10 Jakub Jelinek <jakub@redhat.com>
36566
36567 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36568
33f85a3f
UD
365692011-03-10 Ulrich Drepper <drepper@gmail.com>
36570
028478fa
UD
36571 [BZ #12510]
36572 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36573 copy from the symbol referenced in the relocation to initialize the
36574 used variable.
36575 Patch by Piotr Bury <pbury@goahead.com>.
36576 * elf/Makefile: Add rules to build and tst-unique3.
36577 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36578 * elf/tst-unique3.cc: New file.
36579 * elf/tst-unique3.h: New file.
36580 * elf/tst-unique3lib.cc: New file.
36581 * elf/tst-unique3lib2.cc: New file.
36582
33f85a3f
UD
36583 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36584
03592fc7
MF
365852011-03-10 Mike Frysinger <vapier@gentoo.org>
36586
36587 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36588 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36589 to _start.
03592fc7 36590
6a5ee102
UD
365912011-03-06 Ulrich Drepper <drepper@gmail.com>
36592
36593 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36594 to-be-loaded object along a path to loader is ld.so.
36595
7e4ba49c
HJ
365962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36597 Ulrich Drepper <drepper@gmail.com>
36598
36599 * sysdeps/x86_64/memset.S: After aligning destination, code
36600 branches to different locations depending on the value of
36601 misalignment, when multiarch is enabled. Fix this.
36602
366032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36604
36605 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36606 Set _x86_64_preferred_memory_instruction for AMD processsors.
36607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36608 Set bit_Prefer_SSE_for_memop for AMD processors.
36609
13a804de
UD
366102011-03-04 Ulrich Drepper <drepper@gmail.com>
36611
36612 * libio/fmemopen.c (fmemopen): Optimize a bit.
36613
9d25c392
AS
366142011-03-03 Andreas Schwab <schwab@redhat.com>
36615
36616 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36617
a5543c6a
RM
366182011-03-03 Roland McGrath <roland@redhat.com>
36619
36620 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36621
012d35f7
DM
366222011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36623
7e4ba49c 36624 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36625 __bzero_ultra1 instead of __memset_ultra1.
36626
4bff6e01
AS
366272011-02-23 Andreas Schwab <schwab@redhat.com>
36628 Ulrich Drepper <drepper@gmail.com>
36629
36630 [BZ #12509]
36631 * include/link.h (struct link_map): Add l_orig_initfini.
36632 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36633 returning unsuccessfully.
36634 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36635 close of a file loaded at startup, restore the original l_initfini
36636 list.
36637 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36638 list, store the pointer.
36639 * elf/Makefile ($(objpfx)noload-mem): New rule.
36640 (noload-ENV): Define.
36641 (tests): Add $(objpfx)noload-mem.
36642 * elf/noload.c: Include <memcheck.h>.
36643 (main): Call mtrace. Close all opened handles.
36644
f2092faf
AS
366452011-02-17 Andreas Schwab <schwab@redhat.com>
36646
36647 [BZ #12454]
36648 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36649 dependencies are missing.
36650
6c8a2e88
ST
366512011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36652
f2092faf 36653 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36654 Hurd needs munmap.
36655 * sysdeps/mach/hurd/ifreq.h: New file.
36656
84a42118
PB
366572011-01-27 Petr Baudis <pasky@suse.cz>
36658 Ulrich Drepper <drepper@gmail.com>
36659
071f805e 36660 [BZ 12445]#
84a42118
PB
36661 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36662 to extend_alloca().
36663 * stdio-common/bug23.c: New file.
36664 * stdio-common/Makefile (tests): Add bug23.
36665
e23fe25b
AS
366662010-09-28 Andreas Schwab <schwab@redhat.com>
36667 Ulrich Drepper <drepper@gmail.com>
36668
36669 [BZ #12489]
36670 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36671 before performing relro protection. At old place add assertion
36672 to make sure nothing changed.
36673
d3f02e10
NS
366742011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36675 Glauber de Oliveira Costa <glommer@gmail.com>
36676
36677 * elf/elf.h: Add new ARM TLS relocs.
36678
d55fd7a5
RA
366792011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36680
36681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36682 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36683 cast from r3.
36684 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36685 'tests' variable.
36686 * sysdeps/wordsize-64/tst-writev.c: New file.
36687
2206397e
RA
366882011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36689
36690 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36691 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36692 insns in _dl_start to prevent a TOC reference before relocs are
36693 resolved.
36694
e9433893
UD
366952011-02-15 Ulrich Drepper <drepper@gmail.com>
36696
36697 [BZ #12469]
36698 * Makeconfig: Remove RANLIB definition.
36699 * Makerules: Don't use RANLIB.
36700 * aclocal.m4: Remove ranlib test.
36701 * configure.in: No need to check for ranlib.
36702 * elf/rtld-Rules: Don't use RANLIB.
36703
f75286c6
ST
367042011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36705
8e31c82d
ST
36706 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36707 protection macro.
36708 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36709 inclusion protection macro.
36710
f75286c6
ST
36711 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36712 SIGRTMIN and SIGRTMAX and print information in that case only when
36713 SIGRTMIN is defined.
36714
c1d0e639
JJ
367152011-02-11 Jakub Jelinek <jakub@redhat.com>
36716
36717 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36718 arginfo fn returning -1.
36719
36720 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36721 and thousands string is zero terminated.
36722
edf9294e
AS
367232011-02-03 Andreas Schwab <schwab@redhat.com>
36724
36725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36726 sysdeps/unix/sysv/linux/bits/socket.h.
36727
2b7e92df
ST
367282011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36729
edf9294e
AS
36730 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36731 (__CPU_COUNT): Remove old macros.
36732 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36733 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36734 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36735 (__sched_cpualloc, __sched_cpufree): Add declarations.
36736
a4c7ea7b
UD
367372011-02-05 Ulrich Drepper <drepper@gmail.com>
36738
36739 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36740 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36741 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36742 (readdhstai): Return value of addhstaiX call.
36743 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36744 (addgrbyX): Return value returned by cache_addgr.
36745 (readdgrbyname): Return value returned by addgrbyX.
36746 (readdgrbygid): Likewise.
36747 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36748 (addpwbyX): Return value returned by cache_addpw.
36749 (readdpwbyname): Return value returned by addhstbyX.
36750 (readdpwbyuid): Likewise.
36751 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36752 (addservbyX): Return value returned by cache_addserv.
36753 (readdservbyname): Return value returned by addservbyX:
36754 (readdservbyport): Likewise.
36755 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36756 (addhstbyX): Return value returned by cache_addhst.
36757 (readdhstbyname): Return value returned by addhstbyX.
36758 (readdhstbyaddr): Likewise.
36759 (readdhstbynamev6): Likewise.
36760 (readdhstbyaddrv6): Likewise.
36761 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36762 (readdinitgroups): Return value returned by addinitgroupsX.
36763 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36764 (prune_cache): Keep track of timeout value of re-added entries.
36765 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36766 * nscd/nscd.h: Adjust prototypes of readd* functions.
36767
a0bf67cc
RM
367682011-02-04 Roland McGrath <roland@redhat.com>
36769
36770 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36771 (nis_stats): Likewise.
36772 * nis/nis_modify.c (nis_modify): Likewise.
36773 * nis/nis_remove.c (nis_remove): Likewise.
36774 * nis/nis_add.c (nis_add): Likewise.
36775
36776 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36777
36778 * posix/fnmatch_loop.c: Add some consts.
36779
36780 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36781
435b95eb
L
367822011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36783
36784 [BZ #12460]
36785 * config.make.in (config-cflags-novzeroupper): Define.
36786 * configure.in: Substitute libc_cv_cc_novzeroupper.
36787 * elf/Makefile (AVX-CFLAGS): Define.
36788 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36789 (CFLAGS-tst-auditmod4a.c): Likewise.
36790 (CFLAGS-tst-auditmod4b.c): Likewise.
36791 (CFLAGS-tst-auditmod6b.c): Likewise.
36792 (CFLAGS-tst-auditmod6c.c): Likewise.
36793 (CFLAGS-tst-auditmod7b.c): Likewise.
36794 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36795
8517b15e
UD
367962011-02-02 Ulrich Drepper <drepper@gmail.com>
36797
36798 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36799 function to the callback.
36800 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36801
10a656fe
AS
368022011-02-02 Andreas Schwab <schwab@redhat.com>
36803
36804 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36805 of errno.
36806
968dad0a
UD
368072011-01-19 Ulrich Drepper <drepper@gmail.com>
36808
9f94d2ea 36809 [BZ #11724]
968dad0a
UD
36810 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36811 of constructors.
36812 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36813 of destructors.
36814 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36815
36816 [BZ #11724]
36817 * elf/Makefile: Add rules to build and run new test.
36818 * elf/tst-initorder.c: New file.
36819 * elf/tst-initorder.exp: New file.
36820 * elf/tst-initordera1.c: New file.
36821 * elf/tst-initordera2.c: New file.
36822 * elf/tst-initordera3.c: New file.
36823 * elf/tst-initordera4.c: New file.
36824 * elf/tst-initorderb1.c: New file.
36825 * elf/tst-initorderb2.c: New file.
36826 * elf/tst-order-a1.c: New file.
36827 * elf/tst-order-a2.c: New file.
36828 * elf/tst-order-a3.c: New file.
36829 * elf/tst-order-a4.c: New file.
36830 * elf/tst-order-b1.c: New file.
36831 * elf/tst-order-b2.c: New file.
36832 * elf/tst-order-main.c: New file.
36833 New test case by George Gensure <werkt0@gmail.com>.
36834
86e92359
UD
368352010-10-01 Andreas Schwab <schwab@redhat.com>
36836
36837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36838 decoding ACE if AI_CANONIDN.
36839
5d5732b0
UD
368402011-01-18 Ulrich Drepper <drepper@gmail.com>
36841
36842 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36843
a77e8cbc
UD
368442011-01-17 Ulrich Drepper <drepper@gmail.com>
36845
6392473f
UD
36846 * version.h (RELEASE): Bump for 2.13 release.
36847 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36848
620a0529
UD
36849 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36850
18ba70a5
UD
36851 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36852 MADV_NOHUGEPAGE.
32465c3e
UD
36853 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36855 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36856 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36857 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36858 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36859
c0dafcf1
UD
36860 * posix/getconf.c: Update copyright year.
36861 * catgets/gencat.c: Likewise.
36862 * csu/version.c: Likewise.
36863 * debug/catchsegv.sh: Likewise.
36864 * debug/xtrace.sh: Likewise.
36865 * elf/ldconfig.c: Likewise.
36866 * elf/ldd.bash.in: Likewise.
36867 * elf/sprof.c (print_version): Likewise.
36868 * iconv/iconv_prog.c: Likewise.
36869 * iconv/iconvconfig.c: Likewise.
36870 * locale/programs/locale.c: Likewise.
36871 * locale/programs/localedef.c: Likewise.
36872 * malloc/memusage.sh: Likewise.
36873 * malloc/mtrace.pl: Likewise.
36874 * nscd/nscd.c (print_version): Likewise.
36875 * nss/getent.c: Likewise.
36876
a77e8cbc
UD
36877 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36878 PF_CAIF, and PF_ALG.
36879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36880
77e8bddf
AS
368812011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36882
1f20b93a
AS
36883 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36884 (modules-names): Use them.
36885 (ifunc-test-modules, ifunc-pie-tests): Define.
36886 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36887 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36888 (test-extras): Likewise.
36889 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36890 $(compile-command.c).
36891 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36892 (all-built-dso): Define.
36893 (check-textrel.out, check-execstack.out): Depend on it.
36894
77e8bddf
AS
36895 * configure.in: Don't override --enable-multi-arch.
36896
bc425b33
UD
368972011-01-15 Ulrich Drepper <drepper@gmail.com>
36898
36899 [BZ #6812]
36900 * nscd/hstcache.c (tryagain): Define.
36901 (cache_addhst): Return tryagain not notfound for temporary errors.
36902 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36903 failed.
36904
794c3ad3
UD
369052011-01-14 Ulrich Drepper <drepper@gmail.com>
36906
70181fdd
UD
36907 [BZ #10563]
36908 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36909 to make the syscall.
36910 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36911
794c3ad3
UD
36912 [BZ #12378]
36913 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36914 and fall back to matching as normal character if the string ends before
36915 the matching ']' is found. This is what POSIX requires.
36916 * posix/testfnm.c: Adjust test result.
36917 * posix/globtest.sh: Adjust test result. Add new test.
36918 * posix/tst-fnmatch.input: Likewise.
36919 * posix/tst-fnmatch2.c: Add new test.
36920
68dc9497
AS
369212010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36922
36923 * elf/Makefile (check-execstack): Revert last change. Depend on
36924 check-execstack.h.
36925 (check-execstack.h): New target.
36926 (generated): Add check-execstack.h.
36927 * elf/check-execstack.c: Include "check-execstack.h".
36928 (main): Revert last change.
36929 (handle_file): Return zero if GNU_STACK is absent and
36930 DEFAULT_STACK_PERMS doesn't include PF_X.
36931
451f001b
UD
369322011-01-13 Ulrich Drepper <drepper@gmail.com>
36933
cfa28e56
UD
36934 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36935 in child fails because the descriptor is already closed.
8cf8ce17
UD
36936 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36937 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36938 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36939
1086d70d
UD
36940 [BZ #12397]
36941 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36942 syscall.
36943
451f001b
UD
36944 [BZ #10484]
36945 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36946 temporary buffer used to handle multi lookups locally.
a85b5cb4 36947 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36948
08769175
UD
369492011-01-12 Ulrich Drepper <drepper@gmail.com>
36950
36951 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36952 loader is ld.so.
36953
5e49c52e
UD
369542011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36955
36956 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36957 alignment for SSE2.
36958
60522a5f
UD
369592011-01-12 Ulrich Drepper <drepper@gmail.com>
36960
36961 [BZ #12394]
36962 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36963 characters. When rounding increased number of integer digits recompute
36964 number of groups.
36965 * stdio-common/tst-grouping.c: New file.
36966 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36967
f257bbd7
UD
369682011-01-09 Ulrich Drepper <drepper@gmail.com>
36969
36970 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36971 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36972
36973 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36974 void.
36975 * bits/select.h: Likewise.
36976
fa9c15cb
UD
369772011-01-08 Ulrich Drepper <drepper@gmail.com>
36978
36979 * po/ja.po: Update from translation team.
36980
16c2895f
DM
369812011-01-04 David S. Miller <davem@sunset.davemloft.net>
36982
36983 [BZ #11155]
36984 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36985 implementation just like for lxstat, fxstatat, et al.
36986
2543fef2
JM
369872010-12-27 Jim Meyering <meyering@redhat.com>
36988
36989 [BZ #12348]
36990 * posix/regexec.c (build_trtable): Return failure indication upon
36991 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36992
98727dbe
UD
369932010-12-25 Ulrich Drepper <drepper@gmail.com>
36994
5bd6dc5c
UD
36995 [BZ #12201]
36996 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36997 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36998 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36999 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37000
97983464
UD
37001 [BZ #12207]
37002 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37003
98727dbe
UD
37004 [BZ #12204]
37005 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37006 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37007
4a531bb0
L
370082010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37009
37010 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37011 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37012 script has SORT_BY_INIT_PRIORITY.
37013 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37014 NO_CTORS_DTORS_SECTIONS is defined.
37015 * elf/soinit.c: Likewise.
37016 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37017 NO_CTORS_DTORS_SECTIONS is defined.
37018 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37019 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37020 * sysdeps/sh/init-first.c: Likewise.
37021 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37022
07eb4b71
UD
370232010-12-24 Ulrich Drepper <drepper@gmail.com>
37024
37025 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37026 always use the slow path.
37027
30950a5f
RA
370282010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37029
37030 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37031 similar rule which adds the sysdep directories to the header search in
37032 order to pick up the correct platform stackinfo.h.
37033 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37034 perform test if it is, otherwise return successfully without testing.
37035 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37036 DEFAULT_STACK_PERMS define in stackinfo.h.
37037 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37038 defined in stackinfo.h.
37039 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37040 DEFAULT_STACK_PERMS defined in stackinfo.h.
37041 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37042 * sysdeps/ia64/stackinfo.h: Likewise.
37043 * sysdeps/s390/stackinfo.h: Likewise.
37044 * sysdeps/sh/stackinfo.h: Likewise.
37045 * sysdeps/sparc/stackinfo.h: Likewise.
37046 * sysdeps/x86_64/stackinfo.h: Likewise.
37047 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37048 PF_X for powerpc64. Retain PF_X for powerpc32.
37049
db753e2c
UD
370502010-12-19 Ulrich Drepper <drepper@gmail.com>
37051
14b697f7
UD
37052 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37053 accurately.
db753e2c
UD
37054 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37055 GETDENTS_64BIT_ALIGNED.
37056
28300719
UD
370572010-12-14 Ulrich Drepper <dreper@gmail.com>
37058
14b697f7 37059 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37060
4f197237
AS
370612010-12-10 Andreas Schwab <schwab@redhat.com>
37062
dbb0472f
AS
37063 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37064 _GNU_SOURCE.
37065
4f197237
AS
37066 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37067 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37068 Remove __restrict.
37069 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37070 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37071
fb88ac72
UD
370722010-12-09 Ulrich Drepper <drepper@gmail.com>
37073
37074 [BZ #11655]
37075 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37076 are initialized.
37077
42acbb92
JJ
370782010-12-09 Jakub Jelinek <jakub@redhat.com>
37079
37080 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37081
c038d98d
UD
370822010-12-03 Ulrich Drepper <drepper@gmail.com>
37083
37084 * po/it.po: Update from translation team.
37085
3a4a2499
L
370862010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37087
37088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37089 unused codes.
37090
1e24cf6e
UD
370912010-11-30 Ulrich Drepper <drepper@gmail.com>
37092
37093 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37094
a7690819
AS
370952010-11-24 Andreas Schwab <schwab@redhat.com>
37096
37097 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37098 specially.
37099 (gaih_getanswer_slice): Likewise.
37100
3bf8d1b1
JJ
371012010-10-20 Jakub Jelinek <jakub@redhat.com>
37102
37103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37104
6db52fbb
PB
371052010-05-31 Petr Baudis <pasky@suse.cz>
37106
37107 [BZ #11149]
37108 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37109 silently even in the chroot mode.
37110
eaca7569
UD
371112010-11-22 Ulrich Drepper <drepper@gmail.com>
37112
37113 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37114 last patch a bit. Pretty printing
37115
3056dcdb
UD
371162010-05-31 Petr Baudis <pasky@suse.cz>
37117
37118 [BZ #10085]
37119 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37120 initialization of skip_initgroups_dyn.
37121
cf7c9078
UD
371222010-11-19 Ulrich Drepper <drepper@gmail.com>
37123
37124 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37125 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37126
a1fb5e3e
UD
371272010-11-16 Ulrich Drepper <drepper@gmail.com>
37128
37129 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37130
3540d66b
AS
371312010-11-11 Andreas Schwab <schwab@redhat.com>
37132
37133 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37134 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37135 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37136 ($(objpfx)tst-fnmatch-mem): New rule.
37137 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37138 * posix/tst-fnmatch.c (main): Call mtrace.
37139
13b69574
L
371402010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37141
37142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37143 Support Intel processor model 6 and model 0x2c.
37144
da93d214
LM
371452010-11-10 Luis Machado <luisgpm@br.ibm.com>
37146
37147 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37148 signed comparison.
37149
8ca52c6e
L
371502010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37151
37152 [BZ #12205]
37153 * string/test-strncasecmp.c (check_result): New function.
37154 (do_one_test): Use it.
37155 (check1): New function.
37156 (test_main): Use it.
37157 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37158 Support strcasecmp and strncasecmp.
37159
69da074d
UD
371602010-11-08 Ulrich Drepper <drepper@gmail.com>
37161
37162 [BZ #12194]
37163 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37164 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37165
ff02d528
L
371662010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37167
37168 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37169 IFUNC support.
37170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37171 memset-x86-64.
37172 * sysdeps/x86_64/multiarch/bzero.S: New file.
37173 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37174 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37175 * sysdeps/x86_64/multiarch/memset.S: New file.
37176 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37178 Set bit_Prefer_SSE_for_memop for Intel processors.
37179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37180 Define.
37181 (index_Prefer_SSE_for_memop): Define.
37182 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37183
344d0b54
LM
371842010-11-04 Luis Machado <luisgpm@br.ibm.com>
37185
37186 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37187 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37188
c0dde15b
UD
371892010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37190
37191 [BZ #12191]
37192 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37193 (__x86_64_raw_data_cache_size_half): Likewise.
37194 (__x86_64_raw_shared_cache_size): Likewise.
37195 (__x86_64_raw_shared_cache_size_half): Likewise.
37196
37197 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37198 (__x86_64_raw_data_cache_size_half): Likewise.
37199 (__x86_64_raw_shared_cache_size): Likewise.
37200 (__x86_64_raw_shared_cache_size_half): Likewise.
37201 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37202 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37203 and __x86_64_raw_shared_cache_size_half. Round
37204 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37205 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37206 to multiple of 256 bytes.
37207
0e516e0e
MS
372082010-11-03 Ulrich Drepper <drepper@gmail.com>
37209
37210 [BZ #12167]
37211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37212 of inacessible symlinks. Verify result of symlink before returning it.
37213 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37214 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37215
0e012e87
ER
372162010-10-28 Erich Ritz <erichritz@gmail.com>
37217
37218 * math/math.h (isinf): Fix typo in comment.
37219
de0ff7bc
UD
372202010-11-01 Ulrich Drepper <drepper@gmail.com>
37221
37222 * po/da.po: Update from translation team.
37223
fa41c84d
UD
372242010-10-26 Ulrich Drepper <drepper@gmail.com>
37225
37226 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37227 is added to the list.
37228
f0967738
AK
372292010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37230 Ulrich Drepper <drepper@gmail.com>
37231
37232 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37233 the global list here. Move code to...
37234 (_dl_add_to_namespace_list): ...here. New function.
37235 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37236 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37237 * elf/dl-load.c (lose): Don't remove the element from the list.
37238 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37239 (_dl_map_object): Likewise.
37240
372412010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37242
37243 [BZ #12159]
37244 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37245 into all bytes of SSE register.
37246 Patch by Richard Li <richardpku@gmail.com>.
37247
f0967738 372482010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37249
37250 [BZ #12140]
37251 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37252 perturbing.
37253
d0b9e94f
MB
372542010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37255
37256 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37257 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37258 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37259 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37261 submachine.
37262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37263
8e9f92e9
AS
372642010-10-22 Andreas Schwab <schwab@redhat.com>
37265
37266 * include/dlfcn.h (__RTLD_SECURE): Define.
37267 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37268 mode & __RTLD_SECURE instead.
37269 (open_path): Rename preloaded parameter to secure.
37270 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37271 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37272 * elf/dl-deps.c (openaux): Likewise.
37273 * elf/rtld.c (struct map_args): Remove is_preloaded.
37274 (map_doit): Don't use it.
37275 (dl_main): Likewise.
37276 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37277 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37278
bc96fbda
AS
372792010-09-09 Andreas Schwab <schwab@redhat.com>
37280
37281 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37282 (sysd-rules-targets): Remove duplicates.
37283 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37284 rtld-%.$o dependency.
37285
22cd1c9b
AS
372862010-10-18 Andreas Schwab <schwab@redhat.com>
37287
37288 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37289 _dl_map_object do it.
37290
18edac48
UD
372912010-10-19 Ulrich Drepper <drepper@gmail.com>
37292
37293 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37294 fast fma builtins, define the macros in the C99 standard.
37295 (FP_FAST_FMAF): Likewise.
37296 (FP_FAST_FMAL): Likewise.
37297 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37298
37299 * bits/mathdef.h: Update copyright year.
37300 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37301
d2050124
MM
373022010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37303
37304 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37305 builtins, define the macros in the C99 standard.
37306 (FP_FAST_FMAF): Likewise.
37307 (FP_FAST_FMAL): Likewise.
37308 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37309 multiply/add.
37310 (FP_FAST_FMAF): Likewise.
37311
475facd1
JJ
373122010-10-15 Jakub Jelinek <jakub@redhat.com>
37313
37314 [BZ #3268]
37315 * math/libm-test.inc (fma_test): Some new testcases.
37316 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37317 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37318 y and infinite z. Do multiplication by C already in long double.
37319 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37321 y and infinite z. Do bitwise or of inexact bit into u.d.
37322 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37323 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37324 * sysdeps/i386/fpu/s_fma.S: Removed.
37325 * sysdeps/i386/fpu/s_fmal.S: Removed.
37326
7c08a05c
JJ
373272010-10-16 Jakub Jelinek <jakub@redhat.com>
37328
37329 [BZ #3268]
37330 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37332 computation is not scheduled after fetestexcept. Fix value
37333 of minimum denormal long double.
37334
f3f7372d
JJ
373352010-10-14 Jakub Jelinek <jakub@redhat.com>
37336
37337 [BZ #3268]
37338 * math/libm-test.inc (fma_test): Add some more tests.
37339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37340 correctly.
37341
14d43591
AS
373422010-10-15 Andreas Schwab <schwab@redhat.com>
37343
37344 * scripts/data/localplt-s390-linux-gnu.data: New file.
37345 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37346
5e908464
JJ
373472010-10-13 Jakub Jelinek <jakub@redhat.com>
37348
37349 [BZ #3268]
37350 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37351 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37352 instead of dbl-64.
37353 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37354 inlines.
37355 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37357 if one of x and y is very large and the other is subnormal.
37358 * sysdeps/s390/fpu/s_fmaf.c: New file.
37359 * sysdeps/s390/fpu/s_fma.c: New file.
37360 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37361 * sysdeps/powerpc/fpu/s_fma.S: New file.
37362 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37363 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37364 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37365
373662010-10-12 Jakub Jelinek <jakub@redhat.com>
37367
37368 [BZ #3268]
37369 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37370 fma tests.
37371 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37372 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37373 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37374 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37375 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37376 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37377 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37378
b833d51f
UD
373792010-10-12 Ulrich Drepper <drepper@redhat.com>
37380
37381 [BZ #12078]
37382 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37383 * posix/bug-regex31.input: Add test case.
37384
1751705d
UD
373852010-10-11 Ulrich Drepper <drepper@gmail.com>
37386
e9b9cbf5
UD
37387 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37388 * posix/bug-regex31.input: New file.
37389
37390 [BZ #12078]
37391 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37392 (parse_sub_exp): Fix last change, use postorder.
37393
ef06edbe
UD
37394 * posix/bug-regex31.c: New file.
37395 * posix/Makefile: Add rules to build and run bug-regex31.
37396
a129c80d
UD
37397 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37398
37399 [BZ #12078]
37400 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37401
b76b818e
UD
37402 [BZ #12108]
37403 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37404 to have entries in sys_siglist.
37405
1751705d
UD
37406 [BZ #12093]
37407 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37408 be NULL.
37409
9ff8d36f
JJ
374102010-10-07 Jakub Jelinek <jakub@redhat.com>
37411
37412 [BZ #3268]
37413 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37414 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37415 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37416 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37417 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37418 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37419 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37420 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37421 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37422 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37423 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37424 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37425 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37426 * math/ftestexcept.c (fetestexcept): Likewise.
37427 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37428 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37429 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37430 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37431 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37432 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37433 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37434
af325969
UD
374352010-10-11 Ulrich Drepper <drepper@gmail.com>
37436
c579b202 37437 [BZ #12107]
af325969
UD
37438 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37439 newline.
37440
67a67b95
UD
374412010-10-06 Ulrich Drepper <drepper@gmail.com>
37442
37443 * string/bug-strstr1.c: New file.
37444 * string/Makefile: Add rules to build and run bug-strstr1.
37445
5fb308bc
EB
374462010-10-05 Eric Blake <eblake@redhat.com>
37447
37448 [BZ #12092]
37449 * string/str-two-way.h (two_way_long_needle): Always clear memory
37450 when skipping input due to the shift table.
37451
45db99c7
UD
374522010-10-03 Ulrich Drepper <drepper@gmail.com>
37453
3b111893
UD
37454 [BZ #12005]
37455 * malloc/mcheck.c: Handle large requests.
37456
45db99c7
UD
37457 [BZ #12077]
37458 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37459 for strncmp and strncasecmp.
37460 * string/stratcliff.c: Add tests for strcmp and strncmp.
37461 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37462
cf7a1eb8
NI
374632010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37464
37465 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37466 __set_fpscr.
37467
6484ba5e
AJ
374682010-09-30 Andreas Jaeger <aj@suse.de>
37469
37470 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37471 (CGROUP_SUPER_MAGIC): Define.
37472 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37473 Handle btrfs and cgroup file systems.
37474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37475 Likewise.
37476
91c42559
LM
374772010-09-27 Luis Machado <luisgpm@br.ibm.com>
37478
37479 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37480 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37481
87a97932
AK
374822010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37483
37484 [BZ #12067]
37485 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37486 trying to locate the ELF header.
37487
c21cc9bc
AS
374882010-09-27 Andreas Schwab <schwab@redhat.com>
37489
37490 [BZ #11611]
37491 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37492 Mask out sign-bit copies when constructing f_fsid.
37493
315970f6
PB
374942010-09-24 Petr Baudis <pasky@suse.cz>
37495
37496 * debug/stack_chk_fail_local.c: Add missing licence exception.
37497 * debug/warning-nop.c: Likewise.
37498
1ac7a2c7
JM
374992010-09-15 Joseph Myers <joseph@codesourcery.com>
37500
37501 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37502 implementing getdents64 using getdents syscall, set d_type if
37503 __ASSUME_GETDENTS32_D_TYPE.
37504
56801c50
AS
375052010-09-16 Andreas Schwab <schwab@redhat.com>
37506
37507 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37508 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37509
dda51327
UD
375102010-09-21 Ulrich Drepper <drepper@redhat.com>
37511
37512 [BZ #12037]
37513 * posix/unistd.h: Undo change of feature selection for ftruncate from
37514 2010-01-11.
37515
8ffcee4a
UD
375162010-09-20 Ulrich Drepper <drepper@redhat.com>
37517
a545ecd9 37518 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37519 detection.
37520
e24f0a8b
AS
375212010-09-20 Andreas Schwab <schwab@redhat.com>
37522
37523 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37524 fanotify_mark.
37525 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37526
7291c56f
AS
375272010-09-14 Andreas Schwab <schwab@redhat.com>
37528
37529 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37530 variables after CHECK_SP call.
37531 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37532
bc5fb037
AS
375332010-09-13 Andreas Schwab <schwab@redhat.com>
37534 Ulrich Drepper <drepper@redhat.com>
37535
37536 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37537 re-relocationg ld.so.
37538 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37539 _dl_init_paths call.
37540 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37541 here anymore.
37542
e66e7419
UD
375432010-09-14 Ulrich Drepper <drepper@redhat.com>
37544
37545 * resolv/res_init.c (__res_vinit): Count the default server we added.
37546
c044aa75
CLT
375472010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37548 Ulrich Drepper <drepper@redhat.com>
37549
37550 [BZ #11968]
37551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37552 (____longjmp_chk): Use %ebx for saving value across system call.
37553 Add unwind info.
37554
32cf4069
AS
375552010-09-06 Andreas Schwab <schwab@redhat.com>
37556
37557 * manual/Makefile: Don't mix pattern rules with normal rules.
37558
817328ee
AS
375592010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37560
37561 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37562 operation.
37563 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37564 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37565 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37566 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37568 Likewise.
37569
29fddf61
UD
375702010-09-04 Ulrich Drepper <drepper@redhat.com>
37571
37572 [BZ #11979]
37573 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37574 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37575
0959ffc9
UD
375762010-09-02 Ulrich Drepper <drepper@redhat.com>
37577
37578 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37579 * sysdeps/x86_64/addmul_1.S: Likewise.
37580 * sysdeps/x86_64/lshift.S: Likewise.
37581 * sysdeps/x86_64/mul_1.S: Likewise.
37582 * sysdeps/x86_64/rshift.S: Likewise.
37583 * sysdeps/x86_64/sub_n.S: Likewise.
37584 * sysdeps/x86_64/submul_1.S: Likewise.
37585
ece29840
ST
375862010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37587
0959ffc9
UD
37588 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37589 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37590 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37591 * bits/sched.h [__need_schedparam]
ece29840 37592 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37593 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37594 (__defined_schedparam): Define to 1.
ece29840
ST
37595 (__sched_param): New structure, identical to sched_param.
37596 (__need_schedparam): Undefine.
37597
e53a31fe
MF
375982010-08-31 Mike Frysinger <vapier@gentoo.org>
37599
fdc0c10d
MF
37600 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37601 (epoll_create1): Declare.
37602
e53a31fe
MF
37603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37604
a726d796
AS
376052010-08-31 Andreas Schwab <schwab@redhat.com>
37606
37607 [BZ #7066]
37608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37609 shifting retval into place.
37610
2f3e3dc7
UD
376112010-09-01 Ulrich Drepper <drepper@redhat.com>
37612
f2933da9
UD
37613 * nis/rpcsvc/nis.h: Update copyright notice.
37614 * nis/rpcsvc/nis.x: Likewise.
37615 * nis/rpcsvc/nis_callback.h: Likewise.
37616 * nis/rpcsvc/nis_callback.x: Likewise.
37617 * nis/rpcsvc/nis_object.x: Likewise.
37618 * nis/rpcsvc/nis_tags.h: Likewise.
37619 * nis/rpcsvc/yp.h: Likewise.
37620 * nis/rpcsvc/yp.x: Likewise.
37621 * nis/rpcsvc/ypupd.h: Likewise.
37622 * nis/yp_xdr.c: Likewise.
37623 * nis/ypupdate_xdr.c: Likewise.
37624
2f3e3dc7
UD
37625 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37626 mainly the body of pmap_getport. Add parameters to specify timeouts.
37627 (pmap_getport): Use __libc_rpc_getport.
37628 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37629 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37630 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37631
f3dcc2f9
AS
376322010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37633
37634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37635 fanotify_mark.
37636
6d34eb5b
RM
376372010-08-27 Roland McGrath <roland@redhat.com>
37638
37639 * sysdeps/i386/i686/multiarch/Makefile
37640 (CFLAGS-varshift.c): New variable.
37641
9ea3de11
UD
376422010-08-27 Ulrich Drepper <drepper@redhat.com>
37643
c96d23fc
UD
37644 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37645 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37646
9ea3de11
UD
37647 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37648
37649 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37650
623aac7f
L
376512010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37652
37653 * sysdeps/x86_64/strlen.S: Unroll the loop.
37654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37655 strlen-sse2 strlen-sse2-bsf.
37656 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37657 __strlen_no_bsf if bit_Slow_BSF is set.
37658 (__strlen_sse42): Removed.
37659 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37660 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37661
8b2b7715
RM
376622010-08-25 Roland McGrath <roland@redhat.com>
37663
37664 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37665 * sysdeps/x86_64/multiarch/varshift.c: New file.
37666 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37667 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37668 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37669 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37670
e73015f2
L
376712010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37672
37673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37674 strlen-sse2 strlen-sse2-bsf.
37675 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37676 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37677 (__strlen_sse2): Removed.
37678 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37679 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37681 bit_Slow_BSF for Atom.
37682 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37683 (index_Slow_BSF): Define.
37684 (HAS_SLOW_BSF): Define.
37685
df24a73e
UD
376862010-08-25 Ulrich Drepper <drepper@redhat.com>
37687
37688 [BZ #10851]
37689 * resolv/res_init.c (__res_vinit): When no server address at all
37690 is given default to loopback.
37691
f2ac4868
RM
376922010-08-24 Roland McGrath <roland@redhat.com>
37693
09055553
RM
37694 * configure.in: Remove config-name.h generation.
37695 * configure: Regenerated.
37696 * config-name.in: File removed.
37697 * scripts/config-uname.sh: New file.
37698 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37699 ($(objdir)config-name.h): New target.
37700
f2ac4868
RM
37701 * sunrpc/rpc_parse.h: Avoid nested comment.
37702
73f27d5e
RH
377032010-08-24 Richard Henderson <rth@redhat.com>
37704 Ulrich Drepper <drepper@redhat.com>
37705 H.J. Lu <hongjiu.lu@intel.com>
37706
37707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37709 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37710 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37711 _mm_alignr_epi8 with _mm_loadu_si128.
37712 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37713 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37714 (__m128i_shift_right): Removed.
37715 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37716 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37717 * sysdeps/x86_64/multiarch/varshift.h: New file.
37718 * sysdeps/x86_64/multiarch/varshift.S: New file.
37719
84b9230c
MF
377202010-08-21 Mike Frysinger <vapier@gentoo.org>
37721
37722 * configure.in: Move assembler checks to before sysdep dir checking.
37723
9bbd0ddc
PB
377242010-08-20 Petr Baudis <pasky@suse.cz>
37725
37726 * LICENSES: Sync the sunrpc license.
37727
9da4bb31
UD
377282010-08-19 Ulrich Drepper <drepper@redhat.com>
37729
a7ab6ec8
UD
37730 * sunrpc/auth_des.c: Update copyright notice once again.
37731 * sunrpc/auth_none.c: Likewise.
37732 * sunrpc/auth_unix.c: Likewise.
37733 * sunrpc/authdes_prot.c: Likewise.
37734 * sunrpc/authuxprot.c: Likewise.
37735 * sunrpc/bindrsvprt.c: Likewise.
37736 * sunrpc/clnt_gen.c: Likewise.
37737 * sunrpc/clnt_perr.c: Likewise.
37738 * sunrpc/clnt_raw.c: Likewise.
37739 * sunrpc/clnt_simp.c: Likewise.
37740 * sunrpc/clnt_tcp.c: Likewise.
37741 * sunrpc/clnt_udp.c: Likewise.
37742 * sunrpc/clnt_unix.c: Likewise.
37743 * sunrpc/des_crypt.c: Likewise.
37744 * sunrpc/des_soft.c: Likewise.
37745 * sunrpc/get_myaddr.c: Likewise.
37746 * sunrpc/getrpcport.c: Likewise.
37747 * sunrpc/key_call.c: Likewise.
37748 * sunrpc/key_prot.c: Likewise.
37749 * sunrpc/openchild.c: Likewise.
37750 * sunrpc/pm_getmaps.c: Likewise.
37751 * sunrpc/pm_getport.c: Likewise.
37752 * sunrpc/pmap_clnt.c: Likewise.
37753 * sunrpc/pmap_prot.c: Likewise.
37754 * sunrpc/pmap_prot2.c: Likewise.
37755 * sunrpc/pmap_rmt.c: Likewise.
37756 * sunrpc/rpc/auth.h: Likewise.
37757 * sunrpc/rpc/auth_unix.h: Likewise.
37758 * sunrpc/rpc/clnt.h: Likewise.
37759 * sunrpc/rpc/des_crypt.h: Likewise.
37760 * sunrpc/rpc/key_prot.h: Likewise.
37761 * sunrpc/rpc/netdb.h: Likewise.
37762 * sunrpc/rpc/pmap_clnt.h: Likewise.
37763 * sunrpc/rpc/pmap_prot.h: Likewise.
37764 * sunrpc/rpc/pmap_rmt.h: Likewise.
37765 * sunrpc/rpc/rpc.h: Likewise.
37766 * sunrpc/rpc/rpc_des.h: Likewise.
37767 * sunrpc/rpc/rpc_msg.h: Likewise.
37768 * sunrpc/rpc/svc.h: Likewise.
37769 * sunrpc/rpc/svc_auth.h: Likewise.
37770 * sunrpc/rpc/types.h: Likewise.
37771 * sunrpc/rpc/xdr.h: Likewise.
37772 * sunrpc/rpc_clntout.c: Likewise.
37773 * sunrpc/rpc_cmsg.c: Likewise.
37774 * sunrpc/rpc_common.c: Likewise.
37775 * sunrpc/rpc_cout.c: Likewise.
37776 * sunrpc/rpc_dtable.c: Likewise.
37777 * sunrpc/rpc_hout.c: Likewise.
37778 * sunrpc/rpc_main.c: Likewise.
37779 * sunrpc/rpc_parse.c: Likewise.
37780 * sunrpc/rpc_parse.h: Likewise.
37781 * sunrpc/rpc_prot.c: Likewise.
37782 * sunrpc/rpc_sample.c: Likewise.
37783 * sunrpc/rpc_scan.c: Likewise.
37784 * sunrpc/rpc_scan.h: Likewise.
37785 * sunrpc/rpc_svcout.c: Likewise.
37786 * sunrpc/rpc_tblout.c: Likewise.
37787 * sunrpc/rpc_util.c: Likewise.
37788 * sunrpc/rpc_util.h: Likewise.
37789 * sunrpc/rpcinfo.c: Likewise.
37790 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37791 * sunrpc/rpcsvc/key_prot.x: Likewise.
37792 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37793 * sunrpc/rpcsvc/mount.x: Likewise.
37794 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37795 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37796 * sunrpc/rpcsvc/rex.x: Likewise.
37797 * sunrpc/rpcsvc/rstat.x: Likewise.
37798 * sunrpc/rpcsvc/rusers.x: Likewise.
37799 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37800 * sunrpc/rpcsvc/spray.x: Likewise.
37801 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37802 * sunrpc/rtime.c: Likewise.
37803 * sunrpc/svc.c: Likewise.
37804 * sunrpc/svc_auth.c: Likewise.
37805 * sunrpc/svc_authux.c: Likewise.
37806 * sunrpc/svc_raw.c: Likewise.
37807 * sunrpc/svc_run.c: Likewise.
37808 * sunrpc/svc_simple.c: Likewise.
37809 * sunrpc/svc_tcp.c: Likewise.
37810 * sunrpc/svc_udp.c: Likewise.
37811 * sunrpc/svc_unix.c: Likewise.
37812 * sunrpc/svcauth_des.c: Likewise.
37813 * sunrpc/xcrypt.c: Likewise.
37814 * sunrpc/xdr.c: Likewise.
37815 * sunrpc/xdr_array.c: Likewise.
37816 * sunrpc/xdr_float.c: Likewise.
37817 * sunrpc/xdr_mem.c: Likewise.
37818 * sunrpc/xdr_rec.c: Likewise.
37819 * sunrpc/xdr_ref.c: Likewise.
37820 * sunrpc/xdr_sizeof.c: Likewise.
37821 * sunrpc/xdr_stdio.c: Likewise.
37822
9da4bb31
UD
37823 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37824 handling.
37825
bdaa77bc
AS
378262010-08-19 Andreas Schwab <schwab@redhat.com>
37827
37828 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37829
fe2f79db
LM
378302010-08-19 Luis Machado <luisgpm@br.ibm.com>
37831
37832 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37833 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37834 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37835 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37836 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37837 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37838 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37839 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37840 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37841 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37842 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37843 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37844 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37845 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37846
b9b42ee0
AB
378472010-07-26 Anton Blanchard <anton@samba.org>
37848
37849 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37850 * malloc/arena.c (heap_trim): Likewise.
37851
1c06ba31
UD
378522010-08-16 Ulrich Drepper <drepper@redhat.com>
37853
37854 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37855 here. Not...
37856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37857 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37858
f8392f40
L
378592010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37860
37861 * sysdeps/i386/elf/Makefile: New file.
37862
3162f12e
AS
378632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37864
37865 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37866 from fanotify_init.
37867 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37869
28c90b2c
UD
378702010-08-15 Ulrich Drepper <drepper@redhat.com>
37871
37872 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37873 of strncasecmp_l.
1feccb6c 37874 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37875
ca6bb004
UD
378762010-08-14 Ulrich Drepper <drepper@redhat.com>
37877
e9f82e0d
UD
37878 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37879 strncase_l-nonascii.
37880 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37881 Add strncase_l-ssse3.
37882 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37883 * sysdeps/x86_64/strcmp.S: Likewise.
37884 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37885 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37886 * sysdeps/x86_64/strncase.S: New file.
37887 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37888 * sysdeps/x86_64/strncase_l.S: New file.
37889 * string/Makefile (strop-tests): Add strncasecmp.
37890 * string/test-strncasecmp.c: New file.
37891
37892 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37893 warning.
37894
ca6bb004
UD
37895 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37896 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37897
052fa7b3
AS
378982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37899
37900 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37901
962dba78
UD
379022010-08-12 Ulrich Drepper <drepper@redhat.com>
37903
37904 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37905 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37906 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37907
bebff237
AM
379082010-05-01 Alan Modra <amodra@gmail.com>
37909
37910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37911 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37912 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37913 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37914 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37915 tidying. Don't tail-call __sigjmp_save for static lib.
37916 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37917 save location.
37918 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37919 (CALL_MCOUNT): Add eh info, and nop after bl.
37920 (TAIL_CALL_SYSCALL_ERROR): New macro.
37921 (PSEUDO_RET): Use it.
37922 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37923 Correct save location of integer regs and cr.
37924 (_dl_profile_resolve): Correct cr save location. Delete nops
37925 after bl when SHARED. Reduce cfi size a little by better
37926 placement of cfi directives.
37927 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37928 make a stack frame. Instead use parm save area as a temp.
37929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37930 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37932 Don't make a stack frame for parent, use parm save area.
37933 Increase child stack frame to 112 bytes. Don't save unused reg,
37934 and adjust reg usage. Set up cfi on error recovery and
37935 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37937 (__makecontext): Add dummy nop after jump to exit.
37938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37939 Use correct parm save area and cr save, reduce stack frame.
37940 Correct cfi for possible PSEUDO_RET frame setup.
37941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37942 Branch to local label emitted by PSEUDO_RET rather than
37943 __syscall_error.
37944
02637374
AS
379452010-08-12 Andreas Schwab <schwab@redhat.com>
37946
37947 [BZ #11904]
37948 * locale/programs/locale.c (print_assignment): New function.
37949 (show_locale_vars): Use it.
37950
c3e2f19b
UD
379512010-08-11 Ulrich Drepper <drepper@redhat.com>
37952
3cdaa6ad
UD
37953 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37954 field.
37955 (struct statfs64): Likewise.
37956 (_STATFS_F_FLAGS): Define.
37957 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37959 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37960 (ST_VALID): Define locally.
37961 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37962 __statvfs_getflags, use the provided value.
37963 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37964 __ASSUME_STATFS_F_FLAGS.
37965
754f7da3
UD
37966 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37967
10b3bedc
UD
37968 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37969 Add sys/fanotify.h.
37970 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37971 fanotify_mask for GLIBC_2.13.
37972 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37973 fanotify_init and fanotify_mark.
37974 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37975 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37976
c08fb0d7
UD
37977 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37978 Add prlimit.
37979 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37980 prlimit64 for GLIBC_2.13.
37981 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37982 prlimit64.
37983 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37984 syscall.
37985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37986 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37987 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37988 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37990 add prlimit alias.
37991 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37992
15bac72b
UD
37993 [BZ #11903]
37994 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37995 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37996
c3e2f19b
UD
37997 * nss/Makefile: Add rules to build and run tst-nss-test1.
37998 * shlib-versions: Add entry for libnss_test1.
37999 * nss/nss_test1.c: New file.
38000 * nss/tst-nss-test1.c: New file.
38001
38002 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38003 (__nss_configure_lookup): Set appropriate entry in
38004 __nss_configure_lookup to true.
38005 * nss/nsswitch.h: Define enum with indeces of databases in
38006 databases and __nss_database_custom arrays. Declare
38007 __nss_database_custom.
38008 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38009 to avoid using nscd when custom rules are installed.
38010 * nss/getXXbyYY_r.c: Likewise.
38011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38012
38013 * nss/nss_files/files-parse.c: Whitespace fixes.
38014
f15ce4d8
UD
380152010-08-09 Ulrich Drepper <drepper@redhat.com>
38016
38017 [BZ #11883]
38018 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38019 * posix/fnmatch_loop.c: Likewise.
38020
d22e4cc9
AK
380212010-07-17 Andi Kleen <ak@linux.intel.com>
38022
38023 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38024 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38025 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38026 * Versions.def [GLIBC_2.13]: Add.
38027
805bc17d
UD
380282010-08-06 Ulrich Drepper <drepper@redhat.com>
38029
38030 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38031 Also fail if tpwd after pwuid call is NULL.
38032
5a42321d
ST
380332010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38034
38035 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38036 when converting to ms.
38037
fd3ebeda
ST
380382010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38039
38040 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38041 EOPNOTSUPP errors with ENOTTY.
38042 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38043 EOPNOTSUPP errors with ENOTTY.
38044
73507d3a
UD
380452010-07-31 Ulrich Drepper <drepper@redhat.com>
38046
38047 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38048 Add strcasecmp_l-ssse3.
38049 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38050 strcasecmp.
38051 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38052 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38053 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38054
fe36dd02
UD
380552010-07-30 Ulrich Drepper <drepper@redhat.com>
38056
66f6765a
UD
38057 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38058
42e08a54
UD
38059 * string/Makefile (strop-tests): Add strcasecmp.
38060 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38061 strcasecmp_l-nonascii.
38062 (gen-as-const-headers): Add locale-defines.sym.
38063 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38064 * sysdeps/x86_64/strcasecmp.S: New file.
38065 * sysdeps/x86_64/strcasecmp_l.S: New file.
38066 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38067 * sysdeps/x86_64/locale-defines.sym: New file.
38068 * string/test-strcasecmp.c: New file.
38069
fe36dd02
UD
38070 * string/test-strcasestr.c: Test both ends of the range of characters.
38071 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38072
48cbc0d6
RM
380732010-07-29 Roland McGrath <roland@redhat.com>
38074
76e6d6bc 38075 [BZ #11856]
48cbc0d6
RM
38076 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38077
880113d9
UD
380782010-07-27 Ulrich Drepper <drepper@redhat.com>
38079
38080 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38081 for ld.so.
38082
deb9cabb
AS
380832010-07-27 Andreas Schwab <schwab@redhat.com>
38084
38085 * manual/memory.texi (Malloc Tunable Parameters): Document
38086 M_PERTURB.
38087
1c7570ff
RM
380882010-07-26 Roland McGrath <roland@redhat.com>
38089
38090 [BZ #11840]
38091 * configure.in (-fgnu89-inline check): Set and substitute
38092 gnu89_inline, not libc_cv_gnu89_inline.
38093 * configure: Regenerated.
38094 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38095
24fb0f88
UD
380962010-07-26 Ulrich Drepper <drepper@redhat.com>
38097
38098 * string/test-strnlen.c: New file.
38099 * string/Makefile (strop-tests): Add strnlen.
38100 * string/tester.c (test_strnlen): Add a few more test cases.
38101 * string/tst-strlen.c: Better error reporting.
38102
38103 * sysdeps/x86_64/strnlen.S: New file.
38104
8e96b93a
UD
381052010-07-24 Ulrich Drepper <drepper@redhat.com>
38106
38107 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38108 lower-latency instructions.
38109
dbc676d4
UD
381102010-07-23 Ulrich Drepper <drepper@redhat.com>
38111
38112 * string/test-strcasestr.c: New file.
38113 * string/test-strstr.c: New file.
38114 * string/Makefile (strop-tests): Add strstr and strcasestr.
38115 * string/str-two-way.h: Don't undefine MAX.
38116 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38117
f6a31e0e
AS
381182010-07-21 Andreas Schwab <schwab@redhat.com>
38119
38120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38121 strcasestr-nonascii.
38122 (CFLAGS-strcasestr-nonascii.c): Define.
38123 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38124 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38125 Remove unused attribute.
38126
5dbc3b6c
RM
381272010-07-20 Roland McGrath <roland@redhat.com>
38128
38129 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38130 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38131 ld.so.cache was broken. With it, there is no way to disable dsocaps
38132 like LD_HWCAP_MASK can disable hwcaps.
38133
23d101d8
EPM
381342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38135
38136 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38137
cc9f2e47
UD
381382010-07-16 Ulrich Drepper <drepper@redhat.com>
38139
38140 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38141 call in strcasestr.
38142 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38143 __strcasestr_sse42_nonascii.
38144 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38145 strcasestr-nonascii.c.
38146 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38147
77c1b069
LM
381482010-06-15 Luis Machado <luisgpm@br.ibm.com>
38149
38150 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38151 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38152 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38153 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38154
440566c3
UD
381552010-07-09 Ulrich Drepper <drepper@redhat.com>
38156
38157 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38158 fcntl.
38159
5be9d05d
AS
381602010-07-06 Andreas Schwab <schwab@redhat.com>
38161
c30b7ee2 38162 [BZ #11577]
5be9d05d
AS
38163 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38164 dl_signal_cerror.
38165
8a492a67
UD
381662010-07-06 Ulrich Drepper <drepper@redhat.com>
38167
38168 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38169 _PC_PIPE_BUF using F_GETPIPE_SZ.
38170
713df3d5
RM
381712010-07-05 Roland McGrath <roland@redhat.com>
38172
38173 * manual/arith.texi (Rounding Functions): Fix rint description
38174 implicit in round description.
38175
702e8f14
UD
381762010-07-02 Ulrich Drepper <drepper@redhat.com>
38177
38178 * elf/Makefile: Fix linking for a few tests to make recent linker
38179 happy.
38180
52ed8be9
AS
381812010-06-30 Andreas Schwab <schwab@redhat.com>
38182
38183 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38184 $(common-objpfx)libc_nonshared.a.
38185
f47c9a11
LM
381862010-06-21 Luis Machado <luisgpm@br.ibm.com>
38187
38188 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38189 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38190 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38191 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38192 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38193 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38194 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38195 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38210 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38211 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38212 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38213 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38214 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38215 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38216 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38217 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38218 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38219 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38220 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38221 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38236
6fb8cbcb
L
382372010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38238
38239 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38240 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38241 * string/memmove.c (memmove): Renamed to ...
38242 (MEMMOVE): ...this. Default to memmove.
38243 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38244 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38245 (END_CHK): Define.
38246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38247 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38248 mempcpy-ssse3-back memmove-ssse3-back.
38249 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38250 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38251 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38252 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38253 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38254 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38255 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38256 * sysdeps/x86_64/multiarch/memmove.c: New file.
38257 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38258 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38259 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38260 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38261 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38263 Define.
38264 (index_Fast_Copy_Backward): Define.
38265 (HAS_ARCH_FEATURE): Define.
38266 (HAS_FAST_REP_STRING): Define.
38267 (HAS_FAST_COPY_BACKWARD): Define.
38268
4e733bac 382692010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38270
38271 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38272 Restore proper fallback handling.
38273
63c4ed22
UD
382742010-06-19 Ulrich Drepper <drepper@redhat.com>
38275
ac2b484c
UD
38276 [BZ #11701]
38277 * posix/group_member.c (__group_member): Correct checking loop.
38278
63c4ed22
UD
38279 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38280 OOM in getpwuid_r correctly. Return error number when the caller
38281 should return, otherwise -1.
38282 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38283 call returning > 0 value.
38284 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38285
765ade4b
AS
382862010-06-07 Andreas Schwab <schwab@redhat.com>
38287
38288 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38289 libc_nonshared.a from targets in modules-names.
38290
80da2e09
KS
382912010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38292
38293 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38294 requires it.
38295
158db122
LM
382962010-06-10 Luis Machado <luisgpm@br.ibm.com>
38297
38298 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38299 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38300 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38301 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38302
caa78cf8
AS
383032010-06-02 Andreas Schwab <schwab@redhat.com>
38304
38305 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38306
b2ef2c01
UD
383072010-06-14 Ulrich Drepper <drepper@redhat.com>
38308
38309 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38310 and F_GETPIPE_SZ.
38311 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38313 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38316 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38317
fbd643b6
RM
383182010-06-14 Roland McGrath <roland@redhat.com>
38319
38320 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38321
f32f2869
JJ
383222010-06-07 Jakub Jelinek <jakub@redhat.com>
38323
38324 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38325 __REDIRECT followed by __THROW.
38326 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38327 * posix/getopt.h (getopt): Likewise.
38328
2a50c078
EPM
383292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38330
38331 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38332 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38333 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38334 in AT_FLAGS.
38335 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38336 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38337
eb5ad2eb
LM
383382010-05-28 Luis Machado <luisgpm@br.ibm.com>
38339
38340 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38341
3c88fe1e
L
383422010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38343
38344 [BZ #11640]
38345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38346 Properly check family and model.
38347
d2f73151
TY
383482010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38349
38350 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38351
ebd2e13d
LM
383522010-05-24 Luis Machado <luisgpm@br.ibm.com>
38353
38354 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38355
b32b8b45
UD
383562010-05-21 Ulrich Drepper <drepper@redhat.com>
38357
38358 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38359 symbol reference.
38360
9acbe24d
AS
383612010-05-19 Andreas Schwab <schwab@redhat.com>
38362
38363 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38364 symbol reference.
38365
f0ccf6ea
AS
383662010-05-21 Andreas Schwab <schwab@redhat.com>
38367
3d04ff3a
AS
38368 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38369 and internal_recvmmsg.
38370 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38371 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38372 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38373 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38374
f0ccf6ea
AS
38375 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38376 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38377 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38378
5b08ac57
AS
383792010-05-20 Andreas Schwab <schwab@redhat.com>
38380
38381 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38382
4828935d
LM
383832010-05-17 Luis Machado <luisgpm@br.ibm.com>
38384
38385 POWER7 optimizations.
38386 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38387 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38388
373d545e
UD
383892010-05-19 Ulrich Drepper <drepper@redhat.com>
38390
38391 * version.h: Update for 2.13 development version.
38392
21a2b1ae
AS
383932010-05-12 Andrew Stubbs <ams@codesourcery.com>
38394
38395 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38396 exceptions. Return 0.
38397
3f7dcb2b
RM
383982010-05-07 Roland McGrath <roland@redhat.com>
38399
38400 * elf/ldconfig.c (main): Add a const.
38401
5f24d53a 384022010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38403
a160f8d8
UD
38404 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38405 (args_options): Add no-idn option.
38406 (ahosts_keys_int): Add idn_flags to ai_flags.
38407 (parse_option): Handle 'i' option to clear idn_flags.
38408
5f24d53a
UD
38409 * malloc/malloc.c (_int_free): Possible race in the most recently
38410 added check. Only act on the data if no current modification
38411 happened.
265bb1ce
UD
38412
38413See ChangeLog.17 for earlier changes.